mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown

MIT License

Downloads
4M
Stars
66.7K
Committers
642

Bot releases are visible (Hide)

mermaid - v10.0.0

Published by knsv over 1 year ago

What's Changed

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

Mermaid is ESM only!

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

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

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

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

Breaking changes in v10

  • Switch to ESM only for v10? by @sidharthv96 #3590
  • Break type of mermaid.render in v10 by @sidharthv96 #3577
  • Improve init function and how selector and nodes are passed by @sidharthv96 #3394
  • mermaid.init is not using the config that's passed by @sidharthv96 #3406
  • Configurable HTML class for initialisation by @sidharthv96 #3055

Features

Docs

Chores

New Contributors

Full Changelog: https://github.com/mermaid-js/mermaid/compare/v9.4.0...v10.0.0

mermaid - v9.4.0

Published by pbrolin47 over 1 year ago

What's Changed

Features

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 package is deprecated by this.

Documentation

Bug Fixes

Chores

New Contributors

Full Changelog: https://github.com/mermaid-js/mermaid/compare/v9.3.0...v9.4.0

mermaid - v9.3.0

Published by github-actions[bot] almost 2 years ago

Significant Changes

  • 25% Smaller
  • New docs
  • Replaces the deprecated and vulnerable dagre-d3 with dagre-es

