Skip to content

v0.4.0 — token inversion, C4 extracted to @liminis/diagrams

Choose a tag to compare

@verveguy verveguy released this 23 Aug 20:30
· 128 commits to main since this release
9843b80

One breaking change, plus an extraction and a fix that ride along.

Breaking: setting a legacy token name no longer themes the editor

0.3.0 defined --liminis-editor-* names, but as aliases pointing at the legacy names — the real values still lived on --vscode-* / --slashmd-* / --color-* / --checkbox-*.

That is now inverted. --liminis-editor-* carries the values; the legacy names are read-only shims.

  • Reading a legacy name still works — var(--vscode-foreground) resolves as before.
  • Setting one no longer has any effect. A host that themes the editor by declaring --vscode-foreground must declare --liminis-editor-foreground instead.

That second point is the breaking part, and it fails silently — an unresolved custom property drops its declaration rather than erroring, so a host on legacy overrides sees subtly wrong colours with a green build. Check your theming after upgrading. This completes the deprecation announced in 0.2.0.

--slashmd-* is removed entirely (no consumer read it). --liminis-editor-primary now carries a real value rather than forwarding a token this package never defined. See ADR-98.

The C4 subsystem now comes from @liminis/diagrams

src/app/editor/c4/ is gone; the parser, layout engine and renderer are consumed from the published package, so the same code no longer exists in two places.

The exported API is unchanged — verified by diffing all six subpaths against 0.3.0: 129 exports, 0 added, 0 removed. index.ts and headless.ts re-export the same names from the package instead of local files.

@liminis/diagrams is a new runtime dependency. Your install grows a package even though nothing you import changes. (#100)

Fixed: C4 diagrams can be dragged on touch devices

The dependency is ^0.1.1, which replaces a mouse-only drag path with pointer events. Under 0.1.0 a C4 node could not be dragged on iPad at all — the browser claimed the gesture as a scroll and the page panned instead. (#109)

Also

The editor's history before 2026-08-03 is now reachable from this repository. It was extracted from verveguy/liminis by copying the tree, so seven months of provenance sat only in the other repo; a merge brings it in without rewriting anything, so every prior tag and its attestations remain valid. Note git blame still stops at the extraction — see CLAUDE.md. (#103)

Upgrading

pnpm add @liminis/editor@^0.4.0

If you override editor tokens, move those declarations from the legacy names to --liminis-editor-*. If you only read them, nothing to do.