Skip to content

Releases: mermaid-js/mermaid

[email protected]

27 Nov 11:03
9868f3a
Compare
Choose a tag to compare

Patch Changes

  • #6059 01b5079 Thanks @knsv! - fix: Kanban diagrams will not render when adding a number as ticket id or assigned for a task

  • #6038 1388662 Thanks @knsv! - fix: Intersection calculations for tilted cylinder/DAS when using handdrawn look. Some random seeds could cause the calculations to break.

  • #6079 fe3cffb Thanks @aloisklink! - Bump dompurify to ^3.2.1. This removes the need for @types/dompurify.

@mermaid-js/[email protected]

27 Nov 17:15
becadf0
Compare
Choose a tag to compare

Patch Changes

  • #6090 654097c Thanks @knsv! - fix: Updated offset calculations for diamond shape when handling intersections

@mermaid-js/[email protected]

27 Nov 11:03
9868f3a
Compare
Choose a tag to compare

Patch Changes

[email protected]

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

[email protected]

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/[email protected]

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

[email protected]

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

[email protected]

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

Minor Changes

Patch Changes