Skip to content

Releases: mermaid-js/mermaid

mermaid@11.14.0

01 Apr 09:17
Immutable release. Only release title and notes can be modified.
2b9d054

Choose a tag to compare

Thanks to our awesome mermaid community that contributed to this release: @ashishjain0512, @tractorjuice, @autofix-ci[bot], @aloisklink, @knsv, @kibanana, @chandershekhar22, @khalil, @ytatsuno, @sidharthv96, @github-actions[bot], @dripcoding, @knsv-bot, @jeroensmink98, @Alex9583, @GhassenS, @omkarht, @darshanr0107, @leentaylor, @lee-treehouse, @veeceey, @turntrout, @Mermaid-Chart, @BambioGaming, Claude

Releases

@mermaid-js/examples@1.2.0

Minor Changes

mermaid@11.14.0

Minor Changes

  • #7526 efe218a - Add Wardley Maps diagram type (beta)

    Adds Wardley Maps as a new diagram type to Mermaid (available as wardley-beta). Wardley Maps are visual representations of business strategy that help map value chains and component evolution.

    Features:

    • Component positioning with [visibility, evolution] coordinates (OWM format)
    • Anchors for users/customers
    • Multiple link types: dependencies, flows, labeled links
    • Evolution arrows and trend indicators
    • Custom evolution stages with optional dual labels
    • Custom stage widths using @boundary notation
    • Pipeline components with visibility inheritance
    • Annotations, notes, and visual elements
    • Source strategy markers: build, buy, outsource, market
    • Inertia indicators
    • Theme integration

    Implementation includes parser, D3.js renderer, unit tests, E2E tests, and comprehensive documentation.

  • #7526 efe218a - feat: implement neo look styling for state diagrams

  • #7526 efe218a - feat: implement neo look support for sequence diagrams with drop shadows, and enhanced styling

  • #7526 efe218a - feat: add randomize config option for architecture diagrams, defaulting to false for deterministic layout

  • #7526 efe218a - feat: Add option to change timeline direction

  • #7526 efe218a - Fix duplicate SVG element IDs when rendering multiple diagrams on the same page. Internal element IDs (nodes, edges, markers, clusters) are now prefixed with the diagram's SVG element ID across all diagram types. Custom CSS or JS using exact ID selectors like #arrowhead should use attribute-ending selectors like [id$="-arrowhead"] instead.

  • #7526 efe218a - feat: implement neo look styling for ER diagrams

  • #7526 efe218a - feat: implement neo look styling for requirement diagrams

  • #7526 efe218a - feat: add theme support for data label colour in xy chart

  • #7526 efe218a - feat: implement neo look styling for mindmap diagrams

  • #7526 efe218a - feat: implement neo look for mermaid flowchart diagrams

  • #7526 efe218a - feat: implement neo look and themes for class diagram

  • #7526 efe218a - feat: add showDataLabelOutsideBar option for xy chart

  • #7526 efe218a - feat: implement neo look support for timeline diagram with drop shadows, additoinal redux themes and enhanced styling

  • #7526 efe218a - feat: implement neo look and themes for gitGraph diagram

  • #7526 efe218a - add new TreeView diagram

Patch Changes

  • #7526 efe218a - add link to ishikawa diagram on mermaid.js.org

  • #7526 efe218a - docs: document valid duration token formats in gantt.md

  • #7526 efe218a - fix: ER diagram parsing when using "1" as entity identifier on right side

    The parser was incorrectly tokenizing the second "1" in patterns like a many to 1 1: because the lookahead rule only checked for alphabetic characters after whitespace, not digits. Added a new lookahead pattern "1"(?=\s+[0-9]) to correctly identify the cardinality alias before a numeric entity name.

    Fixes #7472

  • #7526 efe218a - fix: scope cytoscape label style mapping to edges with labels to prevent console warnings

  • #7526 efe218a - fix: support inline annotation syntax in class diagrams (class Shape <>)

  • #7526 efe218a - fix: Align branch label background with text for multi-line labels in LR GitGraph layout

  • #7526 efe218a - fix: preserve cause hierarchy when ishikawa effect is indented more than causes

  • #7526 efe218a - refactor: remove unused createGraphWithElements function and add regression test for open edge arrowheads

  • #7526 efe218a - fix: Prevent long pie chart titles from being clipped by expanding the viewBox

  • #7526 efe218a - fix: prevent sequence diagram hang when "as" is used without a trailing space in participant declarations

  • #7526 efe218a - fix: warn when style statement targets a non-existent node in flowcharts

  • #7526 efe218a - fix: group state diagram SVG children under single root element

  • #7526 efe218a - fix: Allow :::className syntax inside composite state blocks

  • #7526 [efe218a](efe218a47fb5a4c...

