Skip to content

v10.0.0

Compare
Choose a tag to compare
@knsv knsv released this 21 Feb 10:59
· 4950 commits to develop since this release
555d4f2

What's Changed

Please refer the v10 changes section in CHANGELOG.md to see detailed migration steps.

Mermaid is ESM only!

We've dropped CJS support. So, you will have to update your import scripts as follows.

<script type="module">
  import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
  mermaid.initialize({ startOnLoad: true });
</script>

You can keep using v9 by adding the @9 in the CDN URL.

- <script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.js"></script>
+ <script src="https://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.js"></script>

Breaking changes in v10

Features

Docs

Chores

  • chore(deps): update all non-major dependencies (minor) by @renovate in #4044
  • chore(deps): update dependency @types/uuid to v9 by @renovate in #4067
  • build(lint:fix): cache eslint in pnpm run lint:fix by @aloisklink in #4073
  • chore(deps): update dependency rimraf to v4 by @renovate in #4070
  • chore(deps): update dependency jsdom to v21 by @renovate in #4069
  • chore(deps): update timonvs/pr-labeler-action action to v4 by @renovate in #4072
  • chore(deps): update actions/configure-pages action to v3 by @renovate in #4065
  • chore(deps): update actions/dependency-review-action action to v3 by @renovate in #4066
  • chore(deps): update dependency vite to v4 by @renovate in #4071
  • chore(deps): update dependency cypress to v12 by @renovate in #4068

New Contributors

Full Changelog: v9.4.0...v10.0.0