Files
mermaid/packages/tiny/CHANGELOG.md
github-actions[bot] 767754f4fb Version Packages
2025-07-16 08:25:22 +00:00

22 KiB

mermaid

11.9.0

Minor Changes

  • #6453 5acbd7e Thanks @sidharthv96! - feat: Add getRegisteredDiagramsMetadata to mermaid, which returns all the registered diagram IDs in mermaid

Patch Changes

  • #6738 d90634b Thanks @shubham-mermaid! - chore: Updated TreeMapDB to use class based approach

  • #6510 7a38eb7 Thanks @sidharthv96! - chore: Move packet diagram out of beta

  • #6747 3e3ae08 Thanks @darshanr0107! - fix: adjust sequence diagram title positioning to prevent overlap with top border in Safari

  • #6751 d3e2be3 Thanks @darshanr0107! - chore: Update MindmapDB to use class based approach

  • #6715 637680d Thanks @Syn3ugar! - fix(timeline): fix loading leftMargin from config

    The timeline.leftMargin config value should now correctly control the size of the left margin, instead of being ignored.

  • Updated dependencies [7a38eb7]:

    • @mermaid-js/parser@0.6.2

11.8.1

Patch Changes

  • Updated dependencies [0da2922]:
    • @mermaid-js/parser@0.6.1

11.8.0

Minor Changes

  • #6590 f338802 Thanks @knsv! - Adding support for the new diagram type nested treemap

Patch Changes

  • #6707 592c5bb Thanks @darshanr0107! - fix: Log a warning when duplicate commit IDs are encountered in gitGraph to help identify and debug rendering issues caused by non-unique IDs.

  • Updated dependencies [f338802]:

    • @mermaid-js/parser@0.6.0

11.7.0

Minor Changes

Patch Changes

  • #6588 b1cf291 Thanks @omkarht! - Fix stroke styles for ER diagram to correctly apply path and row-specific styles

  • #6296 a4754ad Thanks @sidharthv96! - chore: Convert StateDB into TypeScript

  • #6463 2b05d7e Thanks @AaronMoat! - fix: Remove incorrect style="undefined;" attributes in some Mermaid diagrams

  • #6282 d63d3bf Thanks @saurabhg772244! - FontAwesome icons can now be embedded as SVGs in flowcharts if they are registered via mermaid.registerIconPacks.

  • #6407 cdbd3e5 Thanks @thomascizeron! - Refactor grammar so that title don't break Architecture Diagrams

  • #6343 1ddaf10 Thanks @jeswr! - fix: allow colons in events

  • #6616 ca80f71 Thanks @ashishjain0512! - fix(timeline): ensure consistent vertical line lengths with visible arrowheads

    Fixed timeline diagrams where vertical dashed lines from tasks had inconsistent lengths. All vertical lines now extend to the same depth regardless of the number of events in each column, with sufficient padding to clearly display both the dashed line pattern and complete arrowheads.

  • #6566 bca6ed6 Thanks @arpitjain099! - fix: Fix incomplete string escaping in URL manipulation logic when arrowMarkerAbsolute: true by ensuring all unsafe characters are escaped.

  • Updated dependencies [df9df9d, cdbd3e5]:

    • @mermaid-js/parser@0.5.0

11.6.0

Minor Changes

  • #6408 ad65313 Thanks @ashishjain0512! - fix: restore curve type configuration functionality for flowcharts. This fixes the issue where curve type settings were not being applied when configured through any of the following methods:

    • Config
    • Init directive (%%{ init: { 'flowchart': { 'curve': '...' } } }%%)
    • LinkStyle command (linkStyle default interpolate ...)
  • #6381 95d73bc Thanks @thomascizeron! - Add Radar Chart

Patch Changes

11.5.0

Minor Changes

  • #6187 7809b5a Thanks @ashishjain0512! - Flowchart new syntax for node metadata bugs

    • Incorrect label mapping for nodes when using &
    • Syntax error when } with trailing spaces before new line
  • #6136 ec0d9c3 Thanks @knsv! - Adding support for animation of flowchart edges

  • #6373 05bdf0e Thanks @ashishjain0512! - Upgrade Requirement and ER diagram to use the common renderer flow

    • Added support for directions
    • Added support for hand drawn look
  • #6371 4d25cab Thanks @knsv! - The arrowhead color should match the color of the edge. Creates a unique clone of the arrow marker with the appropriate color.

Patch Changes

  • #6064 2a91849 Thanks @NicolasNewman! - fix: architecture diagrams no longer grow to extreme heights due to conflicting alignments

  • #6198 963efa6 Thanks @ferozmht! - Fixes for consistent edge id creation & handling edge cases for animate edge feature

  • #6196 127bac1 Thanks @knsv! - Fix for issue #6195 - allowing @ signs inside node labels

  • #6212 90bbf90 Thanks @saurabhg772244! - fix: mermaidAPI.getDiagramFromText() now returns a new different db for each class diagram

  • #6218 232e60c Thanks @saurabhg772244! - fix: revert state db to resolve getData returning empty nodes and edges

  • #6250 9cad3c7 Thanks @saurabhg772244! - mermaidAPI.getDiagramFromText() now returns a new db instance on each call for state diagrams

  • #6293 cfd84e5 Thanks @saurabhg772244! - Added versioning to StateDB and updated tests and diagrams to use it.

  • #6161 6cc31b7 Thanks @saurabhg772244! - fix: mermaidAPI.getDiagramFromText() now returns a new different db for each flowchart

  • #6272 ffa7804 Thanks @saurabhg772244! - fix: mermaidAPI.getDiagramFromText() now returns a new different db for each sequence diagram. Added unique IDs for messages.

  • #6205 32a68d4 Thanks @saurabhg772244! - fix: Gantt, Sankey and User Journey diagram are now able to pick font-family from mermaid config.

  • #6295 da6361f Thanks @omkarht! - fix: getDirection and setDirection in stateDb refactored to return and set actual direction

  • #6185 3e32332 Thanks @saurabhg772244! - mermaidAPI.getDiagramFromText() now returns a new different db for each state diagram

11.4.1

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.

11.4.0

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

11.3.0

Minor Changes

Patch Changes

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

    
    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

11.2.1

Patch Changes

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

11.2.0

Minor Changes

Patch Changes

11.1.1

Patch Changes

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

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

11.0.2

Patch Changes

11.0.1

Patch Changes

11.0.2

Patch Changes

  • Updated dependencies [83926c9]:
    • @mermaid-js/parser@0.1.1

11.0.1

Patch Changes