Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
MIT License
Bot releases are visible (Hide)
Published by knsv over 1 year ago
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>
Full Changelog: https://github.com/mermaid-js/mermaid/compare/v9.4.0...v10.0.0
Published by pbrolin47 over 1 year ago
primaryBorderColor
field by @LiHowe in https://github.com/mermaid-js/mermaid/pull/3986
pnpm run lint
by @aloisklink in https://github.com/mermaid-js/mermaid/pull/4035
eslint
in pre-commit script (makes git commit
5x faster) by @aloisklink in https://github.com/mermaid-js/mermaid/pull/4057
Full Changelog: https://github.com/mermaid-js/mermaid/compare/v9.3.0...v9.4.0
Published by github-actions[bot] almost 2 years ago
dagre-d3
with dagre-es
type
from package.json (#3802) @sidharthv96dagre
/dagre-d3
with dagre-d3-es
(#3809) @aloisklinkgithub-dark
to highlight fence blocks in vitepress docs (#3807) @aloisklinkgraphlib
(#3861) @aloisklinkπ Thanks to all contributors helping with this release! π
docs:build
by @arpansaha13 in https://github.com/mermaid-js/mermaid/pull/3605
parseError
function more type-safe by @Some-Dood in https://github.com/mermaid-js/mermaid/pull/3643
eslint-plugin-tsdoc
for TypeScript files instead of eslint-plugin-jsdoc
by @aloisklink in https://github.com/mermaid-js/mermaid/pull/3708
type
from package.json by @sidharthv96 in https://github.com/mermaid-js/mermaid/pull/3802
github-dark
to highlight fence blocks in vitepress docs by @aloisklink in https://github.com/mermaid-js/mermaid/pull/3807
dagre
/dagre-d3
with dagre-d3-es
by @aloisklink in https://github.com/mermaid-js/mermaid/pull/3809
graphlib
by @aloisklink in https://github.com/mermaid-js/mermaid/pull/3861
Full Changelog: https://github.com/mermaid-js/mermaid/compare/v9.2.2...v9.3.0
Published by pbrolin47 almost 2 years ago
mermaid.render
types by @aloisklink in https://github.com/mermaid-js/mermaid/pull/3768
Full Changelog: https://github.com/mermaid-js/mermaid/compare/v9.2.1...v9.2.2
Published by github-actions[bot] almost 2 years ago
Full Changelog: https://github.com/mermaid-js/mermaid/compare/v9.2.0...v9.2.1
Published by ashishjain0512 almost 2 years ago
mermaid-example
in docs. by @sidharthv96 in https://github.com/mermaid-js/mermaid/pull/3401
div
with pre
and format by @sidharthv96 in https://github.com/mermaid-js/mermaid/pull/3408
docs:lint
by @sidharthv96 in https://github.com/mermaid-js/mermaid/pull/3493
lazyLoadedDiagrams
when calling initThrowsErrors
by @aloisklink in https://github.com/mermaid-js/mermaid/pull/3702
lazyLoadedDiagrams
when calling initThrowsErrorsAsync
by @aloisklink in https://github.com/mermaid-js/mermaid/pull/3731
build:prod
on yarn prepare
by @aloisklink in https://github.com/mermaid-js/mermaid/pull/3404
console
in mermaid src code by @aloisklink in https://github.com/mermaid-js/mermaid/pull/3405
mermaid.core.mjs
by @aloisklink in https://github.com/mermaid-js/mermaid/pull/3437
docs:build
and docs:verify
scripts by @aloisklink in https://github.com/mermaid-js/mermaid/pull/3534
pre-commit
rules by @aloisklink in https://github.com/mermaid-js/mermaid/pull/3536
docs/
with packages/mermaid/src/docs
by @aloisklink in https://github.com/mermaid-js/mermaid/pull/3586
yarn
with pnpm
in dev guide by @aloisklink in https://github.com/mermaid-js/mermaid/pull/3535
Full Changelog: https://github.com/mermaid-js/mermaid/compare/v9.1.7...v9.2.0
Published by github-actions[bot] about 2 years ago
π Thanks to all contributors helping with this release! π
Published by github-actions[bot] about 2 years ago
π Thanks to all contributors helping with this release! π
Published by github-actions[bot] about 2 years ago
π Thanks to all contributors helping with this release! π
Published by github-actions[bot] about 2 years ago
π Thanks to all contributors helping with this release! π
Published by github-actions[bot] over 2 years ago
mermaid.live
(#3163) @sidharthv96π Thanks to all contributors helping with this release! π
Published by github-actions[bot] over 2 years ago
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
π Thanks to all contributors helping with this release! π
Published by github-actions[bot] over 2 years ago
π Thanks to all contributors helping with this release! π
Published by github-actions[bot] over 2 years ago
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
π Thanks to all contributors helping with this release! π
Published by ashishjain0512 over 2 years ago
π Thanks to all contributors helping with this release! π
Published by github-actions[bot] over 2 years ago
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:
mkdocs-material
to the integrations (#2780) @chrimahoREADME.md
and docs/README.md
are in sync (#2755) @kuanyi-nglivebook
and exdocs
integrations (#2728) @RudolfManπ Thanks to all contributors helping with this release! π
Published by github-actions[bot] over 2 years ago
π Thanks to all contributors helping with this release! π
Published by github-actions[bot] over 2 years ago
π Thanks to all contributors helping with this release! π
Published by github-actions[bot] almost 3 years ago
π Thanks to all contributors helping with this release! π
Published by github-actions[bot] almost 3 years ago
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! π