Repository navigation
Releases
Stack Engine 0.9.1
Stack Engine 0.9.1
Clear arrowhead approaches
- Preserve a 16px final orthogonal run before an arrow-marked endpoint when the adjacent two-bend section can move safely, keeping the marker visually separate from its preceding bend.
- Apply the same clearance rule to forward and bidirectional relationships without changing arrowless endpoints.
- Validate each local adjustment against canvas bounds, nodes, fixed text obstacles, and group frames, retaining the original safe route when the adjustment is blocked.
- Keep the visibility-grid search unchanged so dense-layout runtime remains within the existing budget.
The Rust and browser WebAssembly packages share this correction. Public operation, language-intelligence, and theme contracts are unchanged; SVG geometry intentionally differs from 0.9.0 for affected routes. Consumers comparing exact SVG bytes should update reviewed references.
Verification and rollback
The release keeps the native/WebAssembly parity, Rust 1.85, conformance, standalone SVG, coverage, and layout-performance gates. Roll back consumers by pinning Engine 0.9.0; published package versions and release assets remain immutable.
Stack Engine 0.9.0
Stack Engine 0.9.0
Calmer dense diagrams
- Distribute busy edges across multiple deterministic ports instead of stacking unrelated routes on one node-side midpoint.
- Penalize shared and nearly overlapping route lanes, and align same-rank nodes with their connected neighbors when no explicit order overrides the layout.
- Keep independent edges separate rather than introducing implicit shared trunks that could obscure identity or arrow direction.
- Bundle Theme 0.7.0 so built-in cache nodes use the same clean rounded-card treatment as database nodes while retaining their semantic cache icon.
The native Rust engine and browser WASM adapter share these changes. Public operation and language-intelligence contracts are unchanged; generated SVG geometry intentionally differs from 0.8.0. Consumers comparing exact SVG bytes should update reviewed references.
Verification and limits
The release adds a representative dense-service fixture and independent metrics for reused terminals, proper crossings, ambiguous junctions, shared length, and close parallel length. Existing text, node, group-frame, native/WASM parity, seven-diagram corpus, coverage, and performance gates remain required. These measurements supplement visual review; they do not convert beauty into one opaque score or prove an optimal layout for every graph.
The Engine remains pure Rust with no runtime filesystem, network, clock, DOM, or host-font access. No custom-palette configuration format or theme-authoring service is introduced in this release.
v0.8.0
Stack Engine 0.8.0
Clearer diagrams by default
- Compose connected nodes and nested groups in graph-aware ranks while preserving explicit direction, same-rank constraints, and authored cross-axis order.
- Reserve room for measured labels before routing. Keep labels beside their own routes and keep lines away from text, node borders, and parallel group frames.
- Bundle Theme 0.6.0: database nodes use a rounded card and their existing database icon.
- Serialize diagram-space SVG coordinates, fonts, and strokes in exact CSS pixel decimals. This avoids browser clamping and rendering artifacts from oversized millipixel user coordinates.
The native Rust engine and browser WASM adapter share these changes. Public operation and language-intelligence contracts are unchanged; generated SVG geometry and serialization intentionally differ from 0.7.0. Consumers comparing exact SVG bytes should update reviewed references. Existing custom catalogs with wider connector strokes retain labelled rendering support.
Verification and limits
The release uses approved scene/SVG snapshots, a seven-diagram quality corpus, sixty fixed labelled-DAG regressions, native/WASM parity, and existing performance budgets. Independent gates measure logical text envelopes and painted frame clearance; they also reject missing content, unsupported geometry, hidden paint, and altered paint order. Geometry checks supplement rather than replace visual review; they do not prove beauty or measure exact rasterized glyphs and arrowheads.
The engine remains pure Rust with no runtime filesystem, network, clock, DOM, or host-font access. No custom-palette configuration format or theme-authoring service is introduced in this release.
v0.7.0
Highlights
- Adds compiler-owned context-aware completion and semantic hover to the native Engine and browser WebAssembly package.
- Completes core and validated caller-owned provider icon IDs without duplicating Stack grammar in consumers.
- Preserves language-intelligence schema 1.0, UTF-8 source ranges, plain-text documentation, and caller-owned document versions.
- Adds native/WebAssembly parity fixtures, TypeScript coverage, capability auditing, and explicit editor latency budgets.
The release workflow rebuilds and validates @stack-sh/engine from this exact merged commit before npm staging.
v0.6.0
What's Changed
- Preserve multi-source provider provenance by @konojunya in #17
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
- Integrate the expanded core icon catalog by @konojunya in #16
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
- Update the provider pack theme contract by @konojunya in #14
- Render caller-owned provider icon packs by @konojunya in #15
Full Changelog: v0.3.0...v0.4.0
v0.3.0
Highlights
- Embed Stack Theme 0.2.0 with 12 provider-neutral explicit icons:
api,web,mobile,desktop,server,container,cluster,cloud,scheduler,webhook,identity, andobservability. - Render authored core icon identifiers without
STK5001while preserving the existing missing-icon fallback. - Expose Engine 0.3.0 and Theme catalog 0.2.0 revision metadata consistently across native Rust, WebAssembly, and JavaScript outputs.
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Highlights
- expose structured diagnostic expectations across Rust, WebAssembly, and TypeScript
- return actionable parser help and related declaration ranges
- pin the diagnostic contract from the Stack specification
Verification
The release workflow rebuilds and tests the Rust workspace and browser WebAssembly package before publishing @stack-sh/engine@0.2.0.
@stack-sh/engine 0.1.0
The first public browser package release of the Stack Engine.
It provides typed format, check, and render operations backed by the same pure Rust engine used by native consumers, packaged with its WebAssembly binding for browser use. The package is available as @stack-sh/engine@0.1.0 on npm.