Release Notes

  • #3778 Adding a hexgon shape (#3834) @knsv
  • #3831 Re-enabling themes for er diagrams (#3837) @knsv
  • #3882 fix for issues with mindmaps with only a single node (#3833) @knsv
  • (chore) remove console stmt in pieDetector (#3840) @weedySeaDragon
  • (feat) state classDef documentation (#3841) @weedySeaDragon
  • 3882 edge labels (#3883) @knsv
  • Add GHA that will check links + Fix broken links (#3765) @spier
  • Add official vim plugin to list in integrations (#3847) @craigmac
  • Add package visualizations (#3823) @sidharthv96
  • Add support for @include in docs (#3863) @sidharthv96
  • CI: disable pinning dependencies (#3735) @aloisklink
  • Defects/issue 3878 (#3880) @MrCoder
  • Feat: Add aria-describedby, aria-roledescription (#3808) @weedySeaDragon
  • Fix #3799: Remove type from package.json (#3802) @sidharthv96
  • Fix for #3835, makes it possible to style path elements (#3836) @knsv
  • Fix typos (#3820) @endolith
  • Housekeeping with eslint-unicorn (#3845) @sidharthv96
  • Integrations added - Visual Studio Code [Polyglot Interactive Notebooks] (#3821) @dfinke
  • Mindmap integration docs (#3810) @sidharthv96
  • Reduce mermaid size by 31% (#3825) @sidharthv96
  • Remove extra arrow and adjust cross position (#3641) @ishuen
  • Replace dagre/dagre-d3 with dagre-d3-es (#3809) @aloisklink
  • Revert "Added pie" (#3842) @pbrolin47
  • Switch CDN to unpkg.com (#3777) @sidharthv96
  • Switch back to jsdelivr (#3873) @sidharthv96
  • Use github-dark to highlight fence blocks in vitepress docs (#3807) @aloisklink
  • Use current mermaid version in docs. (#3846) @sidharthv96
  • Use stylis to prepend idSelector (#3829) @DanInProgress
  • bug: State diagram fix classes type (#3798) @weedySeaDragon
  • bug: change shiki getHighlighter import (#3804) @weedySeaDragon
  • chore(deps): remove dependency on graphlib (#3861) @aloisklink
  • chore(deps): update all non-major dependencies (minor) (#3905) @renovate
  • chore(deps): update all non-major dependencies (minor) (#3791) @renovate
  • chore(deps): update lycheeverse/lychee-action action to v1.5.4 (#3827) @renovate
  • chore(deps): update pnpm to v7.17.0 (#3828) @renovate
  • chore(deps): update pnpm to v7.17.1 (#3862) @renovate
  • chore(docs): Auto build docs (#3547) @sidharthv96
  • chore: Housekeeping (#3783) @sidharthv96
  • chore: Merge master to develop (#3780) @sidharthv96
  • chore: clean up code in mermaidAPI render() and write specs/tests (#3684) @weedySeaDragon
  • chore: delete functions not used in diagrams/c4 code (dead code) (#3871) @weedySeaDragon
  • comments in states are skipped now (#3762) @avijit1258
  • doc: remove links from atom.io; add note Atom has been archived (#3899) @weedySeaDragon
  • docs: refactor Theming doc (#3889) @huynhicode
  • feat: Redirect old documentation links. (#3797) @sidharthv96
  • feat: Title support via front matter for ER, state, class, git, and graph diagrams (#3706) @MasonM
  • fix(deps): update all non-major dependencies (patch) (#3790) @renovate
  • fix(deps): update dependency rollup to v3 (#3674) @renovate
  • fix: LintStaged (#3844) @sidharthv96

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

What's Changed

New Contributors

Full Changelog: https://github.com/mermaid-js/mermaid/compare/v9.2.2...v9.3.0

mermaid - 9.2.2

Published by pbrolin47 almost 2 years ago

What's Changed

Full Changelog: https://github.com/mermaid-js/mermaid/compare/v9.2.1...v9.2.2

mermaid - 9.2.1

Published by github-actions[bot] almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/mermaid-js/mermaid/compare/v9.2.0...v9.2.1

mermaid - 9.2.0

Published by ashishjain0512 almost 2 years ago

What's Changed

Features

Fixes

Chores

Docs

New Contributors

Full Changelog: https://github.com/mermaid-js/mermaid/compare/v9.1.7...v9.2.0

mermaid - 9.1.7

Published by github-actions[bot] about 2 years ago

Release Notes

Features & Bug Fixes

  • 3238 gitgraph merge commits (#3379) @ashishjain0512
  • feat(git): allow custom merge commit ids (#3361) @aloisklink
  • 3056 chrome compatibility (#3380) @ashishjain0512
  • Fix gitGraph findLane function error (#3383) @hughli-git
  • Fix error handling in Mermaid bootstrap(#3395) @knsv
  • Load configured diagrams even when initialized has not been called (#3428) @knsv

Dependencies Updates

  • chore(deps-dev): bump webpack-dev-server from 4.10.0 to 4.10.1 (#3387) @dependabot
  • chore(deps-dev): bump terser-webpack-plugin from 5.3.4 to 5.3.5 (#3343) @dependabot
  • chore(deps-dev): bump terser-webpack-plugin from 5.3.5 to 5.3.6 (#3389) @dependabot
  • chore(deps-dev): bump @commitlint/cli from 17.0.3 to 17.1.1 (#3376) @dependabot
  • chore(deps-dev): bump @commitlint/cli from 17.1.1 to 17.1.2 (#3390) @dependabot

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

mermaid - 9.1.6

Published by github-actions[bot] about 2 years ago

Release Notes

Bug fixes

  • #3308 Allowing br tags in tooltips (#3331) @knsv
  • Fix for GitGraphs not working for Mermaid Live Editor (#3330) @ashishjain0512
  • code syntax improvment (initialize func) (#3277) @alguerocode

Docs

  • docs: Remove 404 links (#3328) @jayvdb

Chores

  • Remove two ~HEAD docs (#3327) @jayvdb
  • chore(deps-dev): bump eslint from 8.21.0 to 8.22.0 (#3320) @dependabot
  • chore(deps-dev): bump eslint-plugin-jest from 26.8.0 to 26.8.2 (#3319) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 39.3.4 to 39.3.6 (#3322) @dependabot
  • chore(deps-dev): bump terser-webpack-plugin from 5.3.3 to 5.3.4 (#3318) @dependabot
  • chore(deps-dev): bump webpack-dev-server from 4.9.3 to 4.10.0 (#3321) @dependabot

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

mermaid - 9.1.5

Published by github-actions[bot] about 2 years ago

Release Notes

Bugfixes

  • Fix for unintended update to structure of thrown error from init (#3314) @knsv
  • fix(Diagram): fix persisted data due to db not being cleared before parsing (#3310) @hrgui

Documentation updates

  • Update year to 2022 in license file (#3293) @simonplattner
  • add Jetsbrain/Pycharm to the list (#3294) @namgivu

Dependency updates

  • chore(deps): bump parse-url from 6.0.0 to 6.0.5 (#3300) @dependabot
  • chore(deps-dev): bump eslint-plugin-jest from 26.7.0 to 26.8.0 (#3299) @dependabot

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

mermaid - 9.1.4

Published by github-actions[bot] about 2 years ago

Release Notes

Updates

  • fix: add font-awesome css to docsify index.html (#3271) @heyfirst
  • fix: remove right padding when a label contains HTML entities (#3222) @leon19
  • fix: rotate class id when branch more than 8 (#3150) @faisalarbain
  • chore: refactoring and modularisation (#3210) @knsv
  • Fix #3011: Support left- and right-alignment for multi-line messages and notes (#3194) @hype09
  • chore: Using diagram api to add gitGraph (#3240) @knsv
  • fix #3184: Inject xlink in mermaidAPI. (#3185) @sidharthv96

documentation

  • Example of spaces in stateDiagram (#3272) @Olshansk
  • Fix broken links (#3268) @zaaath
  • Fix references to docs from readme (#3278) @andrew-demb
  • Fix typo (#3249) @jolting

Dependency updates

  • chore(deps): bump dompurify from 2.3.8 to 2.3.10 (#3255) @dependabot
  • chore(deps): bump terser from 5.10.0 to 5.14.2 (#3244) @dependabot
  • chore(deps-dev): bump @applitools/eyes-cypress from 3.26.3 to 3.26.4 (#3219) @dependabot
  • chore(deps-dev): bump @applitools/eyes-cypress from 3.26.6 to 3.27.1 (#3281) @dependabot
  • chore(deps-dev): bump @babel/core from 7.18.5 to 7.18.6 (#3201) @dependabot
  • chore(deps-dev): bump @babel/core from 7.18.6 to 7.18.10 (#3280) @dependabot
  • chore(deps-dev): bump @babel/eslint-parser from 7.18.2 to 7.18.9 (#3282) @dependabot
  • chore(deps-dev): bump @babel/preset-env from 7.18.2 to 7.18.6 (#3197) @dependabot
  • chore(deps-dev): bump @babel/preset-env from 7.18.6 to 7.18.10 (#3283) @dependabot
  • chore(deps-dev): bump @babel/register from 7.17.7 to 7.18.6 (#3196) @dependabot
  • chore(deps-dev): bump @babel/register from 7.18.6 to 7.18.9 (#3254) @dependabot
  • chore(deps-dev): bump babel-jest from 28.1.1 to 28.1.2 (#3198) @dependabot
  • chore(deps-dev): bump babel-jest from 28.1.2 to 28.1.3 (#3231) @dependabot
  • chore(deps-dev): bump concurrently from 7.2.2 to 7.3.0 (#3257) @dependabot
  • chore(deps-dev): bump cypress from 10.2.0 to 10.3.0 (#3199) @dependabot
  • chore(deps-dev): bump cypress from 9.7.0 to 10.4.0 (#3284) @dependabot
  • chore(deps-dev): bump eslint from 8.18.0 to 8.19.0 (#3202) @dependabot
  • chore(deps-dev): bump eslint from 8.19.0 to 8.21.0 (#3276) @dependabot
  • chore(deps-dev): bump eslint-plugin-html from 6.2.0 to 7.1.0 (#3288) @dependabot
  • chore(deps-dev): bump eslint-plugin-jest from 26.5.3 to 26.7.0 (#3275) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 39.3.3 to 39.3.4 (#3285) @dependabot
  • chore(deps-dev): bump eslint-plugin-markdown from 2.2.1 to 3.0.0 (#3236) @dependabot
  • chore(deps-dev): bump eslint-plugin-prettier from 4.0.0 to 4.2.1 (#3204) @dependabot
  • chore(deps-dev): bump jest from 28.1.1 to 28.1.2 (#3195) @dependabot
  • chore(deps-dev): bump jest from 28.1.2 to 28.1.3 (#3230) @dependabot
  • chore(deps-dev): bump jest-environment-jsdom from 28.1.1 to 28.1.2 (#3200) @dependabot
  • chore(deps-dev): bump jest-environment-jsdom from 28.1.2 to 28.1.3 (#3232) @dependabot
  • chore(deps-dev): bump moment from 2.29.3 to 2.29.4 (#3220) @dependabot
  • chore(deps-dev): bump webpack from 5.73.0 to 5.74.0 (#3286) @dependabot
  • chore(deps-dev): bump webpack-dev-server from 4.9.2 to 4.9.3 (#3203) @dependabot

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

mermaid - 9.1.3

Published by github-actions[bot] over 2 years ago

Release Notes

Features and fixes

  • #3095 Added support for commit & tag label font size (#3140) @ashishjain0512
  • Add C4 Diagram. Compatible with C4-PlantUML syntax (2). #3038 (#3151) @pinghe
  • fix #3019 Add word boundary to FK&PK. (#3168) @sidharthv96
  • fix: De-duplicates dependencies (#3167) @tommoor

Documentation

  • Add dev install section in contributing.md (#3175) @ajthinking
  • Fix typo (#3176) @yutotnh
  • Update links to mermaid.live (#3163) @sidharthv96

Chores

  • Disable Testomatio for forks (#3165) @sidharthv96
  • chore(deps): bump actions/dependency-review-action from 1 to 2 (#3161) @dependabot
  • chore(deps): bump got from 11.8.3 to 11.8.5 (#3172) @dependabot
  • chore(deps-dev): bump @applitools/eyes-cypress from 3.26.2 to 3.26.3 (#3155) @dependabot
  • chore(deps-dev): bump @commitlint/cli from 17.0.2 to 17.0.3 (#3180) @dependabot
  • chore(deps-dev): bump @commitlint/config-conventional from 17.0.2 to 17.0.3 (#3179) @dependabot
  • chore(deps-dev): bump concurrently from 7.2.1 to 7.2.2 (#3159) @dependabot
  • chore(deps-dev): bump cypress from 10.1.0 to 10.2.0 (#3178) @dependabot
  • chore(deps-dev): bump cypress from 9.7.0 to 10.1.0 (#3135) @dependabot
  • chore(deps-dev): bump eslint from 8.17.0 to 8.18.0 (#3156) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 39.3.2 to 39.3.3 (#3157) @dependabot
  • chore(deps-dev): bump lint-staged from 13.0.1 to 13.0.2 (#3158) @dependabot
  • chore(deps-dev): bump lint-staged from 13.0.2 to 13.0.3 (#3177) @dependabot
  • chore(deps-dev): bump prettier from 2.6.2 to 2.7.1 (#3160) @dependabot
  • update doc typos/clarity (#3145) @commai

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

mermaid - 9.1.2

Published by github-actions[bot] over 2 years ago

Release Notes

πŸš€ Features

  • Add support for cyclic themeVariable rotation when more than 8 branches (#3049) @ashishjain0512

  • #3060 support cherry commit in gitgraph (#3115) @ashishjain0512

  • #3080 Adding rotated commit label functionality (#3113) @ashishjain0512

  • feat: adding "Critical Region"/"Option" and "Break" blocks to sequence diagram (#3063) @financelurker

  • [Experimental] Add C4 Diagram. Compatible with C4-PlantUML syntax. (#3038) @pinghe

Bug Fixes & Cleanup

  • #3050 Renaming setTitle to setAccTitle (#3051) @knsv
  • Fix for case where a compound state has a transition to it self. (#3092) @knsv
  • Handle diagram paddings in a consistent way (#3118) @knsv
  • Separation between title and accessibility title (sometimes) (#3075) @knsv
  • Removed unnecessary textLength attribute. (#3057) @mgenereu
  • Removed the Sass files (#3114) @siddhant-tripathy1

Documentation

  • Make initThrowsErrors available to clients (#3052) @MindaugasLaganeckas
  • Styling links default (#3120) @flywire
  • [Documentation] Re-order theme variables (#3030) @sylhare
  • [Documentation] Use actual theme name (#3054) @sylhare
  • Fixed whitespace typo in Class diagram (#3035) @SlideeScherz
  • Fixing various typos (#3094) @deining
  • docs: fix capitalisation of well known technologies (#3064) @detj
  • docs: remove edit on GitHub duplicate (#3059) @schmelto
  • typos in configuration.md corrected (#3122) @activus-d

Dependecy updates

  • chore(deps): bump dompurify from 2.3.6 to 2.3.8 (#3045) @dependabot
  • chore(deps-dev): bump @applitools/eyes-cypress from 3.25.7 to 3.26.0 (#3071) @dependabot
  • chore(deps-dev): bump @applitools/eyes-cypress from 3.26.0 to 3.26.1 (#3105) @dependabot
  • chore(deps-dev): bump @applitools/eyes-cypress from 3.26.1 to 3.26.2 (#3136) @dependabot
  • chore(deps-dev): bump @babel/core from 7.17.10 to 7.18.0 (#3069) @dependabot
  • chore(deps-dev): bump @babel/core from 7.18.0 to 7.18.2 (#3083) @dependabot
  • chore(deps-dev): bump @babel/core from 7.18.2 to 7.18.5 (#3134) @dependabot
  • chore(deps-dev): bump @babel/eslint-parser from 7.17.0 to 7.18.2 (#3087) @dependabot
  • chore(deps-dev): bump @babel/preset-env from 7.17.10 to 7.18.0 (#3068) @dependabot
  • chore(deps-dev): bump @babel/preset-env from 7.18.0 to 7.18.2 (#3084) @dependabot
  • chore(deps-dev): bump @commitlint/cli from 16.2.4 to 16.3.0 (#3040) @dependabot
  • chore(deps-dev): bump @commitlint/cli from 16.3.0 to 17.0.0 (#3070) @dependabot
  • chore(deps-dev): bump @commitlint/cli from 17.0.0 to 17.0.1 (#3086) @dependabot
  • chore(deps-dev): bump @commitlint/cli from 17.0.1 to 17.0.2 (#3102) @dependabot
  • chore(deps-dev): bump @commitlint/config-conventional from 16.2.4 to 17.0.0 (#3067) @dependabot
  • chore(deps-dev): bump @commitlint/config-conventional from 17.0.0 to 17.0.2 (#3104) @dependabot
  • chore(deps-dev): bump babel-jest from 28.1.0 to 28.1.1 (#3137) @dependabot
  • chore(deps-dev): bump concurrently from 7.1.0 to 7.2.0 (#3039) @dependabot
  • chore(deps-dev): bump concurrently from 7.2.0 to 7.2.1 (#3065) @dependabot
  • chore(deps-dev): bump cypress from 9.6.0 to 9.6.1 (#3041) @dependabot
  • chore(deps-dev): bump cypress from 9.6.1 to 9.7.0 (#3082) @dependabot
  • chore(deps-dev): bump eslint from 8.15.0 to 8.16.0 (#3066) @dependabot
  • chore(deps-dev): bump eslint from 8.16.0 to 8.17.0 (#3103) @dependabot
  • chore(deps-dev): bump eslint from 8.4.1 to 8.15.0 (#3042) @dependabot
  • chore(deps-dev): bump eslint-plugin-jest from 26.1.5 to 26.2.2 (#3044) @dependabot
  • chore(deps-dev): bump eslint-plugin-jest from 26.2.2 to 26.4.5 (#3085) @dependabot
  • chore(deps-dev): bump eslint-plugin-jest from 26.4.5 to 26.5.3 (#3110) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 39.2.9 to 39.3.0 (#3072) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 39.3.0 to 39.3.2 (#3088) @dependabot
  • chore(deps-dev): bump jest from 28.1.0 to 28.1.1 (#3131) @dependabot
  • chore(deps-dev): bump jest-environment-jsdom from 28.1.0 to 28.1.1 (#3129) @dependabot
  • chore(deps-dev): bump lint-staged from 12.4.1 to 12.4.2 (#3081) @dependabot
  • chore(deps-dev): bump lint-staged from 12.4.2 to 13.0.0 (#3109) @dependabot
  • chore(deps-dev): bump lint-staged from 13.0.0 to 13.0.1 (#3132) @dependabot
  • chore(deps-dev): bump terser-webpack-plugin from 5.3.1 to 5.3.3 (#3106) @dependabot
  • chore(deps-dev): bump webpack from 5.72.0 to 5.72.1 (#3043) @dependabot
  • chore(deps-dev): bump webpack from 5.72.1 to 5.73.0 (#3108) @dependabot
  • chore(deps-dev): bump webpack-cli from 4.9.2 to 4.10.0 (#3130) @dependabot
  • chore(deps-dev): bump webpack-dev-server from 4.9.0 to 4.9.1 (#3107) @dependabot
  • chore(deps-dev): bump webpack-dev-server from 4.9.1 to 4.9.2 (#3133) @dependabot

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

mermaid - 9.1.1

Published by github-actions[bot] over 2 years ago

Release Notes

  • Fix for #3025 @ashishjain0512

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

mermaid - 9.1.0

Published by github-actions[bot] over 2 years ago

Release Notes

πŸš€ Features

  • Accessibility added to the charts (#3008) (#2732) @knsv @gwincr11 @therzka @khiga8 @el-mapache @lindseywild

  • feat: add hideUnusedParticipants and some cleanup (#2943) @Yash-Singh1

  • Added default new line in the diagram text before parsing for special… (#2983) @ashishjain0512

  • Added support to change the position of the main branch (#3010) @ashishjain0512

  • Sequence autonumbering and Git fix options parsing (#2981) @Zumbala

  • GitGraph: add support for branch ordering (#3002) @husa

  • fix mermaidAPI.parse() behavior to match documentation, add tests to ensure behavior matches docs (#3004) @timmaffett

  • protect config.js from attempting to use invalid theme name (which corrupted mermaid use until reset()) (#2987) @timmaffett

  • Handling flowchart link style for html labels using legacy renderer #2951

Documentation

  • Doc/update zh readme (#3005) @lexmin0412
  • Documentation fix for 8.6.0 readme - add missing quotes to example theme default (#2986) @timmaffett
  • Fix typos in gitgraph.md (#2999) @Lance-DC
  • Remove a stray word (#2974) @egnor
  • Update README.md (#2989) @guidanoli

Dependecy updates

  • chore(deps): Included dependency review (#2984) @naveensrinivasan
  • chore(deps): bump stylis from 4.1.0 to 4.1.1 (#2967) @dependabot
  • chore(deps-dev): bump @babel/core from 7.17.9 to 7.17.10 (#2996) @dependabot
  • chore(deps-dev): bump @babel/preset-env from 7.16.11 to 7.17.10 (#2991) @dependabot
  • chore(deps-dev): bump @commitlint/cli from 16.2.3 to 16.2.4 (#2992) @dependabot
  • chore(deps-dev): bump @commitlint/config-conventional from 16.2.1 to 16.2.4 (#2997) @dependabot
  • chore(deps-dev): bump babel-jest from 27.5.1 to 28.0.3 (#2990) @dependabot
  • chore(deps-dev): bump babel-jest from 28.0.3 to 28.1.0 (#3013) @dependabot
  • chore(deps-dev): bump babel-loader from 8.2.4 to 8.2.5 (#2964) @dependabot
  • chore(deps-dev): bump cypress from 9.5.4 to 9.6.0 (#2998) @dependabot
  • chore(deps-dev): bump eslint from 8.13.0 to 8.14.0 (#2966) @dependabot
  • chore(deps-dev): bump eslint from 8.14.0 to 8.15.0 (#3015) @dependabot
  • chore(deps-dev): bump eslint-plugin-jest from 26.1.4 to 26.1.5 (#2965) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 39.2.2 to 39.2.8 (#2968) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 39.2.8 to 39.2.9 (#2994) @dependabot
  • chore(deps-dev): bump husky from 7.0.4 to 8.0.0 (#3016) @dependabot
  • chore(deps-dev): bump jest from 27.5.1 to 28.0.3 (#2995) @dependabot
  • chore(deps-dev): bump lint-staged from 12.3.8 to 12.4.0 (#2969) @dependabot
  • chore(deps-dev): bump lint-staged from 12.4.0 to 12.4.1 (#2993) @dependabot
  • chore(deps-dev): bump webpack-dev-server from 4.8.1 to 4.9.0 (#3014) @dependabot
  • chore: Enable codeql action (#2982) @naveensrinivasan
  • chore: Set permissions for GitHub actions (#2971) @naveensrinivasan

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

mermaid - 9.0.1

Published by ashishjain0512 over 2 years ago

Release Notes

πŸ› Bug Fixes

  • Removal of vulnerability (#2958) @knsv
  • Fix broken re-rendering of gitGraph in Mermaid Live Editor

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

mermaid - 9.0.0

Published by github-actions[bot] over 2 years ago

Release Notes

Main feature

  • 1252 gitgraph reinvented (#2877) @knsv

Moving the gitGraph from experimental alpha status to a fully supported diagram type which handles theming and directives. The grammar has changed slightly from the alpha version, and no longer supports reset operations and some internal fast-forwarding has been removed for simplicity. Some few GitGraphs based on the alpha version might break with the update. This is the reason for the major version number update.

We now support:

  • Commit types
  • Multiple branches in sperate lanes
  • Theming

Other changes:

  • Add dompurify config option (#2831) @gwincr11
  • Class diagram accessibility (#2911) @gwincr11
  • Double Circle Node Shape (#2740) @Guy-Adler
  • ER and Sequence Chart Accessibility (#2832) @gwincr11
  • SequenceDiagram: Use correct default sans-serif fonts for actors and tasks (#2729) @dbartholomae
  • Update to latest version of sanitize-url (#2790) @dbussink
  • feat: add accessibility title and description to pie chart (#2747) @gwincr11
  • sync Chinese readme (#2797) @lexmin0412
  • small bug with the id on the title (#2773) @gwincr11
  • fix: autonumber bug (#2814) @kerwin612

Documentation updates

  • Add mkdocs-material to the integrations (#2780) @chrimaho
  • Added technical sequence diagram to example docs (#2836) @riaanduplessis
  • Fix typo in flowchart.md (#2741) @mingpepe
  • Fixes syntax error in n00b-gettingStarted.md (#2735) @bolshoytoster
  • Render example instead of just showing the code (#2835) @Kaligule
  • Switch to gender neutral terms (#2876) @inclusive-coding-bot
  • Update theming.md (#2855) @Crocin
  • Updated docs to use mermaid 8.14 (#2819) @RonaldZielaznicki
  • Workflow: Check if README.md and docs/README.md are in sync (#2755) @kuanyi-ng
  • docs(README*.md): http => https (#2727) @Schweinepriester
  • docs(integrations): add link to mdbook-mermaid (#2786) @lukehsiao
  • docs: Add GitHub native support (#2725) @BastianZim
  • docs: Add Gitea (#2731) @silverwind
  • docs: livebook and exdocs integrations (#2728) @RudolfMan
  • docs: add showData config to Pie Chart (#2758) @uskey512
  • docs: adds alt text to images, corrects heading structure (#2908) @lindseywild
  • fix typos in doc (#2787) @dkkb

Dependency updates

  • chore(deps): bump EndBug/add-and-commit from 8.0.1 to 8.0.2 (#2722) @dependabot
  • chore(deps): bump EndBug/add-and-commit from 8.0.2 to 9 (#2823) @dependabot
  • chore(deps): bump actions/checkout from 2 to 3 (#2803) @dependabot
  • chore(deps): bump actions/setup-node from 2 to 3 (#2784) @dependabot
  • chore(deps): bump dompurify from 2.3.5 to 2.3.6 (#2763) @dependabot
  • chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 (#2711) @dependabot
  • chore(deps): bump minimist from 1.2.5 to 1.2.6 (#2868) @dependabot
  • chore(deps): bump node-forge from 1.2.1 to 1.3.0 (#2847) @dependabot
  • chore(deps): bump stylis from 4.0.13 to 4.1.0 (#2891) @dependabot
  • chore(deps-dev): bump @babel/core from 7.17.0 to 7.17.2 (#2716) @dependabot
  • chore(deps-dev): bump @babel/core from 7.17.2 to 7.17.5 (#2766) @dependabot
  • chore(deps-dev): bump @babel/core from 7.17.5 to 7.17.8 (#2838) @dependabot
  • chore(deps-dev): bump @babel/register from 7.17.0 to 7.17.7 (#2844) @dependabot
  • chore(deps-dev): bump @commitlint/cli from 16.1.0 to 16.2.1 (#2719) @dependabot
  • chore(deps-dev): bump @commitlint/cli from 16.2.1 to 16.2.3 (#2843) @dependabot
  • chore(deps-dev): bump @commitlint/config-conventional from 16.0.0 to 16.2.1 (#2718) @dependabot
  • chore(deps-dev): bump @percy/cli from 1.0.0-beta.74 to 1.0.0-beta.75 (#2715) @dependabot
  • chore(deps-dev): bump @percy/cli from 1.0.0-beta.75 to 1.0.0-beta.76 (#2782) @dependabot
  • chore(deps-dev): bump babel-jest from 27.5.0 to 27.5.1 (#2720) @dependabot
  • chore(deps-dev): bump babel-loader from 8.2.3 to 8.2.4 (#2862) @dependabot
  • chore(deps-dev): bump concurrently from 7.0.0 to 7.1.0 (#2889) @dependabot
  • chore(deps-dev): bump cypress from 9.4.1 to 9.5.0 (#2762) @dependabot
  • chore(deps-dev): bump cypress from 9.5.0 to 9.5.1 (#2800) @dependabot
  • chore(deps-dev): bump cypress from 9.5.1 to 9.5.2 (#2837) @dependabot
  • chore(deps-dev): bump cypress from 9.5.2 to 9.5.3 (#2890) @dependabot
  • chore(deps-dev): bump eslint from 8.10.0 to 8.11.0 (#2821) @dependabot
  • chore(deps-dev): bump eslint from 8.11.0 to 8.12.0 (#2867) @dependabot
  • chore(deps-dev): bump eslint from 8.8.0 to 8.9.0 (#2713) @dependabot
  • chore(deps-dev): bump eslint from 8.9.0 to 8.10.0 (#2783) @dependabot
  • chore(deps-dev): bump eslint-config-prettier from 8.3.0 to 8.4.0 (#2761) @dependabot
  • chore(deps-dev): bump eslint-config-prettier from 8.4.0 to 8.5.0 (#2798) @dependabot
  • chore(deps-dev): bump eslint-plugin-jest from 26.1.0 to 26.1.1 (#2760) @dependabot
  • chore(deps-dev): bump eslint-plugin-jest from 26.1.1 to 26.1.2 (#2841) @dependabot
  • chore(deps-dev): bump eslint-plugin-jest from 26.1.2 to 26.1.3 (#2864) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 37.7.1 to 37.9.1 (#2714) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 37.9.1 to 37.9.4 (#2764) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 37.9.4 to 37.9.7 (#2801) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 37.9.7 to 38.0.3 (#2820) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 38.0.3 to 38.0.6 (#2840) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 38.0.6 to 38.1.1 (#2863) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 38.1.1 to 38.1.6 (#2893) @dependabot
  • chore(deps-dev): bump jest from 27.5.0 to 27.5.1 (#2717) @dependabot
  • chore(deps-dev): bump lint-staged from 12.3.3 to 12.3.4 (#2721) @dependabot
  • chore(deps-dev): bump lint-staged from 12.3.4 to 12.3.5 (#2799) @dependabot
  • chore(deps-dev): bump lint-staged from 12.3.5 to 12.3.7 (#2839) @dependabot
  • chore(deps-dev): bump moment from 2.29.1 to 2.29.2 (#2888) @dependabot
  • chore(deps-dev): bump prettier from 2.5.1 to 2.6.0 (#2842) @dependabot
  • chore(deps-dev): bump prettier from 2.6.0 to 2.6.1 (#2866) @dependabot
  • chore(deps-dev): bump prettier from 2.6.1 to 2.6.2 (#2887) @dependabot
  • chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.30 to 0.3.31 (#2822) @dependabot
  • chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.31 to 0.3.33 (#2865) @dependabot
  • chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.33 to 0.3.36 (#2892) @dependabot
  • chore(deps-dev): bump webpack from 5.68.0 to 5.69.1 (#2765) @dependabot
  • chore(deps-dev): bump webpack from 5.69.1 to 5.70.0 (#2802) @dependabot
  • chore(deps-dev): bump webpack from 5.70.0 to 5.71.0 (#2894) @dependabot

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

mermaid - 8.14.0

Published by github-actions[bot] over 2 years ago

Release Notes

Main feature

  • Adding new more secure security level 'sandbox' where all rendering happens in a sandboxed iframe. The returned element in this mode is also an iframe with the svg as a base64 encoded url. (#2654)

Documentation updates

  • Documention updates in the main mardownfile in the repo adding mermaid diagrams instead of images of mermaid diagrams (#2676) @knsv
  • Reference mkdocs-mermaid2-plugin for MkDocs (#2702) @jfuentescpp
  • docs: update for re-ordering (#2704) @arfanliaqat
  • sync Chinese readme contents (#2656) @lexmin0412

Dependecy updates

  • Bump @babel/core from 7.16.7 to 7.16.12 (#2658) @dependabot
  • Bump @babel/preset-env from 7.16.8 to 7.16.11 (#2660) @dependabot
  • Bump @commitlint/cli from 16.0.2 to 16.1.0 (#2664) @dependabot
  • Bump EndBug/add-and-commit from 7 to 8.0.1 (#2665) @dependabot
  • Bump cached-path-relative from 1.0.2 to 1.1.0 (#2671) @dependabot
  • Bump cypress from 9.2.1 to 9.3.1 (#2663) @dependabot
  • Bump eslint-plugin-jsdoc from 37.6.1 to 37.6.3 (#2662) @dependabot
  • Bump lint-staged from 12.1.7 to 12.3.1 (#2661) @dependabot
  • Bump webpack from 5.66.0 to 5.67.0 (#2659) @dependabot
  • chore(deps): bump dompurify from 2.3.4 to 2.3.5 (#2683) @dependabot
  • chore(deps-dev): bump @babel/core from 7.16.12 to 7.17.0 (#2697) @dependabot
  • chore(deps-dev): bump @babel/eslint-parser from 7.16.5 to 7.17.0 (#2700) @dependabot
  • chore(deps-dev): bump @babel/register from 7.16.9 to 7.17.0 (#2699) @dependabot
  • chore(deps-dev): bump @percy/cli from 1.0.0-beta.73 to 1.0.0-beta.74 (#2680) @dependabot
  • chore(deps-dev): bump babel-jest from 27.4.6 to 27.5.0 (#2701) @dependabot
  • chore(deps-dev): bump cypress from 9.3.1 to 9.4.1 (#2692) @dependabot
  • chore(deps-dev): bump eslint from 8.7.0 to 8.8.0 (#2682) @dependabot
  • chore(deps-dev): bump eslint-plugin-jest from 25.7.0 to 26.0.0 (#2679) @dependabot
  • chore(deps-dev): bump eslint-plugin-jest from 26.0.0 to 26.1.0 (#2693) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 37.6.3 to 37.7.0 (#2681) @dependabot
  • chore(deps-dev): bump eslint-plugin-jsdoc from 37.7.0 to 37.7.1 (#2690) @dependabot
  • chore(deps-dev): bump jest from 27.4.7 to 27.5.0 (#2696) @dependabot
  • chore(deps-dev): bump lint-staged from 12.3.1 to 12.3.2 (#2684) @dependabot
  • chore(deps-dev): bump lint-staged from 12.3.2 to 12.3.3 (#2691) @dependabot
  • chore(deps-dev): bump terser-webpack-plugin from 5.3.0 to 5.3.1 (#2694) @dependabot
  • chore(deps-dev): bump webpack from 5.67.0 to 5.68.0 (#2698) @dependabot
  • chore(deps-dev): bump webpack-cli from 4.9.1 to 4.9.2 (#2678) @dependabot
  • chore(deps-dev): bump webpack-dev-server from 4.7.3 to 4.7.4 (#2695) @dependabot

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

mermaid - 8.13.10

Published by github-actions[bot] over 2 years ago

Release Notes

  • 2646 Removes a possible way for a diagram author to trigger a JavaScript using in diagram code. (#2655) @knsv
  • Bump @babel/preset-env from 7.16.7 to 7.16.8 (#2642) @dependabot
  • Bump @babel/register from 7.16.7 to 7.16.9 (#2639) @dependabot
  • Bump @percy/cli from 1.0.0-beta.71 to 1.0.0-beta.73 (#2638) @dependabot
  • Bump cypress from 9.2.0 to 9.2.1 (#2636) @dependabot
  • Bump eslint from 8.6.0 to 8.7.0 (#2637) @dependabot
  • Bump eslint-plugin-jest from 25.3.4 to 25.7.0 (#2640) @dependabot
  • Bump webpack from 5.65.0 to 5.66.0 (#2635) @dependabot
  • Bump webpack-dev-server from 4.7.2 to 4.7.3 (#2641) @dependabot
  • Remove console.log from common.js (#2621) @Billiam
  • docs: Update sequenceDiagram.md: remove a duplication (#2624) @hiramekun

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

mermaid - 8.13.9

Published by github-actions[bot] almost 3 years ago

Release Notes

Changes to the functionality

  • chore: make husky hooks executable (#2594) @Yash-Singh1
  • fix: bug #2346 "ER-attribute comments not work" (#2598) @ebjornset
  • fix: bug #2631 Fix for more robust rendering of gitGraph @knsv
  • fix: bug #2632 Fix for XSS vulnerability in classDiagrams @knsv

Documentation changes

  • Add Notion to integrations.md (#2593) @kale-stew
  • Added Mermaid in open source docs to tutorial page (#2613) @chrismetz09
  • Change "graph" to "flowchart" (#2612) @Erhannis
  • Fix documentation full examples (#2615) @magmax
  • Fix typo (#2614) @meganemura
  • docs: fix broken image links in gantt.md (#2599) @esphas

Dependency updates

  • Bump @babel/core from 7.16.5 to 7.16.7 (#2610) @dependabot
  • Bump @babel/preset-env from 7.16.5 to 7.16.7 (#2602) @dependabot
  • Bump @babel/register from 7.16.5 to 7.16.7 (#2601) @dependabot
  • Bump @commitlint/cli from 16.0.0 to 16.0.1 (#2607) @dependabot
  • Bump @commitlint/cli from 16.0.1 to 16.0.2 (#2619) @dependabot
  • Bump babel-jest from 27.4.5 to 27.4.6 (#2616) @dependabot
  • Bump concurrently from 6.5.1 to 7.0.0 (#2603) @dependabot
  • Bump eslint from 8.5.0 to 8.6.0 (#2608) @dependabot
  • Bump eslint-plugin-jest from 25.3.0 to 25.3.4 (#2609) @dependabot
  • Bump eslint-plugin-jsdoc from 37.4.0 to 37.5.0 (#2605) @dependabot
  • Bump eslint-plugin-jsdoc from 37.5.0 to 37.6.1 (#2620) @dependabot
  • Bump follow-redirects from 1.14.6 to 1.14.7 (#2625) @dependabot
  • Bump jest from 27.4.5 to 27.4.7 (#2618) @dependabot
  • Bump lint-staged from 12.1.4 to 12.1.5 (#2604) @dependabot
  • Bump lint-staged from 12.1.5 to 12.1.7 (#2617) @dependabot
  • Bump webpack-dev-server from 4.7.1 to 4.7.2 (#2606) @dependabot

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

mermaid - 8.13.8

Published by github-actions[bot] almost 3 years ago

Release Notes

  • Fix for vulnerability with links from actors in sequence diagrams

  • Fix for insuffiucient url sanitization (#2596)

  • Add Notion to integrations.md (#2593) @kale-stew

  • Update TiddlyWiki integrations (#2584) @jasonmhoule

  • Bump @commitlint/cli from 15.0.0 to 16.0.0 (#2590) @dependabot

  • Bump @commitlint/config-conventional from 15.0.0 to 16.0.0 (#2591) @dependabot

  • Bump cypress from 9.1.1 to 9.2.0 (#2586) @dependabot

  • Bump eslint-plugin-jsdoc from 37.3.0 to 37.4.0 (#2589) @dependabot

  • Bump lint-staged from 12.1.3 to 12.1.4 (#2587) @dependabot

  • Bump webpack-dev-server from 4.6.0 to 4.7.1 (#2588) @dependabot

  • Bump @babel/core from 7.16.0 to 7.16.5 (#2575) @dependabot

  • Bump @babel/eslint-parser from 7.16.3 to 7.16.5 (#2579) @dependabot

  • Bump @babel/preset-env from 7.16.4 to 7.16.5 (#2576) @dependabot

  • Bump @babel/register from 7.16.0 to 7.16.5 (#2569) @dependabot

  • Bump babel-jest from 27.4.4 to 27.4.5 (#2571) @dependabot

  • Bump concurrently from 6.4.0 to 6.5.1 (#2570) @dependabot

  • Bump eslint from 8.4.1 to 8.5.0 (#2572) @dependabot

  • Bump eslint-plugin-jsdoc from 37.2.0 to 37.3.0 (#2573) @dependabot

  • Bump jest from 27.4.4 to 27.4.5 (#2578) @dependabot

  • Bump lint-staged from 12.1.2 to 12.1.3 (#2577) @dependabot

  • Bump terser-webpack-plugin from 5.2.5 to 5.3.0 (#2574) @dependabot

πŸŽ‰ Thanks to all contributors helping with this release! πŸŽ‰

Package Rankings
Top 0.2% on Npmjs.org
Top 18.67% on Pypi.org
Top 5.64% on Repo1.maven.org
Top 1.51% on Proxy.golang.org
Badges
Extracted from project README
NPM Build CI Status npm minified gzipped bundle size Coverage Status CDN Status NPM Downloads Join our Discord! Twitter Follow Covered by Argos Visual Testing OpenSSF Scorecard Covered by Argos Visual Testing Good first issue Contributors Commits