diff --git a/CHANGELOG.md b/CHANGELOG.md index 67672f2d0..ecd70d732 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,24 @@ ## [10.0.0](https://github.com/mermaid-js/mermaid/releases/tag/v10.0.0) + +### Mermaid is ESM only! + +We've dropped CJS support. So, you will have to update your import scripts as follows. + +```html + +``` + +You can keep using v9 by adding the `@9` in the CDN URL. +```diff +- ++ +``` + ### mermaid.render is async and doesn't accept callbacks ```js