From 634f3367dad124092c1761cd806b114a7c01d6a3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 17 Sep 2025 17:48:06 +0000 Subject: [PATCH 1/8] Version Packages --- .changeset/deep-pumas-run.md | 5 ----- .changeset/four-eyes-wish.md | 5 ----- .changeset/moody-fans-try.md | 5 ----- .changeset/proud-colts-smell.md | 5 ----- .changeset/revert-marked-dependency.md | 9 --------- packages/mermaid/CHANGELOG.md | 19 +++++++++++++++++++ packages/mermaid/package.json | 2 +- packages/tiny/CHANGELOG.md | 19 +++++++++++++++++++ packages/tiny/package.json | 2 +- 9 files changed, 40 insertions(+), 31 deletions(-) delete mode 100644 .changeset/deep-pumas-run.md delete mode 100644 .changeset/four-eyes-wish.md delete mode 100644 .changeset/moody-fans-try.md delete mode 100644 .changeset/proud-colts-smell.md delete mode 100644 .changeset/revert-marked-dependency.md diff --git a/.changeset/deep-pumas-run.md b/.changeset/deep-pumas-run.md deleted file mode 100644 index eca83fd6e..000000000 --- a/.changeset/deep-pumas-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'mermaid': patch ---- - -chore: Fix mindmap rendering in docs and apply tidytree layout diff --git a/.changeset/four-eyes-wish.md b/.changeset/four-eyes-wish.md deleted file mode 100644 index 3bbbc1e47..000000000 --- a/.changeset/four-eyes-wish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'mermaid': patch ---- - -fix: Ensure edge label color is applied when using classDef with edge IDs diff --git a/.changeset/moody-fans-try.md b/.changeset/moody-fans-try.md deleted file mode 100644 index f6920a629..000000000 --- a/.changeset/moody-fans-try.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'mermaid': patch ---- - -fix: Resolve gantt chart crash due to invalid array length diff --git a/.changeset/proud-colts-smell.md b/.changeset/proud-colts-smell.md deleted file mode 100644 index 610d69253..000000000 --- a/.changeset/proud-colts-smell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'mermaid': minor ---- - -feat: Add IDs in architecture diagrams diff --git a/.changeset/revert-marked-dependency.md b/.changeset/revert-marked-dependency.md deleted file mode 100644 index aded58871..000000000 --- a/.changeset/revert-marked-dependency.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'mermaid': patch ---- - -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 diff --git a/packages/mermaid/CHANGELOG.md b/packages/mermaid/CHANGELOG.md index 72f0deb20..10a4b0ff5 100644 --- a/packages/mermaid/CHANGELOG.md +++ b/packages/mermaid/CHANGELOG.md @@ -1,5 +1,24 @@ # mermaid +## 11.12.0 + +### Minor Changes + +- [#6921](https://github.com/mermaid-js/mermaid/pull/6921) [`764b315`](https://github.com/mermaid-js/mermaid/commit/764b315dc16d0359add7c6b8e3ef7592e9bdc09c) Thanks [@quilicicf](https://github.com/quilicicf)! - feat: Add IDs in architecture diagrams + +### Patch Changes + +- [#6950](https://github.com/mermaid-js/mermaid/pull/6950) [`a957908`](https://github.com/mermaid-js/mermaid/commit/a9579083bfba367a4f4678547ec37ed7b61b9f5b) Thanks [@shubhamparikh2704](https://github.com/shubhamparikh2704)! - chore: Fix mindmap rendering in docs and apply tidytree layout + +- [#6826](https://github.com/mermaid-js/mermaid/pull/6826) [`1d36810`](https://github.com/mermaid-js/mermaid/commit/1d3681053b9168354e48e5763023b6305cd1ca72) Thanks [@darshanr0107](https://github.com/darshanr0107)! - fix: Ensure edge label color is applied when using classDef with edge IDs + +- [#6945](https://github.com/mermaid-js/mermaid/pull/6945) [`d318f1a`](https://github.com/mermaid-js/mermaid/commit/d318f1a13cd7429334a29c70e449074ec1cb9f68) Thanks [@darshanr0107](https://github.com/darshanr0107)! - fix: Resolve gantt chart crash due to invalid array length + +- [#6918](https://github.com/mermaid-js/mermaid/pull/6918) [`cfe9238`](https://github.com/mermaid-js/mermaid/commit/cfe9238882cbe95416db1feea3112456a71b6aaf) Thanks [@shubhamparikh2704](https://github.com/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 + ## 11.11.0 ### Minor Changes diff --git a/packages/mermaid/package.json b/packages/mermaid/package.json index bfd162f7a..30a68ada1 100644 --- a/packages/mermaid/package.json +++ b/packages/mermaid/package.json @@ -1,6 +1,6 @@ { "name": "mermaid", - "version": "11.11.0", + "version": "11.12.0", "description": "Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.", "type": "module", "module": "./dist/mermaid.core.mjs", diff --git a/packages/tiny/CHANGELOG.md b/packages/tiny/CHANGELOG.md index 72f0deb20..10a4b0ff5 100644 --- a/packages/tiny/CHANGELOG.md +++ b/packages/tiny/CHANGELOG.md @@ -1,5 +1,24 @@ # mermaid +## 11.12.0 + +### Minor Changes + +- [#6921](https://github.com/mermaid-js/mermaid/pull/6921) [`764b315`](https://github.com/mermaid-js/mermaid/commit/764b315dc16d0359add7c6b8e3ef7592e9bdc09c) Thanks [@quilicicf](https://github.com/quilicicf)! - feat: Add IDs in architecture diagrams + +### Patch Changes + +- [#6950](https://github.com/mermaid-js/mermaid/pull/6950) [`a957908`](https://github.com/mermaid-js/mermaid/commit/a9579083bfba367a4f4678547ec37ed7b61b9f5b) Thanks [@shubhamparikh2704](https://github.com/shubhamparikh2704)! - chore: Fix mindmap rendering in docs and apply tidytree layout + +- [#6826](https://github.com/mermaid-js/mermaid/pull/6826) [`1d36810`](https://github.com/mermaid-js/mermaid/commit/1d3681053b9168354e48e5763023b6305cd1ca72) Thanks [@darshanr0107](https://github.com/darshanr0107)! - fix: Ensure edge label color is applied when using classDef with edge IDs + +- [#6945](https://github.com/mermaid-js/mermaid/pull/6945) [`d318f1a`](https://github.com/mermaid-js/mermaid/commit/d318f1a13cd7429334a29c70e449074ec1cb9f68) Thanks [@darshanr0107](https://github.com/darshanr0107)! - fix: Resolve gantt chart crash due to invalid array length + +- [#6918](https://github.com/mermaid-js/mermaid/pull/6918) [`cfe9238`](https://github.com/mermaid-js/mermaid/commit/cfe9238882cbe95416db1feea3112456a71b6aaf) Thanks [@shubhamparikh2704](https://github.com/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 + ## 11.11.0 ### Minor Changes diff --git a/packages/tiny/package.json b/packages/tiny/package.json index 7683f0368..8e1c0fdeb 100644 --- a/packages/tiny/package.json +++ b/packages/tiny/package.json @@ -1,6 +1,6 @@ { "name": "@mermaid-js/tiny", - "version": "11.11.0", + "version": "11.12.0", "description": "Tiny version of mermaid", "type": "commonjs", "main": "./dist/mermaid.tiny.js", From bf6e1a594c22a7f06a1c679fad2655da552c708f Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Fri, 3 Oct 2025 09:35:21 +0200 Subject: [PATCH 2/8] Update free plan diagram limit from 3 to 6 --- packages/mermaid/src/docs/ecosystem/mermaid-chart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mermaid/src/docs/ecosystem/mermaid-chart.md b/packages/mermaid/src/docs/ecosystem/mermaid-chart.md index 0d6e88f77..d5257963e 100644 --- a/packages/mermaid/src/docs/ecosystem/mermaid-chart.md +++ b/packages/mermaid/src/docs/ecosystem/mermaid-chart.md @@ -41,7 +41,7 @@ Try the Ultimate AI, Mermaid, and Visual Diagramming Suite by creating an accoun ## Plans -- **Free** - A free plan that includes three diagrams. +- **Free** - A free plan that includes six diagrams. - **Pro** - A paid plan that includes unlimited diagrams, access to the collaboration feature, and more. From 421f8d4633b85b0119deb687a9b4e6acef75dd5e Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 3 Oct 2025 07:41:08 +0000 Subject: [PATCH 3/8] [autofix.ci] apply automated fixes --- docs/ecosystem/mermaid-chart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ecosystem/mermaid-chart.md b/docs/ecosystem/mermaid-chart.md index fd1e70aca..1d6a33387 100644 --- a/docs/ecosystem/mermaid-chart.md +++ b/docs/ecosystem/mermaid-chart.md @@ -47,7 +47,7 @@ Try the Ultimate AI, Mermaid, and Visual Diagramming Suite by creating an accoun ## Plans -- **Free** - A free plan that includes three diagrams. +- **Free** - A free plan that includes six diagrams. - **Pro** - A paid plan that includes unlimited diagrams, access to the collaboration feature, and more. From 63df7021462e8dc1f2aaecb9c5febbbbde4c38e3 Mon Sep 17 00:00:00 2001 From: shubhamparikh2704 Date: Tue, 7 Oct 2025 10:47:16 +0530 Subject: [PATCH 4/8] chore: added changeset file --- .changeset/wise-worlds-exist.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .changeset/wise-worlds-exist.md diff --git a/.changeset/wise-worlds-exist.md b/.changeset/wise-worlds-exist.md new file mode 100644 index 000000000..bf73e7575 --- /dev/null +++ b/.changeset/wise-worlds-exist.md @@ -0,0 +1,9 @@ +--- +'@mermaid-js/parser': patch +--- + +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. From 9498619d3c4fd8e0dc698f919e7ad4522eaa78d7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 7 Oct 2025 07:36:05 +0000 Subject: [PATCH 5/8] Version Packages --- .changeset/wise-worlds-exist.md | 9 --------- packages/parser/CHANGELOG.md | 10 ++++++++++ packages/parser/package.json | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) delete mode 100644 .changeset/wise-worlds-exist.md diff --git a/.changeset/wise-worlds-exist.md b/.changeset/wise-worlds-exist.md deleted file mode 100644 index bf73e7575..000000000 --- a/.changeset/wise-worlds-exist.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@mermaid-js/parser': patch ---- - -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. diff --git a/packages/parser/CHANGELOG.md b/packages/parser/CHANGELOG.md index 38ad0ff9f..4659e1dd3 100644 --- a/packages/parser/CHANGELOG.md +++ b/packages/parser/CHANGELOG.md @@ -1,5 +1,15 @@ # @mermaid-js/parser +## 0.6.3 + +### Patch Changes + +- [#7051](https://github.com/mermaid-js/mermaid/pull/7051) [`63df702`](https://github.com/mermaid-js/mermaid/commit/63df7021462e8dc1f2aaecb9c5febbbbde4c38e3) Thanks [@shubhamparikh2704](https://github.com/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. + ## 0.6.2 ### Patch Changes diff --git a/packages/parser/package.json b/packages/parser/package.json index 718ecee66..e831eaca4 100644 --- a/packages/parser/package.json +++ b/packages/parser/package.json @@ -1,6 +1,6 @@ { "name": "@mermaid-js/parser", - "version": "0.6.2", + "version": "0.6.3", "description": "MermaidJS parser", "author": "Yokozuna59", "contributors": [ From cbf89462acecac7a06f19843e8d48cb137df0753 Mon Sep 17 00:00:00 2001 From: shubhamparikh2704 Date: Mon, 27 Oct 2025 15:06:24 +0530 Subject: [PATCH 6/8] fix: update dagre-d3-es to version 7.0.13 --- .changeset/slick-wasps-bathe.md | 5 +++++ packages/mermaid/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .changeset/slick-wasps-bathe.md diff --git a/.changeset/slick-wasps-bathe.md b/.changeset/slick-wasps-bathe.md new file mode 100644 index 000000000..35d9402fc --- /dev/null +++ b/.changeset/slick-wasps-bathe.md @@ -0,0 +1,5 @@ +--- +'mermaid': patch +--- + +fix: Updated the dagre-d3-es to 7.0.13 diff --git a/packages/mermaid/package.json b/packages/mermaid/package.json index 30a68ada1..06f4e8fd2 100644 --- a/packages/mermaid/package.json +++ b/packages/mermaid/package.json @@ -76,7 +76,7 @@ "cytoscape-fcose": "^2.2.0", "d3": "^7.9.0", "d3-sankey": "^0.12.3", - "dagre-d3-es": "7.0.11", + "dagre-d3-es": "7.0.13", "dayjs": "^1.11.18", "dompurify": "^3.2.5", "katex": "^0.16.22", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d7ce3eaae..a2d5135f2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -251,8 +251,8 @@ importers: specifier: ^0.12.3 version: 0.12.3 dagre-d3-es: - specifier: 7.0.11 - version: 7.0.11 + specifier: 7.0.13 + version: 7.0.13 dayjs: specifier: ^1.11.18 version: 1.11.18 @@ -4889,8 +4889,8 @@ packages: resolution: {integrity: sha512-e1U46jVP+w7Iut8Jt8ri1YsPOvFpg46k+K8TpCb0P+zjCkjkPnV7WzfDJzMHy1LnA+wj5pLT1wjO901gLXeEhA==} engines: {node: '>=12'} - dagre-d3-es@7.0.11: - resolution: {integrity: sha512-tvlJLyQf834SylNKax8Wkzco/1ias1OPw8DcUMDE7oUIoSEW25riQVuiu/0OWEFqT0cxHT3Pa9/D82Jr47IONw==} + dagre-d3-es@7.0.13: + resolution: {integrity: sha512-efEhnxpSuwpYOKRm/L5KbqoZmNNukHa/Flty4Wp62JRvgH2ojwVgPgdYyr4twpieZnyRDdIH7PY2mopX26+j2Q==} dashdash@1.14.1: resolution: {integrity: sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g==} @@ -15162,7 +15162,7 @@ snapshots: d3-transition: 3.0.1(d3-selection@3.0.0) d3-zoom: 3.0.0 - dagre-d3-es@7.0.11: + dagre-d3-es@7.0.13: dependencies: d3: 7.9.0 lodash-es: 4.17.21 From 061632c5800a9af65da216935a9045c9859b0816 Mon Sep 17 00:00:00 2001 From: Shubham P Date: Mon, 27 Oct 2025 16:20:24 +0530 Subject: [PATCH 7/8] Update .changeset/slick-wasps-bathe.md Co-authored-by: Alois Klink --- .changeset/slick-wasps-bathe.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/slick-wasps-bathe.md b/.changeset/slick-wasps-bathe.md index 35d9402fc..d8ea43c1e 100644 --- a/.changeset/slick-wasps-bathe.md +++ b/.changeset/slick-wasps-bathe.md @@ -2,4 +2,4 @@ 'mermaid': patch --- -fix: Updated the dagre-d3-es to 7.0.13 +fix: Updated the dependency dagre-d3-es to 7.0.13 to fix GHSA-cc8p-78qf-8p7q From 02c00911061bcd8ad389798ddbe1052d4bc59c6e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Oct 2025 12:08:22 +0000 Subject: [PATCH 8/8] Version Packages --- .changeset/slick-wasps-bathe.md | 5 ----- packages/mermaid/CHANGELOG.md | 6 ++++++ packages/mermaid/package.json | 2 +- packages/tiny/CHANGELOG.md | 6 ++++++ packages/tiny/package.json | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) delete mode 100644 .changeset/slick-wasps-bathe.md diff --git a/.changeset/slick-wasps-bathe.md b/.changeset/slick-wasps-bathe.md deleted file mode 100644 index d8ea43c1e..000000000 --- a/.changeset/slick-wasps-bathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'mermaid': patch ---- - -fix: Updated the dependency dagre-d3-es to 7.0.13 to fix GHSA-cc8p-78qf-8p7q diff --git a/packages/mermaid/CHANGELOG.md b/packages/mermaid/CHANGELOG.md index 10a4b0ff5..52019d28c 100644 --- a/packages/mermaid/CHANGELOG.md +++ b/packages/mermaid/CHANGELOG.md @@ -1,5 +1,11 @@ # mermaid +## 11.12.1 + +### Patch Changes + +- [#7107](https://github.com/mermaid-js/mermaid/pull/7107) [`cbf8946`](https://github.com/mermaid-js/mermaid/commit/cbf89462acecac7a06f19843e8d48cb137df0753) Thanks [@shubhamparikh2704](https://github.com/shubhamparikh2704)! - fix: Updated the dependency dagre-d3-es to 7.0.13 to fix GHSA-cc8p-78qf-8p7q + ## 11.12.0 ### Minor Changes diff --git a/packages/mermaid/package.json b/packages/mermaid/package.json index 06f4e8fd2..b248c4cb0 100644 --- a/packages/mermaid/package.json +++ b/packages/mermaid/package.json @@ -1,6 +1,6 @@ { "name": "mermaid", - "version": "11.12.0", + "version": "11.12.1", "description": "Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.", "type": "module", "module": "./dist/mermaid.core.mjs", diff --git a/packages/tiny/CHANGELOG.md b/packages/tiny/CHANGELOG.md index 10a4b0ff5..52019d28c 100644 --- a/packages/tiny/CHANGELOG.md +++ b/packages/tiny/CHANGELOG.md @@ -1,5 +1,11 @@ # mermaid +## 11.12.1 + +### Patch Changes + +- [#7107](https://github.com/mermaid-js/mermaid/pull/7107) [`cbf8946`](https://github.com/mermaid-js/mermaid/commit/cbf89462acecac7a06f19843e8d48cb137df0753) Thanks [@shubhamparikh2704](https://github.com/shubhamparikh2704)! - fix: Updated the dependency dagre-d3-es to 7.0.13 to fix GHSA-cc8p-78qf-8p7q + ## 11.12.0 ### Minor Changes diff --git a/packages/tiny/package.json b/packages/tiny/package.json index 8e1c0fdeb..cdc3d49f8 100644 --- a/packages/tiny/package.json +++ b/packages/tiny/package.json @@ -1,6 +1,6 @@ { "name": "@mermaid-js/tiny", - "version": "11.12.0", + "version": "11.12.1", "description": "Tiny version of mermaid", "type": "commonjs", "main": "./dist/mermaid.tiny.js",