@mermanjs/node 0.8.0 → 0.9.1
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 +28 -3
- package/README.md +2 -3
- package/THIRD_PARTY_LICENSES/rust-cargo-dependencies.json +341 -222
- package/THIRD_PARTY_LICENSES/unicode-linebreak/LICENSE +201 -0
- package/THIRD_PARTY_NOTICES.md +28 -12
- package/dist/generated/binding-contract.mjs +19 -0
- package/dist/generated/capability-surface.mjs +5 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,9 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the `@mermanjs/node` package group will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.9.1] - 2026-10-18
|
|
6
|
+
|
|
7
|
+
- ER diagram SVG emission reuses prepared entity geometry, avoiding false missing-size errors on larger diagrams.
|
|
8
|
+
- Diagram lexers now make progress and honor cancellation while skipping malformed or empty input.
|
|
9
|
+
- Generated HTML label IDs are scoped to the diagram root so multiple diagrams can share a document.
|
|
10
|
+
|
|
11
|
+
## [0.9.0] - 2026-10-12
|
|
12
|
+
|
|
13
|
+
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.
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- 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)
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- 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)
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- 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)
|
|
26
|
+
- 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)
|
|
27
|
+
|
|
28
|
+
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.
|
|
29
|
+
|
|
5
30
|
## [0.8.0] - 2026-10-06
|
|
6
31
|
|
|
7
|
-
This entry summarizes the
|
|
32
|
+
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
33
|
|
|
9
34
|
### Added
|
|
10
35
|
|
|
@@ -14,7 +39,7 @@ This entry summarizes the candidate package since its introduction during the 0.
|
|
|
14
39
|
### Upgrade
|
|
15
40
|
|
|
16
41
|
- 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,
|
|
42
|
+
- 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
43
|
|
|
19
44
|
### Fixed
|
|
20
45
|
|
|
@@ -22,7 +47,7 @@ This entry summarizes the candidate package since its introduction during the 0.
|
|
|
22
47
|
|
|
23
48
|
### Further reading
|
|
24
49
|
|
|
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
|
|
50
|
+
- 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
51
|
|
|
27
52
|
## [0.8.0-alpha.7] - 2026-09-30
|
|
28
53
|
|
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
|
|
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@
|
|
13
|
+
npm install @mermanjs/node@0.9.1
|
|
15
14
|
```
|
|
16
15
|
|
|
17
16
|
```js
|