@mermaid-js/tiny@11.17.1
-
#8092
31ce60aThanks @pbrolin47! - fix(c4): wrap element labels toc4.widthagainC4 element labels (
System,Container,Component,Personand their_Extvariants) stopped wrapping in 11.17.0, so long descriptions rendered on one unbroken line and the shape grew sideways well past the configuredc4.width. The unified-shapes label helper gated wrapping on the root-levelwrapoption, which has no schema default and is thereforeundefined; it now gates onc4.wrap(defaulttrue), which is what the legacy renderer used. -
#8088
c66200bThanks @ashishjain0512! - fix: neo-look arrowheads and crow's-foot markers no longer fall back to default theme colours/stroke widths on the first render withlayout: elk. State diagram arrowheads stayed dark on dark themes, and ER / requirement markers were drawn at the default stroke width, because markers were created from the layout package's own bundled copy of mermaid, whose config had not been initialized yet. -
#8079
281cd7bThanks @ashishjain0512! - fix(class): class diagram relation markers (composition, aggregation, extension, dependency, lollipop) no longer scale with the edge stroke width, so they stay outside the class box boundary in themes that setstrokeWidth: 2(redux,redux-dark,redux-color,redux-dark-color,neo,neo-dark) with the defaultclassiclook.
mermaid@11.17.1
-
#8092
31ce60aThanks @pbrolin47! - fix(c4): wrap element labels toc4.widthagainC4 element labels (
System,Container,Component,Personand their_Extvariants) stopped wrapping in 11.17.0, so long descriptions rendered on one unbroken line and the shape grew sideways well past the configuredc4.width. The unified-shapes label helper gated wrapping on the root-levelwrapoption, which has no schema default and is thereforeundefined; it now gates onc4.wrap(defaulttrue), which is what the legacy renderer used. -
#8088
c66200bThanks @ashishjain0512! - fix: neo-look arrowheads and crow's-foot markers no longer fall back to default theme colours/stroke widths on the first render withlayout: elk. State diagram arrowheads stayed dark on dark themes, and ER / requirement markers were drawn at the default stroke width, because markers were created from the layout package's own bundled copy of mermaid, whose config had not been initialized yet. -
#8079
281cd7bThanks @ashishjain0512! - fix(class): class diagram relation markers (composition, aggregation, extension, dependency, lollipop) no longer scale with the edge stroke width, so they stay outside the class box boundary in themes that setstrokeWidth: 2(redux,redux-dark,redux-color,redux-dark-color,neo,neo-dark) with the defaultclassiclook.
@mermaid-js/tiny@11.17.0
-
#7842
3670b4eThanks @filipsajdak! - feat(c4): render C4 elements through the unified shape system, using the new person shape -
#7812
cdfc0eaThanks @knsv-bot! - feat(class): routeclassDiagramto the unified (v2) renderer by defaultSet
class: { defaultRenderer: 'dagre-d3' }in the config to restore the legacy renderer. -
#7785
c45cde9Thanks @knsv-bot! - feat(flowchart): add collapsible flowchart subgraphs viasubgraphId@{ view: collapsed } -
#7828
8eb3afcThanks @knsv-bot! - feat(elk): addelk.keepEntryNodeOnTopconfig option to keep a recursive flow's entry node on top -
#7803
74e44ebThanks @knsv-bot! - feat(elk): addelk.nodePlacementAlignmentconfig option -
#7792
ea55b31Thanks @RodrigojndSantos! - feat(er): add subgraph support to ER diagrams. -
#7970
a2c0fb6Thanks @filipsajdak! - feat(flowchart): addfolder,bucket,console(terminal window) andbrowsershapes -
#7842
ae3e115Thanks @filipsajdak! - feat(flowchart): addpersonshape (circular head above a rounded body), usable in flowcharts viaA@{ shape: person } -
#7724
0fd7a9fThanks @xdumaine! - feat(xyChart): add legends for named line and bar series
-
#7847
215fe89Thanks @filipsajdak! - fix(c4): named attributes such as$tags,$linkand$spriteare no longer clobbered to undefined when they arrive in an earlier positional slot of Person/System/Container/Component/Boundary/Rel statements. -
#7871
8d874c4Thanks @knsv-bot! - fix(flowchart): stop dagre layout from spammingwarn-level logs on every node/edge/cluster -
#8071
b3d1f63Thanks @pbrolin47! - fix(block): sibling blocks overlapping in block diagrams when one has a label wider than 200px -
#7870
71b8843Thanks @knsv-bot! - fix: aRangeError: Invalid array lengthcrash when rendering certain edges. -
#7924
9cbef5dThanks @nightt5879! - fix(treeView): icons disappearing after strict security sanitization. -
#7850
a34cbf0Thanks @aloisklink! - fix(block): allow classdefs to update text color -
#7937
f9cbe1eThanks @filipsajdak! - fix(dagre): let a diagram's own nodeSpacing/rankSpacing take effect in the unified dagre layout -
#8005
90eeeceThanks @pbrolin47! - fix(flowchart): reverts the behavior change from #7672 (fix/4648-directions), since arrows between subgraphs are broken -
#7951
afa2f80Thanks @aloisklink! - perf: usefastdomto batch DOM measurements (up to 25% speedup) -
Updated dependencies [
e848423]:- @mermaid-js/parser@1.2.1
mermaid@11.17.0
-
#7842
3670b4eThanks @filipsajdak! - feat(c4): render C4 elements through the unified shape system, using the new person shape -
#7812
cdfc0eaThanks @knsv-bot! - feat(class): routeclassDiagramto the unified (v2) renderer by defaultSet
class: { defaultRenderer: 'dagre-d3' }in the config to restore the legacy renderer. -
#7785
c45cde9Thanks @knsv-bot! - feat(flowchart): add collapsible flowchart subgraphs viasubgraphId@{ view: collapsed } -
#7828
8eb3afcThanks @knsv-bot! - feat(elk): addelk.keepEntryNodeOnTopconfig option to keep a recursive flow's entry node on top -
#7803
74e44ebThanks @knsv-bot! - feat(elk): addelk.nodePlacementAlignmentconfig option -
#7792
ea55b31Thanks @RodrigojndSantos! - feat(er): add subgraph support to ER diagrams. -
#7970
a2c0fb6Thanks @filipsajdak! - feat(flowchart): addfolder,bucket,console(terminal window) andbrowsershapes -
#7842
ae3e115Thanks @filipsajdak! - feat(flowchart): addpersonshape (circular head above a rounded body), usable in flowcharts viaA@{ shape: person } -
#7724
0fd7a9fThanks @xdumaine! - feat(xyChart): add legends for named line and bar series
-
#7847
215fe89Thanks @filipsajdak! - fix(c4): named attributes such as$tags,$linkand$spriteare no longer clobbered to undefined when they arrive in an earlier positional slot of Person/System/Container/Component/Boundary/Rel statements. -
#7871
8d874c4Thanks @knsv-bot! - fix(flowchart): stop dagre layout from spammingwarn-level logs on every node/edge/cluster -
#8071
b3d1f63Thanks @pbrolin47! - fix(block): sibling blocks overlapping in block diagrams when one has a label wider than 200px -
#7870
71b8843Thanks @knsv-bot! - fix: aRangeError: Invalid array lengthcrash when rendering certain edges. -
#7924
9cbef5dThanks @nightt5879! - fix(treeView): icons disappearing after strict security sanitization. -
#7850
a34cbf0Thanks @aloisklink! - fix(block): allow classdefs to update text color -
#7937
f9cbe1eThanks @filipsajdak! - fix(dagre): let a diagram's own nodeSpacing/rankSpacing take effect in the unified dagre layout -
#8005
90eeeceThanks @pbrolin47! - fix(flowchart): reverts the behavior change from #7672 (fix/4648-directions), since arrows between subgraphs are broken -
#7951
afa2f80Thanks @aloisklink! - perf: usefastdomto batch DOM measurements (up to 25% speedup) -
Updated dependencies [
e848423]:- @mermaid-js/parser@1.2.1
@mermaid-js/parser@1.2.1
- #7984
e848423Thanks @aloktomarr! - fix(architecture): allow non-ASCII characters and punctuation in unquoted titles
@mermaid-js/examples@1.4.0
- #7832
c637c35Thanks @sidharthv96! - feat: add relatable, real-world examples for every diagram type, showcasing each diagram's strengths
@mermaid-js/layout-elk@0.2.3
-
#7828
8eb3afcThanks @knsv-bot! - feat(elk): addelk.keepEntryNodeOnTopconfig option to keep a recursive flow's entry node on top -
#7803
74e44ebThanks @knsv-bot! - feat(elk): addelk.nodePlacementAlignmentconfig option -
Updated dependencies [
215fe89,3670b4e,cdfc0ea,c45cde9,8d874c4,8eb3afc,74e44eb,ea55b31,b3d1f63,71b8843,9cbef5d,a2c0fb6,a34cbf0,f9cbe1e,ae3e115,90eeece,afa2f80,0fd7a9f]:- mermaid@11.17.0
v10.9.8
Backports the following fixes from Mermaid v11.16.1.
- GHSA-c4c3-pg64-4m4v
- fix: increase protections against prototype pollution
- deprecate: Deprecate the
mermaidAPI.setConfig()function
- GHSA-6x64-9x62-f2gx - fix: handle CSS sibling combinators in compileCSS
- GHSA-2v8p-3f2j-5mp7 - fix(xychart): support zero-width x-axis ranges
Due to a publish error, v10.9.7 was skipped.
Full Changelog: https://github.com/mermaid-js/mermaid/compare/v10.9.6...v10.9.8