- 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
- Deprecate the mermaidAPI.setConfig() function as it has no observable effect
- Increase protections against prototype pollution
Patch Changes
-
#8022
12d472cThanks @aloisklink! - fix: handle CSS sibling combinators in compileCSS -
#8022
2cd6dcfThanks @aloisklink! - fix: increase protections against prototype pollutionUser-controlled input already has protections against prototype pollution.
Fixes: GHSA-c4c3-pg64-4m4v
-
#8022
99af3fcThanks @aloisklink! - fix(architecture): useMaps andSets to store groups/servicesServices are now rendered in the order they are defined and more service IDs are now supported.
-
#8022
2cd6dcfThanks @aloisklink! - deprecate: Deprecate themermaidAPI.setConfig()functionCalling this function has no observable effect, as the next time a
render()orparse()is called, thecurrentConfigis cleared. -
#8022
630aa7eThanks @aloisklink! - fix(xychart): support zero-width x-axis ranges -
#8022
59b22faThanks @aloisklink! - fix(radar): limit number of ticks to 32Setting a ticks value higher than this would only show 32 ticks.