Skip to content

Bump mermaid from 12.2.0 to 12.4.0 - #257

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/mermaid-12.3.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/mermaid-12.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Bumps mermaid from 12.2.0 to 12.4.0.

Release notes

Sourced from mermaid's releases.

mermaid@12.4.0

Minor Changes

  • #8834 68114ea Thanks @​knsv-bot! - feat: agentflow diagrams accept the agentflow keyword. agentflow-beta keeps working as an alias

  • #8745 619b6ab Thanks @​timmy-wright! - feat: add a grid layout with configurable row and column placement, recursive subgraphs, alignment, and orthogonal edge routing

    Flowchart subgraph metadata forwarded to layout engines is now limited to row, column, horizontalAlign, verticalAlign, and algorithm. Custom layouts registered through registerLayoutLoaders no longer receive other authored subgraph metadata fields.

  • #8676 fca5f3f Thanks @​knsv-bot! - feat: add the layered layout (beta), selected with layout: layered, for flowchart, class, state, ER, requirement and mindmap diagrams, with a layered.edgeRouting option (rounded by default, curved, stepped or straight)

  • #8851 08f406c Thanks @​pbrolin47! - feat(layered): draw a hop where two edges cross, as the elk layout does; the new layered.lineHops option sets arc (default), gap or false for plain crossings

Patch Changes

  • #8886 cef7109 Thanks @​pbrolin47! - fix: centre the label of braces nodes between the two braces in the neo look, and centre the label of braces, brace-l and brace-r nodes vertically

  • #8581 4e923df Thanks @​lrharboe! - fix: ELK edge straightening no longer lets the labels of a bidirectional labelled pair run into each other or into the nodes

  • #8621 ca0f683 Thanks @​filipsajdak! - fix: ELK keeps the arrowheads of several edges that end on one short node apart, instead of drawing them on top of each other

  • #8659 6db148a Thanks @​lazerg! - fix: Escape the diagram id in scoped styles so ids starting with a digit keep their styling

  • #8591 f36133e Thanks @​dipak5501! - fix(flowchart): allow a space or tab between a node id and its @{ ... } shape data

  • #8842 fb28759 Thanks @​pbrolin47! - fix(layered): keep an edge from a subgraph to its own node apart from other edges into that node instead of drawing it on top of them

  • #8848 ff6f2ec Thanks @​pbrolin47! - fix(layered): draw every level of nested subgraphs when an outer subgraph is declared after the ones inside it, instead of its box hiding them

  • #8852 1525f22 Thanks @​pbrolin47! - fix(layered): end an edge where it first meets a node's outline, so edges to a lightning-bolt node stop on the bolt instead of inside it

  • #8670 9b4d5b7 Thanks @​filipsajdak! - fix(swimlane): an edge between two aligned nodes in different groups (lanes, or the subgraphs inside them) is now one straight line between their facing sides, when nothing is in the way

  • #8670 af46d84 Thanks @​filipsajdak! - fix(swimlane): an edge from a decision diamond now leaves at the diamond's vertex, and an edge that ended against a node's corner now enters the middle of that face

  • #8668 8754b65 Thanks @​filipsajdak! - fix(swimlane): size LR edge-label gaps from the same nodes the transform stretches by, so anchored nodes no longer add extra room

  • #8693 7df8903 Thanks @​filipsajdak! - fix(swimlane): keep a straight connector straight when two edges meet one side of a box, and keep separated edges clear of the box's corners

mermaid@12.3.0

Minor Changes

  • #8164 592d0e4 Thanks @​filipsajdak! - feat: add the open-arrow and hollow-circle edge markers, so a notation can tell two kinds of flow apart by whether the head is filled

  • #8165 5c8aa5d Thanks @​filipsajdak! - feat: add the BPMN element shapes - events, gateways, activities, data objects, data stores and text annotations - each reporting where a line meets what is drawn

  • #8470 692d22a Thanks @​openmindednewby! - feat: flowchart edges accept a step number (e1@{ step: 1 }); a dot travels the edges in step order and loops, hidden under prefers-reduced-motion

  • #8478 56aa105 Thanks @​openmindednewby! - feat: add flowchart.stepDuration to set how many seconds each step of the flowchart step animation lasts

... (truncated)

Commits
  • 9f93a44 Merge pull request #8836 from mermaid-js/changeset-release/master
  • ebfd73c Version Packages
  • 48290bd Merge pull request #8919 from mermaid-js/release/12.4.0
  • ca080f8 Minor cleanup
  • f0c21bb Merge branch 'master' into release/12.4.0
  • ec1c921 Run doc-update to replace MERMAID_RELEASE_VERSION
  • 7e8f244 Merge pull request #8888 from mermaid-js/sidv/november-flow-banner
  • 926a2bd [autofix.ci] apply automated fixes
  • 8e641f1 docs: pick the top banner from a dated campaign list
  • 1600a7a docs: run the Mermaid Flow banner through December 31st
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Coverage after merging dependabot/bun/mermaid-12.3.0 into main will be

