Repository navigation
v0.4.1 — @liminis/diagrams 0.1.5
A patch release. No API change; one dependency bump with effects you can see.
C4 diagram SVG is now deterministic across platforms
@liminis/diagrams moves to ^0.1.5, and 0.1.2 is the reason to take it: renderC4DiagramToSVG produced different bytes on macOS and on Linux for the same input and the same version.
This package re-exports that function from @liminis/diagrams/server, so the inconsistency was passed straight through to anyone rendering diagrams server-side. If you snapshot or hash rendered SVG, output may differ once from your stored value, and be stable after that.
0.1.3 also fixes diagrams rendering clipped — an auto-layout viewBox that did not contain the diagram when an element outside a System_Boundary related to something inside it — and adds zoom controls.
Why this had not already reached you: the declared range was ^0.1.1, which admits these releases, but the lockfile pinned 0.1.1. The range now states the minimum so a stale lockfile cannot quietly drift back. (#116)
0.1.4 and 0.1.5 add /playground and /remark subpaths, which this package does not use — they arrive as unused surface, not as behaviour.
Not in this release
Five of the six merges since 0.4.0 built an Astro documentation site with live C4 embedding. It lives in site/ and is not part of the published tarball — verified by packing: 378K here against 0.4.0's 372K.
Upgrading
pnpm add @liminis/editor@^0.4.1Nothing to change.