Update dependency mermaid to v11.14.0 (forgejo) ( #11990 )
...
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/ ) | [Confidence](https://docs.renovatebot.com/merge-confidence/ ) |
|---|---|---|---|
| [mermaid](https://github.com/mermaid-js/mermaid ) | [`11.13.0` → `11.14.0`](https://renovatebot.com/diffs/npm/mermaid/11.13.0/11.14.0 ) |  |  |
---
### Release Notes
<details>
<summary>mermaid-js/mermaid (mermaid)</summary>
### [`v11.14.0`](https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.14.0 )
[Compare Source](https://github.com/mermaid-js/mermaid/compare/mermaid@11.13.0...mermaid@11.14.0 )
Thanks to our awesome mermaid community that contributed to this release: [@​ashishjain0512](https://github.com/ashishjain0512 ), [@​tractorjuice](https://github.com/tractorjuice ), [@​autofix-ci\[bot\]](https://github.com/autofix-ci%5Bbot%5D ), [@​aloisklink](https://github.com/aloisklink ), [@​knsv](https://github.com/knsv ), [@​kibanana](https://github.com/kibanana ), [@​chandershekhar22](https://github.com/chandershekhar22 ), [@​khalil](https://github.com/khalil ), [@​ytatsuno](https://github.com/ytatsuno ), [@​sidharthv96](https://github.com/sidharthv96 ), [@​github-actions\[bot\]](https://github.com/github-actions%5Bbot%5D ), [@​dripcoding](https://github.com/dripcoding ), [@​knsv-bot](https://github.com/knsv-bot ), [@​jeroensmink98](https://github.com/jeroensmink98 ), [@​Alex9583](https://github.com/Alex9583 ), [@​GhassenS](https://github.com/GhassenS ), [@​omkarht](https://github.com/omkarht ), [@​darshanr0107](https://github.com/darshanr0107 ), [@​leentaylor](https://github.com/leentaylor ), [@​lee-treehouse](https://github.com/lee-treehouse ), [@​veeceey](https://github.com/veeceey ), [@​turntrout](https://github.com/turntrout ), [@​Mermaid-Chart](https://github.com/Mermaid-Chart ), [@​BambioGaming](https://github.com/BambioGaming ), Claude
### Releases
#### [@​mermaid-js/examples](https://github.com/mermaid-js/examples )@​1.2.0
##### Minor Changes
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - add new TreeView diagram
#### mermaid\@​11.14.0
##### Minor Changes
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - Add Wardley Maps diagram type (beta)
Adds Wardley Maps as a new diagram type to Mermaid (available as `wardley-beta`). Wardley Maps are visual representations of business strategy that help map value chains and component evolution.
Features:
- Component positioning with \[visibility, evolution] coordinates (OWM format)
- Anchors for users/customers
- Multiple link types: dependencies, flows, labeled links
- Evolution arrows and trend indicators
- Custom evolution stages with optional dual labels
- Custom stage widths using [@​boundary](https://github.com/boundary ) notation
- Pipeline components with visibility inheritance
- Annotations, notes, and visual elements
- Source strategy markers: build, buy, outsource, market
- Inertia indicators
- Theme integration
Implementation includes parser, D3.js renderer, unit tests, E2E tests, and comprehensive documentation.
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look styling for state diagrams
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look support for sequence diagrams with drop shadows, and enhanced styling
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: add `randomize` config option for architecture diagrams, defaulting to `false` for deterministic layout
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: Add option to change timeline direction
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - Fix duplicate SVG element IDs when rendering multiple diagrams on the same page. Internal element IDs (nodes, edges, markers, clusters) are now prefixed with the diagram's SVG element ID across all diagram types. Custom CSS or JS using exact ID selectors like `#arrowhead` should use attribute-ending selectors like `[id$="-arrowhead"]` instead.
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look styling for ER diagrams
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look styling for requirement diagrams
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: add theme support for data label colour in xy chart
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look styling for mindmap diagrams
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look for mermaid flowchart diagrams
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look and themes for class diagram
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: add showDataLabelOutsideBar option for xy chart
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look support for timeline diagram with drop shadows, additoinal redux themes and enhanced styling
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look and themes for gitGraph diagram
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - add new TreeView diagram
##### Patch Changes
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - add link to ishikawa diagram on mermaid.js.org
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - docs: document valid duration token formats in gantt.md
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: ER diagram parsing when using "1" as entity identifier on right side
The parser was incorrectly tokenizing the second "1" in patterns like `a many to 1 1:` because the lookahead rule only checked for alphabetic characters after whitespace, not digits. Added a new lookahead pattern `"1"(?=\s+[0-9])` to correctly identify the cardinality alias before a numeric entity name.
Fixes [#​7472](https://github.com/mermaid-js/mermaid/issues/7472 )
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: scope cytoscape label style mapping to edges with labels to prevent console warnings
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: support inline annotation syntax in class diagrams (class Shape <<interface>>)
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: Align branch label background with text for multi-line labels in LR GitGraph layout
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: preserve cause hierarchy when ishikawa effect is indented more than causes
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - refactor: remove unused createGraphWithElements function and add regression test for open edge arrowheads
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: Prevent long pie chart titles from being clipped by expanding the viewBox
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: prevent sequence diagram hang when "as" is used without a trailing space in participant declarations
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: warn when `style` statement targets a non-existent node in flowcharts
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: group state diagram SVG children under single root <g> element
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: Allow :::className syntax inside composite state blocks
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) Thanks [@​aloisklink](https://github.com/aloisklink ), [@​BambioGaming](https://github.com/BambioGaming )! - fix: prevent escaping `<` and `&` when `htmlLabels: false`
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: treemap title and labels use theme-aware colors for dark backgrounds
- Updated dependencies \[[`efe218a`](efe218a47f )]:
- [@​mermaid-js/parser](https://github.com/mermaid-js/parser )@​1.1.0
#### [@​mermaid-js/parser](https://github.com/mermaid-js/parser )@​1.1.0
##### Minor Changes
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - add new TreeView diagram
#### [@​mermaid-js/tiny](https://github.com/mermaid-js/tiny )@​11.14.0
##### Minor Changes
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - Add Wardley Maps diagram type (beta)
Adds Wardley Maps as a new diagram type to Mermaid (available as `wardley-beta`). Wardley Maps are visual representations of business strategy that help map value chains and component evolution.
Features:
- Component positioning with \[visibility, evolution] coordinates (OWM format)
- Anchors for users/customers
- Multiple link types: dependencies, flows, labeled links
- Evolution arrows and trend indicators
- Custom evolution stages with optional dual labels
- Custom stage widths using [@​boundary](https://github.com/boundary ) notation
- Pipeline components with visibility inheritance
- Annotations, notes, and visual elements
- Source strategy markers: build, buy, outsource, market
- Inertia indicators
- Theme integration
Implementation includes parser, D3.js renderer, unit tests, E2E tests, and comprehensive documentation.
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look styling for state diagrams
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look support for sequence diagrams with drop shadows, and enhanced styling
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: add `randomize` config option for architecture diagrams, defaulting to `false` for deterministic layout
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: Add option to change timeline direction
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - Fix duplicate SVG element IDs when rendering multiple diagrams on the same page. Internal element IDs (nodes, edges, markers, clusters) are now prefixed with the diagram's SVG element ID across all diagram types. Custom CSS or JS using exact ID selectors like `#arrowhead` should use attribute-ending selectors like `[id$="-arrowhead"]` instead.
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look styling for ER diagrams
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look styling for requirement diagrams
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: add theme support for data label colour in xy chart
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look styling for mindmap diagrams
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look for mermaid flowchart diagrams
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look and themes for class diagram
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: add showDataLabelOutsideBar option for xy chart
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look support for timeline diagram with drop shadows, additoinal redux themes and enhanced styling
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - feat: implement neo look and themes for gitGraph diagram
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - add new TreeView diagram
##### Patch Changes
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - add link to ishikawa diagram on mermaid.js.org
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - docs: document valid duration token formats in gantt.md
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: ER diagram parsing when using "1" as entity identifier on right side
The parser was incorrectly tokenizing the second "1" in patterns like `a many to 1 1:` because the lookahead rule only checked for alphabetic characters after whitespace, not digits. Added a new lookahead pattern `"1"(?=\s+[0-9])` to correctly identify the cardinality alias before a numeric entity name.
Fixes [#​7472](https://github.com/mermaid-js/mermaid/issues/7472 )
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: scope cytoscape label style mapping to edges with labels to prevent console warnings
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: support inline annotation syntax in class diagrams (class Shape <<interface>>)
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: Align branch label background with text for multi-line labels in LR GitGraph layout
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: preserve cause hierarchy when ishikawa effect is indented more than causes
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - refactor: remove unused createGraphWithElements function and add regression test for open edge arrowheads
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: Prevent long pie chart titles from being clipped by expanding the viewBox
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: prevent sequence diagram hang when "as" is used without a trailing space in participant declarations
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: warn when `style` statement targets a non-existent node in flowcharts
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: group state diagram SVG children under single root <g> element
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: Allow :::className syntax inside composite state blocks
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) Thanks [@​aloisklink](https://github.com/aloisklink ), [@​BambioGaming](https://github.com/BambioGaming )! - fix: prevent escaping `<` and `&` when `htmlLabels: false`
- [#​7526](https://github.com/mermaid-js/mermaid/pull/7526 ) [`efe218a`](efe218a47f ) - fix: treemap title and labels use theme-aware colors for dark backgrounds
- Updated dependencies \[[`efe218a`](efe218a47f )]:
- [@​mermaid-js/parser](https://github.com/mermaid-js/parser )@​1.1.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC).
🚦 **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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My45OS4xIiwidXBkYXRlZEluVmVyIjoiNDMuOTkuMSIsInRhcmdldEJyYW5jaCI6ImZvcmdlam8iLCJsYWJlbHMiOlsiZGVwZW5kZW5jeS11cGdyYWRlIiwidGVzdC9ub3QtbmVlZGVkIl19-->
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11990
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>