Skip to content

chore(deps): Bump mermaid-rs-renderer from 0.2.2 to 0.3.0#28

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/mermaid-rs-renderer-0.3.0
Open

chore(deps): Bump mermaid-rs-renderer from 0.2.2 to 0.3.0#28
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/mermaid-rs-renderer-0.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 6, 2026

Copy link
Copy Markdown
Contributor

Bumps mermaid-rs-renderer from 0.2.2 to 0.3.0.

Changelog

Sourced from mermaid-rs-renderer's 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
  • bac530c Release v0.3.0
  • d34377c Run foreign-subgraph containment before endpoint enforcement
  • 63e3d8f Regenerate stale quality baseline (Feb 1) after 5 months of layout work
  • e9d81d0 Add text-clipping and canvas-overflow detectors to hard gate
  • 308d053 Add semantic containment detector to hard gate
  • 73d47a8 Eliminate subgraph boundary intrusions: foreign-box detours + node eviction
  • c1836a2 Exempt cluster-attached edges from subgraph intrusion metric
  • 6146be0 Add audit baseline: metrics script, fixtures, baseline.json
  • 267a934 Ratchet hard-gate baseline: flowchart_complex fixtures now clean
  • b9aa896 Expose edge label anchors and extents in layout dump
  • 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)

Bumps [mermaid-rs-renderer](https://github.com/1jehuang/mermaid-rs-renderer) from 0.2.2 to 0.3.0.
- [Release notes](https://github.com/1jehuang/mermaid-rs-renderer/releases)
- [Changelog](https://github.com/1jehuang/mermaid-rs-renderer/blob/master/CHANGELOG.md)
- [Commits](1jehuang/mermaid-rs-renderer@v0.2.2...v0.3.0)

---
updated-dependencies:
- dependency-name: mermaid-rs-renderer
  dependency-version: 0.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jul 6, 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.

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.

0 participants