chore(deps): update dependency mermaid to v11.12.2 #530
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
11.6.0→11.12.2Release Notes
mermaid-js/mermaid (mermaid)
v11.12.2Compare Source
Patch Changes
de7ed10Thanks @shubhamparikh2704! - fix: validate dates and tick interval to prevent UI freeze/crash in gantt diagramtypev11.12.1Compare Source
Patch Changes
cbf8946Thanks @shubhamparikh2704! - fix: Updated the dependency dagre-d3-es to 7.0.13 to fix GHSA-cc8p-78qf-8p7qv11.12.0Compare Source
Minor Changes
764b315Thanks @quilicicf! - feat: Add IDs in architecture diagramsPatch Changes
#6950
a957908Thanks @shubhamparikh2704! - chore: Fix mindmap rendering in docs and apply tidytree layout#6826
1d36810Thanks @darshanr0107! - fix: Ensure edge label color is applied when using classDef with edge IDs#6945
d318f1aThanks @darshanr0107! - fix: Resolve gantt chart crash due to invalid array length#6918
cfe9238Thanks @shubhamparikh2704! - chore: revert marked dependency from ^15.0.7 to ^16.0.0v11.11.0Compare Source
Minor Changes
#6704
012530eThanks @omkarht! - feat: Added support for new participant types (actor,boundary,control,entity,database,collections,queue) insequenceDiagram.#6802
c8e5027Thanks @darshanr0107! - feat: Update mindmap rendering to support multiple layouts, improved edge intersections, and new shapesPatch Changes
#6905
33bc4a0Thanks @darshanr0107! - fix: Render newlines as spaces in class diagrams#6886
e0b45c2Thanks @darshanr0107! - fix: Handle arrows correctly when auto number is enabledv11.10.1Compare Source
Patch Changes
e0b45c2Thanks @darshanr0107! - fix: Handle arrows correctly when auto number is enabledv11.10.0Compare Source
Minor Changes
daf8d8dThanks @SpecularAura! - feat: Added support for per link curve styling in flowchart diagram using edge idsPatch 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 structurev11.9.0Compare Source
Minor Changes
5acbd7eThanks @sidharthv96! - feat: AddgetRegisteredDiagramsMetadatatomermaid, which returns all the registered diagram IDs in mermaidPatch Changes
#6738
d90634bThanks @shubham-mermaid! - chore: Updated TreeMapDB to use class based approach#6510
7a38eb7Thanks @sidharthv96! - chore: Move packet diagram out of beta#6747
3e3ae08Thanks @darshanr0107! - fix: adjust sequence diagram title positioning to prevent overlap with top border in Safari#6751
d3e2be3Thanks @darshanr0107! - chore: Update MindmapDB to use class based approach#6715
637680dThanks @Syn3ugar! - fix(timeline): fix loadingleftMarginfrom configThe
timeline.leftMarginconfig value should now correctly control the size of the left margin, instead of being ignored.Updated dependencies [
7a38eb7]:v11.8.1Compare Source
Patch Changes
0da2922]:v11.8.0Compare Source
Minor Changes
f338802Thanks @knsv! - Adding support for the new diagram type nested treemapPatch Changes
#6707
592c5bbThanks @darshanr0107! - fix: Log a warning when duplicate commit IDs are encountered in gitGraph to help identify and debug rendering issues caused by non-unique IDs.Updated dependencies [
f338802]:v11.7.0Compare Source
Minor Changes
#6479
97b79c3Thanks @monicanguyen25! - feat: Add Vertical Line To Gantt Plot At Specified Time#6225
41e84b7Thanks @Shahir-47! - feat: Add support for styling Journey Diagram title (color, font-family, and font-size)#6423
aa6cb86Thanks @BambioGaming! - Added support for the click directive in stateDiagram syntax#5980
df9df9dThanks @BryanCrotazGivEnergy! - feat: Add shorter+<count>: Labelsyntax in packet diagram#6523
c17277eThanks @NourBenz! - fix: allow sequence diagram arrows with a trailing colon but no message#6475
a1ba65cThanks @Shahir-47! - feat: Dynamically Render Data Labels Within Bar ChartsPatch Changes
#6588
b1cf291Thanks @omkarht! - Fix stroke styles for ER diagram to correctly apply path and row-specific styles#6296
a4754adThanks @sidharthv96! - chore: Convert StateDB into TypeScript#6463
2b05d7eThanks @AaronMoat! - fix: Remove incorrectstyle="undefined;"attributes in some Mermaid diagrams#6282
d63d3bfThanks @saurabhg772244! - FontAwesome icons can now be embedded as SVGs in flowcharts if they are registered viamermaid.registerIconPacks.#6407
cdbd3e5Thanks @thomascizeron! - Refactor grammar so that title don't break Architecture Diagrams#6343
1ddaf10Thanks @jeswr! - fix: allow colons in events#6616
ca80f71Thanks @ashishjain0512! - fix(timeline): ensure consistent vertical line lengths with visible arrowheadsFixed timeline diagrams where vertical dashed lines from tasks had inconsistent lengths. All vertical lines now extend to the same depth regardless of the number of events in each column, with sufficient padding to clearly display both the dashed line pattern and complete arrowheads.
#6566
bca6ed6Thanks @arpitjain099! - fix: Fix incomplete string escaping in URL manipulation logic whenarrowMarkerAbsolute: trueby ensuring all unsafe characters are escaped.Updated dependencies [
df9df9d,cdbd3e5]:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.