Skip to content

v2.0.0

Choose a tag to compare

@moiku moiku released this 31 Oct 09:22
· 29 commits to main since this release

Components 2.0, for Egatari Studio v0.6.3 (its 2.0 host). Lessons built with Studio up to v0.6.2 keep 1.13.x.

  • Parts are named, versioned files (spec §6.1). Every part is defined with egatariParts.define({name, version, requires, element?}). Parts reach the player only through the context of §8.4 (ctx.report, ctx.lang, ctx.entered, ctx.reset, layout(ctx), ctx.extend …); they no longer use DECK globals. There are 36 element parts and 10 library parts. Formulas and music are rendered at build time (KaTeX, abcjs). m-kakijun's stroke data is cut down to what each lesson uses.
  • Part versions. Every part keeps its 2.0.0-rc.1 version and hash, except the five that changed since then:
    • m-timer and m-predict: layout(ctx), with focus kept;
    • m-flow and m-quad: their text keeps clear of other text and lines (#140);
    • m-cycle: the 1.13.1 fix.
      These five are 2.0.1. A published name@version never gets a second hash (published.json, RELEASING.md).
  • Manifest (spec §6 Registry manifest, egatari-spec 0fcc556): every part carries license, and withdrawn is listed per part version. kind, tier and set are as in rc.1.
  • Viewer input: m-predict takes input(choice, count). m-timer's ±1 min buttons work through ctx.extend. Both send egatari-input events for the presenter's view.

Full list: CHANGELOG.md (2.0.0, 1.13.1, 2.0.0-rc.1).

README bytes since v2.0.0-rc.1 (Studio's free pack): m-bars +0, m-flow +0, m-menu +0, m-curves +0, m-quad +0, m-kpi +0. Pack-visible bytes (node tools/pack-bytes.mjs --base v2.0.0-rc.1): +0 for every part.

sha256 a6bf864ca7b4034af2125f2c8f67d51bb6671a9f7a8c543ca16d288f283bd7db egatari-components-v2.0.0.tar.gz