Skip to content

Version Packages#7466

Merged
ashishjain0512 merged 1 commit into
masterfrom
changeset-release/master
Mar 9, 2026
Merged

Version Packages#7466
ashishjain0512 merged 1 commit into
masterfrom
changeset-release/master

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Mar 9, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@mermaid-js/examples@1.1.0

Minor Changes

mermaid@11.13.0

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 gitGraph BT: wrong curve when commit line goes left then up #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 (ELK flowchart edge curving instead of right angle #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 Thanks @omkarht! - fix(er-diagram): prevent syntax error when using 'u', numbers, and decimals in node names

  • #7276 33c7c72 Thanks @darshanr0107! - fix: Restore proper rendering of plain text flowchart labels without auto line-wrapping

    This fix restores backwards compatibility with Mermaid v10 by ensuring that plain text labels in flowcharts are rendered correctly. In Mermaid v11, all labels were incorrectly being treated as markdown by default, which caused issues with text wrapping, multiline breaks, and backwards compatibility.

    What changed:

    • Plain text labels in flowcharts (without markdown syntax) now render as regular text
      • For node labels and edge labels, these will line-wrap automatically. Although this isn't backwards compatible with v10, we think this is a minor change and it's worth keeping to avoid too many changes from diagrams created from v11 onwards.
      • Plain text labels in other diagrams will continue to not line wrap.
    • Plain text labels with \n characters now correctly create line breaks
    • Plain text that looks like markdown (e.g., "1.", "- x") is no longer misinterpreted

    If you want markdown formatting:
    You can still use markdown in your flowchart labels by using the proper markdown syntax. Wrap your markdown text with double quotes and backticks:
    node["`_markdown_ **text**`"]

    Example:

    ```mermaid
    flowchart TD
        plain["Plain text\nwith manual line break"]
        markdown["`This is a **markdown** _label_ that wraps and doesn't replace \n with newlines`"]
    ```
  • #7080 835de00 Thanks @darshanr0107! - fix: Support ComponentQueue_Ext to prevent parsing error

  • #7310 a9e4c72 Thanks @darshanr0107! - fix: Allow quoted string labels in architecture-beta diagrams

  • #7052 ff15e51 Thanks @darshanr0107! - fix: Correct tooltip placement to appear near hovered element

  • #7197 8bfd477 Thanks @omkarht! - fix: validate dates and tick interval to prevent UI freeze/crash in gantt diagramtype

  • #7099 b136acd Thanks @darshanr0107! - fix: Mindmap rendering issue when the number of Level 2 nodes exceeds 11

  • #7217 e0317ac Thanks @omkarht! - fix(gitgraph): pass gitGraphConfig to renderer functions for applying directives properly.

  • Updated dependencies [fd3fc50]:

    • @mermaid-js/parser@1.0.1

@mermaid-js/tiny@11.13.0

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 gitGraph BT: wrong curve when commit line goes left then up #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 (ELK flowchart edge curving instead of right angle #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 Thanks @omkarht! - fix(er-diagram): prevent syntax error when using 'u', numbers, and decimals in node names

  • #7276 33c7c72 Thanks @darshanr0107! - fix: Restore proper rendering of plain text flowchart labels without auto line-wrapping

    This fix restores backwards compatibility with Mermaid v10 by ensuring that plain text labels in flowcharts are rendered correctly. In Mermaid v11, all labels were incorrectly being treated as markdown by default, which caused issues with text wrapping, multiline breaks, and backwards compatibility.

    What changed:

    • Plain text labels in flowcharts (without markdown syntax) now render as regular text
      • For node labels and edge labels, these will line-wrap automatically. Although this isn't backwards compatible with v10, we think this is a minor change and it's worth keeping to avoid too many changes from diagrams created from v11 onwards.
      • Plain text labels in other diagrams will continue to not line wrap.
    • Plain text labels with \n characters now correctly create line breaks
    • Plain text that looks like markdown (e.g., "1.", "- x") is no longer misinterpreted

    If you want markdown formatting:
    You can still use markdown in your flowchart labels by using the proper markdown syntax. Wrap your markdown text with double quotes and backticks:
    node["`_markdown_ **text**`"]

    Example:

    ```mermaid
    flowchart TD
        plain["Plain text\nwith manual line break"]
        markdown["`This is a **markdown** _label_ that wraps and doesn't replace \n with newlines`"]
    ```
  • #7080 835de00 Thanks @darshanr0107! - fix: Support ComponentQueue_Ext to prevent parsing error

  • #7310 a9e4c72 Thanks @darshanr0107! - fix: Allow quoted string labels in architecture-beta diagrams

  • #7052 ff15e51 Thanks @darshanr0107! - fix: Correct tooltip placement to appear near hovered element

  • #7197 8bfd477 Thanks @omkarht! - fix: validate dates and tick interval to prevent UI freeze/crash in gantt diagramtype

  • #7099 b136acd Thanks @darshanr0107! - fix: Mindmap rendering issue when the number of Level 2 nodes exceeds 11

  • #7217 e0317ac Thanks @omkarht! - fix(gitgraph): pass gitGraphConfig to renderer functions for applying directives properly.

  • Updated dependencies [fd3fc50]:

    • @mermaid-js/parser@1.0.1

@mermaid-js/layout-elk@0.2.1

Patch Changes

@mermaid-js/parser@1.0.1

Patch Changes

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

@ashishjain0512 ashishjain0512 merged commit b1a5e9b into master Mar 9, 2026
@ashishjain0512 ashishjain0512 deleted the changeset-release/master branch March 9, 2026 12:06
ashishjain0512 added a commit that referenced this pull request Apr 1, 2026
* master: (24 commits)
  Version Packages (#7561)
  Release candidate 11.14.0 (#7526)
  chore: Editor Picker V2 (#7497)
  Setting the link to Get started to the correct on
  Version Packages (#7466)
  fix: use correct package name for elk
  dummy commit
  Fix: ER diagram edge label positioning (#7453)
  chore: Update coupon
  fix(gantt): restore readable outside-text for done tasks in dark mode (#7456)
  fix(elk): scope rounded edge curve to ELK layout only (#7454)
  fix: plausible build
  chore: Update plausible
  chore: Update release version in docs
  chore: Track editor picker selection
  fix: update broken docsy link and exclude bot-blocked domains from link checker
  chore: replace MERMAID_RELEASE_VERSION placeholders with current version
  fix: correct package name in changeset slow-lemons-know
  Updated Hero text
  Version Packages
  ...

# Conflicts:
#	.changeset/weak-tools-pay.md
#	docs/syntax/architecture.md
#	docs/syntax/timeline.md
#	docs/syntax/treeView.md
#	docs/syntax/wardley.md
#	docs/syntax/xyChart.md
#	packages/examples/CHANGELOG.md
#	packages/examples/package.json
#	packages/mermaid/CHANGELOG.md
#	packages/mermaid/package.json
#	packages/mermaid/src/diagrams/git/gitGraphRenderer.ts
#	packages/mermaid/src/docs/.vitepress/components/EditorSelectionModal.vue
#	packages/mermaid/src/docs/syntax/architecture.md
#	packages/mermaid/src/docs/syntax/timeline.md
#	packages/mermaid/src/docs/syntax/treeView.md
#	packages/mermaid/src/docs/syntax/wardley.md
#	packages/mermaid/src/docs/syntax/xyChart.md
#	packages/mermaid/src/rendering-util/rendering-elements/shapes/requirementBox.ts
#	packages/parser/CHANGELOG.md
#	packages/parser/package.json
#	packages/tiny/CHANGELOG.md
#	packages/tiny/package.json
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