Releases: mermaid-js/mermaid
@mermaid-js/parser@0.3.0
Minor Changes
-
#5452
256a148
Thanks @NicolasNewman! - New Diagram: ArchitectureAdds architecture diagrams which allows users to show relations between services.
Patch Changes
- #5793
7d8143b
Thanks @sidharthv96! - feat: Support - in architecture icons
@mermaid-js/layout-elk@0.1.3
mermaid@11.0.2
Patch Changes
-
#5664
5deaef4
Thanks @Austin-Fulbright! - chore: Migrate git graph to langium, use typescript for internals -
Updated dependencies [
5deaef4
]:- @mermaid-js/parser@0.2.0
@mermaid-js/parser@0.2.0
Minor Changes
- #5664
5deaef4
Thanks @Austin-Fulbright! - chore: Migrate git graph to langium, use typescript for internals
@mermaid-js/layout-elk@0.1.2
Patch Changes
- #5761
b34dfe8
Thanks @sidharthv96! - Fix type file path
@mermaid-js/layout-elk@0.1.1
Patch Changes
-
#5758
501a55d
Thanks @sidharthv96! - fix: Types path -
Updated dependencies [
5deaef4
]:- mermaid@11.0.2
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, @ashishjain0512, @sidharthv96 in #5604
🚨 Breaking Changes
- refactor!(git): default to
useMaxWidth
true (#5723) @aloisklink - refactor!(sankey): default to
useMaxWidth
true (#5724) @aloisklink - Use ESBuild (replaces UMD with IIFE bundle) by @sidharthv96 in #4729
🚀 Features
- feat: add
@mermaid-js/parser
package andinfo
langium parser by @Yokozuna59 in #4727 - Allow registered diagrams to be overridden. by @sidharthv96 in #5050
- feat: Add diagramType to RenderResult and ParseResult by @sidharthv96 in #5118
- feat: Add packet diagram by @sidharthv96 in #4839
- feat: add
pie
langium parser by @Yokozuna59 in #4751 - feat: add name attribute and class "actor-line" to line by @ad1992 in #5338
- Feature/4661 gantt customize days of weekend by @Ronid1 in #5358
- Feature/5245 sequence diagram add classes to actors text by @Ronid1 in #5272
- Add
suppressErrorRendering
option to avoid inserting 'Syntax error' message to DOM directly by @rhysd in #4359 - Flowchart: Apply
nodeSpacing
/rankSpacing
config to subgraphs by @rowanfr in #5183 - feat(git-graph): GitGraph Bottom-to-Top Orientation by @JingyuMarcelLee in #5259
- Feature/support fa kit custom icons by @jakobskrym in #5430
- Adds 'Switch' as an Alias for 'Checkout` by @FutzMonitor in #5445
- feat: Add point styling for quadrant chart by @ilyes-ced in #5173
- feat(state): add from, to ids for edge by @igorwessel in #5503
- Feature/4051 sequence diagram multi directional arrow by @Ronid1 in #5209
- feat: Add threshold to argos test by @sidharthv96 in #5633
- feat: Use marked instead of mdast-util-from-markdown by @sidharthv96 in #5636
- feat(3801): Multiple Tags support for Git Graph by @Yash-Singh1 in #5647
- Allow Hashtags in Timeline Titles, Sections, and Events by @FutzMonitor in #5399
- Allow Semicolons in Timeline Titles, Sections, Periods, and Events by @FutzMonitor in #5335
🐛 Bug Fixes
- bug/5133 sequence diagram fix arrow corner by @Ronid1 in #5309
- fix: remove unused import by @ad1992 in #5421
- fix: make sequenceDB typesafe by @ad1992 in #5426
- fix: simply from and to in message to string type by @ad1992 in #5471
- fix: inconsistent MathML rendering & erroneous
s being added by @NicolasNewman in #5483 - fix: move from objects to Maps by @Yash-Singh1 in #5468
- Bug/5525 sequence diagram fix note z position by @Ronid1 in #5564
- Fix
sandbox
mode with UTF-16 characters by @iansan5653 in #5520 - [XYChart] fixed incorrect spacing between data points by @OG-NI in #5556
- fix: prevent escaping label styles by @Yash-Singh1 in #5598
- fix(class): #5624 Reset direction to default in classDiagram by @sidharthv96 in #5625
- fix: double space in wrapped sequence diagram messages by @Yash-Singh1 in #5649
- Fix Requirement overflow by @Mikek16 in #5305
- fix: Create a copy of config passed in initialize, so that theme variables are not leaked to the object by @sidharthv96 in #5725
- Bug/4391 make markdown auto wrapping optional by @dreathed in #4856
- Fixed styling for lines for ELK flowchart by @itsalam in #4844
- Correct the System_Boundary stereotype by @jonmcewen in #5243
- Remove
elkjs
dependency from mermaid package by @Gusted in #5654 - Aligning doctype so that mermaid renders in the same way with or without it by @knsv in #5727
🧰 Maintenance
- chore: Cleanup layoutelk by @sidharthv96 in #5730
- chore: Fix peer dependencies by @sidharthv96 in #5737
- chore: remove repetitive words by @welfuture in #5476
- chore: remove unrefSubSchemas by @sidharthv96 in #5514
- chore: setup Argos Visual Testing by @gregberge in #5577
- chore: fix Argos parallel by @gregberge in #5581
- chore: Deprecate mermaidAPI by @sidharthv96 in #4821
- chore: Log granular rebuild times by @sidharthv96 in #5609
- chore: Update @zenuml/core dependency to version 3.23.27 by @dontry in #5607
- chore: 5237 Cleanup by @sidharthv96 in #5606
- chore: Update pnpm and lockfile by @sidharthv96 in #5728
- Split chunks into individual dirs by @sidharthv96 in #4733
- remove duplicate
@types/d3-scale
dev dependency by @Yokozuna59 in #4749 - [v11] Limit
MermaidConfig
enum TypesScript types to certain values by @aloisklink in #4803 - Move ELK to standalone package by @sidharthv96 in #5049
- Remove default properties before generating the config types by @disog in #5126
- refactor: Convert flowDB to TS by @sidharthv96 in #5077
- refactor: Support async parsers [internal] by @sidharthv96 in #5233
- build(deps): update
langium
tov3
and apply the required changes by @Yokozuna59 in #5345 - ci(e2e): avoid commenting on PRs in CI, fixing PRs from forks by @aloisklink in #5365
- [PR#5468] refactor: remove TypeScript non null assertions by @aloisklink in #5518
- Fixed entrypoint path by @nirname in #5566
- Fixed wrong ELK detector by @nirname in #5579
- Cleanup Cypress tests by @sidharthv96 in #5586
- ESLint V9 - Typed by @sidharthv96 in #5608
- Update eslint to v9 by @sidharthv96 in #5603
- ci: upgrade to pnpm/action-setup@v4 to avoid CI failures by @frantic1048 in #5621
- test: Argos parallel by @sidharthv96 in #5635
- Add autofix.ci by @sidharthv96 in #5651
- 5237 Review Updates by @sidharthv96 in #5670
- Support flowchart-elk to use layout: elk by @sidharthv96 in #5729
📚 Documentation
- Update docs to properly showcase participant ordering by @loucadufault in #5306
- DOCS: Add blog post - Official Mermaid Chart for Confluence app by @huynhicode in #5536
- docs: fix node version in CONTRIBUTING.md by @exoego in #5573
- docs: Added demo diagram of bidirectional arrows for sequence diagrams by @Justin-Garey in #5589
- DOCS: Product Hunt by @huynhicode in #5602
- Adds Doctave to list of integrations by @begleynk in #5614
- docs: fix the classDef example in stateDiagram not display as code block, and long text display overflows by @ScriptBloom in #5640
mermaid@11.0.1
Patch Changes
- #2
bf05d87
Thanks @calvinvette! - test changeset
v10.9.1
What's Changed
BugFixes
- Cleaning of labels in Block diagram by @knsv
Docs
- docs(integrations): update link to Mermaid app for Slack by @JackuB in #5370
- Update new diagram doc to reflect focus on Langium by @sidharthv96 in #5372
- feat: Make the examples interactive in the documentation site by @sidharthv96 in #5376
- DOCS: add latest blog posts by @huynhicode in #5368
- DOCS: update Announcement bar link by @huynhicode in #5394
- DOCS: Add Press Release by @huynhicode in #5400
- DOCS: add Turing machine blog post by @huynhicode in #5425
- DOCS: update latest news by @huynhicode in #5455
- 📝🐛 fix schema link by @dudeofawesome in #5456
- DOCS: Add AI in Software Diagramming blog post by @huynhicode in #5492
- DOCS: update Mermaid Chart page by @huynhicode in #5495
- DOCS: Add blog post - Documentation Software by @huynhicode in #5519
New Contributors
- @dudeofawesome made their first contribution in #5456
Full Changelog: v10.9.0...v10.9.1
v10.9.0
Release Notes
We now have Katex support!
🚀 Features
- Bump @zenuml/core and update render options in mermaid-zenuml (#5257) @dontry
- Implement "until" keyword in gantt charts (#5224) @fzag
- Integrated Katex typesetting into flowcharts (#2885) @NicolasNewman
🧰 Maintenance
- Add gitgraph parallel commits to docs (#5336) @NicolasCwy
- Update recommended Vitest extension (#5322) @NicolasCwy
- Correcting path to docker-entrypoint.sh (#5327) @bstordrup
- Fix chrome webstore url causing 404 (#5352) @Abrifq
- Fix color and arrow for merge commit (gitGraph) (#5152) @macherel
- Fix link to Contributors section in README (#5298) @BaumiCoder
- Fix macOS onboarding issues (#5262) @thedustin
- Fix netlify deploy (#5332) @sidharthv96
- Link to webhelp (#5316) @BaumiCoder
- Update contribute (#5268) @FutzMonitor
- Updates Timeline Documentation (#5315) @FutzMonitor
- [Docs] Updated chrome extension url's to new store (#5297) @Abrifq
- chore: Update CSpell configuration (#5286) @Jason3S
- feat: add name field to the actors (#5284) @ad1992
- fix typo cutomers => customers (#5269) @elgalu
📚 Documentation
- Add new extension to integrations (#5287) @BoDonkey
- Added link to Blazorade Mermaid to the community integrations page. (#5333) @MikaBerglund
- Replace version number placeholder (#5304) @BaumiCoder
🎉 Thanks to all contributors helping with this release! 🎉