Releases: mermaid-js/mermaid
Releases · mermaid-js/mermaid
10.2.3
Release Notes
- Fix #4408: Handle wrapping long words (#4416) @MikeJeffers
- Fix exceptions for empty lines (#4436) @luin
- Restore classes on edges for elk (#4452) @yoavst
- Update docs: Added Nextra to Blogs category on integrations page (#4463) @try-to-fly
🎉 Thanks to all contributors helping with this release! 🎉
What's Changed
- Address mermaid-zenuml PR comments by @dontry in #4405
- Fix broken
pnpm-lock.yaml
file to fix CI by @aloisklink in #4425 - Quadrant chart unicode arrows by @sidharthv96 in #4400
- chore(deps): update all patch dependencies (patch) by @renovate in #4434
- Add CKEditor and GitHub Writer to available integrations by @AnnaTomanek in #4440
- Update diagram proposal by @sidharthv96 in #4448
- Add
@mermaid-js/mermaid-zenuml
package for zenuml Integration by @sidharthv96 in #4334 - Restore classes on edges for elk by @yoavst in #4452
- Fix exceptions for empty lines by @luin in #4436
- Update docs: Added Nextra to Blogs category on integrations page by @try-to-fly in #4463
- Fix #4408: Handle wrapping long words by @MikeJeffers in #4416
New Contributors
- @AnnaTomanek made their first contribution in #4440
- @yoavst made their first contribution in #4452
- @try-to-fly made their first contribution in #4463
- @MikeJeffers made their first contribution in #4416
Full Changelog: v10.2.2...v10.2.3
10.2.2
10.2.1
10.2.0
What's Changed
Features
- Added support for quadrant chart by @amsubhash in #4383
- Bar chart (using gantt chart) by @karistom in #4261
- Support node16 module resolution by @remcohaszing in #4213
- Add UMD build Back by @sidharthv96 in #4281
Bugfixes
- Fix #4195 start and end arrow have different sizes by @legonigel in #4286
- fix: really import esm version of dayjs by @emersonbottero in #4285
- fix: image rendering in nodes by @Valentine14th in #4268
- Fix and test a bunch of invalid CSS issues by @aloisklink in #4295
- Fix git graph css bracket leak by @lishid in #4278
- pie diagram mermaid module import fix by @agentraghav in #4316
- fix applitools by @sidharthv96 in #4335
- Multiple updates to class diagram by @jgreywolf in #4303
- fix ClassGrammar by @sidharthv96 in #4338
- updating es6 rules in flowchart diagram by @agentraghav in #4357
- Reject ridiculous years in Gantt charts. by @toolness in #4367
- Fix regression errors in sequenceDiagrams by @knsv
- Refactor to consolidate shared svgDraw components by @jgreywolf in #4259
- Implement
package
on class diagram by @ksilverwall in #4206 - add master detail relationship support by @tcbuzor in #4361
- test: fix classDiagramGrammer unit test by @aloisklink in #4378
- Allow overlapping notes by @jgreywolf in #4370
- remove SimpleMarkdown by @sidharthv96 in #4350
- Show all contributors in homepage by @sidharthv96 in #4356
Documentation
- Update index.md by @onayiga in #4294
- Add Slab to the list of integrations by @luin in #4272
- docs(integrations): list quarto by @eitsupi in #4299
- Updating documentation on notes for classes within class diagrams by @Will-Low in #4296
- Add integrations by @remcohaszing in #4374
- Docs: Flowchart - minor verbiage update by @huynhicode in #4315
- Latest News section: update content by @huynhicode in #4366
- Improve the wording of security level values by @Gusted in #4395
- Indent subgraph sections by @danielcompton in #4349
- fix(doc): Link to Obsidian doc/integration by @dix in #4309
Chores
- Update bug_report.yml by @bish0polis in #4297
- docs(flowchart): wrap br tag by codeblock by @Bogay in #4310
- chore(deps): update pnpm to v7.30.5 by @renovate in #4304
- chore(deps): update dependency concurrently to v8 by @renovate in #4323
- fix(deps): update dependency dompurify to v3 by @renovate in #4331
- chore(deps): update dependency eslint-plugin-jsdoc to v43 by @renovate in #4324
- chore(deps): update actions/deploy-pages action to v2 by @renovate in #4322
- chore(deps): update dependency rimraf to v5 by @renovate in #4326
- chore(deps): update dependency eslint-plugin-unicorn to v46 by @renovate in #4325
- chore(deps): update dependency start-server-and-test to v2 by @renovate in #4327
- chore(deps): update pnpm to v8 by @renovate in #4330
- chore(deps): update fregante/setup-git-user action to v2 by @renovate in #4329
- fix(deps): update all minor dependencies (minor) by @renovate in #4321
- chore(deps): update dependency typescript to v5 by @renovate in #4328
- Clarify FontAwesome support by @josh-bouganim-avant in #4347
- Fix missing
await
in usage document by @rhysd in #4376 - chore(deps): update all patch dependencies (patch) by @renovate in #4379
- chore(deps): update all minor dependencies (minor) by @renovate in #4380
🎉 Thanks to all contributors helping with this release! 🎉
New Contributors
- @karistom made their first contribution in #4261
- @Valentine14th made their first contribution in #4268
- @onayiga made their first contribution in #4294
- @legonigel made their first contribution in #4286
- @luin made their first contribution in #4272
- @eitsupi made their first contribution in #4299
- @dix made their first contribution in #4309
- @Bogay made their first contribution in #4310
- @agentraghav made their first contribution in #4316
- @Will-Low made their first contribution in #4296
- @josh-bouganim-avant made their first contribution in #4347
- @toolness made their first contribution in #4367
- @ksilverwall made their first contribution in #4206
- @tcbuzor made their first contribution in #4361
- @rhysd made their first contribution in #4376
- @Gusted made their first contribution in #4395
- @danielcompton made their first contribution in #4349
- @amsubhash made their first contribution in #4383
Full Changelog: v10.1.0...v10.2.0
Thanks to Mermaid Chart for ongoing support
10.1.0
What's Changed
Features
- Markdown strings for simple formatting and automatic wrapping of text by @knsv in #4271 Read more ...
- Implement repeating tasks by @JeremyFunk in #4238
Bugfixes
- Pie: Adding outer border, text position options by @Billiam in #4145
- Fix: add require entry in package.json by @lauraceconi in #4164
- feat: expose the diagram api by @ted-marozzi in #4174
- Expose detectType function by @Pr0dt0s in #4187
- Remove duplication in "A hexagon node" by @andrew-clarkson in #4211
- Updated render to remove comments from text by @kshitijsaksena in #4247
- Define and export the Mermaid type by @remcohaszing in #4253
- fix(#4137): Cleanup comments before parsing by @sidharthv96 in #4257
- fix(#4256): Keep error diagram on screen by @sidharthv96 in #4258
- Fix broken Gantt
todayMarker
tests by @aloisklink in #4207 - Docs: add Latest News section by @huynhicode in #4254
- Release/10.1.0 by @knsv in #4276
Documentation
- Update integrations.md to include Mermaid Flow Visual Editor by @ted-marozzi in #4184
- docs: make contributing to docs a bit clearer by @ted-marozzi in #4186
- Clean up list of ignored links by @mre in #4197
- v smol fixes while reading thru docs by @andrew-clarkson in #4210
- Updated DokuWiki plugin for Mermaid integration by @RobertWeinmeister in #4209
- typo fix by @Whoeza in #4221
- Updates to the Homepage by @huynhicode in #4226
- Fix typos in timeline docs by @xuanxu in #4237
- docs: Remove repeated phrase by @vorburger in #4230
- Fix hexagon node flowchart code example in docs by @piradata in #4246
Chores
- chore(deps): update all non-major dependencies (minor) by @renovate in #4191
- CI(e2e): Skip caching in
actions/setup-node
, ascypress-io/github-action
already caches for us by @aloisklink in #4194 - fix(deps): update all non-major dependencies (patch) by @renovate in #4190
- fix(#1066): Return true if parse is success. by @sidharthv96 in #4183
- fix(squence): getBBox() returns zero by @ischanx in #4181
- fix(deps): update all non-major dependencies (patch) by @renovate in #4218
- chore(deps): update node.js to v18.15.0 by @renovate in #4219
- Update @types/lodash-es by @remcohaszing in #4228
- chore(deps): update pnpm to v7.30.0 by @renovate in #4232
- chore(deps): update pnpm to v7.30.1 by @renovate in #4231
- Remove inline-specifiers pnpm option from
.npmrc
file to avoid merge conflicts by @aloisklink in #4249
New Contributors
- @ted-marozzi made their first contribution in #4184
- @lauraceconi made their first contribution in #4164
- @Pr0dt0s made their first contribution in #4187
- @ischanx made their first contribution in #4181
- @mre made their first contribution in #4197
- @andrew-clarkson made their first contribution in #4211
- @RobertWeinmeister made their first contribution in #4209
- @Whoeza made their first contribution in #4221
- @remcohaszing made their first contribution in #4228
- @vorburger made their first contribution in #4230
- @xuanxu made their first contribution in #4237
- @piradata made their first contribution in #4246
- @JeremyFunk made their first contribution in #4238
Full Changelog: v10.0.2...v10.1.0
v9.4.3
Full Changelog: v9.4.2...v9.4.3
Fixes imports for dayjs and cytoscape.
v9.4.2
What's Changed
- chore(deps): update all non-major dependencies (minor) by @renovate in #4044
- chore(deps): update dependency @types/uuid to v9 by @renovate in #4067
- build(lint:fix): cache eslint in pnpm run lint:fix by @aloisklink in #4073
- chore(deps): update dependency rimraf to v4 by @renovate in #4070
- chore(deps): update dependency jsdom to v21 by @renovate in #4069
- chore(deps): update timonvs/pr-labeler-action action to v4 by @renovate in #4072
- chore(deps): update actions/configure-pages action to v3 by @renovate in #4065
- chore(deps): update actions/dependency-review-action action to v3 by @renovate in #4066
- docs: minor fix on markdown by @Jeff-Tian in #4015
- Add logo to readme by @sidharthv96 in #4076
- Release 9.4.1 by @sidharthv96 in #4095
- chore(deps): update dependency vite to v4 by @renovate in #4071
- chore(deps): update dependency cypress to v12 by @renovate in #4068
- fix(api): tree shaking package.json import by @AielloChan in #4101
New Contributors
- @Jeff-Tian made their first contribution in #4015
- @AielloChan made their first contribution in #4101
Full Changelog: v9.4.0...v9.4.2
10.0.2
10.0.1
Release Notes
Features
- Added grammar to skip comment in attribute block (#4128) @kshitijsaksena
- feat: Add support for classDiagram labels (#4086) @sidharthv96
- 💄 section width now covers all tasks (#4074) @l2fprod
- 💄 section width now covers all tasks - Timeline (#4126) @sidharthv96
Bugfixes
- Fix(#4140): Async bug in mermaid.run (#4142) @sidharthv96
- fix #4157: Inject only fontFamily without replacing themeVariables (#4160) @sidharthv96
- fix: Detector order (#4124) @sidharthv96
- fix: fix exports (#4135) @Mister-Hope
- fix #4157: Inject only fontFamily without replacing themeVariables by @sidharthv96
- Elk layout for flowcharts: Incorrect placement of edges when using diamonds in subgraphs by @knsv
Documentation
- Adding app (Deepdwn) to integrations list (#4127) @Billiam
- Doc (typo): remove duplicate "be" (#4133) @Julez404
- docs(flowchart): duplicated hexagon node example by @Oliboy50
- add links to NiceGUI integration by @rodja
- Adding app (Deepdwn) to integrations list by @Billiam
Chores
- chore: dagre-d3-es@7.0.9 (#4147) @sidharthv96
- Replace
moment-mini
/moment
date library withdayjs
(#4153) @aloisklink
🎉 Thanks to all contributors helping with this release! 🎉
New Contributors
- @Oliboy50 made their first contribution in #4105
- @rodja made their first contribution in #4107
- @Julez404 made their first contribution in #4133
- @l2fprod made their first contribution in #4074
- @kshitijsaksena made their first contribution in #4128
Full Changelog: v10.0.0...v10.0.1
v10.0.0
What's Changed
Please refer the v10 changes section in CHANGELOG.md to see detailed migration steps.
Mermaid is ESM only!
We've dropped CJS support. So, you will have to update your import scripts as follows.
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
mermaid.initialize({ startOnLoad: true });
</script>
You can keep using v9 by adding the @9
in the CDN URL.
- <script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.js"></script>
+ <script src="https://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.js"></script>
Breaking changes in v10
- Switch to ESM only for v10? by @sidharthv96 #3590
- Break type of mermaid.render in v10 by @sidharthv96 #3577
- Improve init function and how selector and nodes are passed by @sidharthv96 #3394
- mermaid.init is not using the config that's passed by @sidharthv96 #3406
- Configurable HTML class for initialisation by @sidharthv96 #3055
Features
- fix(api): tree shaking package.json import by @AielloChan in #4101
- splitDiagrams by @sidharthv96 in #4110
- Adding the ability to use invisible edges by @knsv in #4113
Docs
- Add logo to readme by @sidharthv96 in #4076
- docs: minor fix on markdown by @Jeff-Tian in #4015
- Fix typos by @fkohrt in #4118
Chores
- chore(deps): update all non-major dependencies (minor) by @renovate in #4044
- chore(deps): update dependency @types/uuid to v9 by @renovate in #4067
- build(lint:fix): cache eslint in pnpm run lint:fix by @aloisklink in #4073
- chore(deps): update dependency rimraf to v4 by @renovate in #4070
- chore(deps): update dependency jsdom to v21 by @renovate in #4069
- chore(deps): update timonvs/pr-labeler-action action to v4 by @renovate in #4072
- chore(deps): update actions/configure-pages action to v3 by @renovate in #4065
- chore(deps): update actions/dependency-review-action action to v3 by @renovate in #4066
- chore(deps): update dependency vite to v4 by @renovate in #4071
- chore(deps): update dependency cypress to v12 by @renovate in #4068
New Contributors
- @Jeff-Tian made their first contribution in #4015
- @AielloChan made their first contribution in #4101
- @fkohrt made their first contribution in #4118
Full Changelog: v9.4.0...v10.0.0