Skip to content

mermaid@11.10.0

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Aug 08:05
· 60 commits to develop since this release
96778f7

Minor Changes

Patch Changes

  • #6857 b9ef683 Thanks @knsv! - feat: Exposing elk configuration forceNodeModelOrder and considerModelOrder to the mermaid configuration

  • #6653 2c0931d Thanks @darshanr0107! - chore: Remove the "-beta" suffix from the XYChart, Block, Sankey diagrams to reflect their stable status

  • #6683 33e08da Thanks @darshanr0107! - fix: Position the edge label in state diagram correctly relative to the edge

  • #6693 814b68b Thanks @darshanr0107! - fix: Apply correct dateFormat in Gantt chart to show only day when specified

  • #6734 fce7cab Thanks @darshanr0107! - fix: handle exclude dates properly in Gantt charts when using dateFormat: 'YYYY-MM-DD HH:mm:ss'

  • #6733 fc07f0d Thanks @omkarht! - fix: fixed connection gaps in flowchart for roundedRect, stadium and diamond shape

  • #6876 12e01bd Thanks @sidharthv96! - fix: sanitize icon labels and icon SVGs

    Resolves CVE-2025-54880 reported by @fourcube

  • #6801 01aaef3 Thanks @sidharthv96! - fix: Update casing of ID in requirement diagram

  • #6796 c36cd05 Thanks @HashanCP! - fix: Make flowchart elk detector regex match less greedy

  • #6702 8bb29fc Thanks @qraqras! - fix(block): overflowing blocks no longer affect later lines

    This may change the layout of block diagrams that have overflowing lines
    (i.e. block diagrams that use up more columns that the columns specifier).

  • #6717 71b04f9 Thanks @darshanr0107! - fix: log warning for blocks exceeding column width

    This update adds a validation check that logs a warning message when a block's width exceeds the defined column layout.

  • #6820 c99bce6 Thanks @kriss-u! - fix: Add escaped class literal name on namespace

  • #6332 6cc1926 Thanks @ajuckel! - fix: Allow equals sign in sequenceDiagram labels

  • #6651 9da6fb3 Thanks @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 e48b0ba Thanks @omkarht! - chore: migrate to class-based ArchitectureDB implementation

  • #6838 4d62d59 Thanks @saurabhg772244! - fix: node border style for handdrawn shapes

  • #6739 e9ce8cf Thanks @kriss-u! - fix: Update flowchart direction TD's behavior to be the same as TB

  • #6833 9258b29 Thanks @darshanr0107! - fix: correctly render non-directional lines for '---' in block diagrams

  • #6855 da90f67 Thanks @sidharthv96! - fix: fallback to raw text instead of rendering Unsupported markdown or empty blocks

    Instead of printing Unsupported markdown: XXX, or empty blocks when using a markdown feature
    that Mermaid does not yet support when htmlLabels: true(default) or htmlLabels: false,
    fallback to the raw markdown text.

  • #6876 0133f1c Thanks @sidharthv96! - fix: sanitize KATEX blocks

    Resolves CVE-2025-54881 reported by @fourcube

  • #6804 895f9d4 Thanks @omkarht! - chore: Update packet diagram to use new class-based database structure