Releases: mermaid-js/mermaid
mermaid@11.12.3
Patch Changes
- Updated dependencies [
7243340]:- @mermaid-js/parser@1.0.0
@mermaid-js/tiny@11.12.3
Patch Changes
- Updated dependencies [
7243340]:- @mermaid-js/parser@1.0.0
@mermaid-js/parser@1.0.0
Major Changes
-
#7377
7243340Thanks @aloisklink! - chore: upgrade to Langium v4Upgrade
@mermaid-js/parserto use Langium v4,
see https://github.com/eclipse-langium/langium/releases/tag/v4.0.0
for more details.The major breaking changes that impact consumers of this package are:
- Due to various type-related changes,
langiumnow requires version>= 5.8.0
of TypeScript. - The generated type names from
ast.tshave been moved from<typeName>to
<typeName>.$type
(langium#1942).
This also removes a transitive dependency on lodash versions that are vulnerable
to CVE-2025-13465, although
chevrotain doesn't use the affected functions,
so this is only to silence security scanners. - Due to various type-related changes,
@mermaid-js/layout-tidy-tree@0.2.1
Patch Changes
- #7355
0f94b84Thanks @sidharthv96! - fix: Inline non-layered-tidy-tree-layout to avoid downstream import issues
mermaid@11.12.2
Patch Changes
- #7200
de7ed10Thanks @shubhamparikh2704! - fix: validate dates and tick interval to prevent UI freeze/crash in gantt diagramtype
v10.9.5
This release backports the update of the dependency dagre-d3-es to 7.0.13 for CVE-2025-57347 from v11.12.1.
We've also updated the v10.x branch to support newer versions of DOMPurify, cherry-picked from fe3cffb, avoiding CVE-2025-26791.
Full Changelog: v10.9.4...v10.9.5
mermaid@11.12.1
Patch Changes
- #7107
cbf8946Thanks @shubhamparikh2704! - fix: Updated the dependency dagre-d3-es to 7.0.13 to fix GHSA-cc8p-78qf-8p7q
@mermaid-js/tiny@11.12.1
Patch Changes
- #7107
cbf8946Thanks @shubhamparikh2704! - fix: Updated the dependency dagre-d3-es to 7.0.13 to fix GHSA-cc8p-78qf-8p7q
@mermaid-js/parser@0.6.3
Patch Changes
-
#7051
63df702Thanks @shubhamparikh2704! - Add validation for negative values in pie charts:Prevents crashes during parsing by validating values post-parsing.
Provides clearer, user-friendly error messages for invalid negative inputs.
mermaid@11.12.0
Minor Changes
- #6921
764b315Thanks @quilicicf! - feat: Add IDs in architecture diagrams
Patch Changes
-
#6950
a957908Thanks @shubhamparikh2704! - chore: Fix mindmap rendering in docs and apply tidytree layout -
#6826
1d36810Thanks @darshanr0107! - fix: Ensure edge label color is applied when using classDef with edge IDs -
#6945
d318f1aThanks @darshanr0107! - fix: Resolve gantt chart crash due to invalid array length -
#6918
cfe9238Thanks @shubhamparikh2704! - chore: revert marked dependency from ^15.0.7 to ^16.0.0- Reverted marked package version to ^16.0.0 for better compatibility
- This is a dependency update that maintains API compatibility
- All tests pass with the updated version