-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add @mermaid-js/mermaid-zenuml
package for zenuml Integration
#4334
Conversation
@MrCoder I'm getting this error inside zenuml. |
Hi @sidharthv96, I have a fix (Thanks to @dontry), but I don't have permission to push to your branch. Could you please give me permission or apply the following patch (pnpm-lock.yaml changes ignored):
|
* develop: (33 commits) Update version Fix classParser Check for conflict when linting jison Update class grammar test fix Class diagram grammar Skip sourcemap Bump version Update deps Fix unit tests Update vite Fix applitools cypress Update packages/mermaid/package.json chore(deps): update dependency typescript to v5 fix typedoc fix(deps): update all minor dependencies chore(deps): update pnpm to v8 chore(deps): update fregante/setup-git-user action to v2 fix(deps): update all minor dependencies chore(deps): update dependency start-server-and-test to v2 chore(deps): update dependency rimraf to v5 ...
* develop: submit built docs update Font Awesome Version Clarify FontAwesome support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! I love how the ZenUML diagrams look too :)
Most of my comments are pretty minor, so here's the changes I think are required:
- PR description is currently blank, please fill it in, for anybody that sees this change in the Release notes and wants more info! (maybe with an example screenshot, since these ZenUML diagrams look pretty good!)
- Maybe we should add
@mermaid-js/mermaid-zenuml
to the PR title too?
- Maybe we should add
package.json
: Theversion
of@mermaid-js/mermaid-zenuml
shouldn't be0.0.1
(please use0.1.0
/1.0.0
/1.0.0-alpha.0
)package.json
: There should be apeerDependency
onmermaid
so we know which versions of mermaid the@mermaid-js/mermaid-zenuml
plugin is compatible withREADME.md
: Please add aREADME.md
file for people that go to https://npmjs.com/package/@mermaid-js/mermaid-zenuml (once it exists).docs/syntax/zenuml.md
: Mention themermaid.registerExternalDiagrams
usage (can copy this from the mindmap docs)docs/syntax/zenuml.md
: Add```zenuml
to all of the```
code blocks with no language (Vitepress makes them look very ugly currently)- Ideally they should be fully working
```mermaid-example
blocks, but I know that's quite a lot of work, so maybe that's a future thing to do.
- Ideally they should be fully working
@MrCoder as you can't push to this branch, can you please fork |
Hi @sidharthv96, I've mostly done the zenuml plugin work. I will address the comments |
Address mermaid-zenuml PR comments
* develop: (66 commits) Update docs Update docs Improve the wording of security level values Added quadrantChart to the side bar Added e2e test cases with some fixes Added documentation for the quadrantChart Restructured the build function and addressed more review comment Fixed some parser issue and added test cases for the parser Fixed review comment Update docs Converted files to typescript and added proper types Fix blog linting Debug fetch-contributors Fix lockfile Revert "Replace esno & ts-node with tsx" [draft] Added support for quadrant chart Fix lockfile Fix build Update pnpm-lock Replace esno & ts-node with tsx ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dontry, thanks for making the fixes!
Sorry, there's one last issue I didn't notice in my last review. TypeScript is broken for the mermaid-zenuml
package.
There needs to be a change in package.json
to build the types first:
diff --git a/package.json b/package.json
index fe7a3ba0..61162202 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
"build:vite": "ts-node-esm --transpileOnly .vite/build.ts",
"build:mermaid": "pnpm build:vite --mermaid",
"build:viz": "pnpm build:mermaid --visualize",
- "build:types": "tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-example-diagram/tsconfig.json --emitDeclarationOnly",
+ "build:types": "tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-zenuml/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-example-diagram/tsconfig.json --emitDeclarationOnly",
"build:watch": "pnpm build:vite --watch",
"build": "pnpm run -r clean && pnpm build:types && pnpm build:vite",
"dev": "concurrently \"pnpm build:vite --watch\" \"ts-node-esm .vite/server.ts\"",
After that, there is one tiny bug TypeScript bug, but it's very minor, so you can ignore the error with a // @ts-expect-error
comment if you want.
Address mermaid-zenuml PR comments
* develop: (66 commits) Update docs Update docs Improve the wording of security level values Added quadrantChart to the side bar Added e2e test cases with some fixes Added documentation for the quadrantChart Restructured the build function and addressed more review comment Fixed some parser issue and added test cases for the parser Fixed review comment Update docs Converted files to typescript and added proper types Fix blog linting Debug fetch-contributors Fix lockfile Revert "Replace esno & ts-node with tsx" [draft] Added support for quadrant chart Fix lockfile Fix build Update pnpm-lock Replace esno & ts-node with tsx ... Merge conflicts: - pnpm-lock.yaml
Conflicts: pnpm-lock.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me! I'm happy for this to be merged (assuming it all passes CI)
@dontry, I've done a git rebase
and changed your git author
details! You can confirm it by doing a git log
.
@sidharthv96, it would still be nice to have a better PR title/description. Maybe we can mention something about the @mermaid-js/mermaid-zenuml
and an example diagram? It's up to you :)
Thank you @aloisklink and @sidharthv96. You are really kind and supportive. |
Hey @aloisklink , I wonder when this PR is ready to get merged? |
@mermaid-js/mermaid-zenuml
package for zenuml Integration
…nto sidv/zenuml * 'sidv/zenuml' of https://github.com/mermaid-js/mermaid: Update docs Add contributors profile url ignore ZenUML types fixed typo and update peerDependencies version update pnpm-lock.yaml Address mermaid-zenuml PR comments Update all minor dependencies Update all patch dependencies Fix vitepress build
* develop: Update all minor dependencies Update all patch dependencies
I've resolved the conflicts. |
This is ready to be merged, just fix the pnpm-lock file |
Hi guys, can you please check this pull? I am really interested on having zenuml in mermaid!. it is missing only one last check!! |
* develop: (22 commits) Update docs Added CKEditor and GitHub Writer to available integrations. chore(deps): update all patch dependencies build(deps): fix broken pnpm-lock.yaml file Mermaid version 10.2.0 Mermaid Version 10.2.0-rc.4 Label background fix Test commit Fix for regression error in sequenceDiagrams Fix visibility issue for fields fix parsing issue with class diagrams fix: Use unicode arrows in quadrant chart axis fix: Use unicode arrows in quadrant chart axis fix lint command Bump version Back to JS with jsdoc types Add unsupported text Reduce changes in test Fix deps Fix lockfile ...
Thanks all! Good job! |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [mermaid](https://togithub.com/mermaid-js/mermaid) | [`9.3.0` -> `10.2.3`](https://renovatebot.com/diffs/npm/mermaid/9.3.0/10.2.3) | [![age](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/compatibility-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/confidence-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mermaid-js/mermaid</summary> ### [`v10.2.3`](https://togithub.com/mermaid-js/mermaid/releases/tag/v10.2.3): 10.2.3 [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v10.2.2...v10.2.3) ### Release Notes - Fix [#​4408](https://togithub.com/mermaid-js/mermaid/issues/4408): Handle wrapping long words ([#​4416](https://togithub.com/mermaid-js/mermaid/issues/4416)) [@​MikeJeffers](https://togithub.com/MikeJeffers) - Fix exceptions for empty lines ([#​4436](https://togithub.com/mermaid-js/mermaid/issues/4436)) [@​luin](https://togithub.com/luin) - Restore classes on edges for elk ([#​4452](https://togithub.com/mermaid-js/mermaid/issues/4452)) [@​yoavst](https://togithub.com/yoavst) - Update docs: Added Nextra to Blogs category on integrations page ([#​4463](https://togithub.com/mermaid-js/mermaid/issues/4463)) [@​try-to-fly](https://togithub.com/try-to-fly) 🎉 **Thanks to all contributors helping with this release!** 🎉 #### What's Changed - Address mermaid-zenuml PR comments by [@​dontry](https://togithub.com/dontry) in [https://github.com/mermaid-js/mermaid/pull/4405](https://togithub.com/mermaid-js/mermaid/pull/4405) - Fix broken `pnpm-lock.yaml` file to fix CI by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4425](https://togithub.com/mermaid-js/mermaid/pull/4425) - Quadrant chart unicode arrows by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4400](https://togithub.com/mermaid-js/mermaid/pull/4400) - chore(deps): update all patch dependencies (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4434](https://togithub.com/mermaid-js/mermaid/pull/4434) - Add CKEditor and GitHub Writer to available integrations by [@​AnnaTomanek](https://togithub.com/AnnaTomanek) in [https://github.com/mermaid-js/mermaid/pull/4440](https://togithub.com/mermaid-js/mermaid/pull/4440) - Update diagram proposal by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4448](https://togithub.com/mermaid-js/mermaid/pull/4448) - Add `@mermaid-js/mermaid-zenuml` package for zenuml Integration by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4334](https://togithub.com/mermaid-js/mermaid/pull/4334) - Restore classes on edges for elk by [@​yoavst](https://togithub.com/yoavst) in [https://github.com/mermaid-js/mermaid/pull/4452](https://togithub.com/mermaid-js/mermaid/pull/4452) - Fix exceptions for empty lines by [@​luin](https://togithub.com/luin) in [https://github.com/mermaid-js/mermaid/pull/4436](https://togithub.com/mermaid-js/mermaid/pull/4436) - Update docs: Added Nextra to Blogs category on integrations page by [@​try-to-fly](https://togithub.com/try-to-fly) in [https://github.com/mermaid-js/mermaid/pull/4463](https://togithub.com/mermaid-js/mermaid/pull/4463) - Fix [#​4408](https://togithub.com/mermaid-js/mermaid/issues/4408): Handle wrapping long words by [@​MikeJeffers](https://togithub.com/MikeJeffers) in [https://github.com/mermaid-js/mermaid/pull/4416](https://togithub.com/mermaid-js/mermaid/pull/4416) #### New Contributors - [@​AnnaTomanek](https://togithub.com/AnnaTomanek) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4440](https://togithub.com/mermaid-js/mermaid/pull/4440) - [@​yoavst](https://togithub.com/yoavst) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4452](https://togithub.com/mermaid-js/mermaid/pull/4452) - [@​try-to-fly](https://togithub.com/try-to-fly) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4463](https://togithub.com/mermaid-js/mermaid/pull/4463) - [@​MikeJeffers](https://togithub.com/MikeJeffers) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4416](https://togithub.com/mermaid-js/mermaid/pull/4416) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.2.2...v10.2.3 ### [`v10.2.2`](https://togithub.com/mermaid-js/mermaid/releases/tag/v10.2.2): 10.2.2 [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v10.2.1...v10.2.2) #### What's Changed - [#​4446](https://togithub.com/mermaid-js/mermaid/issues/4446) Removing the ability to inject css using arrowMarkers by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4447](https://togithub.com/mermaid-js/mermaid/pull/4447) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.2.1...v10.2.2 ### [`v10.2.1`](https://togithub.com/mermaid-js/mermaid/releases/tag/v10.2.1): 10.2.1 [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v10.2.0...v10.2.1) #### What's Changed #### Bugfixes - [#​4438](https://togithub.com/mermaid-js/mermaid/issues/4438) Reverted to the changes from [#​4285](https://togithub.com/mermaid-js/mermaid/issues/4285) by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4445](https://togithub.com/mermaid-js/mermaid/pull/4445) - Merge PR [#​4425](https://togithub.com/mermaid-js/mermaid/issues/4425) to `master` to fix uploading v10.2.0 docs to `mermaid.js.org` website by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4426](https://togithub.com/mermaid-js/mermaid/pull/4426) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.2.0...v10.2.1 ### [`v10.2.0`](https://togithub.com/mermaid-js/mermaid/releases/tag/v10.2.0): 10.2.0 [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v10.1.0...v10.2.0) #### What's Changed #### Features - Added support for quadrant chart by [@​amsubhash](https://togithub.com/amsubhash) in [https://github.com/mermaid-js/mermaid/pull/4383](https://togithub.com/mermaid-js/mermaid/pull/4383) - Bar chart (using gantt chart) by [@​karistom](https://togithub.com/karistom) in [https://github.com/mermaid-js/mermaid/pull/4261](https://togithub.com/mermaid-js/mermaid/pull/4261) - Support node16 module resolution by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mermaid-js/mermaid/pull/4213](https://togithub.com/mermaid-js/mermaid/pull/4213) - Add UMD build Back by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4281](https://togithub.com/mermaid-js/mermaid/pull/4281) #### Bugfixes - Fix [#​4195](https://togithub.com/mermaid-js/mermaid/issues/4195) start and end arrow have different sizes by [@​legonigel](https://togithub.com/legonigel) in [https://github.com/mermaid-js/mermaid/pull/4286](https://togithub.com/mermaid-js/mermaid/pull/4286) - fix: really import esm version of dayjs by [@​emersonbottero](https://togithub.com/emersonbottero) in [https://github.com/mermaid-js/mermaid/pull/4285](https://togithub.com/mermaid-js/mermaid/pull/4285) - fix: image rendering in nodes by [@​Valentine14th](https://togithub.com/Valentine14th) in [https://github.com/mermaid-js/mermaid/pull/4268](https://togithub.com/mermaid-js/mermaid/pull/4268) - Fix and test a bunch of invalid CSS issues by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4295](https://togithub.com/mermaid-js/mermaid/pull/4295) - Fix git graph css bracket leak by [@​lishid](https://togithub.com/lishid) in [https://github.com/mermaid-js/mermaid/pull/4278](https://togithub.com/mermaid-js/mermaid/pull/4278) - pie diagram mermaid module import fix by [@​agentraghav](https://togithub.com/agentraghav) in [https://github.com/mermaid-js/mermaid/pull/4316](https://togithub.com/mermaid-js/mermaid/pull/4316) - fix applitools by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4335](https://togithub.com/mermaid-js/mermaid/pull/4335) - Multiple updates to class diagram by [@​jgreywolf](https://togithub.com/jgreywolf) in [https://github.com/mermaid-js/mermaid/pull/4303](https://togithub.com/mermaid-js/mermaid/pull/4303) - fix ClassGrammar by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4338](https://togithub.com/mermaid-js/mermaid/pull/4338) - updating es6 rules in flowchart diagram by [@​agentraghav](https://togithub.com/agentraghav) in [https://github.com/mermaid-js/mermaid/pull/4357](https://togithub.com/mermaid-js/mermaid/pull/4357) - Reject ridiculous years in Gantt charts. by [@​toolness](https://togithub.com/toolness) in [https://github.com/mermaid-js/mermaid/pull/4367](https://togithub.com/mermaid-js/mermaid/pull/4367) - Fix regression errors in sequenceDiagrams by [@​knsv](https://togithub.com/knsv) - Refactor to consolidate shared svgDraw components by [@​jgreywolf](https://togithub.com/jgreywolf) in [https://github.com/mermaid-js/mermaid/pull/4259](https://togithub.com/mermaid-js/mermaid/pull/4259) - Implement `package` on class diagram by [@​ksilverwall](https://togithub.com/ksilverwall) in [https://github.com/mermaid-js/mermaid/pull/4206](https://togithub.com/mermaid-js/mermaid/pull/4206) - add master detail relationship support by [@​tcbuzor](https://togithub.com/tcbuzor) in [https://github.com/mermaid-js/mermaid/pull/4361](https://togithub.com/mermaid-js/mermaid/pull/4361) - test: fix classDiagramGrammer unit test by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4378](https://togithub.com/mermaid-js/mermaid/pull/4378) - Allow overlapping notes by [@​jgreywolf](https://togithub.com/jgreywolf) in [https://github.com/mermaid-js/mermaid/pull/4370](https://togithub.com/mermaid-js/mermaid/pull/4370) - remove SimpleMarkdown by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4350](https://togithub.com/mermaid-js/mermaid/pull/4350) - Show all contributors in homepage by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4356](https://togithub.com/mermaid-js/mermaid/pull/4356) ### Documentation - Update index.md by [@​onayiga](https://togithub.com/onayiga) in [https://github.com/mermaid-js/mermaid/pull/4294](https://togithub.com/mermaid-js/mermaid/pull/4294) - Add Slab to the list of integrations by [@​luin](https://togithub.com/luin) in [https://github.com/mermaid-js/mermaid/pull/4272](https://togithub.com/mermaid-js/mermaid/pull/4272) - docs(integrations): list quarto by [@​eitsupi](https://togithub.com/eitsupi) in [https://github.com/mermaid-js/mermaid/pull/4299](https://togithub.com/mermaid-js/mermaid/pull/4299) - Updating documentation on notes for classes within class diagrams by [@​Will-Low](https://togithub.com/Will-Low) in [https://github.com/mermaid-js/mermaid/pull/4296](https://togithub.com/mermaid-js/mermaid/pull/4296) - Add integrations by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mermaid-js/mermaid/pull/4374](https://togithub.com/mermaid-js/mermaid/pull/4374) - Docs: Flowchart - minor verbiage update by [@​huynhicode](https://togithub.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/4315](https://togithub.com/mermaid-js/mermaid/pull/4315) - Latest News section: update content by [@​huynhicode](https://togithub.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/4366](https://togithub.com/mermaid-js/mermaid/pull/4366) - Improve the wording of security level values by [@​Gusted](https://togithub.com/Gusted) in [https://github.com/mermaid-js/mermaid/pull/4395](https://togithub.com/mermaid-js/mermaid/pull/4395) - Indent subgraph sections by [@​danielcompton](https://togithub.com/danielcompton) in [https://github.com/mermaid-js/mermaid/pull/4349](https://togithub.com/mermaid-js/mermaid/pull/4349) - fix(doc): Link to Obsidian doc/integration by [@​dix](https://togithub.com/dix) in [https://github.com/mermaid-js/mermaid/pull/4309](https://togithub.com/mermaid-js/mermaid/pull/4309) #### Chores - Update bug_report.yml by [@​bish0polis](https://togithub.com/bish0polis) in [https://github.com/mermaid-js/mermaid/pull/4297](https://togithub.com/mermaid-js/mermaid/pull/4297) - docs(flowchart): wrap br tag by codeblock by [@​Bogay](https://togithub.com/Bogay) in [https://github.com/mermaid-js/mermaid/pull/4310](https://togithub.com/mermaid-js/mermaid/pull/4310) - chore(deps): update pnpm to v7.30.5 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4304](https://togithub.com/mermaid-js/mermaid/pull/4304) - chore(deps): update dependency concurrently to v8 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4323](https://togithub.com/mermaid-js/mermaid/pull/4323) - fix(deps): update dependency dompurify to v3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4331](https://togithub.com/mermaid-js/mermaid/pull/4331) - chore(deps): update dependency eslint-plugin-jsdoc to v43 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4324](https://togithub.com/mermaid-js/mermaid/pull/4324) - chore(deps): update actions/deploy-pages action to v2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4322](https://togithub.com/mermaid-js/mermaid/pull/4322) - chore(deps): update dependency rimraf to v5 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4326](https://togithub.com/mermaid-js/mermaid/pull/4326) - chore(deps): update dependency eslint-plugin-unicorn to v46 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4325](https://togithub.com/mermaid-js/mermaid/pull/4325) - chore(deps): update dependency start-server-and-test to v2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4327](https://togithub.com/mermaid-js/mermaid/pull/4327) - chore(deps): update pnpm to v8 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4330](https://togithub.com/mermaid-js/mermaid/pull/4330) - chore(deps): update fregante/setup-git-user action to v2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4329](https://togithub.com/mermaid-js/mermaid/pull/4329) - fix(deps): update all minor dependencies (minor) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4321](https://togithub.com/mermaid-js/mermaid/pull/4321) - chore(deps): update dependency typescript to v5 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4328](https://togithub.com/mermaid-js/mermaid/pull/4328) - Clarify FontAwesome support by [@​josh-bouganim-avant](https://togithub.com/josh-bouganim-avant) in [https://github.com/mermaid-js/mermaid/pull/4347](https://togithub.com/mermaid-js/mermaid/pull/4347) - Fix missing `await` in usage document by [@​rhysd](https://togithub.com/rhysd) in [https://github.com/mermaid-js/mermaid/pull/4376](https://togithub.com/mermaid-js/mermaid/pull/4376) - chore(deps): update all patch dependencies (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4379](https://togithub.com/mermaid-js/mermaid/pull/4379) - chore(deps): update all minor dependencies (minor) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4380](https://togithub.com/mermaid-js/mermaid/pull/4380) 🎉 **Thanks to all contributors helping with this release!** 🎉 #### New Contributors - [@​karistom](https://togithub.com/karistom) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4261](https://togithub.com/mermaid-js/mermaid/pull/4261) - [@​Valentine14th](https://togithub.com/Valentine14th) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4268](https://togithub.com/mermaid-js/mermaid/pull/4268) - [@​onayiga](https://togithub.com/onayiga) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4294](https://togithub.com/mermaid-js/mermaid/pull/4294) - [@​legonigel](https://togithub.com/legonigel) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4286](https://togithub.com/mermaid-js/mermaid/pull/4286) - [@​luin](https://togithub.com/luin) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4272](https://togithub.com/mermaid-js/mermaid/pull/4272) - [@​eitsupi](https://togithub.com/eitsupi) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4299](https://togithub.com/mermaid-js/mermaid/pull/4299) - [@​dix](https://togithub.com/dix) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4309](https://togithub.com/mermaid-js/mermaid/pull/4309) - [@​Bogay](https://togithub.com/Bogay) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4310](https://togithub.com/mermaid-js/mermaid/pull/4310) - [@​agentraghav](https://togithub.com/agentraghav) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4316](https://togithub.com/mermaid-js/mermaid/pull/4316) - [@​Will-Low](https://togithub.com/Will-Low) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4296](https://togithub.com/mermaid-js/mermaid/pull/4296) - [@​josh-bouganim-avant](https://togithub.com/josh-bouganim-avant) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4347](https://togithub.com/mermaid-js/mermaid/pull/4347) - [@​toolness](https://togithub.com/toolness) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4367](https://togithub.com/mermaid-js/mermaid/pull/4367) - [@​ksilverwall](https://togithub.com/ksilverwall) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4206](https://togithub.com/mermaid-js/mermaid/pull/4206) - [@​tcbuzor](https://togithub.com/tcbuzor) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4361](https://togithub.com/mermaid-js/mermaid/pull/4361) - [@​rhysd](https://togithub.com/rhysd) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4376](https://togithub.com/mermaid-js/mermaid/pull/4376) - [@​Gusted](https://togithub.com/Gusted) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4395](https://togithub.com/mermaid-js/mermaid/pull/4395) - [@​danielcompton](https://togithub.com/danielcompton) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4349](https://togithub.com/mermaid-js/mermaid/pull/4349) - [@​amsubhash](https://togithub.com/amsubhash) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4383](https://togithub.com/mermaid-js/mermaid/pull/4383) *** **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.1.0...v10.2.0 Thanks to [Mermaid Chart](https://www.mermaidchart.com) for ongoing support ### [`v10.1.0`](https://togithub.com/mermaid-js/mermaid/releases/tag/v10.1.0): 10.1.0 [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v10.0.2...v10.1.0) #### What's Changed ### Features - Markdown strings for simple formatting and automatic wrapping of text by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4271](https://togithub.com/mermaid-js/mermaid/pull/4271) [Read more ...](https://www.mermaidchart.com/blog/posts/automatic-text-wrapping-in-flowcharts-is-here) - Implement repeating tasks by [@​JeremyFunk](https://togithub.com/JeremyFunk) in [https://github.com/mermaid-js/mermaid/pull/4238](https://togithub.com/mermaid-js/mermaid/pull/4238) ### Bugfixes - Pie: Adding outer border, text position options by [@​Billiam](https://togithub.com/Billiam) in [https://github.com/mermaid-js/mermaid/pull/4145](https://togithub.com/mermaid-js/mermaid/pull/4145) - Fix: add require entry in package.json by [@​lauraceconi](https://togithub.com/lauraceconi) in [https://github.com/mermaid-js/mermaid/pull/4164](https://togithub.com/mermaid-js/mermaid/pull/4164) - feat: expose the diagram api by [@​ted-marozzi](https://togithub.com/ted-marozzi) in [https://github.com/mermaid-js/mermaid/pull/4174](https://togithub.com/mermaid-js/mermaid/pull/4174) - Expose detectType function by [@​Pr0dt0s](https://togithub.com/Pr0dt0s) in [https://github.com/mermaid-js/mermaid/pull/4187](https://togithub.com/mermaid-js/mermaid/pull/4187) - Remove duplication in "A hexagon node" by [@​andrew-clarkson](https://togithub.com/andrew-clarkson) in [https://github.com/mermaid-js/mermaid/pull/4211](https://togithub.com/mermaid-js/mermaid/pull/4211) - Updated render to remove comments from text by [@​kshitijsaksena](https://togithub.com/kshitijsaksena) in [https://github.com/mermaid-js/mermaid/pull/4247](https://togithub.com/mermaid-js/mermaid/pull/4247) - Define and export the Mermaid type by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mermaid-js/mermaid/pull/4253](https://togithub.com/mermaid-js/mermaid/pull/4253) - fix([#​4137](https://togithub.com/mermaid-js/mermaid/issues/4137)): Cleanup comments before parsing by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4257](https://togithub.com/mermaid-js/mermaid/pull/4257) - fix([#​4256](https://togithub.com/mermaid-js/mermaid/issues/4256)): Keep error diagram on screen by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4258](https://togithub.com/mermaid-js/mermaid/pull/4258) - Fix broken Gantt `todayMarker` tests by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4207](https://togithub.com/mermaid-js/mermaid/pull/4207) - Docs: add Latest News section by [@​huynhicode](https://togithub.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/4254](https://togithub.com/mermaid-js/mermaid/pull/4254) - Release/10.1.0 by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4276](https://togithub.com/mermaid-js/mermaid/pull/4276) ### Documentation - Update integrations.md to include Mermaid Flow Visual Editor by [@​ted-marozzi](https://togithub.com/ted-marozzi) in [https://github.com/mermaid-js/mermaid/pull/4184](https://togithub.com/mermaid-js/mermaid/pull/4184) - docs: make contributing to docs a bit clearer by [@​ted-marozzi](https://togithub.com/ted-marozzi) in [https://github.com/mermaid-js/mermaid/pull/4186](https://togithub.com/mermaid-js/mermaid/pull/4186) - Clean up list of ignored links by [@​mre](https://togithub.com/mre) in [https://github.com/mermaid-js/mermaid/pull/4197](https://togithub.com/mermaid-js/mermaid/pull/4197) - v smol fixes while reading thru docs by [@​andrew-clarkson](https://togithub.com/andrew-clarkson) in [https://github.com/mermaid-js/mermaid/pull/4210](https://togithub.com/mermaid-js/mermaid/pull/4210) - Updated DokuWiki plugin for Mermaid integration by [@​RobertWeinmeister](https://togithub.com/RobertWeinmeister) in [https://github.com/mermaid-js/mermaid/pull/4209](https://togithub.com/mermaid-js/mermaid/pull/4209) - typo fix by [@​Whoeza](https://togithub.com/Whoeza) in [https://github.com/mermaid-js/mermaid/pull/4221](https://togithub.com/mermaid-js/mermaid/pull/4221) - Updates to the Homepage by [@​huynhicode](https://togithub.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/4226](https://togithub.com/mermaid-js/mermaid/pull/4226) - Fix typos in timeline docs by [@​xuanxu](https://togithub.com/xuanxu) in [https://github.com/mermaid-js/mermaid/pull/4237](https://togithub.com/mermaid-js/mermaid/pull/4237) - docs: Remove repeated phrase by [@​vorburger](https://togithub.com/vorburger) in [https://github.com/mermaid-js/mermaid/pull/4230](https://togithub.com/mermaid-js/mermaid/pull/4230) - Fix hexagon node flowchart code example in docs by [@​piradata](https://togithub.com/piradata) in [https://github.com/mermaid-js/mermaid/pull/4246](https://togithub.com/mermaid-js/mermaid/pull/4246) ### Chores - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4191](https://togithub.com/mermaid-js/mermaid/pull/4191) - CI(e2e): Skip caching in `actions/setup-node`, as `cypress-io/github-action` already caches for us by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4194](https://togithub.com/mermaid-js/mermaid/pull/4194) - fix(deps): update all non-major dependencies (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4190](https://togithub.com/mermaid-js/mermaid/pull/4190) - fix([#​1066](https://togithub.com/mermaid-js/mermaid/issues/1066)): Return true if parse is success. by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4183](https://togithub.com/mermaid-js/mermaid/pull/4183) - fix(squence): getBBox() returns zero by [@​ischanx](https://togithub.com/ischanx) in [https://github.com/mermaid-js/mermaid/pull/4181](https://togithub.com/mermaid-js/mermaid/pull/4181) - fix(deps): update all non-major dependencies (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4218](https://togithub.com/mermaid-js/mermaid/pull/4218) - chore(deps): update node.js to v18.15.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4219](https://togithub.com/mermaid-js/mermaid/pull/4219) - Update [@​types/lodash-es](https://togithub.com/types/lodash-es) by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mermaid-js/mermaid/pull/4228](https://togithub.com/mermaid-js/mermaid/pull/4228) - chore(deps): update pnpm to v7.30.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4232](https://togithub.com/mermaid-js/mermaid/pull/4232) - chore(deps): update pnpm to v7.30.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4231](https://togithub.com/mermaid-js/mermaid/pull/4231) - Remove inline-specifiers pnpm option from `.npmrc` file to avoid merge conflicts by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4249](https://togithub.com/mermaid-js/mermaid/pull/4249) #### New Contributors - [@​ted-marozzi](https://togithub.com/ted-marozzi) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4184](https://togithub.com/mermaid-js/mermaid/pull/4184) - [@​lauraceconi](https://togithub.com/lauraceconi) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4164](https://togithub.com/mermaid-js/mermaid/pull/4164) - [@​Pr0dt0s](https://togithub.com/Pr0dt0s) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4187](https://togithub.com/mermaid-js/mermaid/pull/4187) - [@​ischanx](https://togithub.com/ischanx) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4181](https://togithub.com/mermaid-js/mermaid/pull/4181) - [@​mre](https://togithub.com/mre) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4197](https://togithub.com/mermaid-js/mermaid/pull/4197) - [@​andrew-clarkson](https://togithub.com/andrew-clarkson) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4211](https://togithub.com/mermaid-js/mermaid/pull/4211) - [@​RobertWeinmeister](https://togithub.com/RobertWeinmeister) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4209](https://togithub.com/mermaid-js/mermaid/pull/4209) - [@​Whoeza](https://togithub.com/Whoeza) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4221](https://togithub.com/mermaid-js/mermaid/pull/4221) - [@​remcohaszing](https://togithub.com/remcohaszing) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4228](https://togithub.com/mermaid-js/mermaid/pull/4228) - [@​vorburger](https://togithub.com/vorburger) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4230](https://togithub.com/mermaid-js/mermaid/pull/4230) - [@​xuanxu](https://togithub.com/xuanxu) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4237](https://togithub.com/mermaid-js/mermaid/pull/4237) - [@​piradata](https://togithub.com/piradata) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4246](https://togithub.com/mermaid-js/mermaid/pull/4246) - [@​JeremyFunk](https://togithub.com/JeremyFunk) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4238](https://togithub.com/mermaid-js/mermaid/pull/4238) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.0.2...v10.1.0 ### [`v10.0.2`](https://togithub.com/mermaid-js/mermaid/releases/tag/v10.0.2): 10.0.2 [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v10.0.1...v10.0.2) ### Release Notes #### Bugfixes - fix: dayjs import extension [@​sidharthv96](https://togithub.com/sidharthv96) ### [`v10.0.1`](https://togithub.com/mermaid-js/mermaid/releases/tag/v10.0.1): 10.0.1 [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v10.0.0...v10.0.1) ### Release Notes ### Features - Added grammar to skip comment in attribute block ([#​4128](https://togithub.com/mermaid-js/mermaid/issues/4128)) [@​kshitijsaksena](https://togithub.com/kshitijsaksena) - feat: Add support for classDiagram labels ([#​4086](https://togithub.com/mermaid-js/mermaid/issues/4086)) [@​sidharthv96](https://togithub.com/sidharthv96) - 💄 section width now covers all tasks ([#​4074](https://togithub.com/mermaid-js/mermaid/issues/4074)) [@​l2fprod](https://togithub.com/l2fprod) - 💄 section width now covers all tasks - Timeline ([#​4126](https://togithub.com/mermaid-js/mermaid/issues/4126)) [@​sidharthv96](https://togithub.com/sidharthv96) ### Bugfixes - Fix([#​4140](https://togithub.com/mermaid-js/mermaid/issues/4140)): Async bug in mermaid.run ([#​4142](https://togithub.com/mermaid-js/mermaid/issues/4142)) [@​sidharthv96](https://togithub.com/sidharthv96) - fix [#​4157](https://togithub.com/mermaid-js/mermaid/issues/4157): Inject only fontFamily without replacing themeVariables ([#​4160](https://togithub.com/mermaid-js/mermaid/issues/4160)) [@​sidharthv96](https://togithub.com/sidharthv96) - fix: Detector order ([#​4124](https://togithub.com/mermaid-js/mermaid/issues/4124)) [@​sidharthv96](https://togithub.com/sidharthv96) - fix: fix exports ([#​4135](https://togithub.com/mermaid-js/mermaid/issues/4135)) [@​Mister-Hope](https://togithub.com/Mister-Hope) - fix [#​4157](https://togithub.com/mermaid-js/mermaid/issues/4157): Inject only fontFamily without replacing themeVariables by [@​sidharthv96](https://togithub.com/sidharthv96) - Elk layout for flowcharts: Incorrect placement of edges when using diamonds in subgraphs by [@​knsv](https://togithub.com/knsv) ### Documentation - Adding app (Deepdwn) to integrations list ([#​4127](https://togithub.com/mermaid-js/mermaid/issues/4127)) [@​Billiam](https://togithub.com/Billiam) - Doc (typo): remove duplicate "be" ([#​4133](https://togithub.com/mermaid-js/mermaid/issues/4133)) [@​Julez404](https://togithub.com/Julez404) <!----> - docs(flowchart): duplicated hexagon node example by [@​Oliboy50](https://togithub.com/Oliboy50) - add links to NiceGUI integration by [@​rodja](https://togithub.com/rodja) - Adding app (Deepdwn) to integrations list by [@​Billiam](https://togithub.com/Billiam) #### Chores - chore: [email protected] ([#​4147](https://togithub.com/mermaid-js/mermaid/issues/4147)) [@​sidharthv96](https://togithub.com/sidharthv96) - Replace `moment-mini`/`moment` date library with `dayjs` ([#​4153](https://togithub.com/mermaid-js/mermaid/issues/4153)) [@​aloisklink](https://togithub.com/aloisklink) 🎉 **Thanks to all contributors helping with this release!** 🎉 #### New Contributors - [@​Oliboy50](https://togithub.com/Oliboy50) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4105](https://togithub.com/mermaid-js/mermaid/pull/4105) - [@​rodja](https://togithub.com/rodja) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4107](https://togithub.com/mermaid-js/mermaid/pull/4107) - [@​Julez404](https://togithub.com/Julez404) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4133](https://togithub.com/mermaid-js/mermaid/pull/4133) - [@​l2fprod](https://togithub.com/l2fprod) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4074](https://togithub.com/mermaid-js/mermaid/pull/4074) - [@​kshitijsaksena](https://togithub.com/kshitijsaksena) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4128](https://togithub.com/mermaid-js/mermaid/pull/4128) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.0.0...v10.0.1 ### [`v10.0.0`](https://togithub.com/mermaid-js/mermaid/blob/HEAD/CHANGELOG.md#​1000-httpsgithubcommermaid-jsmermaidreleasestagv1000) [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v9.4.3...v10.0.0) ##### Mermaid is ESM only! We've dropped CJS support. So, you will have to update your import scripts as follows. ```html <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. ```diff - <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> ``` ##### mermaid.render is async and doesn't accept callbacks ```js // < v10 mermaid.render('id', 'graph TD;\nA-->B', (svg, bindFunctions) => { element.innerHTML = svg; if (bindFunctions) { bindFunctions(element); } }); // Shorter syntax if (bindFunctions) { bindFunctions(element); } // can be replaced with the `?.` shorthand bindFunctions?.(element); // >= v10 with async/await const { svg, bindFunctions } = await mermaid.render('id', 'graph TD;\nA-->B'); element.innerHTML = svg; bindFunctions?.(element); // >= v10 with promise.then mermaid.render('id', 'graph TD;A-->B').then(({ svg, bindFunctions }) => { element.innerHTML = svg; bindFunctions?.(element); }); ``` ##### mermaid.parse is async and ParseError is removed ```js // < v10 mermaid.parse(text, parseError); //>= v10 await mermaid.parse(text).catch(parseError); // or try { await mermaid.parse(text); } catch (err) { parseError(err); } ``` ##### Init deprecated and InitThrowsErrors removed The config passed to `init` was not being used eariler. It will now be used. The `init` function is deprecated and will be removed in the next major release. init currently works as a wrapper to `initialize` and `run`. ```js // < v10 mermaid.init(config, selector, cb); //>= v10 mermaid.initialize(config); mermaid.run({ querySelector: selector, postRenderCallback: cb, suppressErrors: true, }); ``` ```js // < v10 mermaid.initThrowsErrors(config, selector, cb); //>= v10 mermaid.initialize(config); mermaid.run({ querySelector: selector, postRenderCallback: cb, suppressErrors: false, }); ``` // TODO: Populate changelog pre v10 - Config has a lot of changes - globalReset resets to `defaultConfig` instead of current config. Use `reset` instead. ### [`v9.4.3`](https://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.3) [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v9.4.2...v9.4.3) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v9.4.2...v9.4.3 Fixes imports for dayjs and cytoscape. ### [`v9.4.2`](https://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.2) [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v9.4.0...v9.4.2) #### What's Changed - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4044](https://togithub.com/mermaid-js/mermaid/pull/4044) - chore(deps): update dependency [@​types/uuid](https://togithub.com/types/uuid) to v9 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4067](https://togithub.com/mermaid-js/mermaid/pull/4067) - build(lint:fix): cache eslint in pnpm run lint:fix by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4073](https://togithub.com/mermaid-js/mermaid/pull/4073) - chore(deps): update dependency rimraf to v4 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4070](https://togithub.com/mermaid-js/mermaid/pull/4070) - chore(deps): update dependency jsdom to v21 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4069](https://togithub.com/mermaid-js/mermaid/pull/4069) - chore(deps): update timonvs/pr-labeler-action action to v4 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4072](https://togithub.com/mermaid-js/mermaid/pull/4072) - chore(deps): update actions/configure-pages action to v3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4065](https://togithub.com/mermaid-js/mermaid/pull/4065) - chore(deps): update actions/dependency-review-action action to v3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4066](https://togithub.com/mermaid-js/mermaid/pull/4066) - docs: minor fix on markdown by [@​Jeff-Tian](https://togithub.com/Jeff-Tian) in [https://github.com/mermaid-js/mermaid/pull/4015](https://togithub.com/mermaid-js/mermaid/pull/4015) - Add logo to readme by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4076](https://togithub.com/mermaid-js/mermaid/pull/4076) - Release 9.4.1 by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4095](https://togithub.com/mermaid-js/mermaid/pull/4095) - chore(deps): update dependency vite to v4 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4071](https://togithub.com/mermaid-js/mermaid/pull/4071) - chore(deps): update dependency cypress to v12 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4068](https://togithub.com/mermaid-js/mermaid/pull/4068) - fix(api): tree shaking package.json import by [@​AielloChan](https://togithub.com/AielloChan) in [https://github.com/mermaid-js/mermaid/pull/4101](https://togithub.com/mermaid-js/mermaid/pull/4101) #### New Contributors - [@​Jeff-Tian](https://togithub.com/Jeff-Tian) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4015](https://togithub.com/mermaid-js/mermaid/pull/4015) - [@​AielloChan](https://togithub.com/AielloChan) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4101](https://togithub.com/mermaid-js/mermaid/pull/4101) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v9.4.0...v9.4.2 ### [`v9.4.0`](https://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.0) [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v9.3.0...v9.4.0) #### What's Changed ##### Features - Timeline Diagram by [@​ashishjain0512](https://togithub.com/ashishjain0512) in [https://github.com/mermaid-js/mermaid/pull/4014](https://togithub.com/mermaid-js/mermaid/pull/4014) - feat: Flowchart layout using elkjs by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3984](https://togithub.com/mermaid-js/mermaid/pull/3984) - Layout v3 continued by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3938](https://togithub.com/mermaid-js/mermaid/pull/3938) - feat(er): add unique key by [@​tomperr](https://togithub.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/3917](https://togithub.com/mermaid-js/mermaid/pull/3917) - feat: Set svg role to 'graphics-document document' by [@​weedySeaDragon](https://togithub.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3897](https://togithub.com/mermaid-js/mermaid/pull/3897) - feat: Wait for rendering to finish before taking image snapshots by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3995](https://togithub.com/mermaid-js/mermaid/pull/3995) - feat(er): add multiple key constraints by [@​tomperr](https://togithub.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/4030](https://togithub.com/mermaid-js/mermaid/pull/4030) - Add support for YAML frontmatter in Markdown docs (used for Vitepress config) by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3962](https://togithub.com/mermaid-js/mermaid/pull/3962) - feat(er): allow leading underscore for attributes name by [@​tomperr](https://togithub.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/4033](https://togithub.com/mermaid-js/mermaid/pull/4033) - Add links to theme listing by [@​BD103](https://togithub.com/BD103) in [https://github.com/mermaid-js/mermaid/pull/3890](https://togithub.com/mermaid-js/mermaid/pull/3890) - Adding support for parenthesis in the er diagram attribute types. by [@​mahomedalid](https://togithub.com/mahomedalid) in [https://github.com/mermaid-js/mermaid/pull/3892](https://togithub.com/mermaid-js/mermaid/pull/3892) - Support parsing indented mermaid/YAML only from HTML by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3859](https://togithub.com/mermaid-js/mermaid/pull/3859) - Parse style string and number font size values from configuration inputs by [@​jonabc](https://togithub.com/jonabc) in [https://github.com/mermaid-js/mermaid/pull/3993](https://togithub.com/mermaid-js/mermaid/pull/3993) - Mindmaps: differentiate the colors between the root node and the first section [#​4017](https://togithub.com/mermaid-js/mermaid/issues/4017) by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4018](https://togithub.com/mermaid-js/mermaid/pull/4018) - Add Box support in Sequence Diagrams by [@​oleveau](https://togithub.com/oleveau) in [https://github.com/mermaid-js/mermaid/pull/3965](https://togithub.com/mermaid-js/mermaid/pull/3965) ##### Breaking changes - Mind map and timeline diagrams are lazy loaded by mermaid. In order to use these diagrams you need to use the renderAsync method of rendering. The [@​mermaid-js/mermaid-mindmap](https://togithub.com/mermaid-js/mermaid-mindmap) package is deprecated by this. ##### Documentation - doc: remove links from atom.io; add note Atom has been archived by [@​weedySeaDragon](https://togithub.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3899](https://togithub.com/mermaid-js/mermaid/pull/3899) - docs(README.zh-CN): fix book image src by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3920](https://togithub.com/mermaid-js/mermaid/pull/3920) - docs: fix typo by [@​Foo-x](https://togithub.com/Foo-x) in [https://github.com/mermaid-js/mermaid/pull/3925](https://togithub.com/mermaid-js/mermaid/pull/3925) - docs: update navbar by [@​huynhicode](https://togithub.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3906](https://togithub.com/mermaid-js/mermaid/pull/3906) - docs: fix text overflow by [@​huynhicode](https://togithub.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3907](https://togithub.com/mermaid-js/mermaid/pull/3907) - docs: Remove duplicate example in ER-diagram documentation by [@​guilhermgonzaga](https://togithub.com/guilhermgonzaga) in [https://github.com/mermaid-js/mermaid/pull/3964](https://togithub.com/mermaid-js/mermaid/pull/3964) - Docs: Too many `primaryBorderColor` field by [@​LiHowe](https://togithub.com/LiHowe) in [https://github.com/mermaid-js/mermaid/pull/3986](https://togithub.com/mermaid-js/mermaid/pull/3986) - docs(sequenceDiagram): subvert prettification of arrow types by [@​cakemanny](https://togithub.com/cakemanny) in [https://github.com/mermaid-js/mermaid/pull/3988](https://togithub.com/mermaid-js/mermaid/pull/3988) - Add Swimm to the list of integrations by [@​Omerr](https://togithub.com/Omerr) in [https://github.com/mermaid-js/mermaid/pull/3936](https://togithub.com/mermaid-js/mermaid/pull/3936) - Website/homepage updates by [@​huynhicode](https://togithub.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3945](https://togithub.com/mermaid-js/mermaid/pull/3945) - Update sequenceDiagram.md to include line break by [@​Odogwudozilla](https://togithub.com/Odogwudozilla) in [https://github.com/mermaid-js/mermaid/pull/3960](https://togithub.com/mermaid-js/mermaid/pull/3960) - Support GitHub Flavored Markdown in markdown documentation by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3954](https://togithub.com/mermaid-js/mermaid/pull/3954) - Update integrations.md by [@​Barry1](https://togithub.com/Barry1) in [https://github.com/mermaid-js/mermaid/pull/4011](https://togithub.com/mermaid-js/mermaid/pull/4011) - docs(readme): update broken twitter badge by [@​LeoDog896](https://togithub.com/LeoDog896) in [https://github.com/mermaid-js/mermaid/pull/4032](https://togithub.com/mermaid-js/mermaid/pull/4032) - Update mindmap.md by [@​GavinPen](https://togithub.com/GavinPen) in [https://github.com/mermaid-js/mermaid/pull/4042](https://togithub.com/mermaid-js/mermaid/pull/4042) - Showcase section to the docs - keepings docs up to date by [@​Omerr](https://togithub.com/Omerr) in [https://github.com/mermaid-js/mermaid/pull/4055](https://togithub.com/mermaid-js/mermaid/pull/4055) ##### Bug Fixes - fix(docs): remove duplicate section by [@​Joxtacy](https://togithub.com/Joxtacy) in [https://github.com/mermaid-js/mermaid/pull/3908](https://togithub.com/mermaid-js/mermaid/pull/3908) - fix: Typescript error in usage by [@​tommoor](https://togithub.com/tommoor) in [https://github.com/mermaid-js/mermaid/pull/3914](https://togithub.com/mermaid-js/mermaid/pull/3914) - fix: dev server watch mode by [@​huynhicode](https://togithub.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3904](https://togithub.com/mermaid-js/mermaid/pull/3904) - fix(er): switch to deterministic UUIDs in ER by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3916](https://togithub.com/mermaid-js/mermaid/pull/3916) - fixed Composition arrow by [@​Frank-Mayer](https://togithub.com/Frank-Mayer) in [https://github.com/mermaid-js/mermaid/pull/3930](https://togithub.com/mermaid-js/mermaid/pull/3930) - fix(generic): fix generic type detection by [@​tomperr](https://togithub.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/3921](https://togithub.com/mermaid-js/mermaid/pull/3921) - fix typos accessing techn property in drawC4Shape function by [@​nekikara](https://togithub.com/nekikara) in [https://github.com/mermaid-js/mermaid/pull/3943](https://togithub.com/mermaid-js/mermaid/pull/3943) - fix(deps): update dependency dompurify to v2.4.3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3977](https://togithub.com/mermaid-js/mermaid/pull/3977) - Fix nonstandard syntax by [@​atmikeguo](https://togithub.com/atmikeguo) in [https://github.com/mermaid-js/mermaid/pull/3972](https://togithub.com/mermaid-js/mermaid/pull/3972) - Fix failing tests due to semantic merge conflict by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3985](https://togithub.com/mermaid-js/mermaid/pull/3985) - fix(deps): update dependency dagre-d3-es to v7.0.6 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3996](https://togithub.com/mermaid-js/mermaid/pull/3996) - fix([#​4003](https://togithub.com/mermaid-js/mermaid/issues/4003)): Remove unhandled promises by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4004](https://togithub.com/mermaid-js/mermaid/pull/4004) - Bug/3858 \[state] trailing whitespace in ids for named state container by [@​weedySeaDragon](https://togithub.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3902](https://togithub.com/mermaid-js/mermaid/pull/3902) - fix: moment-mini default exporter by [@​emersonbottero](https://togithub.com/emersonbottero) in [https://github.com/mermaid-js/mermaid/pull/4034](https://togithub.com/mermaid-js/mermaid/pull/4034) - fix(deps): update dependency dagre-d3-es to v7.0.8 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4058](https://togithub.com/mermaid-js/mermaid/pull/4058) - bugfix: add missing d3 curves to flowchart and docs by [@​natasha-jarus](https://togithub.com/natasha-jarus) in [https://github.com/mermaid-js/mermaid/pull/4038](https://togithub.com/mermaid-js/mermaid/pull/4038) - Bug/3865 C4Context: $borderColor has no effect by [@​nekikara](https://togithub.com/nekikara) in [https://github.com/mermaid-js/mermaid/pull/3947](https://togithub.com/mermaid-js/mermaid/pull/3947) - Mindmaps: Handling rows with only spaces in them ([#​4012](https://togithub.com/mermaid-js/mermaid/issues/4012)) by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4013](https://togithub.com/mermaid-js/mermaid/pull/4013) ##### Chores - ci: disable checking twitter links by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3973](https://togithub.com/mermaid-js/mermaid/pull/3973) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3905](https://togithub.com/mermaid-js/mermaid/pull/3905) - chore(deps): update pnpm to v7.18.2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3929](https://togithub.com/mermaid-js/mermaid/pull/3929) - chore(pr): add documentation task in PR template by [@​tomperr](https://togithub.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/3935](https://togithub.com/mermaid-js/mermaid/pull/3935) - (chore) Docs: add tag to produce only a diagram, not code example by [@​weedySeaDragon](https://togithub.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3946](https://togithub.com/mermaid-js/mermaid/pull/3946) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3944](https://togithub.com/mermaid-js/mermaid/pull/3944) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3997](https://togithub.com/mermaid-js/mermaid/pull/3997) - chore(deps): update pnpm to v7.25.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4024](https://togithub.com/mermaid-js/mermaid/pull/4024) - build(lint): cache prettier on `pnpm run lint` by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4035](https://togithub.com/mermaid-js/mermaid/pull/4035) - Cache `eslint` in pre-commit script (makes `git commit` 5x faster) by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4057](https://togithub.com/mermaid-js/mermaid/pull/4057) #### New Contributors - [@​Joxtacy](https://togithub.com/Joxtacy) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3908](https://togithub.com/mermaid-js/mermaid/pull/3908) - [@​BD103](https://togithub.com/BD103) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3890](https://togithub.com/mermaid-js/mermaid/pull/3890) - [@​mahomedalid](https://togithub.com/mahomedalid) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3892](https://togithub.com/mermaid-js/mermaid/pull/3892) - [@​tomperr](https://togithub.com/tomperr) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3917](https://togithub.com/mermaid-js/mermaid/pull/3917) - [@​Foo-x](https://togithub.com/Foo-x) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3925](https://togithub.com/mermaid-js/mermaid/pull/3925) - [@​Frank-Mayer](https://togithub.com/Frank-Mayer) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3930](https://togithub.com/mermaid-js/mermaid/pull/3930) - [@​Omerr](https://togithub.com/Omerr) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3936](https://togithub.com/mermaid-js/mermaid/pull/3936) - [@​nekikara](https://togithub.com/nekikara) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3943](https://togithub.com/mermaid-js/mermaid/pull/3943) - [@​guilhermgonzaga](https://togithub.com/guilhermgonzaga) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3964](https://togithub.com/mermaid-js/mermaid/pull/3964) - [@​Odogwudozilla](https://togithub.com/Odogwudozilla) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3960](https://togithub.com/mermaid-js/mermaid/pull/3960) - [@​atmikeguo](https://togithub.com/atmikeguo) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3972](https://togithub.com/mermaid-js/mermaid/pull/3972) - [@​LiHowe](https://togithub.com/LiHowe) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3986](https://togithub.com/mermaid-js/mermaid/pull/3986) - [@​cakemanny](https://togithub.com/cakemanny) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3988](https://togithub.com/mermaid-js/mermaid/pull/3988) - [@​jonabc](https://togithub.com/jonabc) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3993](https://togithub.com/mermaid-js/mermaid/pull/3993) - [@​MermaidChart](https://togithub.com/MermaidChart) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4013](https://togithub.com/mermaid-js/mermaid/pull/4013) - [@​Barry1](https://togithub.com/Barry1) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4011](https://togithub.com/mermaid-js/mermaid/pull/4011) - [@​LeoDog896](https://togithub.com/LeoDog896) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4032](https://togithub.com/mermaid-js/mermaid/pull/4032) - [@​GavinPen](https://togithub.com/GavinPen) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4042](https://togithub.com/mermaid-js/mermaid/pull/4042) - [@​oleveau](https://togithub.com/oleveau) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3965](https://togithub.com/mermaid-js/mermaid/pull/3965) - [@​natasha-jarus](https://togithub.com/natasha-jarus) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4038](https://togithub.com/mermaid-js/mermaid/pull/4038) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v9.3.0...v9.4.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/BirthdayResearch/contented). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/babel__core](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__core) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`7.20.0` -> `7.20.1`](https://renovatebot.com/diffs/npm/@types%2fbabel__core/7.20.0/7.20.1) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fbabel__core/7.20.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fbabel__core/7.20.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fbabel__core/7.20.1/compatibility-slim/7.20.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fbabel__core/7.20.1/confidence-slim/7.20.0)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.11.18` -> `18.16.17`](https://renovatebot.com/diffs/npm/@types%2fnode/18.11.18/18.16.17) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.17/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.17/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.17/compatibility-slim/18.11.18)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fnode/18.16.17/confidence-slim/18.11.18)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.0.28` -> `18.2.11`](https://renovatebot.com/diffs/npm/@types%2freact/18.0.28/18.2.11) | [![age](https://badges.renovateapi.com/packages/npm/@types%2freact/18.2.11/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact/18.2.11/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2freact/18.2.11/compatibility-slim/18.0.28)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact/18.2.11/confidence-slim/18.0.28)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react-dom](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.0.11` -> `18.2.4`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.0.11/18.2.4) | [![age](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/18.2.4/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/18.2.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/18.2.4/compatibility-slim/18.0.11)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2freact-dom/18.2.4/confidence-slim/18.0.11)](https://docs.renovatebot.com/merge-confidence/) | | [@types/uuid](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`9.0.1` -> `9.0.2`](https://renovatebot.com/diffs/npm/@types%2fuuid/9.0.1/9.0.2) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.2/compatibility-slim/9.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fuuid/9.0.2/confidence-slim/9.0.1)](https://docs.renovatebot.com/merge-confidence/) | | [autoprefixer](https://togithub.com/postcss/autoprefixer) | [`10.4.13` -> `10.4.14`](https://renovatebot.com/diffs/npm/autoprefixer/10.4.13/10.4.14) | [![age](https://badges.renovateapi.com/packages/npm/autoprefixer/10.4.14/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/autoprefixer/10.4.14/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/autoprefixer/10.4.14/compatibility-slim/10.4.13)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/autoprefixer/10.4.14/confidence-slim/10.4.13)](https://docs.renovatebot.com/merge-confidence/) | | [cytoscape](http://js.cytoscape.org) ([source](https://togithub.com/cytoscape/cytoscape.js)) | [`3.23.0` -> `3.25.0`](https://renovatebot.com/diffs/npm/cytoscape/3.23.0/3.25.0) | [![age](https://badges.renovateapi.com/packages/npm/cytoscape/3.25.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/cytoscape/3.25.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/cytoscape/3.25.0/compatibility-slim/3.23.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/cytoscape/3.25.0/confidence-slim/3.23.0)](https://docs.renovatebot.com/merge-confidence/) | | [jotai](https://togithub.com/pmndrs/jotai) | [`2.0.1` -> `2.1.1`](https://renovatebot.com/diffs/npm/jotai/2.0.1/2.1.1) | [![age](https://badges.renovateapi.com/packages/npm/jotai/2.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/jotai/2.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/jotai/2.1.1/compatibility-slim/2.0.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/jotai/2.1.1/confidence-slim/2.0.1)](https://docs.renovatebot.com/merge-confidence/) | | [katex](https://katex.org) ([source](https://togithub.com/KaTeX/KaTeX)) | [`0.16.4` -> `0.16.7`](https://renovatebot.com/diffs/npm/katex/0.16.4/0.16.7) | [![age](https://badges.renovateapi.com/packages/npm/katex/0.16.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/katex/0.16.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/katex/0.16.7/compatibility-slim/0.16.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/katex/0.16.7/confidence-slim/0.16.4)](https://docs.renovatebot.com/merge-confidence/) | | [mermaid](https://togithub.com/mermaid-js/mermaid) | [`10.0.2` -> `10.2.3`](https://renovatebot.com/diffs/npm/mermaid/10.0.2/10.2.3) | [![age](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/compatibility-slim/10.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/confidence-slim/10.0.2)](https://docs.renovatebot.com/merge-confidence/) | | [next](https://nextjs.org) ([source](https://togithub.com/vercel/next.js)) | [`13.2.4` -> `13.4.5`](https://renovatebot.com/diffs/npm/next/13.2.4/13.4.5) | [![age](https://badges.renovateapi.com/packages/npm/next/13.4.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/next/13.4.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/next/13.4.5/compatibility-slim/13.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/next/13.4.5/confidence-slim/13.2.4)](https://docs.renovatebot.com/merge-confidence/) | | [pnpm](https://pnpm.io) ([source](https://togithub.com/pnpm/pnpm)) | [`8.5.1` -> `8.6.1`](https://renovatebot.com/diffs/npm/pnpm/8.5.1/8.6.1) | [![age](https://badges.renovateapi.com/packages/npm/pnpm/8.6.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/pnpm/8.6.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/pnpm/8.6.1/compatibility-slim/8.5.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/pnpm/8.6.1/confidence-slim/8.5.1)](https://docs.renovatebot.com/merge-confidence/) | | [postcss](https://postcss.org/) ([source](https://togithub.com/postcss/postcss)) | [`8.4.21` -> `8.4.24`](https://renovatebot.com/diffs/npm/postcss/8.4.21/8.4.24) | [![age](https://badges.renovateapi.com/packages/npm/postcss/8.4.24/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/postcss/8.4.24/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/postcss/8.4.24/compatibility-slim/8.4.21)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/postcss/8.4.24/confidence-slim/8.4.21)](https://docs.renovatebot.com/merge-confidence/) | | [reactflow](https://togithub.com/wbkd/react-flow) | [`11.6.1` -> `11.7.2`](https://renovatebot.com/diffs/npm/reactflow/11.6.1/11.7.2) | [![age](https://badges.renovateapi.com/packages/npm/reactflow/11.7.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/reactflow/11.7.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/reactflow/11.7.2/compatibility-slim/11.6.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/reactflow/11.7.2/confidence-slim/11.6.1)](https://docs.renovatebot.com/merge-confidence/) | | [rome](https://rome.tools) ([source](https://togithub.com/rome/tools)) | [`12.0.0` -> `12.1.3`](https://renovatebot.com/diffs/npm/rome/12.0.0/12.1.3) | [![age](https://badges.renovateapi.com/packages/npm/rome/12.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/rome/12.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/rome/12.1.3/compatibility-slim/12.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/rome/12.1.3/confidence-slim/12.0.0)](https://docs.renovatebot.com/merge-confidence/) | | [tailwindcss](https://tailwindcss.com) ([source](https://togithub.com/tailwindlabs/tailwindcss)) | [`3.2.4` -> `3.3.2`](https://renovatebot.com/diffs/npm/tailwindcss/3.2.4/3.3.2) | [![age](https://badges.renovateapi.com/packages/npm/tailwindcss/3.3.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/tailwindcss/3.3.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/tailwindcss/3.3.2/compatibility-slim/3.2.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/tailwindcss/3.3.2/confidence-slim/3.2.4)](https://docs.renovatebot.com/merge-confidence/) | | [ts-pattern](https://togithub.com/gvergnaud/ts-pattern) | [`4.1.4` -> `4.3.0`](https://renovatebot.com/diffs/npm/ts-pattern/4.1.4/4.3.0) | [![age](https://badges.renovateapi.com/packages/npm/ts-pattern/4.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/ts-pattern/4.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/ts-pattern/4.3.0/compatibility-slim/4.1.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/ts-pattern/4.3.0/confidence-slim/4.1.4)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.0.2` -> `5.1.3`](https://renovatebot.com/diffs/npm/typescript/5.0.2/5.1.3) | [![age](https://badges.renovateapi.com/packages/npm/typescript/5.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/typescript/5.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/typescript/5.1.3/compatibility-slim/5.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/typescript/5.1.3/confidence-slim/5.0.2)](https://docs.renovatebot.com/merge-confidence/) | | [wanakana](http://www.wanakana.com) ([source](https://togithub.com/WaniKani/WanaKana)) | [`5.0.2` -> `5.1.0`](https://renovatebot.com/diffs/npm/wanakana/5.0.2/5.1.0) | [![age](https://badges.renovateapi.com/packages/npm/wanakana/5.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/wanakana/5.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/wanakana/5.1.0/compatibility-slim/5.0.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/wanakana/5.1.0/confidence-slim/5.0.2)](https://docs.renovatebot.com/merge-confidence/) | | [org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom](https://togithub.com/JetBrains/kotlin-wrappers) | `1.0.0-pre.554` -> `1.0.0-pre.565` | [![age](https://badges.renovateapi.com/packages/maven/org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom/1.0.0-pre.565/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom/1.0.0-pre.565/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom/1.0.0-pre.565/compatibility-slim/1.0.0-pre.554)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom/1.0.0-pre.565/confidence-slim/1.0.0-pre.554)](https://docs.renovatebot.com/merge-confidence/) | | org.jmailen.kotlinter | `3.14.0` -> `3.15.0` | [![age](https://badges.renovateapi.com/packages/maven/org.jmailen.kotlinter/3.15.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.jmailen.kotlinter/3.15.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.jmailen.kotlinter/3.15.0/compatibility-slim/3.14.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.jmailen.kotlinter/3.15.0/confidence-slim/3.14.0)](https://docs.renovatebot.com/merge-confidence/) | | org.jetbrains.kotlin.plugin.serialization | `1.8.21` -> `1.8.22` | [![age](https://badges.renovateapi.com/packages/maven/org.jetbrains.kotlin.plugin.serialization/1.8.22/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.jetbrains.kotlin.plugin.serialization/1.8.22/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.jetbrains.kotlin.plugin.serialization/1.8.22/compatibility-slim/1.8.21)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.jetbrains.kotlin.plugin.serialization/1.8.22/confidence-slim/1.8.21)](https://docs.renovatebot.com/merge-confidence/) | | org.jetbrains.kotlin.multiplatform | `1.8.21` -> `1.8.22` | [![age](https://badges.renovateapi.com/packages/maven/org.jetbrains.kotlin.multiplatform/1.8.22/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.jetbrains.kotlin.multiplatform/1.8.22/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.jetbrains.kotlin.multiplatform/1.8.22/compatibility-slim/1.8.21)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.jetbrains.kotlin.multiplatform/1.8.22/confidence-slim/1.8.21)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>postcss/autoprefixer</summary> ### [`v10.4.14`](https://togithub.com/postcss/autoprefixer/blob/HEAD/CHANGELOG.md#​10414) [Compare Source](https://togithub.com/postcss/autoprefixer/compare/10.4.13...10.4.14) - Improved startup time and reduced JS bundle size (by Kārlis Gaņģis). </details> <details> <summary>cytoscape/cytoscape.js</summary> ### [`v3.25.0`](https://togithub.com/cytoscape/cytoscape.js/compare/v3.24.1...v3.25.0) [Compare Source](https://togithub.com/cytoscape/cytoscape.js/compare/v3.24.1...v3.25.0) ### [`v3.24.1`](https://togithub.com/cytoscape/cytoscape.js/compare/v3.24.0...v3.24.1) [Compare Source](https://togithub.com/cytoscape/cytoscape.js/compare/v3.24.0...v3.24.1) ### [`v3.24.0`](https://togithub.com/cytoscape/cytoscape.js/compare/v3.23.1...v3.24.0) [Compare Source](https://togithub.com/cytoscape/cytoscape.js/compare/v3.23.1...v3.24.0) ### [`v3.23.1`](https://togithub.com/cytoscape/cytoscape.js/compare/v3.23.0...v3.23.1) [Compare Source](https://togithub.com/cytoscape/cytoscape.js/compare/v3.23.0...v3.23.1) </details> <details> <summary>pmndrs/jotai</summary> ### [`v2.1.1`](https://togithub.com/pmndrs/jotai/releases/tag/v2.1.1) [Compare Source](https://togithub.com/pmndrs/jotai/compare/v2.1.0...v2.1.1) This version fixes some issues in edge cases. #### What's Changed - fix(vanilla): Stable promise by [@​backbone87](https://togithub.com/backbone87) in [https://github.com/pmndrs/jotai/pull/1933](https://togithub.com/pmndrs/jotai/pull/1933) - fix(vanilla): update atoms with tree structure dependencies (regression from v1) by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/jotai/pull/1959](https://togithub.com/pmndrs/jotai/pull/1959) - fix: prefer PromiseLike where appropriate by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/jotai/pull/1967](https://togithub.com/pmndrs/jotai/pull/1967) #### New Contributors - [@​blissdev](https://togithub.com/blissdev) made their first contribution in [https://github.com/pmndrs/jotai/pull/1945](https://togithub.com/pmndrs/jotai/pull/1945) - [@​hwanyoungChoi](https://togithub.com/hwanyoungChoi) made their first contribution in [https://github.com/pmndrs/jotai/pull/1957](https://togithub.com/pmndrs/jotai/pull/1957) - [@​alexhad6](https://togithub.com/alexhad6) made their first contribution in [https://github.com/pmndrs/jotai/pull/1971](https://togithub.com/pmndrs/jotai/pull/1971) - [@​backbone87](https://togithub.com/backbone87) made their first contribution in [https://github.com/pmndrs/jotai/pull/1933](https://togithub.com/pmndrs/jotai/pull/1933) **Full Changelog**: https://github.com/pmndrs/jotai/compare/v2.1.0...v2.1.1 ### [`v2.1.0`](https://togithub.com/pmndrs/jotai/releases/tag/v2.1.0) [Compare Source](https://togithub.com/pmndrs/jotai/compare/v2.0.4...v2.1.0) This includes some improvements as well as some breaking changes in unstable features. #### What's Changed - fix(vanilla): better promise handling by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/jotai/pull/1851](https://togithub.com/pmndrs/jotai/pull/1851) - fix(atomWithStorage): handle RESET/removeItem from cross-tab storage updates by [@​nderscore](https://togithub.com/nderscore) in [https://github.com/pmndrs/jotai/pull/1882](https://togithub.com/pmndrs/jotai/pull/1882) - breaking(vanilla): remove deprecated store dev methods by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/jotai/pull/1893](https://togithub.com/pmndrs/jotai/pull/1893) - fix(react): Infer useHydrateAtoms value types from atom.read ReturnType by [@​ericdowell](https://togithub.com/ericdowell) in [https://github.com/pmndrs/jotai/pull/1898](https://togithub.com/pmndrs/jotai/pull/1898) - chore(tests): migrate to vitest by [@​arjunvegda](https://togithub.com/arjunvegda) in [https://github.com/pmndrs/jotai/pull/1839](https://togithub.com/pmndrs/jotai/pull/1839) #### New Contributors - [@​lloydrichards](https://togithub.com/lloydrichards) made their first contribution in [https://github.com/pmndrs/jotai/pull/1865](https://togithub.com/pmndrs/jotai/pull/1865) - [@​todorone](https://togithub.com/todorone) made their first contribution in [https://github.com/pmndrs/jotai/pull/1878](https://togithub.com/pmndrs/jotai/pull/1878) - [@​eikonomega](https://togithub.com/eikonomega) made their first contribution in [https://github.com/pmndrs/jotai/pull/1885](https://togithub.com/pmndrs/jotai/pull/1885) - [@​milhamm](https://togithub.com/milhamm) made their first contribution in [https://github.com/pmndrs/jotai/pull/1903](https://togithub.com/pmndrs/jotai/pull/1903) - [@​RIP21](https://togithub.com/RIP21) made their first contribution in [https://github.com/pmndrs/jotai/pull/1907](https://togithub.com/pmndrs/jotai/pull/1907) - [@​ericdowell](https://togithub.com/ericdowell) made their first contribution in [https://github.com/pmndrs/jotai/pull/1898](https://togithub.com/pmndrs/jotai/pull/1898) **Full Changelog**: https://github.com/pmndrs/jotai/compare/v2.0.4...v2.1.0 ### [`v2.0.4`](https://togithub.com/pmndrs/jotai/releases/tag/v2.0.4) [Compare Source](https://togithub.com/pmndrs/jotai/compare/v2.0.3...v2.0.4) This includes some small improvements. One of them is to improve Deno compatibility. #### What's Changed - fix(atomWithStorage, createJSONStorage): scope subscriptions to specified browser storage by [@​nderscore](https://togithub.com/nderscore) in [https://github.com/pmndrs/jotai/pull/1814](https://togithub.com/pmndrs/jotai/pull/1814) - fix(babel): improve debug label support for third-party jotai libraries by [@​arjunvegda](https://togithub.com/arjunvegda) in [https://github.com/pmndrs/jotai/pull/1818](https://togithub.com/pmndrs/jotai/pull/1818) - fix(react): atom type inference in hooks by [@​Thisen](https://togithub.com/Thisen) in [https://github.com/pmndrs/jotai/pull/1866](https://togithub.com/pmndrs/jotai/pull/1866) - chore: add extentsion in imports by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/jotai/pull/1823](https://togithub.com/pmndrs/jotai/pull/1823) #### New Contributors - [@​Etesam913](https://togithub.com/Etesam913) made their first contribution in [https://github.com/pmndrs/jotai/pull/1810](https://togithub.com/pmndrs/jotai/pull/1810) - [@​haywirez](https://togithub.com/haywirez) made their first contribution in [https://github.com/pmndrs/jotai/pull/1828](https://togithub.com/pmndrs/jotai/pull/1828) - [@​amirhhashemi](https://togithub.com/amirhhashemi) made their first contribution in [https://github.com/pmndrs/jotai/pull/1830](https://togithub.com/pmndrs/jotai/pull/1830) - [@​Fonger](https://togithub.com/Fonger) made their first contribution in [https://github.com/pmndrs/jotai/pull/1835](https://togithub.com/pmndrs/jotai/pull/1835) - [@​satyamgupta1495](https://togithub.com/satyamgupta1495) made their first contribution in [https://github.com/pmndrs/jotai/pull/1825](https://togithub.com/pmndrs/jotai/pull/1825) - [@​FoundTheWOUT](https://togithub.com/FoundTheWOUT) made their first contribution in [https://github.com/pmndrs/jotai/pull/1846](https://togithub.com/pmndrs/jotai/pull/1846) - [@​nderscore](https://togithub.com/nderscore) made their first contribution in [https://github.com/pmndrs/jotai/pull/1814](https://togithub.com/pmndrs/jotai/pull/1814) - [@​manakuro](https://togithub.com/manakuro) made their first contribution in [https://github.com/pmndrs/jotai/pull/1860](https://togithub.com/pmndrs/jotai/pull/1860) **Full Changelog**: https://github.com/pmndrs/jotai/compare/v2.0.3...v2.0.4 ### [`v2.0.3`](https://togithub.com/pmndrs/jotai/releases/tag/v2.0.3) [Compare Source](https://togithub.com/pmndrs/jotai/compare/v2.0.2...v2.0.3) This release includes important features for upcoming devtools. #### What's Changed - feat: add 'debugPrivate' flag to atom by [@​arjunvegda](https://togithub.com/arjunvegda) in [https://github.com/pmndrs/jotai/pull/1779](https://togithub.com/pmndrs/jotai/pull/1779) - fix(build): possibly improve ESM for production build by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/jotai/pull/1780](https://togithub.com/pmndrs/jotai/pull/1780) - feat: add dev_subscribe_store by [@​arjunvegda](https://togithub.com/arjunvegda) in [https://github.com/pmndrs/jotai/pull/1790](https://togithub.com/pmndrs/jotai/pull/1790) - fix(utils, types): added export of Loadable type by [@​arjunvegda](https://togithub.com/arjunvegda) in [https://github.com/pmndrs/jotai/pull/1806](https://togithub.com/pmndrs/jotai/pull/1806) #### New Contributors - [@​Himself65](https://togithub.com/Himself65) made their first contribution in [https://github.com/pmndrs/jotai/pull/1789](https://togithub.com/pmndrs/jotai/pull/1789) - [@​wenq1](https://togithub.com/wenq1) made their first contribution in [https://github.com/pmndrs/jotai/pull/1805](https://togithub.com/pmndrs/jotai/pull/1805) **Full Changelog**: https://github.com/pmndrs/jotai/compare/v2.0.2...v2.0.3 ### [`v2.0.2`](https://togithub.com/pmndrs/jotai/releases/tag/v2.0.2) [Compare Source](https://togithub.com/pmndrs/jotai/compare/v2.0.1...v2.0.2) This version add some small improvements, mostly for some minor cases. #### What's Changed - fix(vanilla): async derived atom not updated (race condition in an edge case) by [@​gimelfarb](https://togithub.com/gimelfarb) in [https://github.com/pmndrs/jotai/pull/1768](https://togithub.com/pmndrs/jotai/pull/1768) - fix(utils): tweak atomWithDefault types for better DX by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/jotai/pull/1770](https://togithub.com/pmndrs/jotai/pull/1770) - fix(build): UMD names by [@​dai-shi](https://togithub.com/dai-shi) in [https://github.com/pmndrs/jotai/pull/1772](https://togithub.com/pmndrs/jotai/pull/1772) #### New Contributors - [@​arjunvegda](https://togithub.com/arjunvegda) made their first contribution in [https://github.com/pmndrs/jotai/pull/1773](https://togithub.com/pmndrs/jotai/pull/1773) - [@​gimelfarb](https://togithub.com/gimelfarb) made their first contribution in [https://github.com/pmndrs/jotai/pull/1768](https://togithub.com/pmndrs/jotai/pull/1768) **Full Changelog**: https://github.com/pmndrs/jotai/compare/v2.0.1...v2.0.2 </details> <details> <summary>KaTeX/KaTeX</summary> ### [`v0.16.7`](https://togithub.com/KaTeX/KaTeX/blob/HEAD/CHANGELOG.md#​0167-httpsgithubcomKaTeXKaTeXcomparev0166v0167-2023-04-28) [Compare Source](https://togithub.com/KaTeX/KaTeX/compare/v0.16.6...v0.16.7) ##### Bug Fixes - **docs/support_table.md:** delete redundant "varPsi" ([#​3814](https://togithub.com/KaTeX/KaTeX/issues/3814)) ([33a1b98](https://togithub.com/KaTeX/KaTeX/commit/33a1b98710c880d2d4a67aa0048f027a94b85702)) ### [`v0.16.6`](https://togithub.com/KaTeX/KaTeX/blob/HEAD/CHANGELOG.md#​0166-httpsgithubcomKaTeXKaTeXcomparev0165v0166-2023-04-17) [Compare Source](https://togithub.com/KaTeX/KaTeX/compare/v0.16.5...v0.16.6) ##### Bug Fixes - Support `\let` via `macros` option ([#​3738](https://togithub.com/KaTeX/KaTeX/issues/3738)) ([bdb0be2](https://togithub.com/KaTeX/KaTeX/commit/bdb0be201794d22adaee05438b07a2830efea9da)), closes [#​3737](https://togithub.com/KaTeX/KaTeX/issues/3737) [#​3737](https://togithub.com/KaTeX/KaTeX/issues/3737) ### [`v0.16.5`](https://togithub.com/KaTeX/KaTeX/blob/HEAD/CHANGELOG.md#​0165-httpsgithubcomKaTeXKaTeXcomparev0164v0165-2023-04-17) [Compare Source](https://togithub.com/KaTeX/KaTeX/compare/v0.16.4...v0.16.5) ##### Features - \__defineFunction API exposing internal defineFunction ([#​3805](https://togithub.com/KaTeX/KaTeX/issues/3805)) ([c7b1f84](https://togithub.com/KaTeX/KaTeX/commit/c7b1f84b7801a29dffdfa3db0ff35de289db80c0)), closes [#​3756](https://togithub.com/KaTeX/KaTeX/issues/3756) </details> <details> <summary>mermaid-js/mermaid</summary> ### [`v10.2.3`](https://togithub.com/mermaid-js/mermaid/releases/tag/v10.2.3): 10.2.3 [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v10.2.2...v10.2.3) ### Release Notes - Fix [#​4408](https://togithub.com/mermaid-js/mermaid/issues/4408): Handle wrapping long words ([#​4416](https://togithub.com/mermaid-js/mermaid/issues/4416)) [@​MikeJeffers](https://togithub.com/MikeJeffers) - Fix exceptions for empty lines ([#​4436](https://togithub.com/mermaid-js/mermaid/issues/4436)) [@​luin](https://togithub.com/luin) - Restore classes on edges for elk ([#​4452](https://togithub.com/mermaid-js/mermaid/issues/4452)) [@​yoavst](https://togithub.com/yoavst) - Update docs: Added Nextra to Blogs category on integrations page ([#​4463](https://togithub.com/mermaid-js/mermaid/issues/4463)) [@​try-to-fly](https://togithub.com/try-to-fly) 🎉 **Thanks to all contributors helping with this release!** 🎉 #### What's Changed - Address mermaid-zenuml PR comments by [@​dontry](https://togithub.com/dontry) in [https://github.com/mermaid-js/mermaid/pull/4405](https://togithub.com/mermaid-js/mermaid/pull/4405) - Fix broken `pnpm-lock.yaml` file to fix CI by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4425](https://togithub.com/mermaid-js/mermaid/pull/4425) - Quadrant chart unicode arrows by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4400](https://togithub.com/mermaid-js/mermaid/pull/4400) - chore(deps): update all patch dependencies (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4434](https://togithub.com/mermaid-js/mermaid/pull/4434) - Add CKEditor and GitHub Writer to available integrations by [@​AnnaTomanek](https://togithub.com/AnnaTomanek) in [https://github.com/mermaid-js/mermaid/pull/4440](https://togithub.com/mermaid-js/mermaid/pull/4440) - Update diagram proposal by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4448](https://togithub.com/mermaid-js/mermaid/pull/4448) - Add `@mermaid-js/mermaid-zenuml` package for zenuml Integration by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4334](https://togithub.com/mermaid-js/mermaid/pull/4334) - Restore classes on edges for elk by [@​yoavst](https://togithub.com/yoavst) in [https://github.com/mermaid-js/mermaid/pull/4452](https://togithub.com/mermaid-js/mermaid/pull/4452) - Fix exceptions for empty lines by [@​luin](https://togithub.com/luin) in [https://github.com/mermaid-js/mermaid/pull/4436](https://togithub.com/mermaid-js/mermaid/pull/4436) - Update docs: Added Nextra to Blogs category on integrations page by [@​try-to-fly](https://togithub.com/try-to-fly) in [https://github.com/mermaid-js/mermaid/pull/4463](https://togithub.com/mermaid-js/mermaid/pull/4463) - Fix [#​4408](https://togithub.com/mermaid-js/mermaid/issues/4408): Handle wrapping long words by [@​MikeJeffers](https://togithub.com/MikeJeffers) in [https://github.com/mermaid-js/mermaid/pull/4416](https://togithub.com/mermaid-js/mermaid/pull/4416) #### New Contributors - [@​AnnaTomanek](https://togithub.com/AnnaTomanek) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4440](https://togithub.com/mermaid-js/mermaid/pull/4440) - [@​yoavst](https://togithub.com/yoavst) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4452](https://togithub.com/mermaid-js/mermaid/pull/4452) - [@​try-to-fly](https://togithub.com/try-to-fly) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4463](https://togithub.com/mermaid-js/mermaid/pull/4463) - [@​MikeJeffers](https://togithub.com/MikeJeffers) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4416](https://togithub.com/mermaid-js/mermaid/pull/4416) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.2.2...v10.2.3 ### [`v10.2.2`](https://togithub.com/mermaid-js/mermaid/releases/tag/v10.2.2): 10.2.2 [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v10.2.1...v10.2.2) #### What's Changed - [#​4446](https://togithub.com/mermaid-js/mermaid/issues/4446) Removing the ability to inject css using arrowMarkers by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4447](https://togithub.com/mermaid-js/mermaid/pull/4447) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.2.1...v10.2.2 ### [`v10.2.1`](https://togithub.com/mermaid-js/mermaid/releases/tag/v10.2.1): 10.2.1 [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v10.2.0...v10.2.1) #### What's Changed #### Bugfixes - [#​4438](https://togithub.com/mermaid-js/mermaid/issues/4438) Reverted to the changes from [#​4285](https://togithub.com/mermaid-js/mermaid/issues/4285) by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4445](https://togithub.com/mermaid-js/mermaid/pull/4445) - Merge PR [#​4425](https://togithub.com/mermaid-js/mermaid/issues/4425) to `master` to fix uploading v10.2.0 docs to `mermaid.js.org` website by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4426](https://togithub.com/mermaid-js/mermaid/pull/4426) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.2.0...v10.2.1 ### [`v10.2.0`](https://togithub.com/mermaid-js/mermaid/releases/tag/v10.2.0): 10.2.0 [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v10.1.0...v10.2.0) #### What's Changed #### Features - Added support for quadrant chart by [@​amsubhash](https://togithub.com/amsubhash) in [https://github.com/mermaid-js/mermaid/pull/4383](https://togithub.com/mermaid-js/mermaid/pull/4383) - Bar chart (using gantt chart) by [@​karistom](https://togithub.com/karistom) in [https://github.com/mermaid-js/mermaid/pull/4261](https://togithub.com/mermaid-js/mermaid/pull/4261) - Support node16 module resolution by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mermaid-js/mermaid/pull/4213](https://togithub.com/mermaid-js/mermaid/pull/4213) - Add UMD build Back by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4281](https://togithub.com/mermaid-js/mermaid/pull/4281) #### Bugfixes - Fix [#​4195](https://togithub.com/mermaid-js/mermaid/issues/4195) start and end arrow have different sizes by [@​legonigel](https://togithub.com/legonigel) in [https://github.com/mermaid-js/mermaid/pull/4286](https://togithub.com/mermaid-js/mermaid/pull/4286) - fix: really import esm version of dayjs by [@​emersonbottero](https://togithub.com/emersonbottero) in [https://github.com/mermaid-js/mermaid/pull/4285](https://togithub.com/mermaid-js/mermaid/pull/4285) - fix: image rendering in nodes by [@​Valentine14th](https://togithub.com/Valentine14th) in [https://github.com/mermaid-js/mermaid/pull/4268](https://togithub.com/mermaid-js/mermaid/pull/4268) - Fix and test a bunch of invalid CSS issues by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4295](https://togithub.com/mermaid-js/mermaid/pull/4295) - Fix git graph css bracket leak by [@​lishid](https://togithub.com/lishid) in [https://github.com/mermaid-js/mermaid/pull/4278](https://togithub.com/mermaid-js/mermaid/pull/4278) - pie diagram mermaid module import fix by [@​agentraghav](https://togithub.com/agentraghav) in [https://github.com/mermaid-js/mermaid/pull/4316](https://togithub.com/mermaid-js/mermaid/pull/4316) - fix applitools by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4335](https://togithub.com/mermaid-js/mermaid/pull/4335) - Multiple updates to class diagram by [@​jgreywolf](https://togithub.com/jgreywolf) in [https://github.com/mermaid-js/mermaid/pull/4303](https://togithub.com/mermaid-js/mermaid/pull/4303) - fix ClassGrammar by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4338](https://togithub.com/mermaid-js/mermaid/pull/4338) - updating es6 rules in flowchart diagram by [@​agentraghav](https://togithub.com/agentraghav) in [https://github.com/mermaid-js/mermaid/pull/4357](https://togithub.com/mermaid-js/mermaid/pull/4357) - Reject ridiculous years in Gantt charts. by [@​toolness](https://togithub.com/toolness) in [https://github.com/mermaid-js/mermaid/pull/4367](https://togithub.com/mermaid-js/mermaid/pull/4367) - Fix regression errors in sequenceDiagrams by [@​knsv](https://togithub.com/knsv) - Refactor to consolidate shared svgDraw components by [@​jgreywolf](https://togithub.com/jgreywolf) in [https://github.com/mermaid-js/mermaid/pull/4259](https://togithub.com/mermaid-js/mermaid/pull/4259) - Implement `package` on class diagram by [@​ksilverwall](https://togithub.com/ksilverwall) in [https://github.com/mermaid-js/mermaid/pull/4206](https://togithub.com/mermaid-js/mermaid/pull/4206) - add master detail relationship support by [@​tcbuzor](https://togithub.com/tcbuzor) in [https://github.com/mermaid-js/mermaid/pull/4361](https://togithub.com/mermaid-js/mermaid/pull/4361) - test: fix classDiagramGrammer unit test by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4378](https://togithub.com/mermaid-js/mermaid/pull/4378) - Allow overlapping notes by [@​jgreywolf](https://togithub.com/jgreywolf) in [https://github.com/mermaid-js/mermaid/pull/4370](https://togithub.com/mermaid-js/mermaid/pull/4370) - remove SimpleMarkdown by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4350](https://togithub.com/mermaid-js/mermaid/pull/4350) - Show all contributors in homepage by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4356](https://togithub.com/mermaid-js/mermaid/pull/4356) ### Documentation - Update index.md by [@​onayiga](https://togithub.com/onayiga) in [https://github.com/mermaid-js/mermaid/pull/4294](https://togithub.com/mermaid-js/mermaid/pull/4294) - Add Slab to the list of integrations by [@​luin](https://togithub.com/luin) in [https://github.com/mermaid-js/mermaid/pull/4272](https://togithub.com/mermaid-js/mermaid/pull/4272) - docs(integrations): list quarto by [@​eitsupi](https://togithub.com/eitsupi) in [https://github.com/mermaid-js/mermaid/pull/4299](https://togithub.com/mermaid-js/mermaid/pull/4299) - Updating documentation on notes for classes within class diagrams by [@​Will-Low](https://togithub.com/Will-Low) in [https://github.com/mermaid-js/mermaid/pull/4296](https://togithub.com/mermaid-js/mermaid/pull/4296) - Add integrations by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mermaid-js/mermaid/pull/4374](https://togithub.com/mermaid-js/mermaid/pull/4374) - Docs: Flowchart - minor verbiage update by [@​huynhicode](https://togithub.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/4315](https://togithub.com/mermaid-js/mermaid/pull/4315) - Latest News section: update content by [@​huynhicode](https://togithub.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/4366](https://togithub.com/mermaid-js/mermaid/pull/4366) - Improve the wording of security level values by [@​Gusted](https://togithub.com/Gusted) in [https://github.com/mermaid-js/mermaid/pull/4395](https://togithub.com/mermaid-js/mermaid/pull/4395) - Indent subgraph sections by [@​danielcompton](https://togithub.com/danielcompton) in [https://github.com/mermaid-js/mermaid/pull/4349](https://togithub.com/mermaid-js/mermaid/pull/4349) - fix(doc): Link to Obsidian doc/integration by [@​dix](https://togithub.com/dix) in [https://github.com/mermaid-js/mermaid/pull/4309](https://togithub.com/mermaid-js/mermaid/pull/4309) #### Chores - Update bug_report.yml by [@​bish0polis](https://togithub.com/bish0polis) in [https://github.com/mermaid-js/mermaid/pull/4297](https://togithub.com/mermaid-js/mermaid/pull/4297) - docs(flowchart): wrap br tag by codeblock by [@​Bogay](https://togithub.com/Bogay) in [https://github.com/mermaid-js/mermaid/pull/4310](https://togithub.com/mermaid-js/mermaid/pull/4310) - chore(deps): update pnpm to v7.30.5 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4304](https://togithub.com/mermaid-js/mermaid/pull/4304) - chore(deps): update dependency concurrently to v8 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4323](https://togithub.com/mermaid-js/mermaid/pull/4323) - fix(deps): update dependency dompurify to v3 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4331](https://togithub.com/mermaid-js/mermaid/pull/4331) - chore(deps): update dependency eslint-plugin-jsdoc to v43 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4324](https://togithub.com/mermaid-js/mermaid/pull/4324) - chore(deps): update actions/deploy-pages action to v2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4322](https://togithub.com/mermaid-js/mermaid/pull/4322) - chore(deps): update dependency rimraf to v5 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4326](https://togithub.com/mermaid-js/mermaid/pull/4326) - chore(deps): update dependency eslint-plugin-unicorn to v46 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4325](https://togithub.com/mermaid-js/mermaid/pull/4325) - chore(deps): update dependency start-server-and-test to v2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4327](https://togithub.com/mermaid-js/mermaid/pull/4327) - chore(deps): update pnpm to v8 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4330](https://togithub.com/mermaid-js/mermaid/pull/4330) - chore(deps): update fregante/setup-git-user action to v2 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4329](https://togithub.com/mermaid-js/mermaid/pull/4329) - fix(deps): update all minor dependencies (minor) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4321](https://togithub.com/mermaid-js/mermaid/pull/4321) - chore(deps): update dependency typescript to v5 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4328](https://togithub.com/mermaid-js/mermaid/pull/4328) - Clarify FontAwesome support by [@​josh-bouganim-avant](https://togithub.com/josh-bouganim-avant) in [https://github.com/mermaid-js/mermaid/pull/4347](https://togithub.com/mermaid-js/mermaid/pull/4347) - Fix missing `await` in usage document by [@​rhysd](https://togithub.com/rhysd) in [https://github.com/mermaid-js/mermaid/pull/4376](https://togithub.com/mermaid-js/mermaid/pull/4376) - chore(deps): update all patch dependencies (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4379](https://togithub.com/mermaid-js/mermaid/pull/4379) - chore(deps): update all minor dependencies (minor) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4380](https://togithub.com/mermaid-js/mermaid/pull/4380) 🎉 **Thanks to all contributors helping with this release!** 🎉 #### New Contributors - [@​karistom](https://togithub.com/karistom) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4261](https://togithub.com/mermaid-js/mermaid/pull/4261) - [@​Valentine14th](https://togithub.com/Valentine14th) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4268](https://togithub.com/mermaid-js/mermaid/pull/4268) - [@​onayiga](https://togithub.com/onayiga) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4294](https://togithub.com/mermaid-js/mermaid/pull/4294) - [@​legonigel](https://togithub.com/legonigel) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4286](https://togithub.com/mermaid-js/mermaid/pull/4286) - [@​luin](https://togithub.com/luin) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4272](https://togithub.com/mermaid-js/mermaid/pull/4272) - [@​eitsupi](https://togithub.com/eitsupi) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4299](https://togithub.com/mermaid-js/mermaid/pull/4299) - [@​dix](https://togithub.com/dix) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4309](https://togithub.com/mermaid-js/mermaid/pull/4309) - [@​Bogay](https://togithub.com/Bogay) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4310](https://togithub.com/mermaid-js/mermaid/pull/4310) - [@​agentraghav](https://togithub.com/agentraghav) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4316](https://togithub.com/mermaid-js/mermaid/pull/4316) - [@​Will-Low](https://togithub.com/Will-Low) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4296](https://togithub.com/mermaid-js/mermaid/pull/4296) - [@​josh-bouganim-avant](https://togithub.com/josh-bouganim-avant) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4347](https://togithub.com/mermaid-js/mermaid/pull/4347) - [@​toolness](https://togithub.com/toolness) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4367](https://togithub.com/mermaid-js/mermaid/pull/4367) - [@​ksilverwall](https://togithub.com/ksilverwall) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4206](https://togithub.com/mermaid-js/mermaid/pull/4206) - [@​tcbuzor](https://togithub.com/tcbuzor) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4361](https://togithub.com/mermaid-js/mermaid/pull/4361) - [@​rhysd](https://togithub.com/rhysd) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4376](https://togithub.com/mermaid-js/mermaid/pull/4376) - [@​Gusted](https://togithub.com/Gusted) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4395](https://togithub.com/mermaid-js/mermaid/pull/4395) - [@​danielcompton](https://togithub.com/danielcompton) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4349](https://togithub.com/mermaid-js/mermaid/pull/4349) - [@​amsubhash](https://togithub.com/amsubhash) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4383](https://togithub.com/mermaid-js/mermaid/pull/4383) *** **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.1.0...v10.2.0 Thanks to [Mermaid Chart](https://www.mermaidchart.com) for ongoing support ### [`v10.1.0`](https://togithub.com/mermaid-js/mermaid/releases/tag/v10.1.0): 10.1.0 [Compare Source](https://togithub.com/mermaid-js/mermaid/compare/v10.0.2...v10.1.0) #### What's Changed ### Features - Markdown strings for simple formatting and automatic wrapping of text by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4271](https://togithub.com/mermaid-js/mermaid/pull/4271) [Read more ...](https://www.mermaidchart.com/blog/posts/automatic-text-wrapping-in-flowcharts-is-here) - Implement repeating tasks by [@​JeremyFunk](https://togithub.com/JeremyFunk) in [https://github.com/mermaid-js/mermaid/pull/4238](https://togithub.com/mermaid-js/mermaid/pull/4238) ### Bugfixes - Pie: Adding outer border, text position options by [@​Billiam](https://togithub.com/Billiam) in [https://github.com/mermaid-js/mermaid/pull/4145](https://togithub.com/mermaid-js/mermaid/pull/4145) - Fix: add require entry in package.json by [@​lauraceconi](https://togithub.com/lauraceconi) in [https://github.com/mermaid-js/mermaid/pull/4164](https://togithub.com/mermaid-js/mermaid/pull/4164) - feat: expose the diagram api by [@​ted-marozzi](https://togithub.com/ted-marozzi) in [https://github.com/mermaid-js/mermaid/pull/4174](https://togithub.com/mermaid-js/mermaid/pull/4174) - Expose detectType function by [@​Pr0dt0s](https://togithub.com/Pr0dt0s) in [https://github.com/mermaid-js/mermaid/pull/4187](https://togithub.com/mermaid-js/mermaid/pull/4187) - Remove duplication in "A hexagon node" by [@​andrew-clarkson](https://togithub.com/andrew-clarkson) in [https://github.com/mermaid-js/mermaid/pull/4211](https://togithub.com/mermaid-js/mermaid/pull/4211) - Updated render to remove comments from text by [@​kshitijsaksena](https://togithub.com/kshitijsaksena) in [https://github.com/mermaid-js/mermaid/pull/4247](https://togithub.com/mermaid-js/mermaid/pull/4247) - Define and export the Mermaid type by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mermaid-js/mermaid/pull/4253](https://togithub.com/mermaid-js/mermaid/pull/4253) - fix([#​4137](https://togithub.com/mermaid-js/mermaid/issues/4137)): Cleanup comments before parsing by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4257](https://togithub.com/mermaid-js/mermaid/pull/4257) - fix([#​4256](https://togithub.com/mermaid-js/mermaid/issues/4256)): Keep error diagram on screen by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4258](https://togithub.com/mermaid-js/mermaid/pull/4258) - Fix broken Gantt `todayMarker` tests by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4207](https://togithub.com/mermaid-js/mermaid/pull/4207) - Docs: add Latest News section by [@​huynhicode](https://togithub.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/4254](https://togithub.com/mermaid-js/mermaid/pull/4254) - Release/10.1.0 by [@​knsv](https://togithub.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4276](https://togithub.com/mermaid-js/mermaid/pull/4276) ### Documentation - Update integrations.md to include Mermaid Flow Visual Editor by [@​ted-marozzi](https://togithub.com/ted-marozzi) in [https://github.com/mermaid-js/mermaid/pull/4184](https://togithub.com/mermaid-js/mermaid/pull/4184) - docs: make contributing to docs a bit clearer by [@​ted-marozzi](https://togithub.com/ted-marozzi) in [https://github.com/mermaid-js/mermaid/pull/4186](https://togithub.com/mermaid-js/mermaid/pull/4186) - Clean up list of ignored links by [@​mre](https://togithub.com/mre) in [https://github.com/mermaid-js/mermaid/pull/4197](https://togithub.com/mermaid-js/mermaid/pull/4197) - v smol fixes while reading thru docs by [@​andrew-clarkson](https://togithub.com/andrew-clarkson) in [https://github.com/mermaid-js/mermaid/pull/4210](https://togithub.com/mermaid-js/mermaid/pull/4210) - Updated DokuWiki plugin for Mermaid integration by [@​RobertWeinmeister](https://togithub.com/RobertWeinmeister) in [https://github.com/mermaid-js/mermaid/pull/4209](https://togithub.com/mermaid-js/mermaid/pull/4209) - typo fix by [@​Whoeza](https://togithub.com/Whoeza) in [https://github.com/mermaid-js/mermaid/pull/4221](https://togithub.com/mermaid-js/mermaid/pull/4221) - Updates to the Homepage by [@​huynhicode](https://togithub.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/4226](https://togithub.com/mermaid-js/mermaid/pull/4226) - Fix typos in timeline docs by [@​xuanxu](https://togithub.com/xuanxu) in [https://github.com/mermaid-js/mermaid/pull/4237](https://togithub.com/mermaid-js/mermaid/pull/4237) - docs: Remove repeated phrase by [@​vorburger](https://togithub.com/vorburger) in [https://github.com/mermaid-js/mermaid/pull/4230](https://togithub.com/mermaid-js/mermaid/pull/4230) - Fix hexagon node flowchart code example in docs by [@​piradata](https://togithub.com/piradata) in [https://github.com/mermaid-js/mermaid/pull/4246](https://togithub.com/mermaid-js/mermaid/pull/4246) ### Chores - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4191](https://togithub.com/mermaid-js/mermaid/pull/4191) - CI(e2e): Skip caching in `actions/setup-node`, as `cypress-io/github-action` already caches for us by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4194](https://togithub.com/mermaid-js/mermaid/pull/4194) - fix(deps): update all non-major dependencies (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4190](https://togithub.com/mermaid-js/mermaid/pull/4190) - fix([#​1066](https://togithub.com/mermaid-js/mermaid/issues/1066)): Return true if parse is success. by [@​sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4183](https://togithub.com/mermaid-js/mermaid/pull/4183) - fix(squence): getBBox() returns zero by [@​ischanx](https://togithub.com/ischanx) in [https://github.com/mermaid-js/mermaid/pull/4181](https://togithub.com/mermaid-js/mermaid/pull/4181) - fix(deps): update all non-major dependencies (patch) by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4218](https://togithub.com/mermaid-js/mermaid/pull/4218) - chore(deps): update node.js to v18.15.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4219](https://togithub.com/mermaid-js/mermaid/pull/4219) - Update [@​types/lodash-es](https://togithub.com/types/lodash-es) by [@​remcohaszing](https://togithub.com/remcohaszing) in [https://github.com/mermaid-js/mermaid/pull/4228](https://togithub.com/mermaid-js/mermaid/pull/4228) - chore(deps): update pnpm to v7.30.0 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4232](https://togithub.com/mermaid-js/mermaid/pull/4232) - chore(deps): update pnpm to v7.30.1 by [@​renovate](https://togithub.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4231](https://togithub.com/mermaid-js/mermaid/pull/4231) - Remove inline-specifiers pnpm option from `.npmrc` file to avoid merge conflicts by [@​aloisklink](https://togithub.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4249](https://togithub.com/mermaid-js/mermaid/pull/4249) #### New Contributors - [@​ted-marozzi](https://togithub.com/ted-marozzi) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4184](https://togithub.com/mermaid-js/mermaid/pull/4184) - [@​lauraceconi](https://togithub.com/lauraceconi) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4164](https://togithub.com/mermaid-js/mermaid/pull/4164) - [@​Pr0dt0s](https://togithub.com/Pr0dt0s) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4187](https://togithub.com/mermaid-js/mermaid/pull/4187) - [@​ischanx](https://togithub.com/ischanx) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4181](https://togithub.com/mermaid-js/mermaid/pull/4181) - [@​mre](https://togithub.com/mre) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4197](https://togithub.com/mermaid-js/mermaid/pull/4197) - [@​andrew-clarkson](https://togithub.com/andrew-clarkson) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4211](https://togithub.com/mermaid-js/mermaid/pull/4211) - [@​RobertWeinmeister](https://togithub.com/RobertWeinmeister) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4209](https://togithub.com/mermaid-js/mermaid/pull/4209) - [@​Whoeza](https://togithub.com/Whoeza) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4221](https://togithub.com/mermaid-js/mer </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 1pm and before 5pm on Friday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/turtton/volglass). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --- * chore(deps): update dependencies (minor/patch) * chore: update yarn.lock * chore: update pnpm-lock.yaml --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: turtton <[email protected]>
📑 Summary
Adds ZenUML as an external mermaid diagram using
@mermaid-js/mermaid-zenuml
.Resolves #3983, resolves #3435
📏 Design Decisions
ZenUML is released from mermaid repo now.
📋 Tasks
Make sure you
develop
branch