Skip to content

chore(deps): Bump mermaid-rs-renderer from 0.2.2 to 0.3.1 - #61

Merged
leboiko merged 1 commit into
masterfrom
dependabot/cargo/mermaid-rs-renderer-0.3.1
Nov 23, 2026
Merged

leboiko merged 1 commit into
masterfrom
dependabot/cargo/mermaid-rs-renderer-0.3.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026

Copy link
Copy Markdown
Contributor

Bumps mermaid-rs-renderer from 0.2.2 to 0.3.1.

Changelog

Sourced from mermaid-rs-renderer's changelog.

Changelog

v0.3.0 (2026-07-02)

Render Size Metadata API

  • Added measure_svg_dimensions / render_svg_with_dimensions and a --size CLI flag so embedders can get exact output dimensions before rasterizing.
  • CLI defaults to the diagram's natural dimensions (#83).

Subgraph Containment Overhaul

  • Sibling subgraph membership now matches mermaid-js (flowDb.makeUniq): a node belongs to the first subgraph that claims it, so referencing it in a later subgraph no longer forces boxes to overlap.
  • New routing pass detours edges around subgraph boxes that contain neither endpoint.
  • New placement pass evicts non-member nodes that visually land inside subgraph boxes.
  • Hard gate is now 215 GREEN / 0 RED across the corpus (was 9 RED fixtures with 25 intruding edges).

Layout and Routing Fixes

  • Port-driven grid placement and port-aware routing for architecture-beta (#112, #59).
  • Capped crossing-avoidance detours in flowchart route selection (#79).
  • Hardened routing against empty candidate lists (#37).
  • Fixed flowchart edge zig-zag and orbit artifacts; kept back-edge outer lanes through port refinement.
  • Routed C4 connectors around intervening shapes.
  • Separated state pseudostate markers from overlapping states.
  • Fixed 'unexpected token end' for sequence frames and block-beta named groups (#102).
  • Fixed gantt task ids ending in a duration letter being misparsed.

Themes and Styling

  • Added dark/forest/neutral theme presets and --theme CLI flag (#73).
  • Fixed pie slice colors, legend overlap (#69), and CJK title clipping (#112).
  • Added mindmap.edgeColor config (#49).

Quality Gates and Detection

  • Hard gate gained semantic containment predicates (foreign-node containment, member escape), label-overflow, and canvas-overflow detectors.
  • Layout dumps now expose edge label anchors/extents for external metric tooling.
  • Added determinism, invariant, semantic, and output-shape suites plus baseline ratcheting.

Packaging

  • Release builds use fat LTO (#13); arm64 release artifacts (#71); Nix flake (#99).
Commits
  • 2f993bd Release v0.3.1
  • e1c26a6 Merge aspect-goal-wrapping: serpentine aspect-ratio band fold (incl. subgraph...
  • b185287 Allow aspect fold on flowcharts with subgraphs (subgraph-atomic bands)
  • 9e5b297 Drop redundant place_rank drop (NLL ends the borrow)
  • 5c61853 Align folded band entry ranks under previous band exits
  • 84c7db6 Remove unused JSON layout dump (golden lives in .txt)
  • 485a9f6 Add aspect-fold integration suite; re-anchor edge endpoints after aspect stretch
  • 4e8c8ca Add opt-in serpentine aspect-ratio band fold for flowcharts
  • bac530c Release v0.3.0
  • d34377c Run foreign-subgraph containment before endpoint enforcement
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot @github

dependabot Bot commented on behalf of github Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, rust. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@leboiko leboiko left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed with the combined candidate 799374a in #67, preserving this PR’s original commits. No unresolved code findings. Full workspace tests on stable/Rust 1.92, workspace/all-target Clippy, rustfmt, docs, cargo-deny and cargo-audit pass locally; five existing nonblocking audit warnings remain. Zero snapshots changed. Waiting for Linux/macOS CI and Nix build/smoke gates before merge. Detailed review: https://github.com/leboiko/markdown-reader/blob/799374ae68849ca88370f8365ede859d99507362/PR-61-review.md

@leboiko

leboiko commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Final local validation passed on 7ccd69d.

Finding Status
Overlapping Cargo lock changes Resolved with Cargo; existing patched url/cookie entries retained
Renderer test allowed 2 of 4 fixtures to fail Strengthened to require all four; all four pass
ascii-dag #62 compile/layout failures Excluded and request-changes review posted; both experiments reverted

All gates rerun after the test edit: workspace tests on stable and Rust 1.92, workspace/all-target Clippy, rustfmt, docs, cargo-deny and cargo-audit pass. Five pre-existing nonblocking audit warnings remain. No snapshot updates. Waiting for GitHub/Nix checks on this exact head before merge.

@leboiko leboiko left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved as part of combined candidate 7ccd69d in #67. All 12 GitHub checks pass, including Linux/macOS tests on stable and Rust 1.92, lint/security gates, Nix builds and binary smoke tests. Local full validation also passes. Original commits preserved; no production code or snapshot changes. Renderer smoke test now requires all four fixtures. #62 is excluded. See committed PR-61-review.md.

@leboiko
leboiko merged commit 35f357d into master Nov 23, 2026
12 checks passed
@dependabot
dependabot Bot deleted the dependabot/cargo/mermaid-rs-renderer-0.3.1 branch November 23, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant