Mermaid 11.16.1

11.16.1
Fixed 4
  • Handle CSS sibling combinators in compileCSS
  • Use Maps and Sets to store groups and services in architecture diagrams, rendering services in the order they are defined and supporting more service IDs
  • Support zero-width x-axis ranges in xychart
  • Limit number of ticks to 32 in radar charts
Deprecated 1
  • Deprecate the mermaidAPI.setConfig() function as it has no observable effect
Security 1
  • Increase protections against prototype pollution
Patch Changes
  • #8022 12d472c Thanks @aloisklink! - fix: handle CSS sibling combinators in compileCSS

  • #8022 2cd6dcf Thanks @aloisklink! - fix: increase protections against prototype pollution

    User-controlled input already has protections against prototype pollution.

    Fixes: GHSA-c4c3-pg64-4m4v

  • #8022 99af3fc Thanks @aloisklink! - fix(architecture): use Maps and Sets to store groups/services

    Services are now rendered in the order they are defined and more service IDs are now supported.

  • #8022 2cd6dcf Thanks @aloisklink! - deprecate: Deprecate the mermaidAPI.setConfig() function

    Calling this function has no observable effect, as the next time a render() or parse() is called, the currentConfig is cleared.

  • #8022 630aa7e Thanks @aloisklink! - fix(xychart): support zero-width x-axis ranges

  • #8022 59b22fa Thanks @aloisklink! - fix(radar): limit number of ticks to 32

    Setting a ticks value higher than this would only show 32 ticks.

View original

Upgraded? How did it go?

Discussion