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 hidden (Show)

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 - 8.13.3

Published by knsv about 3 years ago

Release Notes

πŸš€ Features & Fixes

  • Initial implementation for Issue#2249. (#2276) @eajenkins
  • 2070: Update ER Diagram to have keys and comments. (#2237) @RonaldZielaznicki
  • 2315 adding actor shape (#2318) @knsv
  • Add a milestone to docs (#2340) @lgasp
  • Emoji front (#2282) @new-pac
  • Feature: field static classifier (#2269) @Xstoudi
  • Fix live editor link (#2304) @Swaagie
  • Optimize Images (#2274) @Yash-Singh1
  • configureSvgSize should make height 100% when useMaxWidth is true. (#2312) @cm-wada-yusuke
  • Comment console.log in sanitizeText (#2375) @OlegAxenow
  • group jison loader and transformer (#2369) @mmorel-35
  • Add esm build. Fixes #2371 (#2372) @sidharthv96

Documentation updates

  • docs: add Chinese README (#2373) @lexmin0412
  • docs: remove duplicate content (#2387) @lexmin0412
  • chore(ci) : fix pr-labeler failure (#2299) @mmorel-35
  • chore(ci): fix andymckay/labeler configuration (#2300) @mmorel-35
  • Document curve interpolation (#2275) @Yash-Singh1
  • Update README.md (#2359) @anugs
  • Update n00b-gettingStarted.md (#2360) @anugs
  • Document two-way relations and fix relationship docs for class diagrams (#2376) @Yash-Singh1

Module Version Upgrade

  • Bump js-base64 from 3.7.1 to 3.7.2 (#2349) @dependabot
  • Bump terser-webpack-plugin from 4.2.3 to 5.2.4 (#2364) @dependabot
  • Bump webpack from 4.46.0 to 5.53.0 (#2324) @dependabot
  • Bump webpack from 5.53.0 to 5.55.1 (#2366) @dependabot
  • Bump webpack from 5.55.1 to 5.58.0 (#2386) @dependabot
  • Bump webpack from 5.58.0 to 5.58.1 (#2399) @dependabot
  • Bump webpack-cli from 4.8.0 to 4.9.0 (#2397) @dependabot
  • Bump webpack-dev-server from 4.2.1 to 4.3.0 (#2351) @dependabot
  • Bump webpack-dev-server from 4.3.0 to 4.3.1 (#2380) @dependabot
  • Bump @babel/core from 7.14.8 to 7.15.5 (#2295) @dependabot
  • Bump @babel/eslint-parser from 7.15.0 to 7.15.7 (#2338) @dependabot
  • Bump @babel/preset-env from 7.15.0 to 7.15.6 (#2332) @dependabot
  • Bump @percy/cli from 1.0.0-beta.65 to 1.0.0-beta.68 (#2334) @dependabot
  • Bump axios from 0.21.1 to 0.21.4 (#2328) @dependabot
  • Bump babel-jest from 27.0.6 to 27.2.1 (#2337) @dependabot
  • Bump cypress from 8.1.0 to 8.4.1 (#2325) @dependabot
  • Bump dompurify from 2.3.1 to 2.3.3 (#2336) @dependabot
  • Bump eslint-plugin-prettier from 3.4.0 to 4.0.0 (#2339) @dependabot
  • Bump husky from 7.0.1 to 7.0.2 (#2331) @dependabot
  • Bump jest from 27.0.6 to 27.2.1 (#2329) @dependabot
  • Bump js-base64 from 3.6.1 to 3.7.1 (#2333) @dependabot
  • Bump prettier from 2.3.2 to 2.4.1 (#2330) @dependabot
  • Bump start-server-and-test from 1.13.1 to 1.14.0 (#2335) @dependabot
  • Bump tar from 6.1.0 to 6.1.11 (#2326) @dependabot
  • Bump tmpl from 1.0.4 to 1.0.5 (#2327) @dependabot
  • Bump webpack-dev-server from 3.11.2 to 4.2.1 (#2323) @dependabot

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

mermaid - 8.13.2

Published by knsv about 3 years ago

Release Notes

  • Fix for Class diagrams (#2292) @ashishjain0512

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

mermaid - 8.13.0

Published by knsv about 3 years ago

Release Notes

πŸš€ Features

  • 2070: Update ER Diagram to have keys and comments. (#2237) @RonaldZielaznicki
  • 2315 adding actor shape (#2318) @knsv
  • Add a milestone to docs (#2340) @lgasp
  • Bump @babel/core from 7.14.8 to 7.15.5 (#2295) @dependabot
  • Bump @babel/eslint-parser from 7.15.0 to 7.15.7 (#2338) @dependabot
  • Bump @babel/preset-env from 7.15.0 to 7.15.6 (#2332) @dependabot
  • Bump @percy/cli from 1.0.0-beta.65 to 1.0.0-beta.68 (#2334) @dependabot
  • Bump axios from 0.21.1 to 0.21.4 (#2328) @dependabot
  • Bump babel-jest from 27.0.6 to 27.2.1 (#2337) @dependabot
  • Bump cypress from 8.1.0 to 8.4.1 (#2325) @dependabot
  • Bump dompurify from 2.3.1 to 2.3.3 (#2336) @dependabot
  • Bump eslint-plugin-prettier from 3.4.0 to 4.0.0 (#2339) @dependabot
  • Bump husky from 7.0.1 to 7.0.2 (#2331) @dependabot
  • Bump jest from 27.0.6 to 27.2.1 (#2329) @dependabot
  • Bump js-base64 from 3.6.1 to 3.7.1 (#2333) @dependabot
  • Bump prettier from 2.3.2 to 2.4.1 (#2330) @dependabot
  • Bump start-server-and-test from 1.13.1 to 1.14.0 (#2335) @dependabot
  • Bump tar from 6.1.0 to 6.1.11 (#2326) @dependabot
  • Bump tmpl from 1.0.4 to 1.0.5 (#2327) @dependabot
  • Bump webpack-dev-server from 3.11.2 to 4.2.1 (#2323) @dependabot
  • Doc change: Added a full integration with mermaid for Dokuwiki (#2357) @gerardnico

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

mermaid - 8.13.1

Published by knsv about 3 years ago

Release Notes

πŸš€ Features

  • Fixes for a vulnerability in state diagrams that can be used for XSS attacks.

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

mermaid - 8.9.2

Published by knsv over 3 years ago

Release notes

  • Fix for XSS vulnerability and prototype pollution (#1940)
    ​
mermaid - 8.9.0

Published by knsv over 3 years ago

Release Notes

  • #1528 Adding async arrow type in sequence diagrams (#1854) @knsv
  • Arguments handling for classDb functions 2/2 (#1812) @mmorel-35
  • Arguments handling for flow chart functions 1/2 (#1809) @mmorel-35
  • Removed 0% on pie chart (#1823) @Yash-Singh1
  • Arguments handling for classDb functions 2/2 (#1812) @mmorel-35
  • Fix for when the br tag is used (#1822) @ileler
  • Fix text overflow and wrapping inconsistencies in sequence diagrams (#1828) @johnnywalker
  • Bump ini from 1.3.5 to 1.3.7 (#1825) @dependabot

Documentation Updates

  • Typo in Readme.md (#1818) @NateChurch
  • Update README.md (#1801) @NitinLodha2812
  • Fix broken link to Tutorials in n00b-overview.md (#1831) @mupple
  • Fix issue in python sample source in Tutorials.md (#1829) @tenuki
  • Update n00b-gettingStarted.md (#1840) @coxy1989
  • Update license year (#1853) @BastianZim
  • usage.md: fix case for securityLevel parameter (#1852) @HerbCaudill
  • Fix for ER diagram docs. (#1851) @jayenashar
  • Doc Updates: update wrong event name in Concurrency section. (#1857) @Eji4h

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

mermaid - 8.8.4

Published by knsv almost 4 years ago

Release Notes

  • Re-align gantt chart dateFormat table with spaces (#1764) @AloisMahdal
  • Docs/update edit this page (#1774) @sy-records
  • Fixed typo in the docs (#1780) @manicki
  • Move babel-eslint to devDependencies (#1772) @glensc
  • Add Doscy to list of integrations (#1784) @gwatts
  • Changed regex for multi-line state notes (#1773) @tomatoman25
  • Add different id generators (#1787) @julianbei
  • Bump highlight.js from 9.18.1 to 9.18.5 (#1789) @dependabot
  • Fixed markdown error in Relationship Syntax (#1796) @kciter
  • remove classDiagram duplicate options (#1786) @JiChao99
  • Update copyright years (#1805) @BastianZim

πŸ› Bug Fixes

  • Add sans-serif to default font settings (#1776) @GDFaber
  • ignore build files in dist folder (#1777) @GDFaber
  • Narrow down console logging when flowchart subgraphs are added (#1782) @GDFaber
  • Apply style settings to subgraphs in "flowchart" diagrams (#1781) @GDFaber

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

mermaid - 8.8.1

Published by knsv about 4 years ago

Release Notes

  • Improved handling of nested subgraphs (#1662) @knsv
  • Bump http-proxy from 1.18.0 to 1.18.1 (#1668) @dependabot
  • Fixed broken links and syntax in the document (#1664) @saowang
  • Increase functionality of class diagrams using the new rendering engine (#1672) @ashishjain0512
  • Fix typo in n00b-syntaxReference.md (#1684) @DavidWittman
  • 1676 click support v2 (#1685) @ashishjain0512
  • Remove console messages (#1686) @irqbank
  • #1694 Applying styles from the graph definition for flowcharts (#1695) @knsv
  • Adds support for custom cssClasses for classDiagram-v2. Also, improved test cases for classDiagram. (#1697) @ashishjain0512
  • Update link to Open Source Awards (#1699) @ct-martin

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

mermaid - 8.7.0

Published by knsv about 4 years ago

Release Notes

πŸš€ Features

  • Feature/1542 simplify theming (#1554) @knsv
  • 1181 assign css class (#1599) @jgreywolf
  • Add link target option to flowchart click (#1585) @GDFaber
  • #1454 Adding showcase diagrams rendered with the different themes (#1549) @knsv

πŸ› Bug Fixes

  • Directive support for many diagrams, config bugfix (#1582) @cmmoran
  • #1485 Setting proper font settings in the root css (#1543) @knsv
  • Bug/1547 crypto libraries in bundle (#1548) @knsv
  • #Beta flowchart: issues with edges to some types of nodes (#1561) @knsv
  • Bug/1562 arrowheads in edges to cluster (#1563) @knsv
  • 1594 comments in class diagram not working (#1605) @jgreywolf
  • Render tweak - each diagram should reset the config to siteConfig upon rendering (#1557) @cmmoran

Other

  • update mermaid-cli repo url (#1600) @ryenus
  • Bump elliptic from 6.5.2 to 6.5.3 (#1591) @dependabot
  • Flowchart documentation: Fix code example for styling nodes (#1587) @GDFaber
  • Edited Release/8.6.0 (#1560) @NeilCuzon

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

mermaid - 8.6.4

Published by knsv about 4 years ago

Release Notes

Bugfix

  • HTML tags are escaped starting from 8.6.0 (#1578) @knsv

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

mermaid - 8.6.3

Published by knsv about 4 years ago

Release Notes

  • Refactor Theme to Config Module (#1573) @knsv

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

mermaid - 8.6.2

Published by knsv about 4 years ago

Bugfix

  • #1552 Fix for broken cardinality support for class diagrams (#1566) @ashishjain0512
mermaid - 8.6.0

Published by knsv over 4 years ago

Release Notes

  • Fixed Typo (#1459) @ameech
  • 1378 additional qualifiers bug with multiple arguments (#1446) @jgreywolf
  • Naming the link/connector edgeLabel and edgePath to let easy query and custom. (#1463) @vantoan8x
  • when window scroll, the tooltip show incorrect position coz its missing window.scrollXY (#1464) @vantoan8x
  • 1466 linetypes in beta renderer (#1469) @knsv
  • docs: update gantt docs (#1467) @CollierCZ
  • Chart Node click event support key-path value for function callback (#1470) @vantoan8x
  • Auto-wrap, inline config, initialization, dark theme tweaks, etc (#1458) @chrismoran-bkt
  • Fixed theme rendering for note text on non-dark themes. (#1472) @chrismoran-bkt
  • fix: Update cli link in the Readme (#1475) @NKjoep
  • 1473 default config (#1477) @knsv
  • Directives slight rework, utils enhancements, mermaidAPI enhancements, SequenceDiagram tweaks (#1482) @chrismoran-bkt
  • cleanup helper dom elements before rendering (#1479) @chewnoill
  • 1474 missplaced transitions (#1481) @knsv
  • PR 1482 redux (#1484) @chrismoran-bkt
  • noteModel generated during calculation of loop bounds (#1489) @cmmoran
  • Update faq.md (#1491) @NeilCuzon
  • Update flowchart.md (#1492) @NeilCuzon
  • gitGraph dot and minus should be valid branch name (#1486) @zwpaper
  • Fix for the issue 1005 (#1488) @abhijeet-pathak
  • Missed activationWidth new configuration option for sequence diagrams (#1502) @cmmoran
  • conf.messageFont() would have a different cacheKey based on the cache… (#1513) @cmmoran
  • Update sequenceDiagram.md (#1503) @NeilCuzon
  • Update README.md (#1499) @maiconschmitz
  • Merging changes from develop into feature/1483_long_messages (#1520) @cmmoran
  • added hasBreaks and splitBreaks to common.js (#1521) @cmmoran
  • Fixed dark theme (sequenceDiagram) sequenceNumbers color (#1522) @cmmoran
  • Update mermaidAPI.js (#1516) @NeilCuzon
  • Utils - memoize, calculateTextDimensions (and friends), assignWithDepth, etc (#1519) @cmmoran
  • Missed test case for allowing site owner to append to secure field set (#1529) @cmmoran
  • Make gitGraph commit IDs out of hexadecimal chars (#1496) @quulah

πŸš€ Features

  • add security level antiscript option, use rich html format but dont permit script element. (#1471) @vantoan8x
  • Directives, sequenceDiagram refactor, config normalization, many tweaks (#1523) @cmmoran
  • Feature/1424 dark mode in docs (#1498) @knsv
  • Feature/1483 long messages (#1517) @cmmoran
  • Add flowchart.diagramPadding config option (#1533) @72636c
  • Add er.useMaxWidth config option (#1534) @72636c
  • Add classes to ERD elements (#1535) @72636c

πŸ› Bug Fixes

  • Bug/1524 message text vertical pos (#1525) @knsv
  • Mocking of clock in gantt tests (#1536) @knsv

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

mermaid -

Published by knsv over 4 years ago

Release Notes

  • 1234 refactor class diagram scaling (#1371) @jgreywolf
  • Change ERD fontSize config to an integer to prevent NaN errors (#1379) @spopida
  • #1382 Fix for lost parentage for nodes in deep structure (#1383) @knsv
  • Do explicit imports for d3 instead of wildcards (#1401) @spopida
  • Replace lodash with specific implementations (#1392) @hikerpig
  • 1408 mermaid on diet, dependecy updates for lesser size of mermad (#1409) @knsv

πŸš€ Features

  • Feature/Extracted out the commonly used line break regex (#1364) @dany74q
  • Feature/user journey (#1334) @russellgeraghty
  • Feature/sequence diagrams improvements (#1365) @dany74q
  • Feature/1295 generic rendering engine (#1356) @knsv

Doc updates

  • Fix a typo; d is close to s. (#1400) @markotibold
  • docs(classDiagram): typo (#1407) @zakhenry
  • Updated the mkdocs-mermaid-plugin link (#1384) @mapio
  • Feature/docs fixes (#1374) @russellgeraghty
  • Add HTTP Server implementation to related projects. (#1353) @TomWright
  • Update docs to include ER diagram descriptions (#1355) @spopida
  • Show source code in later examples (#1351) @adutton
  • expanded documentation on date formats for gantt (#1373) @phschaer

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

mermaid - 8.4.4

Published by klemmchr almost 5 years ago

Release Notes

πŸš€ Features

  • Revert to offical dagre d3 (#1114) @chris579
  • Class: Generic type support (#1120) @jgreywolf
  • Class: Support for abstract methods (#1131) @jgreywolf

πŸ› Bug Fixes

  • State: Composit States sometimes render with incorrect paddings (#1116) @knsv
  • Flow: Fixed escaping in non html mode (#1125) @knsv
  • Flow: Fixed styling of links (#1126) @knsv

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

mermaid - 8.4.3

Published by knsv almost 5 years ago

Bugs fixed with this release

#1055 Better selectors so that no letters are injected in the dom elements ids
#1085 Coveralls not working for GitHub builds
#1061 Cannot mark members as protected in classDiagram
#1062 Parallelogram shaped nodes are not in documentation
#1078 arrowMarkerAbsolute not set properly
#1048 Create workflows for commits, prs and releases

mermaid - 8.4.2

Published by knsv almost 5 years ago

Bug fixed with this release:

#1023 Added better prefix for id in the dom

mermaid - 8.4.1

Published by knsv almost 5 years ago

Features

  • Legends and percentages for pie charts

Issues closed by this release

#1024 Removed some logging from the javascript console
#990 Updated peer dependancies for dagre
#1022 State diagrams rendering of long names more in line with plantuml
#1023 State diagram failed to render \n in transition labels compared to plantuml
#1029 Aftere effects from the update of peer dependencies
#989 Simplify font-settings

mermaid - 8.4.0

Published by knsv about 5 years ago

Features

  • Documentation and support for class diagrams
  • Annotation support in class diagrams
  • New diagram type, state diagrams
  • Support for pie charts
  • Hexagones in flowcharts

Issues closed by this realease

#973 Annotation support in class diagrams
#928 Basic support for Pie Chart
#755 Signal texts in sequence diagram now supports for new lines
#993 Mermaid Documentation for Class Diagram
#949 Cardinality support for Class Diagram
#764 Multi line actor descriptions
#964 Proper use of useMaxWidth in flowRenderer
#530 Hexagon shape for flowcharts
#906 Split of flow.spec.js into multiple files
#848 Insecure Randomness - Issue
#984 Class diagram: properties with bracket syntax are reversed in order

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