Skip to content

Releases: mermaid-js/mermaid

8.4.1

06 Nov 19:12
Compare
Choose a tag to compare

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

19 Oct 15:27
Compare
Choose a tag to compare

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

19 Sep 05:34
Compare
Choose a tag to compare

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

01 Sep 11:42
Compare
Choose a tag to compare

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

01 Sep 09:53
Compare
Choose a tag to compare

Re-allowing '.' in node ids

8.2.4

25 Aug 13:41
Compare
Choose a tag to compare

Features

#889 Sequence diagram background rects

Bugfixes

#895 Fix for issue with spaces in subgraph titles
#900 Fix fr subgraps starting with a number
Fix for issue with clicking functions not correctly applied

8.2.1

21 Jul 09:27
Compare
Choose a tag to compare

Fix for issue with configuration not always beeing applied properly (#884)
Fix for issue with click events for flowcharts (#731)

8.2.0

21 Jul 07:59
Compare
Choose a tag to compare

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

⚠️ Note : This changes the default behaviour of mermaid so that after upgrade to 8.2, if the securityLevel is not configured, tags in flowcharts are encoded as tags and clicking is prohibited.

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:

8.1.0

25 Jun 08:38
Compare
Choose a tag to compare

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

29 Jan 11:17
Compare
Choose a tag to compare

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