Mermaid 11.7.0

11.7.0
Added 5
  • Add vertical line to Gantt plot at specified time
  • Add support for styling Journey Diagram title with color, font-family, and font-size
  • Add support for the click directive in stateDiagram syntax
  • Add shorter +<count>: Label syntax in packet diagram
  • Dynamically render data labels within bar charts
Changed 2
  • FontAwesome icons can now be embedded as SVGs in flowcharts if they are registered via mermaid.registerIconPacks
  • Refactor grammar so that title does not break Architecture Diagrams
Fixed 6
  • Allow sequence diagram arrows with a trailing colon but no message
  • Fix stroke styles for ER diagram to correctly apply path and row-specific styles
  • Remove incorrect style="undefined;" attributes in some Mermaid diagrams
  • Allow colons in events
  • Ensure consistent vertical line lengths with visible arrowheads in timeline diagrams
  • Fix incomplete string escaping in URL manipulation logic when arrowMarkerAbsolute: true
Minor Changes
Patch Changes
  • #6588 b1cf291 Thanks @omkarht! - Fix stroke styles for ER diagram to correctly apply path and row-specific styles

  • #6296 a4754ad Thanks @sidharthv96! - chore: Convert StateDB into TypeScript

  • #6463 2b05d7e Thanks @AaronMoat! - fix: Remove incorrect style="undefined;" attributes in some Mermaid diagrams

  • #6282 d63d3bf Thanks @saurabhg772244! - FontAwesome icons can now be embedded as SVGs in flowcharts if they are registered via mermaid.registerIconPacks.

  • #6407 cdbd3e5 Thanks @thomascizeron! - Refactor grammar so that title don't break Architecture Diagrams

  • #6343 1ddaf10 Thanks @jeswr! - fix: allow colons in events

  • #6616 ca80f71 Thanks @ashishjain0512! - fix(timeline): ensure consistent vertical line lengths with visible arrowheads

    Fixed 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 bca6ed6 Thanks @arpitjain099! - fix: Fix incomplete string escaping in URL manipulation logic when arrowMarkerAbsolute: true by ensuring all unsafe characters are escaped.

  • Updated dependencies [df9df9d, cdbd3e5]:

    • @mermaid-js/parser@0.5.0
View original

Upgraded? How did it go?

Discussion