fix(deps): update dependency mermaid to v11 #1824
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^10.9.1
->^11.0.0
Release Notes
mermaid-js/mermaid (mermaid)
v11.9.0
Compare Source
Minor Changes
5acbd7e
Thanks @sidharthv96! - feat: AddgetRegisteredDiagramsMetadata
tomermaid
, which returns all the registered diagram IDs in mermaidPatch Changes
#6738
d90634b
Thanks @shubham-mermaid! - chore: Updated TreeMapDB to use class based approach#6510
7a38eb7
Thanks @sidharthv96! - chore: Move packet diagram out of beta#6747
3e3ae08
Thanks @darshanr0107! - fix: adjust sequence diagram title positioning to prevent overlap with top border in Safari#6751
d3e2be3
Thanks @darshanr0107! - chore: Update MindmapDB to use class based approach#6715
637680d
Thanks @Syn3ugar! - fix(timeline): fix loadingleftMargin
from configThe
timeline.leftMargin
config value should now correctly control the size of the left margin, instead of being ignored.Updated dependencies [
7a38eb7
]:v11.8.1
Compare Source
Patch Changes
0da2922
]:v11.8.0
Compare Source
Minor Changes
f338802
Thanks @knsv! - Adding support for the new diagram type nested treemapPatch Changes
#6707
592c5bb
Thanks @darshanr0107! - fix: Log a warning when duplicate commit IDs are encountered in gitGraph to help identify and debug rendering issues caused by non-unique IDs.Updated dependencies [
f338802
]:v11.7.0
Compare Source
Minor Changes
#6479
97b79c3
Thanks @monicanguyen25! - feat: Add Vertical Line To Gantt Plot At Specified Time#6225
41e84b7
Thanks @Shahir-47! - feat: Add support for styling Journey Diagram title (color, font-family, and font-size)#6423
aa6cb86
Thanks @BambioGaming! - Added support for the click directive in stateDiagram syntax#5980
df9df9d
Thanks @BryanCrotazGivEnergy! - feat: Add shorter+<count>: Label
syntax in packet diagram#6523
c17277e
Thanks @NourBenz! - fix: allow sequence diagram arrows with a trailing colon but no message#6475
a1ba65c
Thanks @Shahir-47! - feat: Dynamically Render Data Labels Within Bar ChartsPatch Changes
#6588
b1cf291
Thanks @omkarht! - Fix stroke styles for ER diagram to correctly apply path and row-specific styles#6296
a4754ad
Thanks @sidharthv96! - chore: Convert StateDB into TypeScript#6463
2b05d7e
Thanks @AaronMoat! - fix: Remove incorrectstyle="undefined;"
attributes in some Mermaid diagrams#6282
d63d3bf
Thanks @saurabhg772244! - FontAwesome icons can now be embedded as SVGs in flowcharts if they are registered viamermaid.registerIconPacks
.#6407
cdbd3e5
Thanks @thomascizeron! - Refactor grammar so that title don't break Architecture Diagrams#6343
1ddaf10
Thanks @jeswr! - fix: allow colons in events#6616
ca80f71
Thanks @ashishjain0512! - fix(timeline): ensure consistent vertical line lengths with visible arrowheadsFixed timeline diagrams where vertical dashed lines from tasks had inconsistent lengths. All vertical lines now extend to the same depth regardless of the number of events in each column, with sufficient padding to clearly display both the dashed line pattern and complete arrowheads.
#6566
bca6ed6
Thanks @arpitjain099! - fix: Fix incomplete string escaping in URL manipulation logic whenarrowMarkerAbsolute: true
by ensuring all unsafe characters are escaped.Updated dependencies [
df9df9d
,cdbd3e5
]:v11.6.0
Compare Source
Minor Changes
#6408
ad65313
Thanks @ashishjain0512! - fix: restore curve type configuration functionality for flowcharts. This fixes the issue where curve type settings were not being applied when configured through any of the following methods:#6381
95d73bc
Thanks @thomascizeron! - Add Radar ChartPatch Changes
16d9b63
Thanks @calvinvette! - - #6388Thanks @bollwyvl - Fix requirement diagram containment arrow
95d73bc
]:v11.5.0
Compare Source
Minor Changes
#6187
7809b5a
Thanks @ashishjain0512! - Flowchart new syntax for node metadata bugs&
}
with trailing spaces before new line#6136
ec0d9c3
Thanks @knsv! - Adding support for animation of flowchart edges#6373
05bdf0e
Thanks @ashishjain0512! - Upgrade Requirement and ER diagram to use the common renderer flow#6371
4d25cab
Thanks @knsv! - The arrowhead color should match the color of the edge. Creates a unique clone of the arrow marker with the appropriate color.Patch Changes
#6064
2a91849
Thanks @NicolasNewman! - fix: architecture diagrams no longer grow to extreme heights due to conflicting alignments#6198
963efa6
Thanks @ferozmht! - Fixes for consistent edge id creation & handling edge cases for animate edge feature#6196
127bac1
Thanks @knsv! - Fix for issue #6195 - allowing @ signs inside node labels#6212
90bbf90
Thanks @saurabhg772244! - fix:mermaidAPI.getDiagramFromText()
now returns a new different db for each class diagram#6218
232e60c
Thanks @saurabhg772244! - fix: revert state db to resolve getData returning empty nodes and edges#6250
9cad3c7
Thanks @saurabhg772244! -mermaidAPI.getDiagramFromText()
now returns a new db instance on each call for state diagrams#6293
cfd84e5
Thanks @saurabhg772244! - Added versioning to StateDB and updated tests and diagrams to use it.#6161
6cc31b7
Thanks @saurabhg772244! - fix:mermaidAPI.getDiagramFromText()
now returns a new different db for each flowchart#6272
ffa7804
Thanks @saurabhg772244! - fix:mermaidAPI.getDiagramFromText()
now returns a new different db for each sequence diagram. Added unique IDs for messages.#6205
32a68d4
Thanks @saurabhg772244! - fix: Gantt, Sankey and User Journey diagram are now able to pick font-family from mermaid config.#6295
da6361f
Thanks @omkarht! - fix:getDirection
andsetDirection
instateDb
refactored to return and set actual direction#6185
3e32332
Thanks @saurabhg772244! -mermaidAPI.getDiagramFromText()
now returns a new different db for each state diagramv11.4.1
Compare Source
Patch Changes
#6059
01b5079
Thanks @knsv! - fix: Kanban diagrams will not render when adding a number as ticket id or assigned for a task#6038
1388662
Thanks @knsv! - fix: Intersection calculations for tilted cylinder/DAS when using handdrawn look. Some random seeds could cause the calculations to break.#6079
fe3cffb
Thanks @aloisklink! - Bump dompurify to^3.2.1
. This removes the need for@types/dompurify
.v11.4.0
Compare Source
Minor Changes
#5999
742ad7c
Thanks @knsv! - Adding Kanban board, a new diagram type#5880
bdf145f
Thanks @yari-dewalt! - Class diagram changes:Patch Changes
#5937
17b7831
Thanks @saurabhg772244! - fix: Jagged edge fix for icon shape#5933
72d60d2
Thanks @remcohaszing! - Add missing TypeScript dependencies#5937
17b7831
Thanks @saurabhg772244! - fix: Icon color fix for colored icons.#6002
5fabd41
Thanks @aloisklink! - fix: errormermaid.parse
on an invalid shape, so that it matches the errors thrown bymermaid.render
v11.3.0
Compare Source
Minor Changes
9e3aa70
Thanks @knsv, @ashishjain0512, @omkarht, @saurabhg772244, @aloisklink, @sidharthv96 ! - New Flowchart Shapes (with new syntax)Patch Changes
#5849
6c5b7ce
Thanks @ReneLombard! - Fixed an issue when the mermaid classdiagram crashes when adding a . to the namespace.Forexample
#5914
de2c05c
Thanks @aloisklink! - Ban DOMPurify v3.1.7 as a dependencyv11.2.1
Compare Source
Patch Changes
bfd8c63
Thanks @knsv! - Fix for issue with calculation of label width when using in firefoxv11.2.0
Compare Source
Minor Changes
64abf29
Thanks @sidharthv96! - feat: Return parsed config from mermaid.parsePatch Changes
5e75320
Thanks @bollwyvl! - fix: Replace $root with relative pathsv11.1.1
Compare Source
Patch Changes
4c43d21
Thanks @knsv! - fix: Fix for issue where self-loops in the root of diagrams break the renderingv11.1.0
Compare Source
11.1.0
Minor Changes
#5793
6ecdf7b
Thanks @sidharthv96! - feat: Add support for iconify icons#5711
8e640da
Thanks @NicolasNewman! - feat(er): allow multi-line relationship labels#5452
256a148
Thanks @NicolasNewman! - New Diagram: ArchitectureAdds architecture diagrams which allows users to show relations between services.
Patch Changes
#5810
28bd07f
Thanks @knsv! - Fix for self loops in clusterSupporting legacy defaultRenderer directive
#5789
16faef4
Thanks @sidharthv96! - chore: Move icons to architecture, remove full icon sets to reduce bundle sizeUpdated dependencies [
256a148
,7d8143b
]:v11.0.2
Compare Source
Patch Changes
#5664
5deaef4
Thanks @Austin-Fulbright! - chore: Migrate git graph to langium, use typescript for internalsUpdated dependencies [
5deaef4
]:v11.0.1
Compare Source
Patch Changes
bf05d87
Thanks @calvinvette! - test changesetv11.0.0
Compare Source
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, @ashishjain0512, @sidharthv96 in https://github.com/mermaid-js/mermaid/pull/5604
🚨 Breaking Changes
useMaxWidth
true (#5723) @aloisklinkuseMaxWidth
true (#5724) @aloisklink🚀 Features
@mermaid-js/parser
package andinfo
langium parser by @Yokozuna59 in https://github.com/mermaid-js/mermaid/pull/4727pie
langium parser by @Yokozuna59 in https://github.com/mermaid-js/mermaid/pull/4751suppressErrorRendering
option to avoid inserting 'Syntax error' message to DOM directly by @rhysd in https://github.com/mermaid-js/mermaid/pull/4359nodeSpacing
/rankSpacing
config to subgraphs by @rowanfr in https://github.com/mermaid-js/mermaid/pull/5183🐛 Bug Fixes
s being added by @NicolasNewman in https://github.com/mermaid-js/mermaid/pull/5483
sandbox
mode with UTF-16 characters by @iansan5653 in https://github.com/mermaid-js/mermaid/pull/5520elkjs
dependency from mermaid package by @Gusted in https://github.com/mermaid-js/mermaid/pull/5654🧰 Maintenance
@types/d3-scale
dev dependency by @Yokozuna59 in https://github.com/mermaid-js/mermaid/pull/4749MermaidConfig
enum TypesScript types to certain values by @aloisklink in https://github.com/mermaid-js/mermaid/pull/4803langium
tov3
and apply the required changes by @Yokozuna59 in https://github.com/mermaid-js/mermaid/pull/5345📚 Documentation
sequenceDiagram.md
by @abitrolly in https://github.com/mermaid-js/mermaid/pull/5570New Contributors
Full Changelog: mermaid-js/mermaid@v10.9.1...v11.0.0
🎉 Thanks to all contributors helping with this release! 🎉
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.