Skip to content

Releases: mermaid-js/mermaid

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

6.0.0

29 May 17:53
Compare
Choose a tag to compare

Today we're announcing that we're switching to major revisions for mermaid. The last version was 0.5.8. This release is 6.0.0 (instead of 0.6.0).

#Changes
#236: Windows - cli - could not find phantomjs at the specified path
#299: Sequence diagram Loops: changing boxMargin spoils the "loop" notation
More forgiving syntax regarding
Support for leading comments for sequenceDiagrams
#313: Support for activation boxes in sequence diagrams
Support for git graph diagrams
Added line interpolation to linkStyle in flowchart
Better handling of spaces around the section names in the gantt charts

Chrome 48 support

25 Jan 18:14
Compare
Choose a tag to compare

Small release solving issue #281 with polyfill for changes made in Chrome v48

0.5.6

22 Nov 18:12
Compare
Choose a tag to compare

Changes

Fixes for issues:
#229 Optional terminal new line in sequenceDiagrams
#235 Allow node ids with keywords as suffixes
#237 Elipse syntax
#244 Font awesome incon insert
#239 Fixed - Cannot read property 'replace' of undefined
#257 Removed dependency on babel when using requiring mermaid
#249 SVG arrowheads are broken in the CLI
#255 Label resizing with dynamically loaded fonts
#259 One diagram that fails to render stops further execution on the page

Other changes
Experimental support for class diagrams
Better error handling in css cloning

Mini release

21 Oct 19:17
Compare
Choose a tag to compare

Fix for issue #227 regarding arrowheads in sequence diagrams.

0.5.4

19 Oct 20:22
Compare
Choose a tag to compare

Main changes

  • Improved handling of base tags as discussed in issue #225 and #181
  • Upgraded to version 0.3.5.6 of d3 as described in issue #221
  • Possible to set logLevel from configuration as described in issue#220
  • Possibility to set with of generated images using the CLI as discussed in issue #204
  • Support for font-awesome as described in issue #49 * end is allowed as substring in the vertex/node id asdescribed in issue #184

Code changes

  • Modernized build environment
  • Support for es2015 syntax via babel

0.5.3

04 Oct 21:31
Compare
Choose a tag to compare

#Changes in version 0.5.3

  • Support for hyperlink and tooltip
  • Possible to escape characters in sequenceDiagrams and flowcharts
  • Mermaid now possible to use in a requirejs/AMD environment
  • More correct xml for foreignobject whenusing html labels
  • Better wordwrapping for notes in sequence diagrams
  • Mermaid can now works in pages that use base tags
  • Updated styling posibilities from css

This release has the same functionality as 0.5.2 but with correct version in file published in npm.