mermaid-js/mermaid (mermaid)
### [`v11.4.0`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.4.0)
[Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/mermaid@11.3.0...mermaid@11.4.0)
##### Minor Changes
- [#5999](https://redirect.github.com/mermaid-js/mermaid/pull/5999) [`742ad7c`](https://redirect.github.com/mermaid-js/mermaid/commit/742ad7c130964df1fb5544e909d9556081285f68) Thanks [@knsv](https://redirect.github.com/knsv)! - Adding Kanban board, a new diagram type
- [#5880](https://redirect.github.com/mermaid-js/mermaid/pull/5880) [`bdf145f`](https://redirect.github.com/mermaid-js/mermaid/commit/bdf145ffe362462176d9c1e68d5f3ff5c9d962b0) Thanks [@yari-dewalt](https://redirect.github.com/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](https://redirect.github.com/mermaid-js/mermaid/issues/5562) [#3139](https://redirect.github.com/mermaid-js/mermaid/issues/3139) and [#4037](https://redirect.github.com/mermaid-js/mermaid/issues/4037)
##### Patch Changes
- [#5937](https://redirect.github.com/mermaid-js/mermaid/pull/5937) [`17b7831`](https://redirect.github.com/mermaid-js/mermaid/commit/17b783135f9b2b7748b620dbf81d0f56ab4755f1) Thanks [@saurabhg772244](https://redirect.github.com/saurabhg772244)! - fix: Jagged edge fix for icon shape
- [#5933](https://redirect.github.com/mermaid-js/mermaid/pull/5933) [`72d60d2`](https://redirect.github.com/mermaid-js/mermaid/commit/72d60d2633584eb59bccdb6cf30b9522db645db2) Thanks [@remcohaszing](https://redirect.github.com/remcohaszing)! - Add missing TypeScript dependencies
- [#5937](https://redirect.github.com/mermaid-js/mermaid/pull/5937) [`17b7831`](https://redirect.github.com/mermaid-js/mermaid/commit/17b783135f9b2b7748b620dbf81d0f56ab4755f1) Thanks [@saurabhg772244](https://redirect.github.com/saurabhg772244)! - fix: Icon color fix for colored icons.
- [#6002](https://redirect.github.com/mermaid-js/mermaid/pull/6002) [`5fabd41`](https://redirect.github.com/mermaid-js/mermaid/commit/5fabd414fbee01e43bf6c900907ffc1511ca7440) Thanks [@aloisklink](https://redirect.github.com/aloisklink)! - fix: error `mermaid.parse` on an invalid shape, so that it matches the errors thrown by `mermaid.render`
### [`v11.3.0`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.3.0)
[Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/mermaid@11.2.1...mermaid@11.3.0)
##### Minor Changes
- [#5825](https://redirect.github.com/mermaid-js/mermaid/pull/5825) [`9e3aa70`](https://redirect.github.com/mermaid-js/mermaid/commit/9e3aa705ae21fd4898504ab22d775a9e437b898e) Thanks [@knsv](https://redirect.github.com/knsv), [@ashishjain0512](https://redirect.github.com/ashishjain0512), [@omkarht](https://redirect.github.com/omkarht), [@saurabhg772244](https://redirect.github.com/saurabhg772244), [@aloisklink](https://redirect.github.com/aloisklink), [@sidharthv96](https://redirect.github.com/sidharthv96) ! - New Flowchart Shapes (with new syntax)
##### Patch Changes
- [#5849](https://redirect.github.com/mermaid-js/mermaid/pull/5849) [`6c5b7ce`](https://redirect.github.com/mermaid-js/mermaid/commit/6c5b7ce9f41c0fbd59fe03dbefc8418d97697f0a) Thanks [@ReneLombard](https://redirect.github.com/ReneLombard)! - Fixed an issue when the mermaid classdiagram crashes when adding a . to the namespace.
Forexample
```mermaid
classDiagram
namespace Company.Project.Module {
class GenericClass~T~ {
+addItem(item: T)
+getItem() T
}
}
```
- [#5914](https://redirect.github.com/mermaid-js/mermaid/pull/5914) [`de2c05c`](https://redirect.github.com/mermaid-js/mermaid/commit/de2c05cd5463af68d19dd7b6b3f1303d69ddb2dd) Thanks [@aloisklink](https://redirect.github.com/aloisklink)! - Ban DOMPurify v3.1.7 as a dependency
### [`v11.2.1`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.2.1)
[Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/mermaid@11.2.0...mermaid@11.2.1)
##### Patch Changes
- [#5856](https://redirect.github.com/mermaid-js/mermaid/pull/5856) [`bfd8c63`](https://redirect.github.com/mermaid-js/mermaid/commit/bfd8c63daaa8420e57da9953922b9f0c94123064) Thanks [@knsv](https://redirect.github.com/knsv)! - Fix for issue with calculation of label width when using in firefox
### [`v11.2.0`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.2.0)
[Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/mermaid@11.1.1...mermaid@11.2.0)
##### Minor Changes
- [#5831](https://redirect.github.com/mermaid-js/mermaid/pull/5831) [`64abf29`](https://redirect.github.com/mermaid-js/mermaid/commit/64abf29ea870eaa47148197f95ce714f85bd7eea) Thanks [@sidharthv96](https://redirect.github.com/sidharthv96)! - feat: Return parsed config from mermaid.parse
##### Patch Changes
- [#5838](https://redirect.github.com/mermaid-js/mermaid/pull/5838) [`5e75320`](https://redirect.github.com/mermaid-js/mermaid/commit/5e75320d49eab65aca630dcc3c04c8d620a8bbf7) Thanks [@bollwyvl](https://redirect.github.com/bollwyvl)! - fix: Replace $root with relative paths
### [`v11.1.1`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.1.1)
[Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/mermaid@11.1.0...mermaid@11.1.1)
##### Patch Changes
- [#5828](https://redirect.github.com/mermaid-js/mermaid/pull/5828) [`4c43d21`](https://redirect.github.com/mermaid-js/mermaid/commit/4c43d21196f784b6f483ae635fc462329f3d176f) Thanks [@knsv](https://redirect.github.com/knsv)! - fix: Fix for issue where self-loops in the root of diagrams break the rendering
### [`v11.1.0`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.1.0)
[Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/mermaid@11.0.2...mermaid@11.1.0)
#### 11.1.0
##### Minor Changes
- [#5793](https://redirect.github.com/mermaid-js/mermaid/pull/5793) [`6ecdf7b`](https://redirect.github.com/mermaid-js/mermaid/commit/6ecdf7be688efdc53c52fea3ba891327242bc890) Thanks [@sidharthv96](https://redirect.github.com/sidharthv96)! - feat: Add support for iconify icons
- [#5711](https://redirect.github.com/mermaid-js/mermaid/pull/5711) [`8e640da`](https://redirect.github.com/mermaid-js/mermaid/commit/8e640da5436e8ae013b11b1c1821a9afcc15d0d3) Thanks [@NicolasNewman](https://redirect.github.com/NicolasNewman)! - feat(er): allow multi-line relationship labels
- [#5452](https://redirect.github.com/mermaid-js/mermaid/pull/5452) [`256a148`](https://redirect.github.com/mermaid-js/mermaid/commit/256a148bbf484fc7db6c19f94dd69d5d268ee048) Thanks [@NicolasNewman](https://redirect.github.com/NicolasNewman)! - New Diagram: Architecture
Adds architecture diagrams which allows users to show relations between services.
##### Patch Changes
- [#5810](https://redirect.github.com/mermaid-js/mermaid/pull/5810) [`28bd07f`](https://redirect.github.com/mermaid-js/mermaid/commit/28bd07fdeb4fc981107d21317ec6160b31f80116) Thanks [@knsv](https://redirect.github.com/knsv)! - Fix for self loops in cluster
Supporting legacy defaultRenderer directive
- [#5789](https://redirect.github.com/mermaid-js/mermaid/pull/5789) [`16faef4`](https://redirect.github.com/mermaid-js/mermaid/commit/16faef4613b91a7d3a98a1563c25b57f9238acc7) Thanks [@sidharthv96](https://redirect.github.com/sidharthv96)! - chore: Move icons to architecture, remove full icon sets to reduce bundle size
- Updated dependencies \[[`256a148`](https://redirect.github.com/mermaid-js/mermaid/commit/256a148bbf484fc7db6c19f94dd69d5d268ee048), [`7d8143b`](https://redirect.github.com/mermaid-js/mermaid/commit/7d8143b917ee3562149a0e0a821ed2d6f29cc05d)]:
- [@mermaid-js/parser](https://redirect.github.com/mermaid-js/parser)[@0](https://redirect.github.com/0).3.0
### [`v11.0.2`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.0.2)
[Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/mermaid@11.0.1...mermaid@11.0.2)
##### Patch Changes
- [#5664](https://redirect.github.com/mermaid-js/mermaid/pull/5664) [`5deaef4`](https://redirect.github.com/mermaid-js/mermaid/commit/5deaef456e74d796866431c26f69360e4e74dbff) Thanks [@Austin-Fulbright](https://redirect.github.com/Austin-Fulbright)! - chore: Migrate git graph to langium, use typescript for internals
- Updated dependencies \[[`5deaef4`](https://redirect.github.com/mermaid-js/mermaid/commit/5deaef456e74d796866431c26f69360e4e74dbff)]:
- [@mermaid-js/parser](https://redirect.github.com/mermaid-js/parser)[@0](https://redirect.github.com/0).2.0
### [`v11.0.1`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.0.1)
[Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/v11.0.0...mermaid@11.0.1)
##### Patch Changes
- [#2](https://redirect.github.com/calvinvette/mermaid/pull/2) [`bf05d87`](https://redirect.github.com/mermaid-js/mermaid/commit/bf05d8781edacb580fdb053da167e968b7570117) Thanks [@calvinvette](https://redirect.github.com/calvinvette)! - test changeset
### [`v11.0.0`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/v11.0.0)
[Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/v10.9.3...v11.0.0)
### Release Notes
#### Major Update
Refactored the Mermaid rendering engine to support new features, including customizable layout algorithms and visual styles. This update enhances diagram flexibility, starting with flowcharts and state diagrams, with plans to extend to all diagram types by [@knsv](https://redirect.github.com/knsv), [@ashishjain0512](https://redirect.github.com/ashishjain0512), [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5604](https://redirect.github.com/mermaid-js/mermaid/pull/5604)
#### π¨ **Breaking Changes**
- refactor!(git): default to `useMaxWidth` true ([#5723](https://redirect.github.com/mermaid-js/mermaid/issues/5723)) [@aloisklink](https://redirect.github.com/aloisklink)
- refactor!(sankey): default to `useMaxWidth` true ([#5724](https://redirect.github.com/mermaid-js/mermaid/issues/5724)) [@aloisklink](https://redirect.github.com/aloisklink)
- Use ESBuild (replaces UMD with IIFE bundle) by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4729](https://redirect.github.com/mermaid-js/mermaid/pull/4729)
#### π Features
- feat: add `@mermaid-js/parser` package and `info` langium parser by [@Yokozuna59](https://redirect.github.com/Yokozuna59) in [https://github.com/mermaid-js/mermaid/pull/4727](https://redirect.github.com/mermaid-js/mermaid/pull/4727)
- Allow registered diagrams to be overridden. by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5050](https://redirect.github.com/mermaid-js/mermaid/pull/5050)
- feat: Add diagramType to RenderResult and ParseResult by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5118](https://redirect.github.com/mermaid-js/mermaid/pull/5118)
- feat: Add packet diagram by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4839](https://redirect.github.com/mermaid-js/mermaid/pull/4839)
- feat: add `pie` langium parser by [@Yokozuna59](https://redirect.github.com/Yokozuna59) in [https://github.com/mermaid-js/mermaid/pull/4751](https://redirect.github.com/mermaid-js/mermaid/pull/4751)
- feat: add name attribute and class "actor-line" to line by [@ad1992](https://redirect.github.com/ad1992) in [https://github.com/mermaid-js/mermaid/pull/5338](https://redirect.github.com/mermaid-js/mermaid/pull/5338)
- Feature/4661 gantt customize days of weekend by [@Ronid1](https://redirect.github.com/Ronid1) in [https://github.com/mermaid-js/mermaid/pull/5358](https://redirect.github.com/mermaid-js/mermaid/pull/5358)
- Feature/5245 sequence diagram add classes to actors text by [@Ronid1](https://redirect.github.com/Ronid1) in [https://github.com/mermaid-js/mermaid/pull/5272](https://redirect.github.com/mermaid-js/mermaid/pull/5272)
- Add `suppressErrorRendering` option to avoid inserting 'Syntax error' message to DOM directly by [@rhysd](https://redirect.github.com/rhysd) in [https://github.com/mermaid-js/mermaid/pull/4359](https://redirect.github.com/mermaid-js/mermaid/pull/4359)
- Flowchart: Apply `nodeSpacing`/`rankSpacing` config to subgraphs by [@rowanfr](https://redirect.github.com/rowanfr) in [https://github.com/mermaid-js/mermaid/pull/5183](https://redirect.github.com/mermaid-js/mermaid/pull/5183)
- feat(git-graph): GitGraph Bottom-to-Top Orientation by [@JingyuMarcelLee](https://redirect.github.com/JingyuMarcelLee) in [https://github.com/mermaid-js/mermaid/pull/5259](https://redirect.github.com/mermaid-js/mermaid/pull/5259)
- Feature/support fa kit custom icons by [@jakobskrym](https://redirect.github.com/jakobskrym) in [https://github.com/mermaid-js/mermaid/pull/5430](https://redirect.github.com/mermaid-js/mermaid/pull/5430)
- Adds 'Switch' as an Alias for 'Checkout\` by [@FutzMonitor](https://redirect.github.com/FutzMonitor) in [https://github.com/mermaid-js/mermaid/pull/5445](https://redirect.github.com/mermaid-js/mermaid/pull/5445)
- feat: Add point styling for quadrant chart by [@ilyes-ced](https://redirect.github.com/ilyes-ced) in [https://github.com/mermaid-js/mermaid/pull/5173](https://redirect.github.com/mermaid-js/mermaid/pull/5173)
- feat(state): add from, to ids for edge by [@igorwessel](https://redirect.github.com/igorwessel) in [https://github.com/mermaid-js/mermaid/pull/5503](https://redirect.github.com/mermaid-js/mermaid/pull/5503)
- Feature/4051 sequence diagram multi directional arrow by [@Ronid1](https://redirect.github.com/Ronid1) in [https://github.com/mermaid-js/mermaid/pull/5209](https://redirect.github.com/mermaid-js/mermaid/pull/5209)
- feat: Add threshold to argos test by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5633](https://redirect.github.com/mermaid-js/mermaid/pull/5633)
- feat: Use marked instead of mdast-util-from-markdown by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5636](https://redirect.github.com/mermaid-js/mermaid/pull/5636)
- feat(3801): Multiple Tags support for Git Graph by [@Yash-Singh1](https://redirect.github.com/Yash-Singh1) in [https://github.com/mermaid-js/mermaid/pull/5647](https://redirect.github.com/mermaid-js/mermaid/pull/5647)
- Allow Hashtags in Timeline Titles, Sections, and Events by [@FutzMonitor](https://redirect.github.com/FutzMonitor) in [https://github.com/mermaid-js/mermaid/pull/5399](https://redirect.github.com/mermaid-js/mermaid/pull/5399)
- Allow Semicolons in Timeline Titles, Sections, Periods, and Events by [@FutzMonitor](https://redirect.github.com/FutzMonitor) in [https://github.com/mermaid-js/mermaid/pull/5335](https://redirect.github.com/mermaid-js/mermaid/pull/5335)
#### π Bug Fixes
- bug/5133 sequence diagram fix arrow corner by [@Ronid1](https://redirect.github.com/Ronid1) in [https://github.com/mermaid-js/mermaid/pull/5309](https://redirect.github.com/mermaid-js/mermaid/pull/5309)
- fix: remove unused import by [@ad1992](https://redirect.github.com/ad1992) in [https://github.com/mermaid-js/mermaid/pull/5421](https://redirect.github.com/mermaid-js/mermaid/pull/5421)
- fix: make sequenceDB typesafe by [@ad1992](https://redirect.github.com/ad1992) in [https://github.com/mermaid-js/mermaid/pull/5426](https://redirect.github.com/mermaid-js/mermaid/pull/5426)
- fix: simply from and to in message to string type by [@ad1992](https://redirect.github.com/ad1992) in [https://github.com/mermaid-js/mermaid/pull/5471](https://redirect.github.com/mermaid-js/mermaid/pull/5471)
- fix: inconsistent MathML rendering & erroneous s being added by [@NicolasNewman](https://redirect.github.com/NicolasNewman) in [https://github.com/mermaid-js/mermaid/pull/5483](https://redirect.github.com/mermaid-js/mermaid/pull/5483)
- fix: move from objects to Maps by [@Yash-Singh1](https://redirect.github.com/Yash-Singh1) in [https://github.com/mermaid-js/mermaid/pull/5468](https://redirect.github.com/mermaid-js/mermaid/pull/5468)
- Bug/5525 sequence diagram fix note z position by [@Ronid1](https://redirect.github.com/Ronid1) in [https://github.com/mermaid-js/mermaid/pull/5564](https://redirect.github.com/mermaid-js/mermaid/pull/5564)
- Fix `sandbox` mode with UTF-16 characters by [@iansan5653](https://redirect.github.com/iansan5653) in [https://github.com/mermaid-js/mermaid/pull/5520](https://redirect.github.com/mermaid-js/mermaid/pull/5520)
- \[XYChart] fixed incorrect spacing between data points by [@OG-NI](https://redirect.github.com/OG-NI) in [https://github.com/mermaid-js/mermaid/pull/5556](https://redirect.github.com/mermaid-js/mermaid/pull/5556)
- fix: prevent escaping label styles by [@Yash-Singh1](https://redirect.github.com/Yash-Singh1) in [https://github.com/mermaid-js/mermaid/pull/5598](https://redirect.github.com/mermaid-js/mermaid/pull/5598)
- fix(class): [#5624](https://redirect.github.com/mermaid-js/mermaid/issues/5624) Reset direction to default in classDiagram by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5625](https://redirect.github.com/mermaid-js/mermaid/pull/5625)
- fix: double space in wrapped sequence diagram messages by [@Yash-Singh1](https://redirect.github.com/Yash-Singh1) in [https://github.com/mermaid-js/mermaid/pull/5649](https://redirect.github.com/mermaid-js/mermaid/pull/5649)
- Fix Requirement overflow by [@Mikek16](https://redirect.github.com/Mikek16) in [https://github.com/mermaid-js/mermaid/pull/5305](https://redirect.github.com/mermaid-js/mermaid/pull/5305)
- fix: Create a copy of config passed in initialize, so that theme variables are not leaked to the object by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5725](https://redirect.github.com/mermaid-js/mermaid/pull/5725)
- Bug/4391 make markdown auto wrapping optional by [@dreathed](https://redirect.github.com/dreathed) in [https://github.com/mermaid-js/mermaid/pull/4856](https://redirect.github.com/mermaid-js/mermaid/pull/4856)
- Fixed styling for lines for ELK flowchart by [@itsalam](https://redirect.github.com/itsalam) in [https://github.com/mermaid-js/mermaid/pull/4844](https://redirect.github.com/mermaid-js/mermaid/pull/4844)
- Correct the System_Boundary stereotype by [@jonmcewen](https://redirect.github.com/jonmcewen) in [https://github.com/mermaid-js/mermaid/pull/5243](https://redirect.github.com/mermaid-js/mermaid/pull/5243)
- Remove `elkjs` dependency from mermaid package by [@Gusted](https://redirect.github.com/Gusted) in [https://github.com/mermaid-js/mermaid/pull/5654](https://redirect.github.com/mermaid-js/mermaid/pull/5654)
- Aligning doctype so that mermaid renders in the same way with or without it by [@knsv](https://redirect.github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/5727](https://redirect.github.com/mermaid-js/mermaid/pull/5727)
#### π§° Maintenance
- chore: Cleanup layoutelk by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5730](https://redirect.github.com/mermaid-js/mermaid/pull/5730)
- chore: Fix peer dependencies by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5737](https://redirect.github.com/mermaid-js/mermaid/pull/5737)
- chore: remove repetitive words by [@welfuture](https://redirect.github.com/welfuture) in [https://github.com/mermaid-js/mermaid/pull/5476](https://redirect.github.com/mermaid-js/mermaid/pull/5476)
- chore: remove unrefSubSchemas by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5514](https://redirect.github.com/mermaid-js/mermaid/pull/5514)
- chore: setup Argos Visual Testing by [@gregberge](https://redirect.github.com/gregberge) in [https://github.com/mermaid-js/mermaid/pull/5577](https://redirect.github.com/mermaid-js/mermaid/pull/5577)
- chore: fix Argos parallel by [@gregberge](https://redirect.github.com/gregberge) in [https://github.com/mermaid-js/mermaid/pull/5581](https://redirect.github.com/mermaid-js/mermaid/pull/5581)
- chore: Deprecate mermaidAPI by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4821](https://redirect.github.com/mermaid-js/mermaid/pull/4821)
- chore: Log granular rebuild times by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5609](https://redirect.github.com/mermaid-js/mermaid/pull/5609)
- chore: Update [@zenuml/core](https://redirect.github.com/zenuml/core) dependency to version 3.23.27 by [@dontry](https://redirect.github.com/dontry) in [https://github.com/mermaid-js/mermaid/pull/5607](https://redirect.github.com/mermaid-js/mermaid/pull/5607)
- chore: 5237 Cleanup by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5606](https://redirect.github.com/mermaid-js/mermaid/pull/5606)
- chore: Update pnpm and lockfile by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5728](https://redirect.github.com/mermaid-js/mermaid/pull/5728)
- Split chunks into individual dirs by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4733](https://redirect.github.com/mermaid-js/mermaid/pull/4733)
- remove duplicate `@types/d3-scale` dev dependency by [@Yokozuna59](https://redirect.github.com/Yokozuna59) in [https://github.com/mermaid-js/mermaid/pull/4749](https://redirect.github.com/mermaid-js/mermaid/pull/4749)
- \[v11] Limit `MermaidConfig` enum TypesScript types to certain values by [@aloisklink](https://redirect.github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4803](https://redirect.github.com/mermaid-js/mermaid/pull/4803)
- Move ELK to standalone package by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5049](https://redirect.github.com/mermaid-js/mermaid/pull/5049)
- Remove default properties before generating the config types by [@disog](https://redirect.github.com/disog) in [https://github.com/mermaid-js/mermaid/pull/5126](https://redirect.github.com/mermaid-js/mermaid/pull/5126)
- refactor: Convert flowDB to TS by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5077](https://redirect.github.com/mermaid-js/mermaid/pull/5077)
- refactor: Support async parsers \[internal] by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5233](https://redirect.github.com/mermaid-js/mermaid/pull/5233)
- build(deps): update `langium` to `v3` and apply the required changes by [@Yokozuna59](https://redirect.github.com/Yokozuna59) in [https://github.com/mermaid-js/mermaid/pull/5345](https://redirect.github.com/mermaid-js/mermaid/pull/5345)
- ci(e2e): avoid commenting on PRs in CI, fixing PRs from forks by [@aloisklink](https://redirect.github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/5365](https://redirect.github.com/mermaid-js/mermaid/pull/5365)
- \[[PR#5468](https://redirect.github.com/PR/mermaid/issues/5468)] refactor: remove TypeScript non null assertions by [@aloisklink](https://redirect.github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/5518](https://redirect.github.com/mermaid-js/mermaid/pull/5518)
- Fixed entrypoint path by [@nirname](https://redirect.github.com/nirname) in [https://github.com/mermaid-js/mermaid/pull/5566](https://redirect.github.com/mermaid-js/mermaid/pull/5566)
- Fixed wrong ELK detector by [@nirname](https://redirect.github.com/nirname) in [https://github.com/mermaid-js/mermaid/pull/5579](https://redirect.github.com/mermaid-js/mermaid/pull/5579)
- Cleanup Cypress tests by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5586](https://redirect.github.com/mermaid-js/mermaid/pull/5586)
- ESLint V9 - Typed by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5608](https://redirect.github.com/mermaid-js/mermaid/pull/5608)
- Update eslint to v9 by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5603](https://redirect.github.com/mermaid-js/mermaid/pull/5603)
- ci: upgrade to pnpm/action-setup@v4 to avoid CI failures by [@frantic1048](https://redirect.github.com/frantic1048) in [https://github.com/mermaid-js/mermaid/pull/5621](https://redirect.github.com/mermaid-js/mermaid/pull/5621)
- test: Argos parallel by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5635](https://redirect.github.com/mermaid-js/mermaid/pull/5635)
- Add autofix.ci by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5651](https://redirect.github.com/mermaid-js/mermaid/pull/5651)
- 5237 Review Updates by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5670](https://redirect.github.com/mermaid-js/mermaid/pull/5670)
- Support flowchart-elk to use layout: elk by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5729](https://redirect.github.com/mermaid-js/mermaid/pull/5729)
#### π Documentation
- Update docs to properly showcase participant ordering by [@loucadufault](https://redirect.github.com/loucadufault) in [https://github.com/mermaid-js/mermaid/pull/5306](https://redirect.github.com/mermaid-js/mermaid/pull/5306)
- DOCS: Add blog post - Official Mermaid Chart for Confluence app by [@huynhicode](https://redirect.github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/5536](https://redirect.github.com/mermaid-js/mermaid/pull/5536)
- docs: fix node version in CONTRIBUTING.md by [@exoego](https://redirect.github.com/exoego) in [https://github.com/mermaid-js/mermaid/pull/5573](https://redirect.github.com/mermaid-js/mermaid/pull/5573)
- docs: Added demo diagram of bidirectional arrows for sequence diagrams by [@Justin-Garey](https://redirect.github.com/Justin-Garey) in [https://github.com/mermaid-js/mermaid/pull/5589](https://redirect.github.com/mermaid-js/mermaid/pull/5589)
- DOCS: Product Hunt by [@huynhicode](https://redirect.github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/5602](https://redirect.github.com/mermaid-js/mermaid/pull/5602)
- Adds Doctave to list of integrations by [@begleynk](https://redirect.github.com/begleynk) in [https://github.com/mermaid-js/mermaid/pull/5614](https://redirect.github.com/mermaid-js/mermaid/pull/5614)
- docs: fix the classDef example in stateDiagram not display as code block, and long text display overflows by [@ScriptBloom](https://redirect.github.com/ScriptBloom) in [https://github.com/mermaid-js/mermaid/pull/5640](https://redirect.github.com/mermaid-js/mermaid/pull/5640)
- Add LLM integration section in productivity tools and add HueHive by [@kamalkishor1991](https://redirect.github.com/kamalkishor1991) in [https://github.com/mermaid-js/mermaid/pull/5351](https://redirect.github.com/mermaid-js/mermaid/pull/5351)
- Update integrations-community: add Drupal and module. by [@swirtSJW](https://redirect.github.com/swirtSJW) in [https://github.com/mermaid-js/mermaid/pull/5389](https://redirect.github.com/mermaid-js/mermaid/pull/5389)
- Update entityRelationshipDiagram.md by [@anlai46](https://redirect.github.com/anlai46) in [https://github.com/mermaid-js/mermaid/pull/5413](https://redirect.github.com/mermaid-js/mermaid/pull/5413)
- Add named composite state example to stateDiagram-v2 by [@cbugk](https://redirect.github.com/cbugk) in [https://github.com/mermaid-js/mermaid/pull/5485](https://redirect.github.com/mermaid-js/mermaid/pull/5485)
- Update integrations-community: Add MarkChart, a macOS app to preview β¦ by [@Timac](https://redirect.github.com/Timac) in [https://github.com/mermaid-js/mermaid/pull/5490](https://redirect.github.com/mermaid-js/mermaid/pull/5490)
- Added to "others" section on integration with Astro by [@conradagramont](https://redirect.github.com/conradagramont) in [https://github.com/mermaid-js/mermaid/pull/5506](https://redirect.github.com/mermaid-js/mermaid/pull/5506)
- Updated Mermaid Chart ChatGPT plugin link by [@Abrifq](https://redirect.github.com/Abrifq) in [https://github.com/mermaid-js/mermaid/pull/5509](https://redirect.github.com/mermaid-js/mermaid/pull/5509)
- Tiny improvements to Diagram Syntax sidebar by [@TWiStErRob](https://redirect.github.com/TWiStErRob) in [https://github.com/mermaid-js/mermaid/pull/5532](https://redirect.github.com/mermaid-js/mermaid/pull/5532)
- Update flowchart.md by [@GRASBOCK](https://redirect.github.com/GRASBOCK) in [https://github.com/mermaid-js/mermaid/pull/5517](https://redirect.github.com/mermaid-js/mermaid/pull/5517)
- Explain line breaks in `sequenceDiagram.md` by [@abitrolly](https://redirect.github.com/abitrolly) in [https://github.com/mermaid-js/mermaid/pull/5570](https://redirect.github.com/mermaid-js/mermaid/pull/5570)
- Add Slidev to the list of integrations by [@KermanX](https://redirect.github.com/KermanX) in [https://github.com/mermaid-js/mermaid/pull/5629](https://redirect.github.com/mermaid-js/mermaid/pull/5629)
- Add Madness to integrations-community.md by [@DannyBen](https://redirect.github.com/DannyBen) in [https://github.com/mermaid-js/mermaid/pull/5591](https://redirect.github.com/mermaid-js/mermaid/pull/5591)
- typo by [@inverted-capital](https://redirect.github.com/inverted-capital) in [https://github.com/mermaid-js/mermaid/pull/5641](https://redirect.github.com/mermaid-js/mermaid/pull/5641)
- add MonsterWriter to list of community integrations by [@wolfoo2931](https://redirect.github.com/wolfoo2931) in [https://github.com/mermaid-js/mermaid/pull/5719](https://redirect.github.com/mermaid-js/mermaid/pull/5719)
#### New Contributors
- [@disog](https://redirect.github.com/disog) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5126](https://redirect.github.com/mermaid-js/mermaid/pull/5126)
- [@kamalkishor1991](https://redirect.github.com/kamalkishor1991) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5351](https://redirect.github.com/mermaid-js/mermaid/pull/5351)
- [@github-actions](https://redirect.github.com/github-actions) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5375](https://redirect.github.com/mermaid-js/mermaid/pull/5375)
- [@swirtSJW](https://redirect.github.com/swirtSJW) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5389](https://redirect.github.com/mermaid-js/mermaid/pull/5389)
- [@loucadufault](https://redirect.github.com/loucadufault) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5306](https://redirect.github.com/mermaid-js/mermaid/pull/5306)
- [@itsalam](https://redirect.github.com/itsalam) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4844](https://redirect.github.com/mermaid-js/mermaid/pull/4844)
- [@JingyuMarcelLee](https://redirect.github.com/JingyuMarcelLee) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5259](https://redirect.github.com/mermaid-js/mermaid/pull/5259)
- [@anlai46](https://redirect.github.com/anlai46) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5413](https://redirect.github.com/mermaid-js/mermaid/pull/5413)
- [@jakobskrym](https://redirect.github.com/jakobskrym) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5430](https://redirect.github.com/mermaid-js/mermaid/pull/5430)
- [@ilyes-ced](https://redirect.github.com/ilyes-ced) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5173](https://redirect.github.com/mermaid-js/mermaid/pull/5173)
- [@welfuture](https://redirect.github.com/welfuture) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5476](https://redirect.github.com/mermaid-js/mermaid/pull/5476)
- [@cbugk](https://redirect.github.com/cbugk) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5485](https://redirect.github.com/mermaid-js/mermaid/pull/5485)
- [@Timac](https://redirect.github.com/Timac) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5490](https://redirect.github.com/mermaid-js/mermaid/pull/5490)
- [@conradagramont](https://redirect.github.com/conradagramont) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5506](https://redirect.github.com/mermaid-js/mermaid/pull/5506)
- [@igorwessel](https://redirect.github.com/igorwessel) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5503](https://redirect.github.com/mermaid-js/mermaid/pull/5503)
- [@GRASBOCK](https://redirect.github.com/GRASBOCK) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5517](https://redirect.github.com/mermaid-js/mermaid/pull/5517)
- [@TWiStErRob](https://redirect.github.com/TWiStErRob) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5532](https://redirect.github.com/mermaid-js/mermaid/pull/5532)
- [@exoego](https://redirect.github.com/exoego) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5573](https://redirect.github.com/mermaid-js/mermaid/pull/5573)
- [@gregberge](https://redirect.github.com/gregberge) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5577](https://redirect.github.com/mermaid-js/mermaid/pull/5577)
- [@jonmcewen](https://redirect.github.com/jonmcewen) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5243](https://redirect.github.com/mermaid-js/mermaid/pull/5243)
- [@abitrolly](https://redirect.github.com/abitrolly) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5570](https://redirect.github.com/mermaid-js/mermaid/pull/5570)
- [@iansan5653](https://redirect.github.com/iansan5653) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5520](https://redirect.github.com/mermaid-js/mermaid/pull/5520)
- [@OG-NI](https://redirect.github.com/OG-NI) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5556](https://redirect.github.com/mermaid-js/mermaid/pull/5556)
- [@Justin-Garey](https://redirect.github.com/Justin-Garey) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5589](https://redirect.github.com/mermaid-js/mermaid/pull/5589)
- [@begleynk](https://redirect.github.com/begleynk) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5614](https://redirect.github.com/mermaid-js/mermaid/pull/5614)
- [@frantic1048](https://redirect.github.com/frantic1048) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5621](https://redirect.github.com/mermaid-js/mermaid/pull/5621)
- [@KermanX](https://redirect.github.com/KermanX) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5629](https://redirect.github.com/mermaid-js/mermaid/pull/5629)
- [@ScriptBloom](https://redirect.github.com/ScriptBloom) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5640](https://redirect.github.com/mermaid-js/mermaid/pull/5640)
- [@DannyBen](https://redirect.github.com/DannyBen) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5591](https://redirect.github.com/mermaid-js/mermaid/pull/5591)
- [@inverted-capital](https://redirect.github.com/inverted-capital) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5641](https://redirect.github.com/mermaid-js/mermaid/pull/5641)
- [@wolfoo2931](https://redirect.github.com/wolfoo2931) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5719](https://redirect.github.com/mermaid-js/mermaid/pull/5719)
- [@Mikek16](https://redirect.github.com/Mikek16) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5305](https://redirect.github.com/mermaid-js/mermaid/pull/5305)
**Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.9.1...v11.0.0
π **Thanks to all contributors helping with this release!** π
### [`v10.9.3`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/v10.9.3)
[Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/v10.9.2...v10.9.3)
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:
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-mmhx-hmjr-r674
- https://github.com/advisories/GHSA-64fm-8hw2-v72w
- https://github.com/advisories/GHSA-cvr6-37gx-v8wc
- https://github.com/advisories/GHSA-f98w-7cxr-ff2h
- https://github.com/advisories/GHSA-3wc5-fcw2-2329
These dependencies have already been updated in [v11.0.0](https://redirect.github.com/mermaid-js/mermaid/releases/tag/v11.0.0).
#### Changelog
##### Chore
- Updates the bundled version of KaTeX to 0.16.11 ([`2bedd0e`](https://redirect.github.com/mermaid-js/mermaid/commit/2bedd0ef87df92a9971ba3490a43d9c1f535e13e))
- Updates the bundled version of DOMPurify to 3.1.6 ([`92a07ff`](https://redirect.github.com/mermaid-js/mermaid/commit/92a07ffe40aab2769dd1c3431b4eb5beac282b34))
**Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.9.2...v10.9.3
### [`v10.9.2`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/v10.9.2)
[Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/v10.9.1...v10.9.2)
This release back-ports [https://github.com/mermaid-js/mermaid/pull/5914](https://redirect.github.com/mermaid-js/mermaid/pull/5914) to the v10 release line to fix [#5904](https://redirect.github.com/mermaid-js/mermaid/issues/5904) (an incompatibility between mermaid and DOMPurify v3.1.7)
##### Patch Changes
- [https://github.com/mermaid-js/mermaid/pull/5914](https://redirect.github.com/mermaid-js/mermaid/pull/5914) [`402abdf`](https://redirect.github.com/mermaid-js/mermaid/commit/402abdf8838d4239bbbd08a0b5ce1e9116751c9f) \[10] fix: ban version v3.1.7 of DOMPurify
**Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.9.1...v10.9.2
Configuration
π Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
10.9.1
->11.4.0
Release Notes
mermaid-js/mermaid (mermaid)
### [`v11.4.0`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.4.0) [Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/mermaid@11.3.0...mermaid@11.4.0) ##### Minor Changes - [#5999](https://redirect.github.com/mermaid-js/mermaid/pull/5999) [`742ad7c`](https://redirect.github.com/mermaid-js/mermaid/commit/742ad7c130964df1fb5544e909d9556081285f68) Thanks [@knsv](https://redirect.github.com/knsv)! - Adding Kanban board, a new diagram type - [#5880](https://redirect.github.com/mermaid-js/mermaid/pull/5880) [`bdf145f`](https://redirect.github.com/mermaid-js/mermaid/commit/bdf145ffe362462176d9c1e68d5f3ff5c9d962b0) Thanks [@yari-dewalt](https://redirect.github.com/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](https://redirect.github.com/mermaid-js/mermaid/issues/5562) [#3139](https://redirect.github.com/mermaid-js/mermaid/issues/3139) and [#4037](https://redirect.github.com/mermaid-js/mermaid/issues/4037) ##### Patch Changes - [#5937](https://redirect.github.com/mermaid-js/mermaid/pull/5937) [`17b7831`](https://redirect.github.com/mermaid-js/mermaid/commit/17b783135f9b2b7748b620dbf81d0f56ab4755f1) Thanks [@saurabhg772244](https://redirect.github.com/saurabhg772244)! - fix: Jagged edge fix for icon shape - [#5933](https://redirect.github.com/mermaid-js/mermaid/pull/5933) [`72d60d2`](https://redirect.github.com/mermaid-js/mermaid/commit/72d60d2633584eb59bccdb6cf30b9522db645db2) Thanks [@remcohaszing](https://redirect.github.com/remcohaszing)! - Add missing TypeScript dependencies - [#5937](https://redirect.github.com/mermaid-js/mermaid/pull/5937) [`17b7831`](https://redirect.github.com/mermaid-js/mermaid/commit/17b783135f9b2b7748b620dbf81d0f56ab4755f1) Thanks [@saurabhg772244](https://redirect.github.com/saurabhg772244)! - fix: Icon color fix for colored icons. - [#6002](https://redirect.github.com/mermaid-js/mermaid/pull/6002) [`5fabd41`](https://redirect.github.com/mermaid-js/mermaid/commit/5fabd414fbee01e43bf6c900907ffc1511ca7440) Thanks [@aloisklink](https://redirect.github.com/aloisklink)! - fix: error `mermaid.parse` on an invalid shape, so that it matches the errors thrown by `mermaid.render` ### [`v11.3.0`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.3.0) [Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/mermaid@11.2.1...mermaid@11.3.0) ##### Minor Changes - [#5825](https://redirect.github.com/mermaid-js/mermaid/pull/5825) [`9e3aa70`](https://redirect.github.com/mermaid-js/mermaid/commit/9e3aa705ae21fd4898504ab22d775a9e437b898e) Thanks [@knsv](https://redirect.github.com/knsv), [@ashishjain0512](https://redirect.github.com/ashishjain0512), [@omkarht](https://redirect.github.com/omkarht), [@saurabhg772244](https://redirect.github.com/saurabhg772244), [@aloisklink](https://redirect.github.com/aloisklink), [@sidharthv96](https://redirect.github.com/sidharthv96) ! - New Flowchart Shapes (with new syntax) ##### Patch Changes - [#5849](https://redirect.github.com/mermaid-js/mermaid/pull/5849) [`6c5b7ce`](https://redirect.github.com/mermaid-js/mermaid/commit/6c5b7ce9f41c0fbd59fe03dbefc8418d97697f0a) Thanks [@ReneLombard](https://redirect.github.com/ReneLombard)! - Fixed an issue when the mermaid classdiagram crashes when adding a . to the namespace. Forexample ```mermaid classDiagram namespace Company.Project.Module { class GenericClass~T~ { +addItem(item: T) +getItem() T } } ``` - [#5914](https://redirect.github.com/mermaid-js/mermaid/pull/5914) [`de2c05c`](https://redirect.github.com/mermaid-js/mermaid/commit/de2c05cd5463af68d19dd7b6b3f1303d69ddb2dd) Thanks [@aloisklink](https://redirect.github.com/aloisklink)! - Ban DOMPurify v3.1.7 as a dependency ### [`v11.2.1`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.2.1) [Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/mermaid@11.2.0...mermaid@11.2.1) ##### Patch Changes - [#5856](https://redirect.github.com/mermaid-js/mermaid/pull/5856) [`bfd8c63`](https://redirect.github.com/mermaid-js/mermaid/commit/bfd8c63daaa8420e57da9953922b9f0c94123064) Thanks [@knsv](https://redirect.github.com/knsv)! - Fix for issue with calculation of label width when using in firefox ### [`v11.2.0`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.2.0) [Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/mermaid@11.1.1...mermaid@11.2.0) ##### Minor Changes - [#5831](https://redirect.github.com/mermaid-js/mermaid/pull/5831) [`64abf29`](https://redirect.github.com/mermaid-js/mermaid/commit/64abf29ea870eaa47148197f95ce714f85bd7eea) Thanks [@sidharthv96](https://redirect.github.com/sidharthv96)! - feat: Return parsed config from mermaid.parse ##### Patch Changes - [#5838](https://redirect.github.com/mermaid-js/mermaid/pull/5838) [`5e75320`](https://redirect.github.com/mermaid-js/mermaid/commit/5e75320d49eab65aca630dcc3c04c8d620a8bbf7) Thanks [@bollwyvl](https://redirect.github.com/bollwyvl)! - fix: Replace $root with relative paths ### [`v11.1.1`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.1.1) [Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/mermaid@11.1.0...mermaid@11.1.1) ##### Patch Changes - [#5828](https://redirect.github.com/mermaid-js/mermaid/pull/5828) [`4c43d21`](https://redirect.github.com/mermaid-js/mermaid/commit/4c43d21196f784b6f483ae635fc462329f3d176f) Thanks [@knsv](https://redirect.github.com/knsv)! - fix: Fix for issue where self-loops in the root of diagrams break the rendering ### [`v11.1.0`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.1.0) [Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/mermaid@11.0.2...mermaid@11.1.0) #### 11.1.0 ##### Minor Changes - [#5793](https://redirect.github.com/mermaid-js/mermaid/pull/5793) [`6ecdf7b`](https://redirect.github.com/mermaid-js/mermaid/commit/6ecdf7be688efdc53c52fea3ba891327242bc890) Thanks [@sidharthv96](https://redirect.github.com/sidharthv96)! - feat: Add support for iconify icons - [#5711](https://redirect.github.com/mermaid-js/mermaid/pull/5711) [`8e640da`](https://redirect.github.com/mermaid-js/mermaid/commit/8e640da5436e8ae013b11b1c1821a9afcc15d0d3) Thanks [@NicolasNewman](https://redirect.github.com/NicolasNewman)! - feat(er): allow multi-line relationship labels - [#5452](https://redirect.github.com/mermaid-js/mermaid/pull/5452) [`256a148`](https://redirect.github.com/mermaid-js/mermaid/commit/256a148bbf484fc7db6c19f94dd69d5d268ee048) Thanks [@NicolasNewman](https://redirect.github.com/NicolasNewman)! - New Diagram: Architecture Adds architecture diagrams which allows users to show relations between services. ##### Patch Changes - [#5810](https://redirect.github.com/mermaid-js/mermaid/pull/5810) [`28bd07f`](https://redirect.github.com/mermaid-js/mermaid/commit/28bd07fdeb4fc981107d21317ec6160b31f80116) Thanks [@knsv](https://redirect.github.com/knsv)! - Fix for self loops in cluster Supporting legacy defaultRenderer directive - [#5789](https://redirect.github.com/mermaid-js/mermaid/pull/5789) [`16faef4`](https://redirect.github.com/mermaid-js/mermaid/commit/16faef4613b91a7d3a98a1563c25b57f9238acc7) Thanks [@sidharthv96](https://redirect.github.com/sidharthv96)! - chore: Move icons to architecture, remove full icon sets to reduce bundle size - Updated dependencies \[[`256a148`](https://redirect.github.com/mermaid-js/mermaid/commit/256a148bbf484fc7db6c19f94dd69d5d268ee048), [`7d8143b`](https://redirect.github.com/mermaid-js/mermaid/commit/7d8143b917ee3562149a0e0a821ed2d6f29cc05d)]: - [@mermaid-js/parser](https://redirect.github.com/mermaid-js/parser)[@0](https://redirect.github.com/0).3.0 ### [`v11.0.2`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.0.2) [Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/mermaid@11.0.1...mermaid@11.0.2) ##### Patch Changes - [#5664](https://redirect.github.com/mermaid-js/mermaid/pull/5664) [`5deaef4`](https://redirect.github.com/mermaid-js/mermaid/commit/5deaef456e74d796866431c26f69360e4e74dbff) Thanks [@Austin-Fulbright](https://redirect.github.com/Austin-Fulbright)! - chore: Migrate git graph to langium, use typescript for internals - Updated dependencies \[[`5deaef4`](https://redirect.github.com/mermaid-js/mermaid/commit/5deaef456e74d796866431c26f69360e4e74dbff)]: - [@mermaid-js/parser](https://redirect.github.com/mermaid-js/parser)[@0](https://redirect.github.com/0).2.0 ### [`v11.0.1`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.0.1) [Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/v11.0.0...mermaid@11.0.1) ##### Patch Changes - [#2](https://redirect.github.com/calvinvette/mermaid/pull/2) [`bf05d87`](https://redirect.github.com/mermaid-js/mermaid/commit/bf05d8781edacb580fdb053da167e968b7570117) Thanks [@calvinvette](https://redirect.github.com/calvinvette)! - test changeset ### [`v11.0.0`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/v11.0.0) [Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/v10.9.3...v11.0.0) ### Release Notes #### Major Update Refactored the Mermaid rendering engine to support new features, including customizable layout algorithms and visual styles. This update enhances diagram flexibility, starting with flowcharts and state diagrams, with plans to extend to all diagram types by [@knsv](https://redirect.github.com/knsv), [@ashishjain0512](https://redirect.github.com/ashishjain0512), [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5604](https://redirect.github.com/mermaid-js/mermaid/pull/5604) #### π¨ **Breaking Changes** - refactor!(git): default to `useMaxWidth` true ([#5723](https://redirect.github.com/mermaid-js/mermaid/issues/5723)) [@aloisklink](https://redirect.github.com/aloisklink) - refactor!(sankey): default to `useMaxWidth` true ([#5724](https://redirect.github.com/mermaid-js/mermaid/issues/5724)) [@aloisklink](https://redirect.github.com/aloisklink) - Use ESBuild (replaces UMD with IIFE bundle) by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4729](https://redirect.github.com/mermaid-js/mermaid/pull/4729) #### π Features - feat: add `@mermaid-js/parser` package and `info` langium parser by [@Yokozuna59](https://redirect.github.com/Yokozuna59) in [https://github.com/mermaid-js/mermaid/pull/4727](https://redirect.github.com/mermaid-js/mermaid/pull/4727) - Allow registered diagrams to be overridden. by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5050](https://redirect.github.com/mermaid-js/mermaid/pull/5050) - feat: Add diagramType to RenderResult and ParseResult by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5118](https://redirect.github.com/mermaid-js/mermaid/pull/5118) - feat: Add packet diagram by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4839](https://redirect.github.com/mermaid-js/mermaid/pull/4839) - feat: add `pie` langium parser by [@Yokozuna59](https://redirect.github.com/Yokozuna59) in [https://github.com/mermaid-js/mermaid/pull/4751](https://redirect.github.com/mermaid-js/mermaid/pull/4751) - feat: add name attribute and class "actor-line" to line by [@ad1992](https://redirect.github.com/ad1992) in [https://github.com/mermaid-js/mermaid/pull/5338](https://redirect.github.com/mermaid-js/mermaid/pull/5338) - Feature/4661 gantt customize days of weekend by [@Ronid1](https://redirect.github.com/Ronid1) in [https://github.com/mermaid-js/mermaid/pull/5358](https://redirect.github.com/mermaid-js/mermaid/pull/5358) - Feature/5245 sequence diagram add classes to actors text by [@Ronid1](https://redirect.github.com/Ronid1) in [https://github.com/mermaid-js/mermaid/pull/5272](https://redirect.github.com/mermaid-js/mermaid/pull/5272) - Add `suppressErrorRendering` option to avoid inserting 'Syntax error' message to DOM directly by [@rhysd](https://redirect.github.com/rhysd) in [https://github.com/mermaid-js/mermaid/pull/4359](https://redirect.github.com/mermaid-js/mermaid/pull/4359) - Flowchart: Apply `nodeSpacing`/`rankSpacing` config to subgraphs by [@rowanfr](https://redirect.github.com/rowanfr) in [https://github.com/mermaid-js/mermaid/pull/5183](https://redirect.github.com/mermaid-js/mermaid/pull/5183) - feat(git-graph): GitGraph Bottom-to-Top Orientation by [@JingyuMarcelLee](https://redirect.github.com/JingyuMarcelLee) in [https://github.com/mermaid-js/mermaid/pull/5259](https://redirect.github.com/mermaid-js/mermaid/pull/5259) - Feature/support fa kit custom icons by [@jakobskrym](https://redirect.github.com/jakobskrym) in [https://github.com/mermaid-js/mermaid/pull/5430](https://redirect.github.com/mermaid-js/mermaid/pull/5430) - Adds 'Switch' as an Alias for 'Checkout\` by [@FutzMonitor](https://redirect.github.com/FutzMonitor) in [https://github.com/mermaid-js/mermaid/pull/5445](https://redirect.github.com/mermaid-js/mermaid/pull/5445) - feat: Add point styling for quadrant chart by [@ilyes-ced](https://redirect.github.com/ilyes-ced) in [https://github.com/mermaid-js/mermaid/pull/5173](https://redirect.github.com/mermaid-js/mermaid/pull/5173) - feat(state): add from, to ids for edge by [@igorwessel](https://redirect.github.com/igorwessel) in [https://github.com/mermaid-js/mermaid/pull/5503](https://redirect.github.com/mermaid-js/mermaid/pull/5503) - Feature/4051 sequence diagram multi directional arrow by [@Ronid1](https://redirect.github.com/Ronid1) in [https://github.com/mermaid-js/mermaid/pull/5209](https://redirect.github.com/mermaid-js/mermaid/pull/5209) - feat: Add threshold to argos test by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5633](https://redirect.github.com/mermaid-js/mermaid/pull/5633) - feat: Use marked instead of mdast-util-from-markdown by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5636](https://redirect.github.com/mermaid-js/mermaid/pull/5636) - feat(3801): Multiple Tags support for Git Graph by [@Yash-Singh1](https://redirect.github.com/Yash-Singh1) in [https://github.com/mermaid-js/mermaid/pull/5647](https://redirect.github.com/mermaid-js/mermaid/pull/5647) - Allow Hashtags in Timeline Titles, Sections, and Events by [@FutzMonitor](https://redirect.github.com/FutzMonitor) in [https://github.com/mermaid-js/mermaid/pull/5399](https://redirect.github.com/mermaid-js/mermaid/pull/5399) - Allow Semicolons in Timeline Titles, Sections, Periods, and Events by [@FutzMonitor](https://redirect.github.com/FutzMonitor) in [https://github.com/mermaid-js/mermaid/pull/5335](https://redirect.github.com/mermaid-js/mermaid/pull/5335) #### π Bug Fixes - bug/5133 sequence diagram fix arrow corner by [@Ronid1](https://redirect.github.com/Ronid1) in [https://github.com/mermaid-js/mermaid/pull/5309](https://redirect.github.com/mermaid-js/mermaid/pull/5309) - fix: remove unused import by [@ad1992](https://redirect.github.com/ad1992) in [https://github.com/mermaid-js/mermaid/pull/5421](https://redirect.github.com/mermaid-js/mermaid/pull/5421) - fix: make sequenceDB typesafe by [@ad1992](https://redirect.github.com/ad1992) in [https://github.com/mermaid-js/mermaid/pull/5426](https://redirect.github.com/mermaid-js/mermaid/pull/5426) - fix: simply from and to in message to string type by [@ad1992](https://redirect.github.com/ad1992) in [https://github.com/mermaid-js/mermaid/pull/5471](https://redirect.github.com/mermaid-js/mermaid/pull/5471) - fix: inconsistent MathML rendering & erroneouss being added by [@NicolasNewman](https://redirect.github.com/NicolasNewman) in [https://github.com/mermaid-js/mermaid/pull/5483](https://redirect.github.com/mermaid-js/mermaid/pull/5483) - fix: move from objects to Maps by [@Yash-Singh1](https://redirect.github.com/Yash-Singh1) in [https://github.com/mermaid-js/mermaid/pull/5468](https://redirect.github.com/mermaid-js/mermaid/pull/5468) - Bug/5525 sequence diagram fix note z position by [@Ronid1](https://redirect.github.com/Ronid1) in [https://github.com/mermaid-js/mermaid/pull/5564](https://redirect.github.com/mermaid-js/mermaid/pull/5564) - Fix `sandbox` mode with UTF-16 characters by [@iansan5653](https://redirect.github.com/iansan5653) in [https://github.com/mermaid-js/mermaid/pull/5520](https://redirect.github.com/mermaid-js/mermaid/pull/5520) - \[XYChart] fixed incorrect spacing between data points by [@OG-NI](https://redirect.github.com/OG-NI) in [https://github.com/mermaid-js/mermaid/pull/5556](https://redirect.github.com/mermaid-js/mermaid/pull/5556) - fix: prevent escaping label styles by [@Yash-Singh1](https://redirect.github.com/Yash-Singh1) in [https://github.com/mermaid-js/mermaid/pull/5598](https://redirect.github.com/mermaid-js/mermaid/pull/5598) - fix(class): [#5624](https://redirect.github.com/mermaid-js/mermaid/issues/5624) Reset direction to default in classDiagram by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5625](https://redirect.github.com/mermaid-js/mermaid/pull/5625) - fix: double space in wrapped sequence diagram messages by [@Yash-Singh1](https://redirect.github.com/Yash-Singh1) in [https://github.com/mermaid-js/mermaid/pull/5649](https://redirect.github.com/mermaid-js/mermaid/pull/5649) - Fix Requirement overflow by [@Mikek16](https://redirect.github.com/Mikek16) in [https://github.com/mermaid-js/mermaid/pull/5305](https://redirect.github.com/mermaid-js/mermaid/pull/5305) - fix: Create a copy of config passed in initialize, so that theme variables are not leaked to the object by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5725](https://redirect.github.com/mermaid-js/mermaid/pull/5725) - Bug/4391 make markdown auto wrapping optional by [@dreathed](https://redirect.github.com/dreathed) in [https://github.com/mermaid-js/mermaid/pull/4856](https://redirect.github.com/mermaid-js/mermaid/pull/4856) - Fixed styling for lines for ELK flowchart by [@itsalam](https://redirect.github.com/itsalam) in [https://github.com/mermaid-js/mermaid/pull/4844](https://redirect.github.com/mermaid-js/mermaid/pull/4844) - Correct the System_Boundary stereotype by [@jonmcewen](https://redirect.github.com/jonmcewen) in [https://github.com/mermaid-js/mermaid/pull/5243](https://redirect.github.com/mermaid-js/mermaid/pull/5243) - Remove `elkjs` dependency from mermaid package by [@Gusted](https://redirect.github.com/Gusted) in [https://github.com/mermaid-js/mermaid/pull/5654](https://redirect.github.com/mermaid-js/mermaid/pull/5654) - Aligning doctype so that mermaid renders in the same way with or without it by [@knsv](https://redirect.github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/5727](https://redirect.github.com/mermaid-js/mermaid/pull/5727) #### π§° Maintenance - chore: Cleanup layoutelk by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5730](https://redirect.github.com/mermaid-js/mermaid/pull/5730) - chore: Fix peer dependencies by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5737](https://redirect.github.com/mermaid-js/mermaid/pull/5737) - chore: remove repetitive words by [@welfuture](https://redirect.github.com/welfuture) in [https://github.com/mermaid-js/mermaid/pull/5476](https://redirect.github.com/mermaid-js/mermaid/pull/5476) - chore: remove unrefSubSchemas by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5514](https://redirect.github.com/mermaid-js/mermaid/pull/5514) - chore: setup Argos Visual Testing by [@gregberge](https://redirect.github.com/gregberge) in [https://github.com/mermaid-js/mermaid/pull/5577](https://redirect.github.com/mermaid-js/mermaid/pull/5577) - chore: fix Argos parallel by [@gregberge](https://redirect.github.com/gregberge) in [https://github.com/mermaid-js/mermaid/pull/5581](https://redirect.github.com/mermaid-js/mermaid/pull/5581) - chore: Deprecate mermaidAPI by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4821](https://redirect.github.com/mermaid-js/mermaid/pull/4821) - chore: Log granular rebuild times by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5609](https://redirect.github.com/mermaid-js/mermaid/pull/5609) - chore: Update [@zenuml/core](https://redirect.github.com/zenuml/core) dependency to version 3.23.27 by [@dontry](https://redirect.github.com/dontry) in [https://github.com/mermaid-js/mermaid/pull/5607](https://redirect.github.com/mermaid-js/mermaid/pull/5607) - chore: 5237 Cleanup by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5606](https://redirect.github.com/mermaid-js/mermaid/pull/5606) - chore: Update pnpm and lockfile by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5728](https://redirect.github.com/mermaid-js/mermaid/pull/5728) - Split chunks into individual dirs by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4733](https://redirect.github.com/mermaid-js/mermaid/pull/4733) - remove duplicate `@types/d3-scale` dev dependency by [@Yokozuna59](https://redirect.github.com/Yokozuna59) in [https://github.com/mermaid-js/mermaid/pull/4749](https://redirect.github.com/mermaid-js/mermaid/pull/4749) - \[v11] Limit `MermaidConfig` enum TypesScript types to certain values by [@aloisklink](https://redirect.github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4803](https://redirect.github.com/mermaid-js/mermaid/pull/4803) - Move ELK to standalone package by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5049](https://redirect.github.com/mermaid-js/mermaid/pull/5049) - Remove default properties before generating the config types by [@disog](https://redirect.github.com/disog) in [https://github.com/mermaid-js/mermaid/pull/5126](https://redirect.github.com/mermaid-js/mermaid/pull/5126) - refactor: Convert flowDB to TS by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5077](https://redirect.github.com/mermaid-js/mermaid/pull/5077) - refactor: Support async parsers \[internal] by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5233](https://redirect.github.com/mermaid-js/mermaid/pull/5233) - build(deps): update `langium` to `v3` and apply the required changes by [@Yokozuna59](https://redirect.github.com/Yokozuna59) in [https://github.com/mermaid-js/mermaid/pull/5345](https://redirect.github.com/mermaid-js/mermaid/pull/5345) - ci(e2e): avoid commenting on PRs in CI, fixing PRs from forks by [@aloisklink](https://redirect.github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/5365](https://redirect.github.com/mermaid-js/mermaid/pull/5365) - \[[PR#5468](https://redirect.github.com/PR/mermaid/issues/5468)] refactor: remove TypeScript non null assertions by [@aloisklink](https://redirect.github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/5518](https://redirect.github.com/mermaid-js/mermaid/pull/5518) - Fixed entrypoint path by [@nirname](https://redirect.github.com/nirname) in [https://github.com/mermaid-js/mermaid/pull/5566](https://redirect.github.com/mermaid-js/mermaid/pull/5566) - Fixed wrong ELK detector by [@nirname](https://redirect.github.com/nirname) in [https://github.com/mermaid-js/mermaid/pull/5579](https://redirect.github.com/mermaid-js/mermaid/pull/5579) - Cleanup Cypress tests by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5586](https://redirect.github.com/mermaid-js/mermaid/pull/5586) - ESLint V9 - Typed by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5608](https://redirect.github.com/mermaid-js/mermaid/pull/5608) - Update eslint to v9 by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5603](https://redirect.github.com/mermaid-js/mermaid/pull/5603) - ci: upgrade to pnpm/action-setup@v4 to avoid CI failures by [@frantic1048](https://redirect.github.com/frantic1048) in [https://github.com/mermaid-js/mermaid/pull/5621](https://redirect.github.com/mermaid-js/mermaid/pull/5621) - test: Argos parallel by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5635](https://redirect.github.com/mermaid-js/mermaid/pull/5635) - Add autofix.ci by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5651](https://redirect.github.com/mermaid-js/mermaid/pull/5651) - 5237 Review Updates by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5670](https://redirect.github.com/mermaid-js/mermaid/pull/5670) - Support flowchart-elk to use layout: elk by [@sidharthv96](https://redirect.github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/5729](https://redirect.github.com/mermaid-js/mermaid/pull/5729) #### π Documentation - Update docs to properly showcase participant ordering by [@loucadufault](https://redirect.github.com/loucadufault) in [https://github.com/mermaid-js/mermaid/pull/5306](https://redirect.github.com/mermaid-js/mermaid/pull/5306) - DOCS: Add blog post - Official Mermaid Chart for Confluence app by [@huynhicode](https://redirect.github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/5536](https://redirect.github.com/mermaid-js/mermaid/pull/5536) - docs: fix node version in CONTRIBUTING.md by [@exoego](https://redirect.github.com/exoego) in [https://github.com/mermaid-js/mermaid/pull/5573](https://redirect.github.com/mermaid-js/mermaid/pull/5573) - docs: Added demo diagram of bidirectional arrows for sequence diagrams by [@Justin-Garey](https://redirect.github.com/Justin-Garey) in [https://github.com/mermaid-js/mermaid/pull/5589](https://redirect.github.com/mermaid-js/mermaid/pull/5589) - DOCS: Product Hunt by [@huynhicode](https://redirect.github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/5602](https://redirect.github.com/mermaid-js/mermaid/pull/5602) - Adds Doctave to list of integrations by [@begleynk](https://redirect.github.com/begleynk) in [https://github.com/mermaid-js/mermaid/pull/5614](https://redirect.github.com/mermaid-js/mermaid/pull/5614) - docs: fix the classDef example in stateDiagram not display as code block, and long text display overflows by [@ScriptBloom](https://redirect.github.com/ScriptBloom) in [https://github.com/mermaid-js/mermaid/pull/5640](https://redirect.github.com/mermaid-js/mermaid/pull/5640) - Add LLM integration section in productivity tools and add HueHive by [@kamalkishor1991](https://redirect.github.com/kamalkishor1991) in [https://github.com/mermaid-js/mermaid/pull/5351](https://redirect.github.com/mermaid-js/mermaid/pull/5351) - Update integrations-community: add Drupal and module. by [@swirtSJW](https://redirect.github.com/swirtSJW) in [https://github.com/mermaid-js/mermaid/pull/5389](https://redirect.github.com/mermaid-js/mermaid/pull/5389) - Update entityRelationshipDiagram.md by [@anlai46](https://redirect.github.com/anlai46) in [https://github.com/mermaid-js/mermaid/pull/5413](https://redirect.github.com/mermaid-js/mermaid/pull/5413) - Add named composite state example to stateDiagram-v2 by [@cbugk](https://redirect.github.com/cbugk) in [https://github.com/mermaid-js/mermaid/pull/5485](https://redirect.github.com/mermaid-js/mermaid/pull/5485) - Update integrations-community: Add MarkChart, a macOS app to preview β¦ by [@Timac](https://redirect.github.com/Timac) in [https://github.com/mermaid-js/mermaid/pull/5490](https://redirect.github.com/mermaid-js/mermaid/pull/5490) - Added to "others" section on integration with Astro by [@conradagramont](https://redirect.github.com/conradagramont) in [https://github.com/mermaid-js/mermaid/pull/5506](https://redirect.github.com/mermaid-js/mermaid/pull/5506) - Updated Mermaid Chart ChatGPT plugin link by [@Abrifq](https://redirect.github.com/Abrifq) in [https://github.com/mermaid-js/mermaid/pull/5509](https://redirect.github.com/mermaid-js/mermaid/pull/5509) - Tiny improvements to Diagram Syntax sidebar by [@TWiStErRob](https://redirect.github.com/TWiStErRob) in [https://github.com/mermaid-js/mermaid/pull/5532](https://redirect.github.com/mermaid-js/mermaid/pull/5532) - Update flowchart.md by [@GRASBOCK](https://redirect.github.com/GRASBOCK) in [https://github.com/mermaid-js/mermaid/pull/5517](https://redirect.github.com/mermaid-js/mermaid/pull/5517) - Explain line breaks in `sequenceDiagram.md` by [@abitrolly](https://redirect.github.com/abitrolly) in [https://github.com/mermaid-js/mermaid/pull/5570](https://redirect.github.com/mermaid-js/mermaid/pull/5570) - Add Slidev to the list of integrations by [@KermanX](https://redirect.github.com/KermanX) in [https://github.com/mermaid-js/mermaid/pull/5629](https://redirect.github.com/mermaid-js/mermaid/pull/5629) - Add Madness to integrations-community.md by [@DannyBen](https://redirect.github.com/DannyBen) in [https://github.com/mermaid-js/mermaid/pull/5591](https://redirect.github.com/mermaid-js/mermaid/pull/5591) - typo by [@inverted-capital](https://redirect.github.com/inverted-capital) in [https://github.com/mermaid-js/mermaid/pull/5641](https://redirect.github.com/mermaid-js/mermaid/pull/5641) - add MonsterWriter to list of community integrations by [@wolfoo2931](https://redirect.github.com/wolfoo2931) in [https://github.com/mermaid-js/mermaid/pull/5719](https://redirect.github.com/mermaid-js/mermaid/pull/5719) #### New Contributors - [@disog](https://redirect.github.com/disog) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5126](https://redirect.github.com/mermaid-js/mermaid/pull/5126) - [@kamalkishor1991](https://redirect.github.com/kamalkishor1991) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5351](https://redirect.github.com/mermaid-js/mermaid/pull/5351) - [@github-actions](https://redirect.github.com/github-actions) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5375](https://redirect.github.com/mermaid-js/mermaid/pull/5375) - [@swirtSJW](https://redirect.github.com/swirtSJW) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5389](https://redirect.github.com/mermaid-js/mermaid/pull/5389) - [@loucadufault](https://redirect.github.com/loucadufault) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5306](https://redirect.github.com/mermaid-js/mermaid/pull/5306) - [@itsalam](https://redirect.github.com/itsalam) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4844](https://redirect.github.com/mermaid-js/mermaid/pull/4844) - [@JingyuMarcelLee](https://redirect.github.com/JingyuMarcelLee) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5259](https://redirect.github.com/mermaid-js/mermaid/pull/5259) - [@anlai46](https://redirect.github.com/anlai46) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5413](https://redirect.github.com/mermaid-js/mermaid/pull/5413) - [@jakobskrym](https://redirect.github.com/jakobskrym) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5430](https://redirect.github.com/mermaid-js/mermaid/pull/5430) - [@ilyes-ced](https://redirect.github.com/ilyes-ced) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5173](https://redirect.github.com/mermaid-js/mermaid/pull/5173) - [@welfuture](https://redirect.github.com/welfuture) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5476](https://redirect.github.com/mermaid-js/mermaid/pull/5476) - [@cbugk](https://redirect.github.com/cbugk) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5485](https://redirect.github.com/mermaid-js/mermaid/pull/5485) - [@Timac](https://redirect.github.com/Timac) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5490](https://redirect.github.com/mermaid-js/mermaid/pull/5490) - [@conradagramont](https://redirect.github.com/conradagramont) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5506](https://redirect.github.com/mermaid-js/mermaid/pull/5506) - [@igorwessel](https://redirect.github.com/igorwessel) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5503](https://redirect.github.com/mermaid-js/mermaid/pull/5503) - [@GRASBOCK](https://redirect.github.com/GRASBOCK) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5517](https://redirect.github.com/mermaid-js/mermaid/pull/5517) - [@TWiStErRob](https://redirect.github.com/TWiStErRob) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5532](https://redirect.github.com/mermaid-js/mermaid/pull/5532) - [@exoego](https://redirect.github.com/exoego) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5573](https://redirect.github.com/mermaid-js/mermaid/pull/5573) - [@gregberge](https://redirect.github.com/gregberge) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5577](https://redirect.github.com/mermaid-js/mermaid/pull/5577) - [@jonmcewen](https://redirect.github.com/jonmcewen) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5243](https://redirect.github.com/mermaid-js/mermaid/pull/5243) - [@abitrolly](https://redirect.github.com/abitrolly) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5570](https://redirect.github.com/mermaid-js/mermaid/pull/5570) - [@iansan5653](https://redirect.github.com/iansan5653) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5520](https://redirect.github.com/mermaid-js/mermaid/pull/5520) - [@OG-NI](https://redirect.github.com/OG-NI) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5556](https://redirect.github.com/mermaid-js/mermaid/pull/5556) - [@Justin-Garey](https://redirect.github.com/Justin-Garey) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5589](https://redirect.github.com/mermaid-js/mermaid/pull/5589) - [@begleynk](https://redirect.github.com/begleynk) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5614](https://redirect.github.com/mermaid-js/mermaid/pull/5614) - [@frantic1048](https://redirect.github.com/frantic1048) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5621](https://redirect.github.com/mermaid-js/mermaid/pull/5621) - [@KermanX](https://redirect.github.com/KermanX) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5629](https://redirect.github.com/mermaid-js/mermaid/pull/5629) - [@ScriptBloom](https://redirect.github.com/ScriptBloom) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5640](https://redirect.github.com/mermaid-js/mermaid/pull/5640) - [@DannyBen](https://redirect.github.com/DannyBen) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5591](https://redirect.github.com/mermaid-js/mermaid/pull/5591) - [@inverted-capital](https://redirect.github.com/inverted-capital) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5641](https://redirect.github.com/mermaid-js/mermaid/pull/5641) - [@wolfoo2931](https://redirect.github.com/wolfoo2931) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5719](https://redirect.github.com/mermaid-js/mermaid/pull/5719) - [@Mikek16](https://redirect.github.com/Mikek16) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/5305](https://redirect.github.com/mermaid-js/mermaid/pull/5305) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.9.1...v11.0.0 π **Thanks to all contributors helping with this release!** π ### [`v10.9.3`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/v10.9.3) [Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/v10.9.2...v10.9.3) 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: - https://github.com/cure53/DOMPurify/security/advisories/GHSA-mmhx-hmjr-r674 - https://github.com/advisories/GHSA-64fm-8hw2-v72w - https://github.com/advisories/GHSA-cvr6-37gx-v8wc - https://github.com/advisories/GHSA-f98w-7cxr-ff2h - https://github.com/advisories/GHSA-3wc5-fcw2-2329 These dependencies have already been updated in [v11.0.0](https://redirect.github.com/mermaid-js/mermaid/releases/tag/v11.0.0). #### Changelog ##### Chore - Updates the bundled version of KaTeX to 0.16.11 ([`2bedd0e`](https://redirect.github.com/mermaid-js/mermaid/commit/2bedd0ef87df92a9971ba3490a43d9c1f535e13e)) - Updates the bundled version of DOMPurify to 3.1.6 ([`92a07ff`](https://redirect.github.com/mermaid-js/mermaid/commit/92a07ffe40aab2769dd1c3431b4eb5beac282b34)) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.9.2...v10.9.3 ### [`v10.9.2`](https://redirect.github.com/mermaid-js/mermaid/releases/tag/v10.9.2) [Compare Source](https://redirect.github.com/mermaid-js/mermaid/compare/v10.9.1...v10.9.2) This release back-ports [https://github.com/mermaid-js/mermaid/pull/5914](https://redirect.github.com/mermaid-js/mermaid/pull/5914) to the v10 release line to fix [#5904](https://redirect.github.com/mermaid-js/mermaid/issues/5904) (an incompatibility between mermaid and DOMPurify v3.1.7) ##### Patch Changes - [https://github.com/mermaid-js/mermaid/pull/5914](https://redirect.github.com/mermaid-js/mermaid/pull/5914) [`402abdf`](https://redirect.github.com/mermaid-js/mermaid/commit/402abdf8838d4239bbbd08a0b5ce1e9116751c9f) \[10] fix: ban version v3.1.7 of DOMPurify **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.9.1...v10.9.2
Configuration
π Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.