Mermaid 11.17.1

11.17.1
Fixed 3
  • C4 element labels now wrap to c4.width again after stopping in 11.17.0
  • Neo-look arrowheads and crow's-foot markers no longer fall back to default theme colours and stroke widths on the first render with layout: elk
  • Class diagram relation markers no longer scale with edge stroke width so they stay outside the class box boundary in themes with strokeWidth: 2

From Mermaid

Patch Changes
  • #8092 31ce60a Thanks @pbrolin47! - fix(c4): wrap element labels to c4.width again

    C4 element labels (System, Container, Component, Person and their _Ext variants) stopped wrapping in 11.17.0, so long descriptions rendered on one unbroken line and the shape grew sideways well past the configured c4.width. The unified-shapes label helper gated wrapping on the root-level wrap option, which has no schema default and is therefore undefined; it now gates on c4.wrap (default true), which is what the legacy renderer used.

  • #8088 c66200b Thanks @ashishjain0512! - fix: neo-look arrowheads and crow's-foot markers no longer fall back to default theme colours/stroke widths on the first render with layout: 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 281cd7b Thanks @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 set strokeWidth: 2 (redux, redux-dark, redux-color, redux-dark-color, neo, neo-dark) with the default classic look.

View original

Upgraded? How did it go?

Discussion