@mermanjs/node-wasm 0.9.1 → 0.9.3

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,24 @@
2
2
 
3
3
  All notable changes to the `@mermanjs/node` package group will be documented in this file.
4
4
 
5
+ ## [0.9.3] - 2026-10-30
6
+
7
+ - Sequence diagrams and GitGraph tag backgrounds resolve their diagram-scoped built-in Neo shadows. Sequence viewports include box-frame strokes and restored built-in Neo shadows to prevent clipping. [#255](https://github.com/Latias94/merman/pull/255)
8
+
9
+ - Flowchart preserves percent-containing node IDs, and YAML frontmatter no longer mistakes brackets in comments or block text for nested collections. [#241](https://github.com/Latias94/merman/pull/241), [#251](https://github.com/Latias94/merman/pull/251)
10
+ - `createNodeEngine({ iconPacks })` accepts already-loaded Iconify JSON for icons scoped to that engine. The application owns loading and credentials. [#247](https://github.com/Latias94/merman/pull/247)
11
+ - Correct label sizing, configured fonts, literal text, and HTML/entity handling across SVG diagrams, including wrapped Swimlane edge labels and valid Class-note XML. Review updated output snapshots. [#245](https://github.com/Latias94/merman/pull/245), [#247](https://github.com/Latias94/merman/pull/247), [#250](https://github.com/Latias94/merman/pull/250)
12
+ - Apply Gantt `tickInterval`, Mindmap root padding and width settings, and Sequence numbering, participant visibility, and note alignment. Init directives follow Mermaid 12.1.0's filtering and merge order. [#252](https://github.com/Latias94/merman/pull/252)
13
+ - Refresh the native and WASM dependency graphs while retaining Mermaid 12.1.0, Options JSON schema 2, Node transport 1, and text-measurement protocol 1 with its 22 operations (0..21). The host literal-height extension (operation 22) is deferred; see the [host guide](../../docs/bindings/HOST_TEXT_MEASUREMENT.md) for callback limits. Native C/WASI SDK archives have separate APIs and capabilities; this package continues to provide its own SVG recipe. See the [workspace changelog](../../CHANGELOG.md). [#245](https://github.com/Latias94/merman/pull/245), [#247](https://github.com/Latias94/merman/pull/247)
14
+
15
+ ## [0.9.2] - 2026-10-22
16
+
17
+ - Host themes keep C4 boundary contents and relationships visible, color Wardley anchors, and apply a coherent ZenUML palette. Diagram-selected Mermaid palettes retain matching text and fills. [#235](https://github.com/Latias94/merman/pull/235), [issue #229](https://github.com/Latias94/merman/issues/229), [issue #230](https://github.com/Latias94/merman/issues/230), [issue #231](https://github.com/Latias94/merman/issues/231), [issue #232](https://github.com/Latias94/merman/issues/232)
18
+ - Look selectors and Block/Requirement source CSS are validated before SVG emission. SVG CSS cleanup rejects unterminated strings, comments, and URLs while preserving safe neighboring declarations. [#227](https://github.com/Latias94/merman/pull/227), [#235](https://github.com/Latias94/merman/pull/235), [#237](https://github.com/Latias94/merman/pull/237)
19
+ - Repeated Flowchart `classDef` declarations retain earlier styles, and unsupported Unicode characters preserve valid error spans and lexer progress. Malformed Pie/Info headers and empty XYChart sources behave consistently across parser and editor entrypoints. [#178](https://github.com/Latias94/merman/pull/178), [#227](https://github.com/Latias94/merman/pull/227), [#237](https://github.com/Latias94/merman/pull/237)
20
+
21
+ The existing Presentation and binding options contracts are unchanged. Review regenerated SVG and exported-image snapshots; see the [workspace changelog](../../CHANGELOG.md) for the complete maintenance release.
22
+
5
23
  ## [0.9.1] - 2026-10-18
6
24
 
7
25
  - ER diagram SVG emission reuses prepared entity geometry, avoiding false missing-size errors on larger diagrams.
package/README.md CHANGED
@@ -45,3 +45,18 @@ browser `Document` or owner-document admission APIs; use `@mermanjs/web*` for br
45
45
  The native package is the recommended choice when a supported platform binary is available. Use
46
46
  this package when a deployment target cannot load the native package or when a single portable
47
47
  Node artifact is more useful than native startup and throughput.
48
+
49
+ ## Loaded icon packs (unreleased)
50
+
51
+ The native and Node-WASM packages accept the same
52
+ `createNodeEngine({ iconPacks: [{ json, registrationName? }] })` constructor argument. `json` is
53
+ an already loaded Iconify pack JSON string; the host owns acquisition. `registrationName`
54
+ optionally replaces the pack prefix. The registry is immutable and scoped to that engine;
55
+ per-request options preserve it, and `dispose()` releases it after queued work settles.
56
+ An omitted argument or `[]` preserves ordinary rendering.
57
+
58
+ Use the [native package example](https://github.com/Latias94/merman/blob/main/platforms/node/packages/node/README.md#loaded-icon-packs-unreleased)
59
+ with the import changed to `@mermanjs/node-wasm`. Keep packs outside `bindingOptions`.
60
+ The `icon-registry` constructor catalog exposes the same fixed resource ceilings on both
61
+ transports. Construction errors preserve `MermanOperationError.iconRegistryDetails` and,
62
+ for resource failures, `resourceDetails`.