@mermanjs/node 0.8.0-alpha.7 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,47 @@
2
2
 
3
3
  All notable changes to the `@mermanjs/node` package group will be documented in this file.
4
4
 
5
+ ## [0.9.0] - 2026-10-12
6
+
7
+ The experimental `0.9.0` package group requires Node.js 22 or newer. Keep the loader and selected native/WASM transport artifacts at the same version.
8
+
9
+ ### Added
10
+
11
+ - SVG-capable operations add `edge-geometry-json` for final clipped points and painted label centers in Flowchart, Swimlane, and Agentflow. `layout-json` remains a pre-paint projection; query the loaded operation catalog before use. Thanks [@isaced](https://github.com/isaced) for the contribution. [PR #174](https://github.com/Latias94/merman/pull/174), [PR #177](https://github.com/Latias94/merman/pull/177)
12
+
13
+ ### Changed
14
+
15
+ - SVG leaves the canvas unset. Supply an explicit SVG output background when the host needs opaque artwork. [PR #180](https://github.com/Latias94/merman/pull/180)
16
+
17
+ ### Fixed
18
+
19
+ - Unicode HTML wrapping preserves complete decoded labels and whitespace; resvg-safe Class/ER markers stay hollow. [PR #182](https://github.com/Latias94/merman/pull/182), [PR #192](https://github.com/Latias94/merman/pull/192)
20
+ - Deep cleanup and Block metadata updates follow the shared engine contract without changing transport selection. Native CLI font discovery is not a Node host-measurement feature. [PR #191](https://github.com/Latias94/merman/pull/191)
21
+
22
+ See the [package guide](README.md) and [migration guide](../../docs/release/V080_TO_V090_UPGRADE_GUIDE.md); Rust CLI measurements do not measure Node transport latency.
23
+
24
+ ## [0.8.0] - 2026-10-06
25
+
26
+ This entry summarizes the package since its introduction during the 0.8 alphas; there was no 0.7.0 Node package. All seven packages were published on npm at 0.8.0 on 2026-10-06. The package group remains experimental and requires Node.js 22 or newer.
27
+
28
+ ### Added
29
+
30
+ - Choose native `@mermanjs/node` with its exact-version platform package or the explicit `@mermanjs/node-wasm` transport. Both provide deterministic SVG/layout operations; neither silently switches transport or uses browser WASM as a fallback.
31
+ - The current diagram surface includes Agentflow and Usecase. Agentflow follows upstream beta syntax; the package does not add ASCII, analysis, math, binary export, or host text-measurement callbacks.
32
+
33
+ ### Upgrade
34
+
35
+ - Keep the loader and selected transport artifacts on one package version. Native load failures carry typed ABI/platform diagnostics; resolve these rather than substituting a browser package.
36
+ - Relative to early 0.8 alphas, this release selects Mermaid 12.1.0 with Mermaid 12 ELK and Redux/Neo defaults. Review SVG snapshots and explicit top-level layout/theme/look settings. Node rendering is not browser DOM admission.
37
+
38
+ ### Fixed
39
+
40
+ - Corrected C4 and ELK relationship routing/layering, Packet/XYChart presentation, partial theme overrides, and diagnostic locations; restored Usecase/ER styles and prevented malformed Unicode colors from panicking.
41
+
42
+ ### Further reading
43
+
44
+ - Use the [package guide](README.md), [stable migration guide](../../docs/release/V070_TO_V080_UPGRADE_GUIDE.md#bindings-and-package-channels), and [root changelog](../../CHANGELOG.md) for the published contract. Native Rust benchmark observations are not Node transport measurements.
45
+
5
46
  ## [0.8.0-alpha.7] - 2026-09-30
6
47
 
7
48
  ### Added
package/README.md CHANGED
@@ -3,15 +3,14 @@
3
3
  Native Mermaid-compatible SVG rendering for Node.js 22+ and static-site build pipelines, without
4
4
  Chromium, a browser-WASM fallback, or a postinstall binary download.
5
5
 
6
- This package is experimental and published on npm's `alpha` dist-tag. Pin an exact version when
7
- reproducible installs matter.
6
+ This package is experimental. Pin an exact package version when reproducible installs matter.
8
7
 
9
8
  ## Quick start
10
9
 
11
10
  Install the loader package, not a platform package:
12
11
 
13
12
  ```sh
14
- npm install @mermanjs/node@alpha
13
+ npm install @mermanjs/node@0.9.0
15
14
  ```
16
15
 
17
16
  ```js