- Support per link curve styling in flowchart diagram using edge ids
- Expose elk configuration forceNodeModelOrder and considerModelOrder to the mermaid configuration
- Remove the "-beta" suffix from the XYChart, Block, Sankey diagrams to reflect their stable status
- Position the edge label in state diagram correctly relative to the edge
- Apply correct dateFormat in Gantt chart to show only day when specified
- Handle exclude dates properly in Gantt charts when using dateFormat: 'YYYY-MM-DD HH:mm:ss'
- Fixed connection gaps in flowchart for roundedRect, stadium and diamond shape
- Update casing of ID in requirement diagram
- Make flowchart elk detector regex match less greedy
- Overflowing blocks no longer affect later lines
- Log warning for blocks exceeding column width
- Add escaped class literal name on namespace
- Allow equals sign in sequenceDiagram labels
- Add validation for negative values in pie charts
- Node border style for handdrawn shapes
- Update flowchart direction TD's behavior to be the same as TB
- Correctly render non-directional lines for '---' in block diagrams
- Sanitize icon labels and icon SVGs
Minor Changes
- #6744
daf8d8dThanks @SpecularAura! - feat: Added support for per link curve styling in flowchart diagram using edge ids
Patch Changes
-
#6857
b9ef683Thanks @knsv! - feat: Exposing elk configuration forceNodeModelOrder and considerModelOrder to the mermaid configuration -
#6653
2c0931dThanks @darshanr0107! - chore: Remove the "-beta" suffix from the XYChart, Block, Sankey diagrams to reflect their stable status -
#6683
33e08daThanks @darshanr0107! - fix: Position the edge label in state diagram correctly relative to the edge -
#6693
814b68bThanks @darshanr0107! - fix: Apply correct dateFormat in Gantt chart to show only day when specified -
#6734
fce7cabThanks @darshanr0107! - fix: handle exclude dates properly in Gantt charts when using dateFormat: 'YYYY-MM-DD HH:mm:ss' -
#6733
fc07f0dThanks @omkarht! - fix: fixed connection gaps in flowchart for roundedRect, stadium and diamond shape -
#6876
12e01bdThanks @sidharthv96! - fix: sanitize icon labels and icon SVGsResolves CVE-2025-54880 reported by @fourcube
-
#6801
01aaef3Thanks @sidharthv96! - fix: Update casing of ID in requirement diagram -
#6796
c36cd05Thanks @HashanCP! - fix: Make flowchart elk detector regex match less greedy -
#6702
8bb29fcThanks @qraqras! - fix(block): overflowing blocks no longer affect later linesThis may change the layout of block diagrams that have overflowing lines (i.e. block diagrams that use up more columns that the
columnsspecifier). -
#6717
71b04f9Thanks @darshanr0107! - fix: log warning for blocks exceeding column widthThis update adds a validation check that logs a warning message when a block's width exceeds the defined column layout.
-
#6820
c99bce6Thanks @kriss-u! - fix: Add escaped class literal name on namespace -
#6332
6cc1926Thanks @ajuckel! - fix: Allow equals sign in sequenceDiagram labels -
#6651
9da6fb3Thanks @darshanr0107! - Add validation for negative values in pie charts:Prevents crashes during parsing by validating values post-parsing.
Provides clearer, user-friendly error messages for invalid negative inputs.
-
#6803
e48b0baThanks @omkarht! - chore: migrate to class-based ArchitectureDB implementation -
#6838
4d62d59Thanks @saurabhg772244! - fix: node border style for handdrawn shapes -
#6739
e9ce8cfThanks @kriss-u! - fix: Update flowchart direction TD's behavior to be the same as TB -
#6833
9258b29Thanks @darshanr0107! - fix: correctly render non-directional lines for '---' in block diagrams -
#6855
da90f67Thanks @sidharthv96! - fix: fallback to raw text instead of rendering Unsupported markdown or empty blocksInstead of printing Unsupported markdown: XXX, or empty blocks when using a markdown feature that Mermaid does not yet support when
htmlLabels: true(default) orhtmlLabels: false, fallback to the raw markdown text. -
#6876
0133f1cThanks @sidharthv96! - fix: sanitize KATEX blocksResolves CVE-2025-54881 reported by @fourcube
-
#6804
895f9d4Thanks @omkarht! - chore: Update packet diagram to use new class-based database structure