Read more

@mermaid-js/tiny@11.14.0

01 Apr 09:17
Immutable release. Only release title and notes can be modified.
2b9d054

Choose a tag to compare

Thanks to our awesome mermaid community that contributed to this release: @ashishjain0512, @tractorjuice, @autofix-ci[bot], @aloisklink, @knsv, @kibanana, @chandershekhar22, @khalil, @ytatsuno, @sidharthv96, @github-actions[bot], @dripcoding, @knsv-bot, @jeroensmink98, @Alex9583, @GhassenS, @omkarht, @darshanr0107, @leentaylor, @lee-treehouse, @veeceey, @turntrout, @Mermaid-Chart, @BambioGaming, Claude

Releases

@mermaid-js/examples@1.2.0

Minor Changes

mermaid@11.14.0

Minor Changes

  • #7526 efe218a - Add Wardley Maps diagram type (beta)

    Adds Wardley Maps as a new diagram type to Mermaid (available as wardley-beta). Wardley Maps are visual representations of business strategy that help map value chains and component evolution.

    Features:

    • Component positioning with [visibility, evolution] coordinates (OWM format)
    • Anchors for users/customers
    • Multiple link types: dependencies, flows, labeled links
    • Evolution arrows and trend indicators
    • Custom evolution stages with optional dual labels
    • Custom stage widths using @boundary notation
    • Pipeline components with visibility inheritance
    • Annotations, notes, and visual elements
    • Source strategy markers: build, buy, outsource, market
    • Inertia indicators
    • Theme integration

    Implementation includes parser, D3.js renderer, unit tests, E2E tests, and comprehensive documentation.

  • #7526 efe218a - feat: implement neo look styling for state diagrams

  • #7526 efe218a - feat: implement neo look support for sequence diagrams with drop shadows, and enhanced styling

  • #7526 efe218a - feat: add randomize config option for architecture diagrams, defaulting to false for deterministic layout

  • #7526 efe218a - feat: Add option to change timeline direction

  • #7526 efe218a - Fix duplicate SVG element IDs when rendering multiple diagrams on the same page. Internal element IDs (nodes, edges, markers, clusters) are now prefixed with the diagram's SVG element ID across all diagram types. Custom CSS or JS using exact ID selectors like #arrowhead should use attribute-ending selectors like [id$="-arrowhead"] instead.

  • #7526 efe218a - feat: implement neo look styling for ER diagrams

  • #7526 efe218a - feat: implement neo look styling for requirement diagrams

  • #7526 efe218a - feat: add theme support for data label colour in xy chart

  • #7526 efe218a - feat: implement neo look styling for mindmap diagrams

  • #7526 efe218a - feat: implement neo look for mermaid flowchart diagrams

  • #7526 efe218a - feat: implement neo look and themes for class diagram

  • #7526 efe218a - feat: add showDataLabelOutsideBar option for xy chart

  • #7526 efe218a - feat: implement neo look support for timeline diagram with drop shadows, additoinal redux themes and enhanced styling

  • #7526 efe218a - feat: implement neo look and themes for gitGraph diagram

  • #7526 efe218a - add new TreeView diagram

Patch Changes

  • #7526 efe218a - add link to ishikawa diagram on mermaid.js.org

  • #7526 efe218a - docs: document valid duration token formats in gantt.md

  • #7526 efe218a - fix: ER diagram parsing when using "1" as entity identifier on right side

    The parser was incorrectly tokenizing the second "1" in patterns like a many to 1 1: because the lookahead rule only checked for alphabetic characters after whitespace, not digits. Added a new lookahead pattern "1"(?=\s+[0-9]) to correctly identify the cardinality alias before a numeric entity name.

    Fixes #7472

  • #7526 efe218a - fix: scope cytoscape label style mapping to edges with labels to prevent console warnings

  • #7526 efe218a - fix: support inline annotation syntax in class diagrams (class Shape <>)

  • #7526 efe218a - fix: Align branch label background with text for multi-line labels in LR GitGraph layout

  • #7526 efe218a - fix: preserve cause hierarchy when ishikawa effect is indented more than causes

  • #7526 efe218a - refactor: remove unused createGraphWithElements function and add regression test for open edge arrowheads

  • #7526 efe218a - fix: Prevent long pie chart titles from being clipped by expanding the viewBox

  • #7526 efe218a - fix: prevent sequence diagram hang when "as" is used without a trailing space in participant declarations

  • #7526 efe218a - fix: warn when style statement targets a non-existent node in flowcharts

  • #7526 efe218a - fix: group state diagram SVG children under single root element

  • #7526 efe218a - fix: Allow :::className syntax inside composite state blocks

  • #7526 [efe218a](efe218a47fb5a...

Read more

