Sourced from mermaid's releases.
mermaid@11.17.2
Patch Changes
- #8125
178d7c7Thanks@knsv-bot! - fix: restore theedgePathsclass on the edge group in rendered SVG, and point the flowchart, block and user journey stylesheets at itmermaid@11.17.1
Patch Changes
#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.0
Minor Changes
#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 seriesPatch Changes
#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.
... (truncated)
dcb694d
Version Packages (#8130)178d7c7
fix: restore edgePaths class on the edge group (#8125)569f46e
Version Packages (#8114)3054836
Version Packages5b17e0a
Merge pull request #8092
from mermaid-js/hotfix/11.17.1655211a
Reverted change of wrap-options8a23480
Updated doc from feedback412c80a
Update doc and consistent handlig in c4 as for seq diagsb433a9a
Updated changeset to describe specifik diagram affected6bae15e
Updated tests to Playwright API