Releases: mermaid-js/mermaid
mermaid@11.13.0
Minor Changes
-
#7352
d6db0b0Thanks @remcohaszing! - feat: Export theAsyncIconLoader,SyncIconLoader, andIconLoadertypes. -
#6789
73e9849Thanks @omkarht! - feat: Add half-arrowheads (solid & stick) and central connection support -
#7387
acce4dbThanks @exoego! - feat: Add Ishikawa diagram (ishikawa-beta) -
#6995
9745f32Thanks @darshanr0107! - feat: Deprecateflowchart.htmlLabelsin favor of root-levelhtmlLabelsin Mermaid config -
#5814
2dd29beThanks @kairi003! - feat: allow to put notes in namespaces on classDiagram
Patch Changes
-
#7075
96a766dThanks @darshanr0107! - fix: Prevent HTML tags from being escaped in sandbox label rendering -
#6843
32723b2Thanks @saurabhg772244! - fix: Support edge animation in hand drawn look -
#7453
a60e615Thanks @darshanr0107! - fix: ER diagram edge label positioning -
#6989
1a9d45aThanks @darshanr0107! - fix: Resolved parsing error where direction TD was not recognized within subgraphs -
#7178
96ca7c0Thanks @omkarht! - fix(treemap): Fixed treemap classDef style application to properly apply user-defined styles -
#7076
60f6331Thanks @darshanr0107! - fix: Correct viewBox casing and make SVGs responsive -
#7055
fa15ce8Thanks @darshanr0107! - fix: Improve participant parsing and prevent recursive loops on invalid syntax -
#7276
33c7c72Thanks @darshanr0107! - fix: respectmarkdownAutoWrap: falseto prevent text auto-wrapping in flowchart markdown labels withhtmlLabelsenabled.Markdown labels with
markdownAutoWrap: false, htmlLabels: falseset doesn't work
correctly. -
#7416
3c069b5Thanks @Crafter-Y! - fix: architecture diagram lines should now have the correct length -
#6995
9745f32Thanks @darshanr0107! - fix: Support thehtmlLabelsMermaid config value whenever possible -
#7293
a408b55Thanks @darshanr0107! - fix: Prevent browser hang when using multiline accDescr in XY charts -
#6119
712c1ecThanks @NealGooch! - fix: correct block positioning when nested blocks span multiple columns -
#7424
981a62eThanks @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
a4bb0b5Thanks @knsv! - fix: allow colons in stateDiagram-v2 transition and state description text -
#7432
b0f9d5bThanks @knsv! - fix: derive taskTextDarkColor from doneTaskBkgColor in dark theme for readable done-task text -
#7456
981fbb8Thanks @knsv-bot! - fix(gantt): restore readable outside-text color for done tasks in dark mode -
#7139
93aa657Thanks @omkarht! - revert: restore original hexagon and roundedRect implementations -
#7136
6bc6617Thanks @omkarht! - feat: add alias support for new participant syntax of sequence diagrams -
#7375
9d0669aThanks @kaigritun! - fix(er): recognize '1' cardinality alias before relationship operators -
#7275
7eed6a1Thanks @darshanr0107! - fix: changecreateLabelto callcreateTextThis 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
2000680Thanks @omkarht! - fix: prevent unintended opacity on SVG aws icons containing rect elements -
#7139
b7c66a2Thanks @omkarht! - chore: restore original hexagon and roundedRect implementations -
#7425
f16bfbbThanks @knsv! - fix: use rounded right-angle edges for ELK layoutELK layout edges now default to
roundedcurve (right-angle segments with rounded corners) instead of inheriting the globalbasisdefault. This fixes ELK edges that were curving instead of routing at right angles (#7213). Non-ELK layouts are unaffected and keep their existingbasisdefault. -
#7296
aac86f7Thanks @darshanr0107! - fix: Ensure correct edge label rendering for ER and requirement diagrams when flowchart htmlLabels are false -
#7019
ace0367Thanks @darshanr0107! - fix: Mindmap breaking in ELK layout -
#6984 [
09b74f1](https://github.com/mermaid-js/mermaid/commit...
@mermaid-js/tiny@11.13.0
Minor Changes
-
#7352
d6db0b0Thanks @remcohaszing! - feat: Export theAsyncIconLoader,SyncIconLoader, andIconLoadertypes. -
#6789
73e9849Thanks @omkarht! - feat: Add half-arrowheads (solid & stick) and central connection support -
#7387
acce4dbThanks @exoego! - feat: Add Ishikawa diagram (ishikawa-beta) -
#6995
9745f32Thanks @darshanr0107! - feat: Deprecateflowchart.htmlLabelsin favor of root-levelhtmlLabelsin Mermaid config -
#5814
2dd29beThanks @kairi003! - feat: allow to put notes in namespaces on classDiagram
Patch Changes
-
#7075
96a766dThanks @darshanr0107! - fix: Prevent HTML tags from being escaped in sandbox label rendering -
#6843
32723b2Thanks @saurabhg772244! - fix: Support edge animation in hand drawn look -
#7453
a60e615Thanks @darshanr0107! - fix: ER diagram edge label positioning -
#6989
1a9d45aThanks @darshanr0107! - fix: Resolved parsing error where direction TD was not recognized within subgraphs -
#7178
96ca7c0Thanks @omkarht! - fix(treemap): Fixed treemap classDef style application to properly apply user-defined styles -
#7076
60f6331Thanks @darshanr0107! - fix: Correct viewBox casing and make SVGs responsive -
#7055
fa15ce8Thanks @darshanr0107! - fix: Improve participant parsing and prevent recursive loops on invalid syntax -
#7276
33c7c72Thanks @darshanr0107! - fix: respectmarkdownAutoWrap: falseto prevent text auto-wrapping in flowchart markdown labels withhtmlLabelsenabled.Markdown labels with
markdownAutoWrap: false, htmlLabels: falseset doesn't work
correctly. -
#7416
3c069b5Thanks @Crafter-Y! - fix: architecture diagram lines should now have the correct length -
#6995
9745f32Thanks @darshanr0107! - fix: Support thehtmlLabelsMermaid config value whenever possible -
#7293
a408b55Thanks @darshanr0107! - fix: Prevent browser hang when using multiline accDescr in XY charts -
#6119
712c1ecThanks @NealGooch! - fix: correct block positioning when nested blocks span multiple columns -
#7424
981a62eThanks @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
a4bb0b5Thanks @knsv! - fix: allow colons in stateDiagram-v2 transition and state description text -
#7432
b0f9d5bThanks @knsv! - fix: derive taskTextDarkColor from doneTaskBkgColor in dark theme for readable done-task text -
#7456
981fbb8Thanks @knsv-bot! - fix(gantt): restore readable outside-text color for done tasks in dark mode -
#7139
93aa657Thanks @omkarht! - revert: restore original hexagon and roundedRect implementations -
#7136
6bc6617Thanks @omkarht! - feat: add alias support for new participant syntax of sequence diagrams -
#7375
9d0669aThanks @kaigritun! - fix(er): recognize '1' cardinality alias before relationship operators -
#7275
7eed6a1Thanks @darshanr0107! - fix: changecreateLabelto callcreateTextThis 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
2000680Thanks @omkarht! - fix: prevent unintended opacity on SVG aws icons containing rect elements -
#7139
b7c66a2Thanks @omkarht! - chore: restore original hexagon and roundedRect implementations -
#7425
f16bfbbThanks @knsv! - fix: use rounded right-angle edges for ELK layoutELK layout edges now default to
roundedcurve (right-angle segments with rounded corners) instead of inheriting the globalbasisdefault. This fixes ELK edges that were curving instead of routing at right angles (#7213). Non-ELK layouts are unaffected and keep their existingbasisdefault. -
#7296
aac86f7Thanks @darshanr0107! - fix: Ensure correct edge label rendering for ER and requirement diagrams when flowchart htmlLabels are false -
#7019
ace0367Thanks @darshanr0107! - fix: Mindmap breaking in ELK layout -
#6984 [
09b74f1](https://github.com/mermaid-js/mermaid/commit...
@mermaid-js/parser@1.0.1
@mermaid-js/layout-elk@0.2.1
Patch Changes
-
#7425
f16bfbbThanks @knsv! - fix: use rounded right-angle edges for ELK layoutELK layout edges now default to
roundedcurve (right-angle segments with rounded corners) instead of inheriting the globalbasisdefault. This fixes ELK edges that were curving instead of routing at right angles (#7213). Non-ELK layouts are unaffected and keep their existingbasisdefault. -
Updated dependencies [
96a766d,32723b2,a60e615,1a9d45a,96ca7c0,60f6331,fa15ce8,33c7c72,3c069b5,9745f32,d6db0b0,cdacb0b,a408b55,712c1ec,981a62e,a4bb0b5,b0f9d5b,981fbb8,93aa657,6bc6617,73e9849,9d0669a,acce4db,7eed6a1,2000680,b7c66a2,f16bfbb,aac86f7,9745f32,2dd29be,ace0367,09b74f1,33c7c72,835de00,a9e4c72,ff15e51,8bfd477,b136acd,e0317ac]:- mermaid@11.13.0
@mermaid-js/examples@1.1.0
mermaid@11.12.3
Patch Changes
- Updated dependencies [
7243340]:- @mermaid-js/parser@1.0.0
@mermaid-js/tiny@11.12.3
Patch Changes
- Updated dependencies [
7243340]:- @mermaid-js/parser@1.0.0
@mermaid-js/parser@1.0.0
Major Changes
-
#7377
7243340Thanks @aloisklink! - chore: upgrade to Langium v4Upgrade
@mermaid-js/parserto use Langium v4,
see https://github.com/eclipse-langium/langium/releases/tag/v4.0.0
for more details.The major breaking changes that impact consumers of this package are:
- Due to various type-related changes,
langiumnow requires version>= 5.8.0
of TypeScript. - The generated type names from
ast.tshave been moved from<typeName>to
<typeName>.$type
(langium#1942).
This also removes a transitive dependency on lodash versions that are vulnerable
to CVE-2025-13465, although
chevrotain doesn't use the affected functions,
so this is only to silence security scanners. - Due to various type-related changes,
@mermaid-js/layout-tidy-tree@0.2.1
Patch Changes
- #7355
0f94b84Thanks @sidharthv96! - fix: Inline non-layered-tidy-tree-layout to avoid downstream import issues
mermaid@11.12.2
Patch Changes
- #7200
de7ed10Thanks @shubhamparikh2704! - fix: validate dates and tick interval to prevent UI freeze/crash in gantt diagramtype