@mermaid-js/parser@1.1.0

01 Apr 09:17
Immutable release. Only release title and notes can be modified.
2b9d054

Choose a tag to compare

Minor Changes

@mermaid-js/examples@1.2.0

01 Apr 09:17
Immutable release. Only release title and notes can be modified.
2b9d054

Choose a tag to compare

Minor Changes

mermaid@11.13.0

09 Mar 12:07
Immutable release. Only release title and notes can be modified.
b1a5e9b

Choose a tag to compare

Minor Changes

Patch Changes

  • #7075 96a766d Thanks @darshanr0107! - fix: Prevent HTML tags from being escaped in sandbox label rendering

  • #6843 32723b2 Thanks @saurabhg772244! - fix: Support edge animation in hand drawn look

  • #7453 a60e615 Thanks @darshanr0107! - fix: ER diagram edge label positioning

  • #6989 1a9d45a Thanks @darshanr0107! - fix: Resolved parsing error where direction TD was not recognized within subgraphs

  • #7178 96ca7c0 Thanks @omkarht! - fix(treemap): Fixed treemap classDef style application to properly apply user-defined styles

  • #7076 60f6331 Thanks @darshanr0107! - fix: Correct viewBox casing and make SVGs responsive

  • #7055 fa15ce8 Thanks @darshanr0107! - fix: Improve participant parsing and prevent recursive loops on invalid syntax

  • #7276 33c7c72 Thanks @darshanr0107! - fix: respect markdownAutoWrap: false to prevent text auto-wrapping in flowchart markdown labels with htmlLabels enabled.

    Markdown labels with markdownAutoWrap: false, htmlLabels: false set doesn't work
    correctly.

  • #7416 3c069b5 Thanks @Crafter-Y! - fix: architecture diagram lines should now have the correct length

  • #6995 9745f32 Thanks @darshanr0107! - fix: Support the htmlLabels Mermaid config value whenever possible

  • #7293 a408b55 Thanks @darshanr0107! - fix: Prevent browser hang when using multiline accDescr in XY charts

  • #6119 712c1ec Thanks @NealGooch! - fix: correct block positioning when nested blocks span multiple columns

  • #7424 981a62e Thanks @knsv! - fix: correct BT orientation arc sweep flags in gitGraph drawArrow()

    Swapped SVG arc sweep-flag values in the BT (bottom-to-top) orientation branches of drawArrow() so curves bend in the correct direction. Affects both rerouting and non-rerouting code paths for merge and non-merge arrows.

    Resolves #6593

  • #7430 a4bb0b5 Thanks @knsv! - fix: allow colons in stateDiagram-v2 transition and state description text

  • #7432 b0f9d5b Thanks @knsv! - fix: derive taskTextDarkColor from doneTaskBkgColor in dark theme for readable done-task text

  • #7456 981fbb8 Thanks @knsv-bot! - fix(gantt): restore readable outside-text color for done tasks in dark mode

  • #7139 93aa657 Thanks @omkarht! - revert: restore original hexagon and roundedRect implementations

  • #7136 6bc6617 Thanks @omkarht! - feat: add alias support for new participant syntax of sequence diagrams

  • #7375 9d0669a Thanks @kaigritun! - fix(er): recognize '1' cardinality alias before relationship operators

  • #7275 7eed6a1 Thanks @darshanr0107! - fix: change createLabel to call createText

    This adds support for KaTeX and FontAwesome icons loaded via iconpacks in some
    older labels. There are some small changes in formatting due to standardizing this code.

  • #7265 2000680 Thanks @omkarht! - fix: prevent unintended opacity on SVG aws icons containing rect elements

  • #7139 b7c66a2 Thanks @omkarht! - chore: restore original hexagon and roundedRect implementations

  • #7425 f16bfbb Thanks @knsv! - fix: use rounded right-angle edges for ELK layout

    ELK layout edges now default to rounded curve (right-angle segments with rounded corners) instead of inheriting the global basis default. This fixes ELK edges that were curving instead of routing at right angles (#7213). Non-ELK layouts are unaffected and keep their existing basis default.

  • #7296 aac86f7 Thanks @darshanr0107! - fix: Ensure correct edge label rendering for ER and requirement diagrams when flowchart htmlLabels are false

  • #7019 ace0367 Thanks @darshanr0107! - fix: Mindmap breaking in ELK layout

  • #6984 [09b74f1](https://github.com/mermaid-js/mermaid/commit...

Read more

@mermaid-js/tiny@11.13.0

09 Mar 12:08
Immutable release. Only release title and notes can be modified.
b1a5e9b

Choose a tag to compare

Minor Changes

Patch Changes

  • #7075 96a766d Thanks @darshanr0107! - fix: Prevent HTML tags from being escaped in sandbox label rendering

  • #6843 32723b2 Thanks @saurabhg772244! - fix: Support edge animation in hand drawn look

  • #7453 a60e615 Thanks @darshanr0107! - fix: ER diagram edge label positioning

  • #6989 1a9d45a Thanks @darshanr0107! - fix: Resolved parsing error where direction TD was not recognized within subgraphs

  • #7178 96ca7c0 Thanks @omkarht! - fix(treemap): Fixed treemap classDef style application to properly apply user-defined styles

  • #7076 60f6331 Thanks @darshanr0107! - fix: Correct viewBox casing and make SVGs responsive

  • #7055 fa15ce8 Thanks @darshanr0107! - fix: Improve participant parsing and prevent recursive loops on invalid syntax

  • #7276 33c7c72 Thanks @darshanr0107! - fix: respect markdownAutoWrap: false to prevent text auto-wrapping in flowchart markdown labels with htmlLabels enabled.

    Markdown labels with markdownAutoWrap: false, htmlLabels: false set doesn't work
    correctly.

  • #7416 3c069b5 Thanks @Crafter-Y! - fix: architecture diagram lines should now have the correct length

  • #6995 9745f32 Thanks @darshanr0107! - fix: Support the htmlLabels Mermaid config value whenever possible

  • #7293 a408b55 Thanks @darshanr0107! - fix: Prevent browser hang when using multiline accDescr in XY charts

  • #6119 712c1ec Thanks @NealGooch! - fix: correct block positioning when nested blocks span multiple columns

  • #7424 981a62e Thanks @knsv! - fix: correct BT orientation arc sweep flags in gitGraph drawArrow()

    Swapped SVG arc sweep-flag values in the BT (bottom-to-top) orientation branches of drawArrow() so curves bend in the correct direction. Affects both rerouting and non-rerouting code paths for merge and non-merge arrows.

    Resolves #6593

  • #7430 a4bb0b5 Thanks @knsv! - fix: allow colons in stateDiagram-v2 transition and state description text

  • #7432 b0f9d5b Thanks @knsv! - fix: derive taskTextDarkColor from doneTaskBkgColor in dark theme for readable done-task text

  • #7456 981fbb8 Thanks @knsv-bot! - fix(gantt): restore readable outside-text color for done tasks in dark mode

  • #7139 93aa657 Thanks @omkarht! - revert: restore original hexagon and roundedRect implementations

  • #7136 6bc6617 Thanks @omkarht! - feat: add alias support for new participant syntax of sequence diagrams

  • #7375 9d0669a Thanks @kaigritun! - fix(er): recognize '1' cardinality alias before relationship operators

  • #7275 7eed6a1 Thanks @darshanr0107! - fix: change createLabel to call createText

    This adds support for KaTeX and FontAwesome icons loaded via iconpacks in some
    older labels. There are some small changes in formatting due to standardizing this code.

  • #7265 2000680 Thanks @omkarht! - fix: prevent unintended opacity on SVG aws icons containing rect elements

  • #7139 b7c66a2 Thanks @omkarht! - chore: restore original hexagon and roundedRect implementations

  • #7425 f16bfbb Thanks @knsv! - fix: use rounded right-angle edges for ELK layout

    ELK layout edges now default to rounded curve (right-angle segments with rounded corners) instead of inheriting the global basis default. This fixes ELK edges that were curving instead of routing at right angles (#7213). Non-ELK layouts are unaffected and keep their existing basis default.

  • #7296 aac86f7 Thanks @darshanr0107! - fix: Ensure correct edge label rendering for ER and requirement diagrams when flowchart htmlLabels are false

  • #7019 ace0367 Thanks @darshanr0107! - fix: Mindmap breaking in ELK layout

  • #6984 [09b74f1](https://github.com/mermaid-js/mermaid/commit...

Read more

@mermaid-js/parser@1.0.1

09 Mar 12:07
Immutable release. Only release title and notes can be modified.
b1a5e9b

Choose a tag to compare

Patch Changes

  • #7333 fd3fc50 Thanks @omkarht! - fix: enhanced parser error messages to include line and column numbers for better debugging experience

@mermaid-js/layout-elk@0.2.1

09 Mar 12:07
Immutable release. Only release title and notes can be modified.
b1a5e9b

Choose a tag to compare

Patch Changes

@mermaid-js/examples@1.1.0

09 Mar 12:07
Immutable release. Only release title and notes can be modified.
b1a5e9b

Choose a tag to compare

Minor Changes

mermaid@11.12.3

17 Feb 12:44
Immutable release. Only release title and notes can be modified.
cbe7015

Choose a tag to compare

Patch Changes

  • Updated dependencies [7243340]:
    • @mermaid-js/parser@1.0.0