Skip to content

Changelog

Version 1.9.0 Latest

Added

  • Mermaid 12 support. Diagrams keep Mermaid’s flat classic look, the dagre layout and Mermaid 11 flowchart sizing, so existing diagrams render with the same layout and size. Set look, layout or flowchart in mermaidConfig to use Mermaid 12’s neo look and ELK layout instead. The mermaid peer range stays >=11.0.0.

Changed

  • The diagram palette uses Northwestern tokens throughout. Text on every filled shape now meets WCAG AA contrast in both modes, and dark-mode edges are brighter. Gantt, journey, kanban, timeline, mindmap, treemap, radar, packet, quadrant, architecture and C4 diagrams now use the brand palette instead of Mermaid’s defaults.
  • satori moves to ^0.63.2, which fixes GHSA-wx4j-mvgx-mqwp.

Fixed

  • On Mermaid 12, diagrams that the theme re-rendered fell back to Mermaid’s pastel redux-color theme, often with unreadable labels.
  • In dark mode, astro-mermaid’s first render could replace the theme’s render and leave a diagram in light-mode colors.
  • Unreadable text on Gantt task bars, journey sections, class diagram edge labels, and C4 and architecture labels, plus white backgrounds on xy, quadrant, packet and radar charts in dark mode.