96.78%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
scripts
   a11y-utils.ts100%100%100%100%
src
   aggregate.ts100%100%100%100%
   api-utils.ts92.80%100%91.67%92.92%101–103, 165, 86–87, 92–93
   api.ts96.24%100%100%95.83%428–433, 518, 73–76, 78
   cache.ts94.37%100%100%93.94%139–141, 39
   completions.ts99.44%100%100%99.39%268
   gh-cli.ts100%100%100%100%
   group.ts98.37%100%98.33%98.37%1105, 263–265, 525, 531, 607, 865, 980
   output.ts99.31%100%95.83%99.62%89
   regex.ts99.37%100%100%99.32%360
   render.ts90.41%100%88.24%90.50%185, 187–188, 211–216, 218–220, 223, 244–245, 437–438, 538–542, 572–579, 581–589, 592–594
   scroll-cooldown.ts100%100%100%100%
   style.ts100%100%100%100%
   terminal-control.ts100%100%100%100%
   upgrade.ts86.73%100%92.31%86.36%128, 131, 133–134, 153–154, 167–169, 188–193, 195, 198–202, 209, 214, 250–253
src/render
   filter-match.ts97.22%100%92.31%100%
   filter.ts100%100%100%100%
   frame.ts100%100%100%100%
   highlight.ts96.54%100%90.40%99.29%285–286
   layout-constants.ts100%100%100%100%
   mouse-hit.ts100%100%100%100%
   mouse.ts100%100%100%100%
   rows.ts99.34%100%100%99.29%240
   selection.ts100%100%100%100%
   summary.ts100%100%100%100%
   team-pick.ts100%100%100%100%
   terminal.ts100%100%100%100%

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🔦 Lighthouse Report

Page ⚡ Perf ♿ A11y 🛡️ BP 🔍 SEO Report
/github-code-search/getting-started/ 🟢 100 (≥96) 🟢 100 (≥99) 🟢 100 (≥99) 🟢 100 (≥99) 🔗 view
/github-code-search/ 🟢 100 (≥96) 🟢 100 (≥99) 🟢 100 (≥99) 🟢 100 (≥99) 🔗 view

Thresholds: Perf ≥ 96 · A11y ≥ 99 · BP ≥ 99 · SEO ≥ 99
commit 6cb00d7 · full workflow run

Bumps [mermaid](https://github.com/mermaid-js/mermaid) from 12.2.0 to 12.4.0.
- [Release notes](https://github.com/mermaid-js/mermaid/releases)
- [Commits](https://github.com/mermaid-js/mermaid/compare/mermaid@12.2.0...mermaid@12.4.0)

---
updated-dependencies:
- dependency-name: mermaid
  dependency-version: 12.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump mermaid from 12.2.0 to 12.3.0 Bump mermaid from 12.2.0 to 12.4.0 Nov 30, 2026
@dependabot
dependabot Bot force-pushed the dependabot/bun/mermaid-12.3.0 branch from 7c21faa to 4a2da8a Compare November 30, 2026 16:43
@github-actions

Copy link
Copy Markdown
Contributor

Coverage after merging dependabot/bun/mermaid-12.3.0 into main will be

96.78%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
scripts
   a11y-utils.ts100%100%100%100%
src
   aggregate.ts100%100%100%100%
   api-utils.ts92.80%100%91.67%92.92%101–103, 165, 86–87, 92–93
   api.ts96.24%100%100%95.83%428–433, 518, 73–76, 78
   cache.ts94.37%100%100%93.94%139–141, 39
   completions.ts99.44%100%100%99.39%268
   gh-cli.ts100%100%100%100%
   group.ts98.37%100%98.33%98.37%1105, 263–265, 525, 531, 607, 865, 980
   output.ts99.31%100%95.83%99.62%89
   regex.ts99.37%100%100%99.32%360
   render.ts90.41%100%88.24%90.50%185, 187–188, 211–216, 218–220, 223, 244–245, 437–438, 538–542, 572–579, 581–589, 592–594
   scroll-cooldown.ts100%100%100%100%
   style.ts100%100%100%100%
   terminal-control.ts100%100%100%100%
   upgrade.ts86.73%100%92.31%86.36%128, 131, 133–134, 153–154, 167–169, 188–193, 195, 198–202, 209, 214, 250–253
src/render
   filter-match.ts97.22%100%92.31%100%
   filter.ts100%100%100%100%
   frame.ts100%100%100%100%
   highlight.ts96.54%100%90.40%99.29%285–286
   layout-constants.ts100%100%100%100%
   mouse-hit.ts100%100%100%100%
   mouse.ts100%100%100%100%
   rows.ts99.34%100%100%99.29%240
   selection.ts100%100%100%100%
   summary.ts100%100%100%100%
   team-pick.ts100%100%100%100%
   terminal.ts100%100%100%100%

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants