Skip to content

Releases: mermaid-js/mermaid

mermaid@11.4.0

30 Oct 15:43
56f522e
Compare
Choose a tag to compare

Minor Changes

  • #5999 742ad7c Thanks @knsv! - Adding Kanban board, a new diagram type

  • #5880 bdf145f Thanks @yari-dewalt! - Class diagram changes:

    • Updates the class diagram to the new unified way of rendering.
    • Includes a new "classBox" shape to be used in diagrams
    • Other updates such as:
      • the option to hide the empty members box in class diagrams,
      • support for handDrawn look,
      • the introduction of the classDef statement into class diagrams,
      • support for styling the default class,
      • support lollipop interfaces.
    • Includes fixes / additions for #5562 #3139 and #4037

Patch Changes

v10.9.3

22 Oct 08:59
Compare
Choose a tag to compare

Updates the bundled version of dependencies in the following files:

  • dist/mermaid.min.js
  • dist/mermaid.js
  • dist/mermaid.esm.mjs
  • dist/mermaid.esm.min.mjs

If you are not using these files (e.g. you are using the default NPM export of mermaid, e.g. import mermaid from 'mermaid', or you are using dist/mermaid.core.mjs), this release is identical to v10.9.2.

This is to avoid potential security issues in KaTeX and DOMPurify, see:

These dependencies have already been updated in v11.0.0.

Changelog

Chore

  • Updates the bundled version of KaTeX to 0.16.11 (2bedd0e)
  • Updates the bundled version of DOMPurify to 3.1.6 (92a07ff)

Full Changelog: v10.9.2...v10.9.3

mermaid@11.3.0

03 Oct 14:43
be57484
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #5849 6c5b7ce Thanks @ReneLombard! - Fixed an issue when the mermaid classdiagram crashes when adding a . to the namespace.
    Forexample

    classDiagram
      namespace Company.Project.Module {
        class GenericClass~T~ {
          +addItem(item: T)
          +getItem() T
        }
      }
  • #5914 de2c05c Thanks @aloisklink! - Ban DOMPurify v3.1.7 as a dependency

@mermaid-js/layout-elk@0.1.5

03 Oct 14:43
be57484
Compare
Choose a tag to compare

Patch Changes

v10.9.2

02 Oct 10:36
4dd4997
Compare
Choose a tag to compare

This release back-ports #5914 to the v10 release line to fix #5904 (an incompatibility between mermaid and DOMPurify v3.1.7)

Patch Changes

Full Changelog: v10.9.1...v10.9.2

mermaid@11.2.1

16 Sep 16:41
d63dc31
Compare
Choose a tag to compare

Patch Changes

  • #5856 bfd8c63 Thanks @knsv! - Fix for issue with calculation of label width when using in firefox

mermaid@11.2.0

09 Sep 13:23
80903ec
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@mermaid-js/layout-elk@0.1.4

09 Sep 14:03
9c41708
Compare
Choose a tag to compare

Patch Changes

mermaid@11.1.1

06 Sep 17:19
7314719
Compare
Choose a tag to compare

Patch Changes

  • #5828 4c43d21 Thanks @knsv! - fix: Fix for issue where self-loops in the root of diagrams break the rendering

mermaid@11.1.0

02 Sep 15:18
32710c1
Compare
Choose a tag to compare

11.1.0

Minor Changes

Patch Changes

  • #5810 28bd07f Thanks @knsv! - Fix for self loops in cluster
    Supporting legacy defaultRenderer directive

  • #5789 16faef4 Thanks @sidharthv96! - chore: Move icons to architecture, remove full icon sets to reduce bundle size

  • Updated dependencies [256a148, 7d8143b]:

    • @mermaid-js/parser@0.3.0