Releases: mermaid-js/mermaid
8.4.1
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
8.4.0
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
8.3.0
Features
Experimental support for Pie charts
Rendering tests using cypress and percy
Bug fixes
#937 Handling direction keywords in node ids
Correctly documenting htmlLabels as true by default
#926 Style font color only working in classes not in style Tag
#922 Fix for click binding on nodes with ids starting with a number
8.2.6
Features
Allowing chaining of nodes in flowcharts.
graph TB
a --> b --> c
Bug fixes:
- Fix for numbers in nodes in subgraphs as per #918
- Making it possieble to use underscore in labels in vertices as per #915
- Better handling of nodes whos ids are starting with a number. #914
- Backwards compatible syntax for associating a class with a node. #835
graph TB
a --> b:::theClass
classDef theClass fill:#0f0,stroke:#333,stroke-width:3px;
8.2.5
8.2.4
8.2.1
8.2.0
Added securityLevel configuration
Sets the level of trust to be used on the parsed diagrams.
- true: (default) tags in text are encoded, click functionality is disabled
- false: tags in text are allowed, click functionality is enabled
Closed issues
- Create issue templates #847
- Create issue templates #871
- cross site scripting in mermaid #869
- Make Gantt chart date inclusive #868
- CHANGELOG missing updates for all versions since 0.4.0 #865
- please add tag for 8.0.0 release #863
- classDiagram breaks on any edit #858
- found 1 high severity vulnerability #839
- Missing fontawesome icon support #830
- Docs for integration with wiki.js? #829
- Is this project still maintained? #826
- typroa #823
- Maintain the order of the nodes in Flowchart #815
- Overlap, Overflow and cut titles in flowchart #814
- How load mermaidApi notejs electron #813
- How to set the spacing between the text of the flowchart node and the border? #812
- no triming participant name and the name following spaces is as another actor in sequence #809
- uml Class as shape type #807
- Force-directed graph Layout Style #806
- how can I start a newLine in FlowChart #805
- UOEProcessShow #801
- Why the use of code blocks? #799
- fixing class diagram #794
- Autonumber support in sequence diagrams #782
- MomentJS dependency #781
- Feature : Can we color code the flow/arrows #766
- Is there any way to convert flowchart.js code to mermaid code #726
- Fixed width of nodes #653
- Inline comment #650
- alt attribute of img tag in HTML #619
- Just wanted to say : THANKS ! #618
- "animation" #446
Merged pull requests:
- Trimming whitespace after participant id #882 (IOrlandoni)
- chore(deps): bump atob from 2.0.3 to 2.1.2 #881 (dependabot[bot])
- chore(deps): bump fstream from 1.0.11 to 1.0.12 #880 (dependabot[bot])
- chore(deps): bump js-yaml from 3.12.0 to 3.13.1 #879 (dependabot[bot])
- I847 cross site scripting #878 (knsv)
- Bump lodash.mergewith from 4.6.1 to 4.6.2 #877 (dependabot[bot])
- Adding docs into core repo again #876 (knsv)
- Bump lodash from 4.17.11 to 4.17.13 #875 (dependabot[bot])
- feat(stale.yml): update issue label and bot comment #874 (ThePenguin1140)
- Feature/allow inclusive enddates #872 (ThePenguin1140)
- Adding trapezoid and inverse trapezoid vertex options. #741 (adamwulf)
8.1.0
Changes
Merged the following pull requests:
#788 Gantt milestones
#791 SVG link rendering
#792 Added exclude weekdays to definition
#795 fix class diagram mermaid
#798 linkStyle now supports list of indexes with a few tests
#804 Clickable gantt tasks
#810 Documentation update
#824 Fix issue with XML line breaks inside vertex labels
#828 Fix dotted lines not appearing in flowcharts when HTML labels disabled
#832 ix draw function can only call once
#837 Fix dark theme, loop labels not visible
#848 Support styling of subgraphs
#850 Significantly smaller bundles
#851 Bump sshpk from 1.13.1 to 1.16.1 (security)
7.0.0
Changes
#376 Override normal flowchart arrowhead to allow css styling
Class diegram support
#390 Improvements to the cli regarding how configuration sent to the cli and verbouse is a new command line argument.
#395 New neutral theme
#400 Fix for line endings in generated svg
#423, #427 Placements actor label in sequence diagram
Improvments to the logger so that it logs the stacktrace in som circumstances.
#429 Uses an empty text node instead of a string for svg group labels
#430, #433, #435 fix gantt chart cli configuration parsing including functions
Documentation impromenents
#445 Fix for cli css style selector lowercase problem
#441 Updated d3
#449 Allow .node>circle to receive css styles
#452 Customizing link style with any color sets fill
property to black
instead of none
Closed issues by this release:
#341
#362
#367
#389
#400
#416
#422
#428
#431
#434