Skip to content

chore(deps): bump mermaid from 11.17.2 to 12.1.0 in /website - #318

Merged
danbaruka merged 1 commit into
mainfrom
dependabot/npm_and_yarn/website/mermaid-12.1.0
Oct 16, 2026
Merged

danbaruka merged 1 commit into
mainfrom
dependabot/npm_and_yarn/website/mermaid-12.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Bumps mermaid from 11.17.2 to 12.1.0.

Release notes

Sourced from mermaid's releases.

[email protected]

Minor Changes

  • #8303 9140716 Thanks @​filipsajdak! - feat: add the elk.orientFeedbackEdges option, enabled by default. With the ELK layout, an edge from a node that a subgraph feeds back into that subgraph is now routed downstream instead of around the subgraph. This changes the layout of existing ELK diagrams that contain such edges; set elk.orientFeedbackEdges: false to keep the previous routing.

  • #8250 fd4f5f2 Thanks @​kartben! - feat: add a bitOrder option to packet diagrams. It defaults to ascending, which is the current behaviour, and descending mirrors every row so it reads from that row's highest bit down to its lowest. Fields are still declared lowest bit first and keep their width, so switching a diagram between the two conventions only means changing bitOrder.

Patch Changes

  • #8330 50c9e55 Thanks @​ashishjain0512! - fix: upgrade chevrotain to 13 so mermaid no longer pulls in vulnerable [email protected]

  • #8259 4c90f5c Thanks @​afonsojanu! - fix(sequence): allow whitespace between an actor name and its @{ ... } config object

    participant Bob@{ "type" : "database" } parsed fine, but adding a single space before the config object (participant Bob @{ "type" : "database" }) failed with a confusing parse error, even though the plain form without a config object tolerates trailing whitespace just fine.

  • #8339 c7fa1a5 Thanks @​ashishjain0512! - fix: keep ELK class-diagram cardinalities off namespace frames

  • #8334 d67331d Thanks @​ashishjain0512! - fix(class): place cardinality labels beside their relation ends on dagre's sides with ELK, centre dagre's end labels, and stop clipping their text

  • #8344 99a050b Thanks @​pbrolin47! - fix: with the ELK layout, an edge label could sit up to 16px beside its edge instead of centred on it, when the edge's terminal jog was straightened after the label's position was computed. The label is now re-projected onto the straightened route

  • #8276 3101c7d Thanks @​mir-ashiq! - fix(error): show the actual error message in the error diagram

    When a diagram fails to parse, the error diagram now draws the real error message below the "Syntax error in text" headline, wrapped to at most four lines. Hosts that only show the SVG (GitHub, GitLab, Obsidian, exported images) no longer hide what actually went wrong, e.g. that the flowchart edge limit was exceeded and maxEdges needs raising via mermaid.initialize.

  • #8296 aa29345 Thanks @​pentaoa! - fix: preserve explicit source relations on event modeling reset frames

  • #8297 967bbde Thanks @​pentaoa! - fix: reject duplicate event modeling frame IDs before rendering

  • #8337 147f343 Thanks @​knsv-bot! - fix: a flowchart that declares the same subgraph id more than once now renders as one merged subgraph with the ELK layout instead of producing NaN geometry. Classes and view: collapsed set on a repeated subgraph now apply to it, whichever declaration they follow.

  • #8203 40ef7b4 Thanks @​MFA-G! - perf(frontmatter): replace the quadratic front matter regex on hot paths

    frontMatterRegex backtracks polynomially on whitespace-heavy input, so a diagram well inside the default maxTextSize could stall parsing for over a second. detectType and extractFrontMatter now use a linear scanner that matches the regex result exactly, leaving no document stripped differently.

  • #8254 351d7d2 Thanks @​galshir! - fix: warn when a gantt task references an unknown after/until task id, or when its end value is neither a valid date nor a valid duration

  • #8249 b657a2c Thanks @​mir-ashiq! - fix(sequence): allow hyphenated actor and participant names when a config object is attached

... (truncated)

Commits
  • 21f72f0 Merge pull request #8360 from mermaid-js/changeset-release/master
  • 3f89f7b Version Packages
  • 4ef0218 Merge pull request #8358 from mermaid-js/release/12.0.1
  • f45c691 Fix error from build docs
  • d9cb282 Fix label overlap bug
  • 47fffa0 Merge pull request #8297 from pentaoa/fix/eventmodeling-duplicate-frame-ids
  • 12c280e Merge develop and preserve eventmodeling regression tests
  • c0f7052 Merge pull request #8296 from pentaoa/fix/eventmodeling-reset-explicit-relations
  • 4f6ac96 Merge pull request #8345 from mermaid-js/bug/8283_xychart-legend-clip-title-h...
  • 679093a Merge pull request #8344 from mermaid-js/pebr/issue-8292-elk-label
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github Oct 13, 2026

Copy link
Copy Markdown
Contributor Author

Labels

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

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

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/website/mermaid-12.1.0 branch from fd7b4a2 to ba8113d Compare October 13, 2026 17:48
@danbaruka
danbaruka merged commit d42937b into main Oct 16, 2026
1 check failed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/website/mermaid-12.1.0 branch October 16, 2026 00:12
IanoNjuguna added a commit to danbaruka/developer-experience that referenced this pull request Oct 18, 2026
The dependabot merges for dotenv (IntersectMBO#317) and mermaid (IntersectMBO#318) bumped
package.json without regenerating package-lock.json, so every npm ci run
fails with EUSAGE before the build starts: the lock still pins dotenv
17.3.1 and mermaid 11.17.2. The PR build gate and the Pages deploy have
both been red on main since 2026-10-16.

Regenerated with npm install against the current package.json, which
resolves dotenv 18.0.8, mermaid 12.2.0 and @mermaid-js/parser 2.0.1.
IanoNjuguna added a commit that referenced this pull request Oct 18, 2026
The docs feedback form always reported success, even when no script URL was configured, and it posted visitor text to a public Apps Script. Delete the widget, its swizzled `DocItem` footer, and the Apps Script channel. This PR fixes this particular issue.

The PR's build gate has been red on main since 2026-10-16 because the dependabot merges for dotenv (#317) and mermaid (#318) bumped `package.json` without regenerating `package-lock.json`, so `npm ci` failed with `EUSAGE` before the build started. This PR also regenerates the lock (`dotenv 18.0.8`, `mermaid 12.2.0`, `@mermaid-js/parser 2.0.1`) and run both workflows on Node 22, which mermaid 12 requires (engines >=22.12.0).
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