@mermanjs/node-wasm 0.8.0 → 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,9 +2,28 @@
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
+
5
24
  ## [0.8.0] - 2026-10-06
6
25
 
7
- This entry summarizes the candidate package since its introduction during the 0.8 alphas; there was no 0.7.0 Node package. It prepares 0.8.0 and does not announce npm publication. The package group remains experimental and requires Node.js 22 or newer.
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.
8
27
 
9
28
  ### Added
10
29
 
@@ -14,7 +33,7 @@ This entry summarizes the candidate package since its introduction during the 0.
14
33
  ### Upgrade
15
34
 
16
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.
17
- - Relative to early 0.8 alphas, the candidate 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.
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.
18
37
 
19
38
  ### Fixed
20
39
 
@@ -22,7 +41,7 @@ This entry summarizes the candidate package since its introduction during the 0.
22
41
 
23
42
  ### Further reading
24
43
 
25
- - 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 final candidate contract. Native Rust benchmark observations are not Node transport measurements.
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.
26
45
 
27
46
  ## [0.8.0-alpha.7] - 2026-09-30
28
47
 
package/README.md CHANGED
@@ -7,7 +7,7 @@ silently falls back to browser or Node WASM.
7
7
  ## Quick start
8
8
 
9
9
  ```sh
10
- npm install @mermanjs/node-wasm@alpha
10
+ npm install @mermanjs/node-wasm@0.9.0
11
11
  ```
12
12
 
13
13
  ```js
@@ -25,7 +25,7 @@ try {
25
25
 
26
26
  The package embeds a Node-targeted wasm-bindgen artifact and does not depend on `@mermanjs/web`.
27
27
  It is intended for Node-only server-side rendering and static generation. The WASM transport is
28
- single-threaded, so an `AbortSignal` cannot interrupt an operation after it enters the candidate;
28
+ single-threaded, so an `AbortSignal` cannot interrupt an operation after it enters WASM;
29
29
  operation deadlines remain available through `timeoutMs`.
30
30
 
31
31
  `renderSvg()` and `renderSvgSync()` use the `parity` pipeline by default. This preserves the