-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update all non-major dependencies (minor) #3997
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/all-minor-patch
branch
from
January 16, 2023 05:22
88efe98
to
376d1a5
Compare
renovate bot
referenced
this pull request
in peaceiris/hugo-theme-iris
Mar 16, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [mermaid](https://github.com/mermaid-js/mermaid) | [`9.3.0` -> `9.4.3`](https://renovatebot.com/diffs/npm/mermaid/9.3.0/9.4.3) | [![age](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/compatibility-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/confidence-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mermaid-js/mermaid</summary> ### [`v9.4.3`](https://github.com/mermaid-js/mermaid/releases/tag/v9.4.3) [Compare Source](https://github.com/mermaid-js/mermaid/compare/v9.4.2...v9.4.3) **Full Changelog**: mermaid-js/mermaid@v9.4.2...v9.4.3 Fixes imports for dayjs and cytoscape. ### [`v9.4.2`](https://github.com/mermaid-js/mermaid/releases/tag/v9.4.2) [Compare Source](https://github.com/mermaid-js/mermaid/compare/v9.4.0...v9.4.2) #### What's Changed - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4044](https://github.com/mermaid-js/mermaid/pull/4044) - chore(deps): update dependency [@​types/uuid](https://github.com/types/uuid) to v9 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4067](https://github.com/mermaid-js/mermaid/pull/4067) - build(lint:fix): cache eslint in pnpm run lint:fix by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4073](https://github.com/mermaid-js/mermaid/pull/4073) - chore(deps): update dependency rimraf to v4 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4070](https://github.com/mermaid-js/mermaid/pull/4070) - chore(deps): update dependency jsdom to v21 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4069](https://github.com/mermaid-js/mermaid/pull/4069) - chore(deps): update timonvs/pr-labeler-action action to v4 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4072](https://github.com/mermaid-js/mermaid/pull/4072) - chore(deps): update actions/configure-pages action to v3 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4065](https://github.com/mermaid-js/mermaid/pull/4065) - chore(deps): update actions/dependency-review-action action to v3 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4066](https://github.com/mermaid-js/mermaid/pull/4066) - docs: minor fix on markdown by [@​Jeff-Tian](https://github.com/Jeff-Tian) in [https://github.com/mermaid-js/mermaid/pull/4015](https://github.com/mermaid-js/mermaid/pull/4015) - Add logo to readme by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4076](https://github.com/mermaid-js/mermaid/pull/4076) - Release 9.4.1 by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4095](https://github.com/mermaid-js/mermaid/pull/4095) - chore(deps): update dependency vite to v4 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4071](https://github.com/mermaid-js/mermaid/pull/4071) - chore(deps): update dependency cypress to v12 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4068](https://github.com/mermaid-js/mermaid/pull/4068) - fix(api): tree shaking package.json import by [@​AielloChan](https://github.com/AielloChan) in [https://github.com/mermaid-js/mermaid/pull/4101](https://github.com/mermaid-js/mermaid/pull/4101) #### New Contributors - [@​Jeff-Tian](https://github.com/Jeff-Tian) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4015](https://github.com/mermaid-js/mermaid/pull/4015) - [@​AielloChan](https://github.com/AielloChan) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4101](https://github.com/mermaid-js/mermaid/pull/4101) **Full Changelog**: mermaid-js/mermaid@v9.4.0...v9.4.2 ### [`v9.4.0`](https://github.com/mermaid-js/mermaid/releases/tag/v9.4.0) [Compare Source](https://github.com/mermaid-js/mermaid/compare/v9.3.0...v9.4.0) #### What's Changed ##### Features - Timeline Diagram by [@​ashishjain0512](https://github.com/ashishjain0512) in [https://github.com/mermaid-js/mermaid/pull/4014](https://github.com/mermaid-js/mermaid/pull/4014) - feat: Flowchart layout using elkjs by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3984](https://github.com/mermaid-js/mermaid/pull/3984) - Layout v3 continued by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3938](https://github.com/mermaid-js/mermaid/pull/3938) - feat(er): add unique key by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/3917](https://github.com/mermaid-js/mermaid/pull/3917) - feat: Set svg role to 'graphics-document document' by [@​weedySeaDragon](https://github.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3897](https://github.com/mermaid-js/mermaid/pull/3897) - feat: Wait for rendering to finish before taking image snapshots by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3995](https://github.com/mermaid-js/mermaid/pull/3995) - feat(er): add multiple key constraints by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/4030](https://github.com/mermaid-js/mermaid/pull/4030) - Add support for YAML frontmatter in Markdown docs (used for Vitepress config) by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3962](https://github.com/mermaid-js/mermaid/pull/3962) - feat(er): allow leading underscore for attributes name by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/4033](https://github.com/mermaid-js/mermaid/pull/4033) - Add links to theme listing by [@​BD103](https://github.com/BD103) in [https://github.com/mermaid-js/mermaid/pull/3890](https://github.com/mermaid-js/mermaid/pull/3890) - Adding support for parenthesis in the er diagram attribute types. by [@​mahomedalid](https://github.com/mahomedalid) in [https://github.com/mermaid-js/mermaid/pull/3892](https://github.com/mermaid-js/mermaid/pull/3892) - Support parsing indented mermaid/YAML only from HTML by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3859](https://github.com/mermaid-js/mermaid/pull/3859) - Parse style string and number font size values from configuration inputs by [@​jonabc](https://github.com/jonabc) in [https://github.com/mermaid-js/mermaid/pull/3993](https://github.com/mermaid-js/mermaid/pull/3993) - Mindmaps: differentiate the colors between the root node and the first section [#​4017](https://github.com/mermaid-js/mermaid/issues/4017) by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4018](https://github.com/mermaid-js/mermaid/pull/4018) - Add Box support in Sequence Diagrams by [@​oleveau](https://github.com/oleveau) in [https://github.com/mermaid-js/mermaid/pull/3965](https://github.com/mermaid-js/mermaid/pull/3965) ##### Breaking changes - Mind map and timeline diagrams are lazy loaded by mermaid. In order to use these diagrams you need to use the renderAsync method of rendering. The [@​mermaid-js/mermaid-mindmap](https://github.com/mermaid-js/mermaid-mindmap) package is deprecated by this. ##### Documentation - doc: remove links from atom.io; add note Atom has been archived by [@​weedySeaDragon](https://github.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3899](https://github.com/mermaid-js/mermaid/pull/3899) - docs(README.zh-CN): fix book image src by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3920](https://github.com/mermaid-js/mermaid/pull/3920) - docs: fix typo by [@​Foo-x](https://github.com/Foo-x) in [https://github.com/mermaid-js/mermaid/pull/3925](https://github.com/mermaid-js/mermaid/pull/3925) - docs: update navbar by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3906](https://github.com/mermaid-js/mermaid/pull/3906) - docs: fix text overflow by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3907](https://github.com/mermaid-js/mermaid/pull/3907) - docs: Remove duplicate example in ER-diagram documentation by [@​guilhermgonzaga](https://github.com/guilhermgonzaga) in [https://github.com/mermaid-js/mermaid/pull/3964](https://github.com/mermaid-js/mermaid/pull/3964) - Docs: Too many `primaryBorderColor` field by [@​LiHowe](https://github.com/LiHowe) in [https://github.com/mermaid-js/mermaid/pull/3986](https://github.com/mermaid-js/mermaid/pull/3986) - docs(sequenceDiagram): subvert prettification of arrow types by [@​cakemanny](https://github.com/cakemanny) in [https://github.com/mermaid-js/mermaid/pull/3988](https://github.com/mermaid-js/mermaid/pull/3988) - Add Swimm to the list of integrations by [@​Omerr](https://github.com/Omerr) in [https://github.com/mermaid-js/mermaid/pull/3936](https://github.com/mermaid-js/mermaid/pull/3936) - Website/homepage updates by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3945](https://github.com/mermaid-js/mermaid/pull/3945) - Update sequenceDiagram.md to include line break by [@​Odogwudozilla](https://github.com/Odogwudozilla) in [https://github.com/mermaid-js/mermaid/pull/3960](https://github.com/mermaid-js/mermaid/pull/3960) - Support GitHub Flavored Markdown in markdown documentation by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3954](https://github.com/mermaid-js/mermaid/pull/3954) - Update integrations.md by [@​Barry1](https://github.com/Barry1) in [https://github.com/mermaid-js/mermaid/pull/4011](https://github.com/mermaid-js/mermaid/pull/4011) - docs(readme): update broken twitter badge by [@​LeoDog896](https://github.com/LeoDog896) in [https://github.com/mermaid-js/mermaid/pull/4032](https://github.com/mermaid-js/mermaid/pull/4032) - Update mindmap.md by [@​GavinPen](https://github.com/GavinPen) in [https://github.com/mermaid-js/mermaid/pull/4042](https://github.com/mermaid-js/mermaid/pull/4042) - Showcase section to the docs - keepings docs up to date by [@​Omerr](https://github.com/Omerr) in [https://github.com/mermaid-js/mermaid/pull/4055](https://github.com/mermaid-js/mermaid/pull/4055) ##### Bug Fixes - fix(docs): remove duplicate section by [@​Joxtacy](https://github.com/Joxtacy) in [https://github.com/mermaid-js/mermaid/pull/3908](https://github.com/mermaid-js/mermaid/pull/3908) - fix: Typescript error in usage by [@​tommoor](https://github.com/tommoor) in [https://github.com/mermaid-js/mermaid/pull/3914](https://github.com/mermaid-js/mermaid/pull/3914) - fix: dev server watch mode by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3904](https://github.com/mermaid-js/mermaid/pull/3904) - fix(er): switch to deterministic UUIDs in ER by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3916](https://github.com/mermaid-js/mermaid/pull/3916) - fixed Composition arrow by [@​Frank-Mayer](https://github.com/Frank-Mayer) in [https://github.com/mermaid-js/mermaid/pull/3930](https://github.com/mermaid-js/mermaid/pull/3930) - fix(generic): fix generic type detection by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/3921](https://github.com/mermaid-js/mermaid/pull/3921) - fix typos accessing techn property in drawC4Shape function by [@​nekikara](https://github.com/nekikara) in [https://github.com/mermaid-js/mermaid/pull/3943](https://github.com/mermaid-js/mermaid/pull/3943) - fix(deps): update dependency dompurify to v2.4.3 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3977](https://github.com/mermaid-js/mermaid/pull/3977) - Fix nonstandard syntax by [@​atmikeguo](https://github.com/atmikeguo) in [https://github.com/mermaid-js/mermaid/pull/3972](https://github.com/mermaid-js/mermaid/pull/3972) - Fix failing tests due to semantic merge conflict by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3985](https://github.com/mermaid-js/mermaid/pull/3985) - fix(deps): update dependency dagre-d3-es to v7.0.6 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3996](https://github.com/mermaid-js/mermaid/pull/3996) - fix([#​4003](https://github.com/mermaid-js/mermaid/issues/4003)): Remove unhandled promises by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4004](https://github.com/mermaid-js/mermaid/pull/4004) - Bug/3858 \[state] trailing whitespace in ids for named state container by [@​weedySeaDragon](https://github.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3902](https://github.com/mermaid-js/mermaid/pull/3902) - fix: moment-mini default exporter by [@​emersonbottero](https://github.com/emersonbottero) in [https://github.com/mermaid-js/mermaid/pull/4034](https://github.com/mermaid-js/mermaid/pull/4034) - fix(deps): update dependency dagre-d3-es to v7.0.8 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4058](https://github.com/mermaid-js/mermaid/pull/4058) - bugfix: add missing d3 curves to flowchart and docs by [@​natasha-jarus](https://github.com/natasha-jarus) in [https://github.com/mermaid-js/mermaid/pull/4038](https://github.com/mermaid-js/mermaid/pull/4038) - Bug/3865 C4Context: $borderColor has no effect by [@​nekikara](https://github.com/nekikara) in [https://github.com/mermaid-js/mermaid/pull/3947](https://github.com/mermaid-js/mermaid/pull/3947) - Mindmaps: Handling rows with only spaces in them ([#​4012](https://github.com/mermaid-js/mermaid/issues/4012)) by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4013](https://github.com/mermaid-js/mermaid/pull/4013) ##### Chores - ci: disable checking twitter links by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3973](https://github.com/mermaid-js/mermaid/pull/3973) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3905](https://github.com/mermaid-js/mermaid/pull/3905) - chore(deps): update pnpm to v7.18.2 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3929](https://github.com/mermaid-js/mermaid/pull/3929) - chore(pr): add documentation task in PR template by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/3935](https://github.com/mermaid-js/mermaid/pull/3935) - (chore) Docs: add tag to produce only a diagram, not code example by [@​weedySeaDragon](https://github.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3946](https://github.com/mermaid-js/mermaid/pull/3946) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3944](https://github.com/mermaid-js/mermaid/pull/3944) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3997](https://github.com/mermaid-js/mermaid/pull/3997) - chore(deps): update pnpm to v7.25.1 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4024](https://github.com/mermaid-js/mermaid/pull/4024) - build(lint): cache prettier on `pnpm run lint` by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4035](https://github.com/mermaid-js/mermaid/pull/4035) - Cache `eslint` in pre-commit script (makes `git commit` 5x faster) by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4057](https://github.com/mermaid-js/mermaid/pull/4057) #### New Contributors - [@​Joxtacy](https://github.com/Joxtacy) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3908](https://github.com/mermaid-js/mermaid/pull/3908) - [@​BD103](https://github.com/BD103) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3890](https://github.com/mermaid-js/mermaid/pull/3890) - [@​mahomedalid](https://github.com/mahomedalid) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3892](https://github.com/mermaid-js/mermaid/pull/3892) - [@​tomperr](https://github.com/tomperr) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3917](https://github.com/mermaid-js/mermaid/pull/3917) - [@​Foo-x](https://github.com/Foo-x) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3925](https://github.com/mermaid-js/mermaid/pull/3925) - [@​Frank-Mayer](https://github.com/Frank-Mayer) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3930](https://github.com/mermaid-js/mermaid/pull/3930) - [@​Omerr](https://github.com/Omerr) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3936](https://github.com/mermaid-js/mermaid/pull/3936) - [@​nekikara](https://github.com/nekikara) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3943](https://github.com/mermaid-js/mermaid/pull/3943) - [@​guilhermgonzaga](https://github.com/guilhermgonzaga) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3964](https://github.com/mermaid-js/mermaid/pull/3964) - [@​Odogwudozilla](https://github.com/Odogwudozilla) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3960](https://github.com/mermaid-js/mermaid/pull/3960) - [@​atmikeguo](https://github.com/atmikeguo) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3972](https://github.com/mermaid-js/mermaid/pull/3972) - [@​LiHowe](https://github.com/LiHowe) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3986](https://github.com/mermaid-js/mermaid/pull/3986) - [@​cakemanny](https://github.com/cakemanny) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3988](https://github.com/mermaid-js/mermaid/pull/3988) - [@​jonabc](https://github.com/jonabc) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3993](https://github.com/mermaid-js/mermaid/pull/3993) - [@​MermaidChart](https://github.com/MermaidChart) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4013](https://github.com/mermaid-js/mermaid/pull/4013) - [@​Barry1](https://github.com/Barry1) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4011](https://github.com/mermaid-js/mermaid/pull/4011) - [@​LeoDog896](https://github.com/LeoDog896) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4032](https://github.com/mermaid-js/mermaid/pull/4032) - [@​GavinPen](https://github.com/GavinPen) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4042](https://github.com/mermaid-js/mermaid/pull/4042) - [@​oleveau](https://github.com/oleveau) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3965](https://github.com/mermaid-js/mermaid/pull/3965) - [@​natasha-jarus](https://github.com/natasha-jarus) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4038](https://github.com/mermaid-js/mermaid/pull/4038) **Full Changelog**: mermaid-js/mermaid@v9.3.0...v9.4.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/peaceiris/hugo-theme-iris). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS44LjAiLCJ1cGRhdGVkSW5WZXIiOiIzNS44LjAifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot
referenced
this pull request
in Unleash/unleash
May 28, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [mermaid](https://github.com/mermaid-js/mermaid) | [`9.3.0` -> `9.4.3`](https://renovatebot.com/diffs/npm/mermaid/9.3.0/9.4.3) | [![age](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/compatibility-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/confidence-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mermaid-js/mermaid</summary> ### [`v9.4.3`](https://github.com/mermaid-js/mermaid/releases/tag/v9.4.3) [Compare Source](https://github.com/mermaid-js/mermaid/compare/v9.4.2...v9.4.3) **Full Changelog**: mermaid-js/mermaid@v9.4.2...v9.4.3 Fixes imports for dayjs and cytoscape. ### [`v9.4.2`](https://github.com/mermaid-js/mermaid/releases/tag/v9.4.2) [Compare Source](https://github.com/mermaid-js/mermaid/compare/v9.4.0...v9.4.2) #### What's Changed - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4044](https://github.com/mermaid-js/mermaid/pull/4044) - chore(deps): update dependency [@​types/uuid](https://github.com/types/uuid) to v9 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4067](https://github.com/mermaid-js/mermaid/pull/4067) - build(lint:fix): cache eslint in pnpm run lint:fix by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4073](https://github.com/mermaid-js/mermaid/pull/4073) - chore(deps): update dependency rimraf to v4 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4070](https://github.com/mermaid-js/mermaid/pull/4070) - chore(deps): update dependency jsdom to v21 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4069](https://github.com/mermaid-js/mermaid/pull/4069) - chore(deps): update timonvs/pr-labeler-action action to v4 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4072](https://github.com/mermaid-js/mermaid/pull/4072) - chore(deps): update actions/configure-pages action to v3 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4065](https://github.com/mermaid-js/mermaid/pull/4065) - chore(deps): update actions/dependency-review-action action to v3 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4066](https://github.com/mermaid-js/mermaid/pull/4066) - docs: minor fix on markdown by [@​Jeff-Tian](https://github.com/Jeff-Tian) in [https://github.com/mermaid-js/mermaid/pull/4015](https://github.com/mermaid-js/mermaid/pull/4015) - Add logo to readme by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4076](https://github.com/mermaid-js/mermaid/pull/4076) - Release 9.4.1 by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4095](https://github.com/mermaid-js/mermaid/pull/4095) - chore(deps): update dependency vite to v4 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4071](https://github.com/mermaid-js/mermaid/pull/4071) - chore(deps): update dependency cypress to v12 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4068](https://github.com/mermaid-js/mermaid/pull/4068) - fix(api): tree shaking package.json import by [@​AielloChan](https://github.com/AielloChan) in [https://github.com/mermaid-js/mermaid/pull/4101](https://github.com/mermaid-js/mermaid/pull/4101) #### New Contributors - [@​Jeff-Tian](https://github.com/Jeff-Tian) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4015](https://github.com/mermaid-js/mermaid/pull/4015) - [@​AielloChan](https://github.com/AielloChan) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4101](https://github.com/mermaid-js/mermaid/pull/4101) **Full Changelog**: mermaid-js/mermaid@v9.4.0...v9.4.2 ### [`v9.4.0`](https://github.com/mermaid-js/mermaid/releases/tag/v9.4.0) [Compare Source](https://github.com/mermaid-js/mermaid/compare/v9.3.0...v9.4.0) #### What's Changed ##### Features - Timeline Diagram by [@​ashishjain0512](https://github.com/ashishjain0512) in [https://github.com/mermaid-js/mermaid/pull/4014](https://github.com/mermaid-js/mermaid/pull/4014) - feat: Flowchart layout using elkjs by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3984](https://github.com/mermaid-js/mermaid/pull/3984) - Layout v3 continued by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3938](https://github.com/mermaid-js/mermaid/pull/3938) - feat(er): add unique key by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/3917](https://github.com/mermaid-js/mermaid/pull/3917) - feat: Set svg role to 'graphics-document document' by [@​weedySeaDragon](https://github.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3897](https://github.com/mermaid-js/mermaid/pull/3897) - feat: Wait for rendering to finish before taking image snapshots by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3995](https://github.com/mermaid-js/mermaid/pull/3995) - feat(er): add multiple key constraints by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/4030](https://github.com/mermaid-js/mermaid/pull/4030) - Add support for YAML frontmatter in Markdown docs (used for Vitepress config) by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3962](https://github.com/mermaid-js/mermaid/pull/3962) - feat(er): allow leading underscore for attributes name by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/4033](https://github.com/mermaid-js/mermaid/pull/4033) - Add links to theme listing by [@​BD103](https://github.com/BD103) in [https://github.com/mermaid-js/mermaid/pull/3890](https://github.com/mermaid-js/mermaid/pull/3890) - Adding support for parenthesis in the er diagram attribute types. by [@​mahomedalid](https://github.com/mahomedalid) in [https://github.com/mermaid-js/mermaid/pull/3892](https://github.com/mermaid-js/mermaid/pull/3892) - Support parsing indented mermaid/YAML only from HTML by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3859](https://github.com/mermaid-js/mermaid/pull/3859) - Parse style string and number font size values from configuration inputs by [@​jonabc](https://github.com/jonabc) in [https://github.com/mermaid-js/mermaid/pull/3993](https://github.com/mermaid-js/mermaid/pull/3993) - Mindmaps: differentiate the colors between the root node and the first section [#​4017](https://github.com/mermaid-js/mermaid/issues/4017) by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4018](https://github.com/mermaid-js/mermaid/pull/4018) - Add Box support in Sequence Diagrams by [@​oleveau](https://github.com/oleveau) in [https://github.com/mermaid-js/mermaid/pull/3965](https://github.com/mermaid-js/mermaid/pull/3965) ##### Breaking changes - Mind map and timeline diagrams are lazy loaded by mermaid. In order to use these diagrams you need to use the renderAsync method of rendering. The [@​mermaid-js/mermaid-mindmap](https://github.com/mermaid-js/mermaid-mindmap) package is deprecated by this. ##### Documentation - doc: remove links from atom.io; add note Atom has been archived by [@​weedySeaDragon](https://github.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3899](https://github.com/mermaid-js/mermaid/pull/3899) - docs(README.zh-CN): fix book image src by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3920](https://github.com/mermaid-js/mermaid/pull/3920) - docs: fix typo by [@​Foo-x](https://github.com/Foo-x) in [https://github.com/mermaid-js/mermaid/pull/3925](https://github.com/mermaid-js/mermaid/pull/3925) - docs: update navbar by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3906](https://github.com/mermaid-js/mermaid/pull/3906) - docs: fix text overflow by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3907](https://github.com/mermaid-js/mermaid/pull/3907) - docs: Remove duplicate example in ER-diagram documentation by [@​guilhermgonzaga](https://github.com/guilhermgonzaga) in [https://github.com/mermaid-js/mermaid/pull/3964](https://github.com/mermaid-js/mermaid/pull/3964) - Docs: Too many `primaryBorderColor` field by [@​LiHowe](https://github.com/LiHowe) in [https://github.com/mermaid-js/mermaid/pull/3986](https://github.com/mermaid-js/mermaid/pull/3986) - docs(sequenceDiagram): subvert prettification of arrow types by [@​cakemanny](https://github.com/cakemanny) in [https://github.com/mermaid-js/mermaid/pull/3988](https://github.com/mermaid-js/mermaid/pull/3988) - Add Swimm to the list of integrations by [@​Omerr](https://github.com/Omerr) in [https://github.com/mermaid-js/mermaid/pull/3936](https://github.com/mermaid-js/mermaid/pull/3936) - Website/homepage updates by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3945](https://github.com/mermaid-js/mermaid/pull/3945) - Update sequenceDiagram.md to include line break by [@​Odogwudozilla](https://github.com/Odogwudozilla) in [https://github.com/mermaid-js/mermaid/pull/3960](https://github.com/mermaid-js/mermaid/pull/3960) - Support GitHub Flavored Markdown in markdown documentation by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3954](https://github.com/mermaid-js/mermaid/pull/3954) - Update integrations.md by [@​Barry1](https://github.com/Barry1) in [https://github.com/mermaid-js/mermaid/pull/4011](https://github.com/mermaid-js/mermaid/pull/4011) - docs(readme): update broken twitter badge by [@​LeoDog896](https://github.com/LeoDog896) in [https://github.com/mermaid-js/mermaid/pull/4032](https://github.com/mermaid-js/mermaid/pull/4032) - Update mindmap.md by [@​GavinPen](https://github.com/GavinPen) in [https://github.com/mermaid-js/mermaid/pull/4042](https://github.com/mermaid-js/mermaid/pull/4042) - Showcase section to the docs - keepings docs up to date by [@​Omerr](https://github.com/Omerr) in [https://github.com/mermaid-js/mermaid/pull/4055](https://github.com/mermaid-js/mermaid/pull/4055) ##### Bug Fixes - fix(docs): remove duplicate section by [@​Joxtacy](https://github.com/Joxtacy) in [https://github.com/mermaid-js/mermaid/pull/3908](https://github.com/mermaid-js/mermaid/pull/3908) - fix: Typescript error in usage by [@​tommoor](https://github.com/tommoor) in [https://github.com/mermaid-js/mermaid/pull/3914](https://github.com/mermaid-js/mermaid/pull/3914) - fix: dev server watch mode by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3904](https://github.com/mermaid-js/mermaid/pull/3904) - fix(er): switch to deterministic UUIDs in ER by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3916](https://github.com/mermaid-js/mermaid/pull/3916) - fixed Composition arrow by [@​Frank-Mayer](https://github.com/Frank-Mayer) in [https://github.com/mermaid-js/mermaid/pull/3930](https://github.com/mermaid-js/mermaid/pull/3930) - fix(generic): fix generic type detection by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/3921](https://github.com/mermaid-js/mermaid/pull/3921) - fix typos accessing techn property in drawC4Shape function by [@​nekikara](https://github.com/nekikara) in [https://github.com/mermaid-js/mermaid/pull/3943](https://github.com/mermaid-js/mermaid/pull/3943) - fix(deps): update dependency dompurify to v2.4.3 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3977](https://github.com/mermaid-js/mermaid/pull/3977) - Fix nonstandard syntax by [@​atmikeguo](https://github.com/atmikeguo) in [https://github.com/mermaid-js/mermaid/pull/3972](https://github.com/mermaid-js/mermaid/pull/3972) - Fix failing tests due to semantic merge conflict by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3985](https://github.com/mermaid-js/mermaid/pull/3985) - fix(deps): update dependency dagre-d3-es to v7.0.6 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3996](https://github.com/mermaid-js/mermaid/pull/3996) - fix([#​4003](https://github.com/mermaid-js/mermaid/issues/4003)): Remove unhandled promises by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4004](https://github.com/mermaid-js/mermaid/pull/4004) - Bug/3858 \[state] trailing whitespace in ids for named state container by [@​weedySeaDragon](https://github.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3902](https://github.com/mermaid-js/mermaid/pull/3902) - fix: moment-mini default exporter by [@​emersonbottero](https://github.com/emersonbottero) in [https://github.com/mermaid-js/mermaid/pull/4034](https://github.com/mermaid-js/mermaid/pull/4034) - fix(deps): update dependency dagre-d3-es to v7.0.8 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4058](https://github.com/mermaid-js/mermaid/pull/4058) - bugfix: add missing d3 curves to flowchart and docs by [@​natasha-jarus](https://github.com/natasha-jarus) in [https://github.com/mermaid-js/mermaid/pull/4038](https://github.com/mermaid-js/mermaid/pull/4038) - Bug/3865 C4Context: $borderColor has no effect by [@​nekikara](https://github.com/nekikara) in [https://github.com/mermaid-js/mermaid/pull/3947](https://github.com/mermaid-js/mermaid/pull/3947) - Mindmaps: Handling rows with only spaces in them ([#​4012](https://github.com/mermaid-js/mermaid/issues/4012)) by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4013](https://github.com/mermaid-js/mermaid/pull/4013) ##### Chores - ci: disable checking twitter links by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3973](https://github.com/mermaid-js/mermaid/pull/3973) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3905](https://github.com/mermaid-js/mermaid/pull/3905) - chore(deps): update pnpm to v7.18.2 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3929](https://github.com/mermaid-js/mermaid/pull/3929) - chore(pr): add documentation task in PR template by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/3935](https://github.com/mermaid-js/mermaid/pull/3935) - (chore) Docs: add tag to produce only a diagram, not code example by [@​weedySeaDragon](https://github.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3946](https://github.com/mermaid-js/mermaid/pull/3946) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3944](https://github.com/mermaid-js/mermaid/pull/3944) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3997](https://github.com/mermaid-js/mermaid/pull/3997) - chore(deps): update pnpm to v7.25.1 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4024](https://github.com/mermaid-js/mermaid/pull/4024) - build(lint): cache prettier on `pnpm run lint` by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4035](https://github.com/mermaid-js/mermaid/pull/4035) - Cache `eslint` in pre-commit script (makes `git commit` 5x faster) by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4057](https://github.com/mermaid-js/mermaid/pull/4057) #### New Contributors - [@​Joxtacy](https://github.com/Joxtacy) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3908](https://github.com/mermaid-js/mermaid/pull/3908) - [@​BD103](https://github.com/BD103) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3890](https://github.com/mermaid-js/mermaid/pull/3890) - [@​mahomedalid](https://github.com/mahomedalid) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3892](https://github.com/mermaid-js/mermaid/pull/3892) - [@​tomperr](https://github.com/tomperr) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3917](https://github.com/mermaid-js/mermaid/pull/3917) - [@​Foo-x](https://github.com/Foo-x) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3925](https://github.com/mermaid-js/mermaid/pull/3925) - [@​Frank-Mayer](https://github.com/Frank-Mayer) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3930](https://github.com/mermaid-js/mermaid/pull/3930) - [@​Omerr](https://github.com/Omerr) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3936](https://github.com/mermaid-js/mermaid/pull/3936) - [@​nekikara](https://github.com/nekikara) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3943](https://github.com/mermaid-js/mermaid/pull/3943) - [@​guilhermgonzaga](https://github.com/guilhermgonzaga) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3964](https://github.com/mermaid-js/mermaid/pull/3964) - [@​Odogwudozilla](https://github.com/Odogwudozilla) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3960](https://github.com/mermaid-js/mermaid/pull/3960) - [@​atmikeguo](https://github.com/atmikeguo) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3972](https://github.com/mermaid-js/mermaid/pull/3972) - [@​LiHowe](https://github.com/LiHowe) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3986](https://github.com/mermaid-js/mermaid/pull/3986) - [@​cakemanny](https://github.com/cakemanny) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3988](https://github.com/mermaid-js/mermaid/pull/3988) - [@​jonabc](https://github.com/jonabc) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3993](https://github.com/mermaid-js/mermaid/pull/3993) - [@​MermaidChart](https://github.com/MermaidChart) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4013](https://github.com/mermaid-js/mermaid/pull/4013) - [@​Barry1](https://github.com/Barry1) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4011](https://github.com/mermaid-js/mermaid/pull/4011) - [@​LeoDog896](https://github.com/LeoDog896) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4032](https://github.com/mermaid-js/mermaid/pull/4032) - [@​GavinPen](https://github.com/GavinPen) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4042](https://github.com/mermaid-js/mermaid/pull/4042) - [@​oleveau](https://github.com/oleveau) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3965](https://github.com/mermaid-js/mermaid/pull/3965) - [@​natasha-jarus](https://github.com/natasha-jarus) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4038](https://github.com/mermaid-js/mermaid/pull/4038) **Full Changelog**: mermaid-js/mermaid@v9.3.0...v9.4.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ny40IiwidXBkYXRlZEluVmVyIjoiMzUuOTguNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-merge-queue bot
referenced
this pull request
in fuxingloh/contented
Jun 10, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [mermaid](https://github.com/mermaid-js/mermaid) | [`9.3.0` -> `10.2.3`](https://renovatebot.com/diffs/npm/mermaid/9.3.0/10.2.3) | [![age](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/compatibility-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/confidence-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mermaid-js/mermaid</summary> ### [`v10.2.3`](https://github.com/mermaid-js/mermaid/releases/tag/v10.2.3): 10.2.3 [Compare Source](https://github.com/mermaid-js/mermaid/compare/v10.2.2...v10.2.3) ### Release Notes - Fix [#​4408](https://github.com/mermaid-js/mermaid/issues/4408): Handle wrapping long words ([#​4416](https://github.com/mermaid-js/mermaid/issues/4416)) [@​MikeJeffers](https://github.com/MikeJeffers) - Fix exceptions for empty lines ([#​4436](https://github.com/mermaid-js/mermaid/issues/4436)) [@​luin](https://github.com/luin) - Restore classes on edges for elk ([#​4452](https://github.com/mermaid-js/mermaid/issues/4452)) [@​yoavst](https://github.com/yoavst) - Update docs: Added Nextra to Blogs category on integrations page ([#​4463](https://github.com/mermaid-js/mermaid/issues/4463)) [@​try-to-fly](https://github.com/try-to-fly) 🎉 **Thanks to all contributors helping with this release!** 🎉 #### What's Changed - Address mermaid-zenuml PR comments by [@​dontry](https://github.com/dontry) in [https://github.com/mermaid-js/mermaid/pull/4405](https://github.com/mermaid-js/mermaid/pull/4405) - Fix broken `pnpm-lock.yaml` file to fix CI by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4425](https://github.com/mermaid-js/mermaid/pull/4425) - Quadrant chart unicode arrows by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4400](https://github.com/mermaid-js/mermaid/pull/4400) - chore(deps): update all patch dependencies (patch) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4434](https://github.com/mermaid-js/mermaid/pull/4434) - Add CKEditor and GitHub Writer to available integrations by [@​AnnaTomanek](https://github.com/AnnaTomanek) in [https://github.com/mermaid-js/mermaid/pull/4440](https://github.com/mermaid-js/mermaid/pull/4440) - Update diagram proposal by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4448](https://github.com/mermaid-js/mermaid/pull/4448) - Add `@mermaid-js/mermaid-zenuml` package for zenuml Integration by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4334](https://github.com/mermaid-js/mermaid/pull/4334) - Restore classes on edges for elk by [@​yoavst](https://github.com/yoavst) in [https://github.com/mermaid-js/mermaid/pull/4452](https://github.com/mermaid-js/mermaid/pull/4452) - Fix exceptions for empty lines by [@​luin](https://github.com/luin) in [https://github.com/mermaid-js/mermaid/pull/4436](https://github.com/mermaid-js/mermaid/pull/4436) - Update docs: Added Nextra to Blogs category on integrations page by [@​try-to-fly](https://github.com/try-to-fly) in [https://github.com/mermaid-js/mermaid/pull/4463](https://github.com/mermaid-js/mermaid/pull/4463) - Fix [#​4408](https://github.com/mermaid-js/mermaid/issues/4408): Handle wrapping long words by [@​MikeJeffers](https://github.com/MikeJeffers) in [https://github.com/mermaid-js/mermaid/pull/4416](https://github.com/mermaid-js/mermaid/pull/4416) #### New Contributors - [@​AnnaTomanek](https://github.com/AnnaTomanek) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4440](https://github.com/mermaid-js/mermaid/pull/4440) - [@​yoavst](https://github.com/yoavst) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4452](https://github.com/mermaid-js/mermaid/pull/4452) - [@​try-to-fly](https://github.com/try-to-fly) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4463](https://github.com/mermaid-js/mermaid/pull/4463) - [@​MikeJeffers](https://github.com/MikeJeffers) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4416](https://github.com/mermaid-js/mermaid/pull/4416) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.2.2...v10.2.3 ### [`v10.2.2`](https://github.com/mermaid-js/mermaid/releases/tag/v10.2.2): 10.2.2 [Compare Source](https://github.com/mermaid-js/mermaid/compare/v10.2.1...v10.2.2) #### What's Changed - [#​4446](https://github.com/mermaid-js/mermaid/issues/4446) Removing the ability to inject css using arrowMarkers by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4447](https://github.com/mermaid-js/mermaid/pull/4447) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.2.1...v10.2.2 ### [`v10.2.1`](https://github.com/mermaid-js/mermaid/releases/tag/v10.2.1): 10.2.1 [Compare Source](https://github.com/mermaid-js/mermaid/compare/v10.2.0...v10.2.1) #### What's Changed #### Bugfixes - [#​4438](https://github.com/mermaid-js/mermaid/issues/4438) Reverted to the changes from [#​4285](https://github.com/mermaid-js/mermaid/issues/4285) by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4445](https://github.com/mermaid-js/mermaid/pull/4445) - Merge PR [#​4425](https://github.com/mermaid-js/mermaid/issues/4425) to `master` to fix uploading v10.2.0 docs to `mermaid.js.org` website by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4426](https://github.com/mermaid-js/mermaid/pull/4426) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.2.0...v10.2.1 ### [`v10.2.0`](https://github.com/mermaid-js/mermaid/releases/tag/v10.2.0): 10.2.0 [Compare Source](https://github.com/mermaid-js/mermaid/compare/v10.1.0...v10.2.0) #### What's Changed #### Features - Added support for quadrant chart by [@​amsubhash](https://github.com/amsubhash) in [https://github.com/mermaid-js/mermaid/pull/4383](https://github.com/mermaid-js/mermaid/pull/4383) - Bar chart (using gantt chart) by [@​karistom](https://github.com/karistom) in [https://github.com/mermaid-js/mermaid/pull/4261](https://github.com/mermaid-js/mermaid/pull/4261) - Support node16 module resolution by [@​remcohaszing](https://github.com/remcohaszing) in [https://github.com/mermaid-js/mermaid/pull/4213](https://github.com/mermaid-js/mermaid/pull/4213) - Add UMD build Back by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4281](https://github.com/mermaid-js/mermaid/pull/4281) #### Bugfixes - Fix [#​4195](https://github.com/mermaid-js/mermaid/issues/4195) start and end arrow have different sizes by [@​legonigel](https://github.com/legonigel) in [https://github.com/mermaid-js/mermaid/pull/4286](https://github.com/mermaid-js/mermaid/pull/4286) - fix: really import esm version of dayjs by [@​emersonbottero](https://github.com/emersonbottero) in [https://github.com/mermaid-js/mermaid/pull/4285](https://github.com/mermaid-js/mermaid/pull/4285) - fix: image rendering in nodes by [@​Valentine14th](https://github.com/Valentine14th) in [https://github.com/mermaid-js/mermaid/pull/4268](https://github.com/mermaid-js/mermaid/pull/4268) - Fix and test a bunch of invalid CSS issues by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4295](https://github.com/mermaid-js/mermaid/pull/4295) - Fix git graph css bracket leak by [@​lishid](https://github.com/lishid) in [https://github.com/mermaid-js/mermaid/pull/4278](https://github.com/mermaid-js/mermaid/pull/4278) - pie diagram mermaid module import fix by [@​agentraghav](https://github.com/agentraghav) in [https://github.com/mermaid-js/mermaid/pull/4316](https://github.com/mermaid-js/mermaid/pull/4316) - fix applitools by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4335](https://github.com/mermaid-js/mermaid/pull/4335) - Multiple updates to class diagram by [@​jgreywolf](https://github.com/jgreywolf) in [https://github.com/mermaid-js/mermaid/pull/4303](https://github.com/mermaid-js/mermaid/pull/4303) - fix ClassGrammar by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4338](https://github.com/mermaid-js/mermaid/pull/4338) - updating es6 rules in flowchart diagram by [@​agentraghav](https://github.com/agentraghav) in [https://github.com/mermaid-js/mermaid/pull/4357](https://github.com/mermaid-js/mermaid/pull/4357) - Reject ridiculous years in Gantt charts. by [@​toolness](https://github.com/toolness) in [https://github.com/mermaid-js/mermaid/pull/4367](https://github.com/mermaid-js/mermaid/pull/4367) - Fix regression errors in sequenceDiagrams by [@​knsv](https://github.com/knsv) - Refactor to consolidate shared svgDraw components by [@​jgreywolf](https://github.com/jgreywolf) in [https://github.com/mermaid-js/mermaid/pull/4259](https://github.com/mermaid-js/mermaid/pull/4259) - Implement `package` on class diagram by [@​ksilverwall](https://github.com/ksilverwall) in [https://github.com/mermaid-js/mermaid/pull/4206](https://github.com/mermaid-js/mermaid/pull/4206) - add master detail relationship support by [@​tcbuzor](https://github.com/tcbuzor) in [https://github.com/mermaid-js/mermaid/pull/4361](https://github.com/mermaid-js/mermaid/pull/4361) - test: fix classDiagramGrammer unit test by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4378](https://github.com/mermaid-js/mermaid/pull/4378) - Allow overlapping notes by [@​jgreywolf](https://github.com/jgreywolf) in [https://github.com/mermaid-js/mermaid/pull/4370](https://github.com/mermaid-js/mermaid/pull/4370) - remove SimpleMarkdown by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4350](https://github.com/mermaid-js/mermaid/pull/4350) - Show all contributors in homepage by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4356](https://github.com/mermaid-js/mermaid/pull/4356) ### Documentation - Update index.md by [@​onayiga](https://github.com/onayiga) in [https://github.com/mermaid-js/mermaid/pull/4294](https://github.com/mermaid-js/mermaid/pull/4294) - Add Slab to the list of integrations by [@​luin](https://github.com/luin) in [https://github.com/mermaid-js/mermaid/pull/4272](https://github.com/mermaid-js/mermaid/pull/4272) - docs(integrations): list quarto by [@​eitsupi](https://github.com/eitsupi) in [https://github.com/mermaid-js/mermaid/pull/4299](https://github.com/mermaid-js/mermaid/pull/4299) - Updating documentation on notes for classes within class diagrams by [@​Will-Low](https://github.com/Will-Low) in [https://github.com/mermaid-js/mermaid/pull/4296](https://github.com/mermaid-js/mermaid/pull/4296) - Add integrations by [@​remcohaszing](https://github.com/remcohaszing) in [https://github.com/mermaid-js/mermaid/pull/4374](https://github.com/mermaid-js/mermaid/pull/4374) - Docs: Flowchart - minor verbiage update by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/4315](https://github.com/mermaid-js/mermaid/pull/4315) - Latest News section: update content by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/4366](https://github.com/mermaid-js/mermaid/pull/4366) - Improve the wording of security level values by [@​Gusted](https://github.com/Gusted) in [https://github.com/mermaid-js/mermaid/pull/4395](https://github.com/mermaid-js/mermaid/pull/4395) - Indent subgraph sections by [@​danielcompton](https://github.com/danielcompton) in [https://github.com/mermaid-js/mermaid/pull/4349](https://github.com/mermaid-js/mermaid/pull/4349) - fix(doc): Link to Obsidian doc/integration by [@​dix](https://github.com/dix) in [https://github.com/mermaid-js/mermaid/pull/4309](https://github.com/mermaid-js/mermaid/pull/4309) #### Chores - Update bug_report.yml by [@​bish0polis](https://github.com/bish0polis) in [https://github.com/mermaid-js/mermaid/pull/4297](https://github.com/mermaid-js/mermaid/pull/4297) - docs(flowchart): wrap br tag by codeblock by [@​Bogay](https://github.com/Bogay) in [https://github.com/mermaid-js/mermaid/pull/4310](https://github.com/mermaid-js/mermaid/pull/4310) - chore(deps): update pnpm to v7.30.5 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4304](https://github.com/mermaid-js/mermaid/pull/4304) - chore(deps): update dependency concurrently to v8 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4323](https://github.com/mermaid-js/mermaid/pull/4323) - fix(deps): update dependency dompurify to v3 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4331](https://github.com/mermaid-js/mermaid/pull/4331) - chore(deps): update dependency eslint-plugin-jsdoc to v43 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4324](https://github.com/mermaid-js/mermaid/pull/4324) - chore(deps): update actions/deploy-pages action to v2 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4322](https://github.com/mermaid-js/mermaid/pull/4322) - chore(deps): update dependency rimraf to v5 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4326](https://github.com/mermaid-js/mermaid/pull/4326) - chore(deps): update dependency eslint-plugin-unicorn to v46 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4325](https://github.com/mermaid-js/mermaid/pull/4325) - chore(deps): update dependency start-server-and-test to v2 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4327](https://github.com/mermaid-js/mermaid/pull/4327) - chore(deps): update pnpm to v8 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4330](https://github.com/mermaid-js/mermaid/pull/4330) - chore(deps): update fregante/setup-git-user action to v2 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4329](https://github.com/mermaid-js/mermaid/pull/4329) - fix(deps): update all minor dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4321](https://github.com/mermaid-js/mermaid/pull/4321) - chore(deps): update dependency typescript to v5 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4328](https://github.com/mermaid-js/mermaid/pull/4328) - Clarify FontAwesome support by [@​josh-bouganim-avant](https://github.com/josh-bouganim-avant) in [https://github.com/mermaid-js/mermaid/pull/4347](https://github.com/mermaid-js/mermaid/pull/4347) - Fix missing `await` in usage document by [@​rhysd](https://github.com/rhysd) in [https://github.com/mermaid-js/mermaid/pull/4376](https://github.com/mermaid-js/mermaid/pull/4376) - chore(deps): update all patch dependencies (patch) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4379](https://github.com/mermaid-js/mermaid/pull/4379) - chore(deps): update all minor dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4380](https://github.com/mermaid-js/mermaid/pull/4380) 🎉 **Thanks to all contributors helping with this release!** 🎉 #### New Contributors - [@​karistom](https://github.com/karistom) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4261](https://github.com/mermaid-js/mermaid/pull/4261) - [@​Valentine14th](https://github.com/Valentine14th) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4268](https://github.com/mermaid-js/mermaid/pull/4268) - [@​onayiga](https://github.com/onayiga) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4294](https://github.com/mermaid-js/mermaid/pull/4294) - [@​legonigel](https://github.com/legonigel) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4286](https://github.com/mermaid-js/mermaid/pull/4286) - [@​luin](https://github.com/luin) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4272](https://github.com/mermaid-js/mermaid/pull/4272) - [@​eitsupi](https://github.com/eitsupi) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4299](https://github.com/mermaid-js/mermaid/pull/4299) - [@​dix](https://github.com/dix) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4309](https://github.com/mermaid-js/mermaid/pull/4309) - [@​Bogay](https://github.com/Bogay) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4310](https://github.com/mermaid-js/mermaid/pull/4310) - [@​agentraghav](https://github.com/agentraghav) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4316](https://github.com/mermaid-js/mermaid/pull/4316) - [@​Will-Low](https://github.com/Will-Low) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4296](https://github.com/mermaid-js/mermaid/pull/4296) - [@​josh-bouganim-avant](https://github.com/josh-bouganim-avant) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4347](https://github.com/mermaid-js/mermaid/pull/4347) - [@​toolness](https://github.com/toolness) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4367](https://github.com/mermaid-js/mermaid/pull/4367) - [@​ksilverwall](https://github.com/ksilverwall) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4206](https://github.com/mermaid-js/mermaid/pull/4206) - [@​tcbuzor](https://github.com/tcbuzor) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4361](https://github.com/mermaid-js/mermaid/pull/4361) - [@​rhysd](https://github.com/rhysd) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4376](https://github.com/mermaid-js/mermaid/pull/4376) - [@​Gusted](https://github.com/Gusted) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4395](https://github.com/mermaid-js/mermaid/pull/4395) - [@​danielcompton](https://github.com/danielcompton) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4349](https://github.com/mermaid-js/mermaid/pull/4349) - [@​amsubhash](https://github.com/amsubhash) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4383](https://github.com/mermaid-js/mermaid/pull/4383) *** **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.1.0...v10.2.0 Thanks to [Mermaid Chart](https://www.mermaidchart.com) for ongoing support ### [`v10.1.0`](https://github.com/mermaid-js/mermaid/releases/tag/v10.1.0): 10.1.0 [Compare Source](https://github.com/mermaid-js/mermaid/compare/v10.0.2...v10.1.0) #### What's Changed ### Features - Markdown strings for simple formatting and automatic wrapping of text by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4271](https://github.com/mermaid-js/mermaid/pull/4271) [Read more ...](https://www.mermaidchart.com/blog/posts/automatic-text-wrapping-in-flowcharts-is-here) - Implement repeating tasks by [@​JeremyFunk](https://github.com/JeremyFunk) in [https://github.com/mermaid-js/mermaid/pull/4238](https://github.com/mermaid-js/mermaid/pull/4238) ### Bugfixes - Pie: Adding outer border, text position options by [@​Billiam](https://github.com/Billiam) in [https://github.com/mermaid-js/mermaid/pull/4145](https://github.com/mermaid-js/mermaid/pull/4145) - Fix: add require entry in package.json by [@​lauraceconi](https://github.com/lauraceconi) in [https://github.com/mermaid-js/mermaid/pull/4164](https://github.com/mermaid-js/mermaid/pull/4164) - feat: expose the diagram api by [@​ted-marozzi](https://github.com/ted-marozzi) in [https://github.com/mermaid-js/mermaid/pull/4174](https://github.com/mermaid-js/mermaid/pull/4174) - Expose detectType function by [@​Pr0dt0s](https://github.com/Pr0dt0s) in [https://github.com/mermaid-js/mermaid/pull/4187](https://github.com/mermaid-js/mermaid/pull/4187) - Remove duplication in "A hexagon node" by [@​andrew-clarkson](https://github.com/andrew-clarkson) in [https://github.com/mermaid-js/mermaid/pull/4211](https://github.com/mermaid-js/mermaid/pull/4211) - Updated render to remove comments from text by [@​kshitijsaksena](https://github.com/kshitijsaksena) in [https://github.com/mermaid-js/mermaid/pull/4247](https://github.com/mermaid-js/mermaid/pull/4247) - Define and export the Mermaid type by [@​remcohaszing](https://github.com/remcohaszing) in [https://github.com/mermaid-js/mermaid/pull/4253](https://github.com/mermaid-js/mermaid/pull/4253) - fix([#​4137](https://github.com/mermaid-js/mermaid/issues/4137)): Cleanup comments before parsing by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4257](https://github.com/mermaid-js/mermaid/pull/4257) - fix([#​4256](https://github.com/mermaid-js/mermaid/issues/4256)): Keep error diagram on screen by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4258](https://github.com/mermaid-js/mermaid/pull/4258) - Fix broken Gantt `todayMarker` tests by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4207](https://github.com/mermaid-js/mermaid/pull/4207) - Docs: add Latest News section by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/4254](https://github.com/mermaid-js/mermaid/pull/4254) - Release/10.1.0 by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4276](https://github.com/mermaid-js/mermaid/pull/4276) ### Documentation - Update integrations.md to include Mermaid Flow Visual Editor by [@​ted-marozzi](https://github.com/ted-marozzi) in [https://github.com/mermaid-js/mermaid/pull/4184](https://github.com/mermaid-js/mermaid/pull/4184) - docs: make contributing to docs a bit clearer by [@​ted-marozzi](https://github.com/ted-marozzi) in [https://github.com/mermaid-js/mermaid/pull/4186](https://github.com/mermaid-js/mermaid/pull/4186) - Clean up list of ignored links by [@​mre](https://github.com/mre) in [https://github.com/mermaid-js/mermaid/pull/4197](https://github.com/mermaid-js/mermaid/pull/4197) - v smol fixes while reading thru docs by [@​andrew-clarkson](https://github.com/andrew-clarkson) in [https://github.com/mermaid-js/mermaid/pull/4210](https://github.com/mermaid-js/mermaid/pull/4210) - Updated DokuWiki plugin for Mermaid integration by [@​RobertWeinmeister](https://github.com/RobertWeinmeister) in [https://github.com/mermaid-js/mermaid/pull/4209](https://github.com/mermaid-js/mermaid/pull/4209) - typo fix by [@​Whoeza](https://github.com/Whoeza) in [https://github.com/mermaid-js/mermaid/pull/4221](https://github.com/mermaid-js/mermaid/pull/4221) - Updates to the Homepage by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/4226](https://github.com/mermaid-js/mermaid/pull/4226) - Fix typos in timeline docs by [@​xuanxu](https://github.com/xuanxu) in [https://github.com/mermaid-js/mermaid/pull/4237](https://github.com/mermaid-js/mermaid/pull/4237) - docs: Remove repeated phrase by [@​vorburger](https://github.com/vorburger) in [https://github.com/mermaid-js/mermaid/pull/4230](https://github.com/mermaid-js/mermaid/pull/4230) - Fix hexagon node flowchart code example in docs by [@​piradata](https://github.com/piradata) in [https://github.com/mermaid-js/mermaid/pull/4246](https://github.com/mermaid-js/mermaid/pull/4246) ### Chores - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4191](https://github.com/mermaid-js/mermaid/pull/4191) - CI(e2e): Skip caching in `actions/setup-node`, as `cypress-io/github-action` already caches for us by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4194](https://github.com/mermaid-js/mermaid/pull/4194) - fix(deps): update all non-major dependencies (patch) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4190](https://github.com/mermaid-js/mermaid/pull/4190) - fix([#​1066](https://github.com/mermaid-js/mermaid/issues/1066)): Return true if parse is success. by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4183](https://github.com/mermaid-js/mermaid/pull/4183) - fix(squence): getBBox() returns zero by [@​ischanx](https://github.com/ischanx) in [https://github.com/mermaid-js/mermaid/pull/4181](https://github.com/mermaid-js/mermaid/pull/4181) - fix(deps): update all non-major dependencies (patch) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4218](https://github.com/mermaid-js/mermaid/pull/4218) - chore(deps): update node.js to v18.15.0 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4219](https://github.com/mermaid-js/mermaid/pull/4219) - Update [@​types/lodash-es](https://github.com/types/lodash-es) by [@​remcohaszing](https://github.com/remcohaszing) in [https://github.com/mermaid-js/mermaid/pull/4228](https://github.com/mermaid-js/mermaid/pull/4228) - chore(deps): update pnpm to v7.30.0 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4232](https://github.com/mermaid-js/mermaid/pull/4232) - chore(deps): update pnpm to v7.30.1 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4231](https://github.com/mermaid-js/mermaid/pull/4231) - Remove inline-specifiers pnpm option from `.npmrc` file to avoid merge conflicts by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4249](https://github.com/mermaid-js/mermaid/pull/4249) #### New Contributors - [@​ted-marozzi](https://github.com/ted-marozzi) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4184](https://github.com/mermaid-js/mermaid/pull/4184) - [@​lauraceconi](https://github.com/lauraceconi) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4164](https://github.com/mermaid-js/mermaid/pull/4164) - [@​Pr0dt0s](https://github.com/Pr0dt0s) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4187](https://github.com/mermaid-js/mermaid/pull/4187) - [@​ischanx](https://github.com/ischanx) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4181](https://github.com/mermaid-js/mermaid/pull/4181) - [@​mre](https://github.com/mre) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4197](https://github.com/mermaid-js/mermaid/pull/4197) - [@​andrew-clarkson](https://github.com/andrew-clarkson) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4211](https://github.com/mermaid-js/mermaid/pull/4211) - [@​RobertWeinmeister](https://github.com/RobertWeinmeister) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4209](https://github.com/mermaid-js/mermaid/pull/4209) - [@​Whoeza](https://github.com/Whoeza) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4221](https://github.com/mermaid-js/mermaid/pull/4221) - [@​remcohaszing](https://github.com/remcohaszing) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4228](https://github.com/mermaid-js/mermaid/pull/4228) - [@​vorburger](https://github.com/vorburger) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4230](https://github.com/mermaid-js/mermaid/pull/4230) - [@​xuanxu](https://github.com/xuanxu) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4237](https://github.com/mermaid-js/mermaid/pull/4237) - [@​piradata](https://github.com/piradata) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4246](https://github.com/mermaid-js/mermaid/pull/4246) - [@​JeremyFunk](https://github.com/JeremyFunk) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4238](https://github.com/mermaid-js/mermaid/pull/4238) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.0.2...v10.1.0 ### [`v10.0.2`](https://github.com/mermaid-js/mermaid/releases/tag/v10.0.2): 10.0.2 [Compare Source](https://github.com/mermaid-js/mermaid/compare/v10.0.1...v10.0.2) ### Release Notes #### Bugfixes - fix: dayjs import extension [@​sidharthv96](https://github.com/sidharthv96) ### [`v10.0.1`](https://github.com/mermaid-js/mermaid/releases/tag/v10.0.1): 10.0.1 [Compare Source](https://github.com/mermaid-js/mermaid/compare/v10.0.0...v10.0.1) ### Release Notes ### Features - Added grammar to skip comment in attribute block ([#​4128](https://github.com/mermaid-js/mermaid/issues/4128)) [@​kshitijsaksena](https://github.com/kshitijsaksena) - feat: Add support for classDiagram labels ([#​4086](https://github.com/mermaid-js/mermaid/issues/4086)) [@​sidharthv96](https://github.com/sidharthv96) - 💄 section width now covers all tasks ([#​4074](https://github.com/mermaid-js/mermaid/issues/4074)) [@​l2fprod](https://github.com/l2fprod) - 💄 section width now covers all tasks - Timeline ([#​4126](https://github.com/mermaid-js/mermaid/issues/4126)) [@​sidharthv96](https://github.com/sidharthv96) ### Bugfixes - Fix([#​4140](https://github.com/mermaid-js/mermaid/issues/4140)): Async bug in mermaid.run ([#​4142](https://github.com/mermaid-js/mermaid/issues/4142)) [@​sidharthv96](https://github.com/sidharthv96) - fix [#​4157](https://github.com/mermaid-js/mermaid/issues/4157): Inject only fontFamily without replacing themeVariables ([#​4160](https://github.com/mermaid-js/mermaid/issues/4160)) [@​sidharthv96](https://github.com/sidharthv96) - fix: Detector order ([#​4124](https://github.com/mermaid-js/mermaid/issues/4124)) [@​sidharthv96](https://github.com/sidharthv96) - fix: fix exports ([#​4135](https://github.com/mermaid-js/mermaid/issues/4135)) [@​Mister-Hope](https://github.com/Mister-Hope) - fix [#​4157](https://github.com/mermaid-js/mermaid/issues/4157): Inject only fontFamily without replacing themeVariables by [@​sidharthv96](https://github.com/sidharthv96) - Elk layout for flowcharts: Incorrect placement of edges when using diamonds in subgraphs by [@​knsv](https://github.com/knsv) ### Documentation - Adding app (Deepdwn) to integrations list ([#​4127](https://github.com/mermaid-js/mermaid/issues/4127)) [@​Billiam](https://github.com/Billiam) - Doc (typo): remove duplicate "be" ([#​4133](https://github.com/mermaid-js/mermaid/issues/4133)) [@​Julez404](https://github.com/Julez404) <!----> - docs(flowchart): duplicated hexagon node example by [@​Oliboy50](https://github.com/Oliboy50) - add links to NiceGUI integration by [@​rodja](https://github.com/rodja) - Adding app (Deepdwn) to integrations list by [@​Billiam](https://github.com/Billiam) #### Chores - chore: dagre-d3-es@7.0.9 ([#​4147](https://github.com/mermaid-js/mermaid/issues/4147)) [@​sidharthv96](https://github.com/sidharthv96) - Replace `moment-mini`/`moment` date library with `dayjs` ([#​4153](https://github.com/mermaid-js/mermaid/issues/4153)) [@​aloisklink](https://github.com/aloisklink) 🎉 **Thanks to all contributors helping with this release!** 🎉 #### New Contributors - [@​Oliboy50](https://github.com/Oliboy50) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4105](https://github.com/mermaid-js/mermaid/pull/4105) - [@​rodja](https://github.com/rodja) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4107](https://github.com/mermaid-js/mermaid/pull/4107) - [@​Julez404](https://github.com/Julez404) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4133](https://github.com/mermaid-js/mermaid/pull/4133) - [@​l2fprod](https://github.com/l2fprod) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4074](https://github.com/mermaid-js/mermaid/pull/4074) - [@​kshitijsaksena](https://github.com/kshitijsaksena) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4128](https://github.com/mermaid-js/mermaid/pull/4128) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v10.0.0...v10.0.1 ### [`v10.0.0`](https://github.com/mermaid-js/mermaid/blob/HEAD/CHANGELOG.md#​1000-httpsgithubcommermaid-jsmermaidreleasestagv1000) [Compare Source](https://github.com/mermaid-js/mermaid/compare/v9.4.3...v10.0.0) ##### Mermaid is ESM only! We've dropped CJS support. So, you will have to update your import scripts as follows. ```html <script type="module"> import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs'; mermaid.initialize({ startOnLoad: true }); </script> ``` You can keep using v9 by adding the `@9` in the CDN URL. ```diff - <script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.js"></script> + <script src="https://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.js"></script> ``` ##### mermaid.render is async and doesn't accept callbacks ```js // < v10 mermaid.render('id', 'graph TD;\nA-->B', (svg, bindFunctions) => { element.innerHTML = svg; if (bindFunctions) { bindFunctions(element); } }); // Shorter syntax if (bindFunctions) { bindFunctions(element); } // can be replaced with the `?.` shorthand bindFunctions?.(element); // >= v10 with async/await const { svg, bindFunctions } = await mermaid.render('id', 'graph TD;\nA-->B'); element.innerHTML = svg; bindFunctions?.(element); // >= v10 with promise.then mermaid.render('id', 'graph TD;A-->B').then(({ svg, bindFunctions }) => { element.innerHTML = svg; bindFunctions?.(element); }); ``` ##### mermaid.parse is async and ParseError is removed ```js // < v10 mermaid.parse(text, parseError); //>= v10 await mermaid.parse(text).catch(parseError); // or try { await mermaid.parse(text); } catch (err) { parseError(err); } ``` ##### Init deprecated and InitThrowsErrors removed The config passed to `init` was not being used eariler. It will now be used. The `init` function is deprecated and will be removed in the next major release. init currently works as a wrapper to `initialize` and `run`. ```js // < v10 mermaid.init(config, selector, cb); //>= v10 mermaid.initialize(config); mermaid.run({ querySelector: selector, postRenderCallback: cb, suppressErrors: true, }); ``` ```js // < v10 mermaid.initThrowsErrors(config, selector, cb); //>= v10 mermaid.initialize(config); mermaid.run({ querySelector: selector, postRenderCallback: cb, suppressErrors: false, }); ``` // TODO: Populate changelog pre v10 - Config has a lot of changes - globalReset resets to `defaultConfig` instead of current config. Use `reset` instead. ### [`v9.4.3`](https://github.com/mermaid-js/mermaid/releases/tag/v9.4.3) [Compare Source](https://github.com/mermaid-js/mermaid/compare/v9.4.2...v9.4.3) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v9.4.2...v9.4.3 Fixes imports for dayjs and cytoscape. ### [`v9.4.2`](https://github.com/mermaid-js/mermaid/releases/tag/v9.4.2) [Compare Source](https://github.com/mermaid-js/mermaid/compare/v9.4.0...v9.4.2) #### What's Changed - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4044](https://github.com/mermaid-js/mermaid/pull/4044) - chore(deps): update dependency [@​types/uuid](https://github.com/types/uuid) to v9 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4067](https://github.com/mermaid-js/mermaid/pull/4067) - build(lint:fix): cache eslint in pnpm run lint:fix by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4073](https://github.com/mermaid-js/mermaid/pull/4073) - chore(deps): update dependency rimraf to v4 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4070](https://github.com/mermaid-js/mermaid/pull/4070) - chore(deps): update dependency jsdom to v21 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4069](https://github.com/mermaid-js/mermaid/pull/4069) - chore(deps): update timonvs/pr-labeler-action action to v4 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4072](https://github.com/mermaid-js/mermaid/pull/4072) - chore(deps): update actions/configure-pages action to v3 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4065](https://github.com/mermaid-js/mermaid/pull/4065) - chore(deps): update actions/dependency-review-action action to v3 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4066](https://github.com/mermaid-js/mermaid/pull/4066) - docs: minor fix on markdown by [@​Jeff-Tian](https://github.com/Jeff-Tian) in [https://github.com/mermaid-js/mermaid/pull/4015](https://github.com/mermaid-js/mermaid/pull/4015) - Add logo to readme by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4076](https://github.com/mermaid-js/mermaid/pull/4076) - Release 9.4.1 by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4095](https://github.com/mermaid-js/mermaid/pull/4095) - chore(deps): update dependency vite to v4 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4071](https://github.com/mermaid-js/mermaid/pull/4071) - chore(deps): update dependency cypress to v12 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4068](https://github.com/mermaid-js/mermaid/pull/4068) - fix(api): tree shaking package.json import by [@​AielloChan](https://github.com/AielloChan) in [https://github.com/mermaid-js/mermaid/pull/4101](https://github.com/mermaid-js/mermaid/pull/4101) #### New Contributors - [@​Jeff-Tian](https://github.com/Jeff-Tian) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4015](https://github.com/mermaid-js/mermaid/pull/4015) - [@​AielloChan](https://github.com/AielloChan) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4101](https://github.com/mermaid-js/mermaid/pull/4101) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v9.4.0...v9.4.2 ### [`v9.4.0`](https://github.com/mermaid-js/mermaid/releases/tag/v9.4.0) [Compare Source](https://github.com/mermaid-js/mermaid/compare/v9.3.0...v9.4.0) #### What's Changed ##### Features - Timeline Diagram by [@​ashishjain0512](https://github.com/ashishjain0512) in [https://github.com/mermaid-js/mermaid/pull/4014](https://github.com/mermaid-js/mermaid/pull/4014) - feat: Flowchart layout using elkjs by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3984](https://github.com/mermaid-js/mermaid/pull/3984) - Layout v3 continued by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/3938](https://github.com/mermaid-js/mermaid/pull/3938) - feat(er): add unique key by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/3917](https://github.com/mermaid-js/mermaid/pull/3917) - feat: Set svg role to 'graphics-document document' by [@​weedySeaDragon](https://github.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3897](https://github.com/mermaid-js/mermaid/pull/3897) - feat: Wait for rendering to finish before taking image snapshots by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/3995](https://github.com/mermaid-js/mermaid/pull/3995) - feat(er): add multiple key constraints by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/4030](https://github.com/mermaid-js/mermaid/pull/4030) - Add support for YAML frontmatter in Markdown docs (used for Vitepress config) by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3962](https://github.com/mermaid-js/mermaid/pull/3962) - feat(er): allow leading underscore for attributes name by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/4033](https://github.com/mermaid-js/mermaid/pull/4033) - Add links to theme listing by [@​BD103](https://github.com/BD103) in [https://github.com/mermaid-js/mermaid/pull/3890](https://github.com/mermaid-js/mermaid/pull/3890) - Adding support for parenthesis in the er diagram attribute types. by [@​mahomedalid](https://github.com/mahomedalid) in [https://github.com/mermaid-js/mermaid/pull/3892](https://github.com/mermaid-js/mermaid/pull/3892) - Support parsing indented mermaid/YAML only from HTML by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3859](https://github.com/mermaid-js/mermaid/pull/3859) - Parse style string and number font size values from configuration inputs by [@​jonabc](https://github.com/jonabc) in [https://github.com/mermaid-js/mermaid/pull/3993](https://github.com/mermaid-js/mermaid/pull/3993) - Mindmaps: differentiate the colors between the root node and the first section [#​4017](https://github.com/mermaid-js/mermaid/issues/4017) by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4018](https://github.com/mermaid-js/mermaid/pull/4018) - Add Box support in Sequence Diagrams by [@​oleveau](https://github.com/oleveau) in [https://github.com/mermaid-js/mermaid/pull/3965](https://github.com/mermaid-js/mermaid/pull/3965) ##### Breaking changes - Mind map and timeline diagrams are lazy loaded by mermaid. In order to use these diagrams you need to use the renderAsync method of rendering. The [@​mermaid-js/mermaid-mindmap](https://github.com/mermaid-js/mermaid-mindmap) package is deprecated by this. ##### Documentation - doc: remove links from atom.io; add note Atom has been archived by [@​weedySeaDragon](https://github.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3899](https://github.com/mermaid-js/mermaid/pull/3899) - docs(README.zh-CN): fix book image src by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3920](https://github.com/mermaid-js/mermaid/pull/3920) - docs: fix typo by [@​Foo-x](https://github.com/Foo-x) in [https://github.com/mermaid-js/mermaid/pull/3925](https://github.com/mermaid-js/mermaid/pull/3925) - docs: update navbar by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3906](https://github.com/mermaid-js/mermaid/pull/3906) - docs: fix text overflow by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3907](https://github.com/mermaid-js/mermaid/pull/3907) - docs: Remove duplicate example in ER-diagram documentation by [@​guilhermgonzaga](https://github.com/guilhermgonzaga) in [https://github.com/mermaid-js/mermaid/pull/3964](https://github.com/mermaid-js/mermaid/pull/3964) - Docs: Too many `primaryBorderColor` field by [@​LiHowe](https://github.com/LiHowe) in [https://github.com/mermaid-js/mermaid/pull/3986](https://github.com/mermaid-js/mermaid/pull/3986) - docs(sequenceDiagram): subvert prettification of arrow types by [@​cakemanny](https://github.com/cakemanny) in [https://github.com/mermaid-js/mermaid/pull/3988](https://github.com/mermaid-js/mermaid/pull/3988) - Add Swimm to the list of integrations by [@​Omerr](https://github.com/Omerr) in [https://github.com/mermaid-js/mermaid/pull/3936](https://github.com/mermaid-js/mermaid/pull/3936) - Website/homepage updates by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3945](https://github.com/mermaid-js/mermaid/pull/3945) - Update sequenceDiagram.md to include line break by [@​Odogwudozilla](https://github.com/Odogwudozilla) in [https://github.com/mermaid-js/mermaid/pull/3960](https://github.com/mermaid-js/mermaid/pull/3960) - Support GitHub Flavored Markdown in markdown documentation by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3954](https://github.com/mermaid-js/mermaid/pull/3954) - Update integrations.md by [@​Barry1](https://github.com/Barry1) in [https://github.com/mermaid-js/mermaid/pull/4011](https://github.com/mermaid-js/mermaid/pull/4011) - docs(readme): update broken twitter badge by [@​LeoDog896](https://github.com/LeoDog896) in [https://github.com/mermaid-js/mermaid/pull/4032](https://github.com/mermaid-js/mermaid/pull/4032) - Update mindmap.md by [@​GavinPen](https://github.com/GavinPen) in [https://github.com/mermaid-js/mermaid/pull/4042](https://github.com/mermaid-js/mermaid/pull/4042) - Showcase section to the docs - keepings docs up to date by [@​Omerr](https://github.com/Omerr) in [https://github.com/mermaid-js/mermaid/pull/4055](https://github.com/mermaid-js/mermaid/pull/4055) ##### Bug Fixes - fix(docs): remove duplicate section by [@​Joxtacy](https://github.com/Joxtacy) in [https://github.com/mermaid-js/mermaid/pull/3908](https://github.com/mermaid-js/mermaid/pull/3908) - fix: Typescript error in usage by [@​tommoor](https://github.com/tommoor) in [https://github.com/mermaid-js/mermaid/pull/3914](https://github.com/mermaid-js/mermaid/pull/3914) - fix: dev server watch mode by [@​huynhicode](https://github.com/huynhicode) in [https://github.com/mermaid-js/mermaid/pull/3904](https://github.com/mermaid-js/mermaid/pull/3904) - fix(er): switch to deterministic UUIDs in ER by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3916](https://github.com/mermaid-js/mermaid/pull/3916) - fixed Composition arrow by [@​Frank-Mayer](https://github.com/Frank-Mayer) in [https://github.com/mermaid-js/mermaid/pull/3930](https://github.com/mermaid-js/mermaid/pull/3930) - fix(generic): fix generic type detection by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/3921](https://github.com/mermaid-js/mermaid/pull/3921) - fix typos accessing techn property in drawC4Shape function by [@​nekikara](https://github.com/nekikara) in [https://github.com/mermaid-js/mermaid/pull/3943](https://github.com/mermaid-js/mermaid/pull/3943) - fix(deps): update dependency dompurify to v2.4.3 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3977](https://github.com/mermaid-js/mermaid/pull/3977) - Fix nonstandard syntax by [@​atmikeguo](https://github.com/atmikeguo) in [https://github.com/mermaid-js/mermaid/pull/3972](https://github.com/mermaid-js/mermaid/pull/3972) - Fix failing tests due to semantic merge conflict by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3985](https://github.com/mermaid-js/mermaid/pull/3985) - fix(deps): update dependency dagre-d3-es to v7.0.6 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3996](https://github.com/mermaid-js/mermaid/pull/3996) - fix([#​4003](https://github.com/mermaid-js/mermaid/issues/4003)): Remove unhandled promises by [@​sidharthv96](https://github.com/sidharthv96) in [https://github.com/mermaid-js/mermaid/pull/4004](https://github.com/mermaid-js/mermaid/pull/4004) - Bug/3858 \[state] trailing whitespace in ids for named state container by [@​weedySeaDragon](https://github.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3902](https://github.com/mermaid-js/mermaid/pull/3902) - fix: moment-mini default exporter by [@​emersonbottero](https://github.com/emersonbottero) in [https://github.com/mermaid-js/mermaid/pull/4034](https://github.com/mermaid-js/mermaid/pull/4034) - fix(deps): update dependency dagre-d3-es to v7.0.8 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4058](https://github.com/mermaid-js/mermaid/pull/4058) - bugfix: add missing d3 curves to flowchart and docs by [@​natasha-jarus](https://github.com/natasha-jarus) in [https://github.com/mermaid-js/mermaid/pull/4038](https://github.com/mermaid-js/mermaid/pull/4038) - Bug/3865 C4Context: $borderColor has no effect by [@​nekikara](https://github.com/nekikara) in [https://github.com/mermaid-js/mermaid/pull/3947](https://github.com/mermaid-js/mermaid/pull/3947) - Mindmaps: Handling rows with only spaces in them ([#​4012](https://github.com/mermaid-js/mermaid/issues/4012)) by [@​knsv](https://github.com/knsv) in [https://github.com/mermaid-js/mermaid/pull/4013](https://github.com/mermaid-js/mermaid/pull/4013) ##### Chores - ci: disable checking twitter links by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/3973](https://github.com/mermaid-js/mermaid/pull/3973) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3905](https://github.com/mermaid-js/mermaid/pull/3905) - chore(deps): update pnpm to v7.18.2 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3929](https://github.com/mermaid-js/mermaid/pull/3929) - chore(pr): add documentation task in PR template by [@​tomperr](https://github.com/tomperr) in [https://github.com/mermaid-js/mermaid/pull/3935](https://github.com/mermaid-js/mermaid/pull/3935) - (chore) Docs: add tag to produce only a diagram, not code example by [@​weedySeaDragon](https://github.com/weedySeaDragon) in [https://github.com/mermaid-js/mermaid/pull/3946](https://github.com/mermaid-js/mermaid/pull/3946) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3944](https://github.com/mermaid-js/mermaid/pull/3944) - chore(deps): update all non-major dependencies (minor) by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/3997](https://github.com/mermaid-js/mermaid/pull/3997) - chore(deps): update pnpm to v7.25.1 by [@​renovate](https://github.com/renovate) in [https://github.com/mermaid-js/mermaid/pull/4024](https://github.com/mermaid-js/mermaid/pull/4024) - build(lint): cache prettier on `pnpm run lint` by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4035](https://github.com/mermaid-js/mermaid/pull/4035) - Cache `eslint` in pre-commit script (makes `git commit` 5x faster) by [@​aloisklink](https://github.com/aloisklink) in [https://github.com/mermaid-js/mermaid/pull/4057](https://github.com/mermaid-js/mermaid/pull/4057) #### New Contributors - [@​Joxtacy](https://github.com/Joxtacy) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3908](https://github.com/mermaid-js/mermaid/pull/3908) - [@​BD103](https://github.com/BD103) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3890](https://github.com/mermaid-js/mermaid/pull/3890) - [@​mahomedalid](https://github.com/mahomedalid) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3892](https://github.com/mermaid-js/mermaid/pull/3892) - [@​tomperr](https://github.com/tomperr) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3917](https://github.com/mermaid-js/mermaid/pull/3917) - [@​Foo-x](https://github.com/Foo-x) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3925](https://github.com/mermaid-js/mermaid/pull/3925) - [@​Frank-Mayer](https://github.com/Frank-Mayer) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3930](https://github.com/mermaid-js/mermaid/pull/3930) - [@​Omerr](https://github.com/Omerr) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3936](https://github.com/mermaid-js/mermaid/pull/3936) - [@​nekikara](https://github.com/nekikara) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3943](https://github.com/mermaid-js/mermaid/pull/3943) - [@​guilhermgonzaga](https://github.com/guilhermgonzaga) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3964](https://github.com/mermaid-js/mermaid/pull/3964) - [@​Odogwudozilla](https://github.com/Odogwudozilla) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3960](https://github.com/mermaid-js/mermaid/pull/3960) - [@​atmikeguo](https://github.com/atmikeguo) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3972](https://github.com/mermaid-js/mermaid/pull/3972) - [@​LiHowe](https://github.com/LiHowe) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3986](https://github.com/mermaid-js/mermaid/pull/3986) - [@​cakemanny](https://github.com/cakemanny) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3988](https://github.com/mermaid-js/mermaid/pull/3988) - [@​jonabc](https://github.com/jonabc) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3993](https://github.com/mermaid-js/mermaid/pull/3993) - [@​MermaidChart](https://github.com/MermaidChart) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4013](https://github.com/mermaid-js/mermaid/pull/4013) - [@​Barry1](https://github.com/Barry1) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4011](https://github.com/mermaid-js/mermaid/pull/4011) - [@​LeoDog896](https://github.com/LeoDog896) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4032](https://github.com/mermaid-js/mermaid/pull/4032) - [@​GavinPen](https://github.com/GavinPen) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4042](https://github.com/mermaid-js/mermaid/pull/4042) - [@​oleveau](https://github.com/oleveau) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/3965](https://github.com/mermaid-js/mermaid/pull/3965) - [@​natasha-jarus](https://github.com/natasha-jarus) made their first contribution in [https://github.com/mermaid-js/mermaid/pull/4038](https://github.com/mermaid-js/mermaid/pull/4038) **Full Changelog**: https://github.com/mermaid-js/mermaid/compare/v9.3.0...v9.4.0 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/BirthdayResearch/contented). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
^0.16.0
->^0.17.0
7.24.3
->7.25.0
Release Notes
evanw/esbuild
v0.17.0
Compare Source
This release deliberately contains backwards-incompatible changes. To avoid automatically picking up releases like this, you should either be pinning the exact version of
esbuild
in yourpackage.json
file (recommended) or be using a version range syntax that only accepts patch upgrades such as^0.16.0
or~0.16.0
. See npm's documentation about semver for more information.At a high level, the breaking changes in this release fix some long-standing issues with the design of esbuild's incremental, watch, and serve APIs. This release also introduces some exciting new features such as live reloading. In detail:
Move everything related to incremental builds to a new
context
API (#1037, #1606, #2280, #2418)This change removes the
incremental
andwatch
options as well as theserve()
method, and introduces a newcontext()
method. The context method takes the same arguments as thebuild()
method but only validates its arguments and does not do an initial build. Instead, builds can be triggered using therebuild()
,watch()
, andserve()
methods on the returned context object. The new context API looks like this:The switch to the context API solves a major issue with the previous API which is that if the initial build fails, a promise is thrown in JavaScript which prevents you from accessing the returned result object. That prevented you from setting up long-running operations such as watch mode when the initial build contained errors. It also makes tearing down incremental builds simpler as there is now a single way to do it instead of three separate ways.
In addition, this release also makes some subtle changes to how incremental builds work. Previously every call to
rebuild()
started a new build. If you weren't careful, then builds could actually overlap. This doesn't cause any problems with esbuild itself, but could potentially cause problems with plugins (esbuild doesn't even give you a way to identify which overlapping build a given plugin callback is running on). Overlapping builds also arguably aren't useful, or at least aren't useful enough to justify the confusion and complexity that they bring. With this release, there is now only ever a single active build per context. Callingrebuild()
before the previous rebuild has finished now "merges" with the existing rebuild instead of starting a new build.Allow using
watch
andserve
together (#805, #1650, #2576)Previously it was not possible to use watch mode and serve mode together. The rationale was that watch mode is one way of automatically rebuilding your project and serve mode is another (since serve mode automatically rebuilds on every request). However, people want to combine these two features to make "live reloading" where the browser automatically reloads the page when files are changed on the file system.
This release now allows you to use these two features together. You can only call the
watch()
andserve()
APIs once each per context, but if you call them together on the same context then esbuild will automatically rebuild both when files on the file system are changed and when the server serves a request.Support "live reloading" through server-sent events (#802)
Server-sent events are a simple way to pass one-directional messages asynchronously from the server to the client. Serve mode now provides a
/esbuild
endpoint with anchange
event that triggers every time esbuild's output changes. So you can now implement simple "live reloading" (i.e. reloading the page when a file is edited and saved) like this:The event payload is a JSON object with the following shape:
This JSON should also enable more complex live reloading scenarios. For example, the following code hot-swaps changed CSS
<link>
tags in place without reloading the page (but still reloads when there are other types of changes):Implementing live reloading like this has a few known caveats:
These events only trigger when esbuild's output changes. They do not trigger when files unrelated to the build being watched are changed. If your HTML file references other files that esbuild doesn't know about and those files are changed, you can either manually reload the page or you can implement your own live reloading infrastructure instead of using esbuild's built-in behavior.
The
EventSource
API is supposed to automatically reconnect for you. However, there's a bug in Firefox that breaks this if the server is ever temporarily unreachable: https://bugzilla.mozilla.org/show_bug.cgi?id=1809332. Workarounds are to use any other browser, to manually reload the page if this happens, or to write more complicated code that manually closes and re-creates theEventSource
object if there is a connection error. I'm hopeful that this bug will be fixed.Browser vendors have decided to not implement HTTP/2 without TLS. This means that each
/esbuild
event source will take up one of your precious 6 simultaneous per-domain HTTP/1.1 connections. So if you open more than six HTTP tabs that use this live-reloading technique, you will be unable to use live reloading in some of those tabs (and other things will likely also break). The workaround is to enable HTTPS, which is now possible to do in esbuild itself (see below).Add built-in support for HTTPS (#2169)
You can now tell esbuild's built-in development server to use HTTPS instead of HTTP. This is sometimes necessary because browser vendors have started making modern web features unavailable to HTTP websites. Previously you had to put a proxy in front of esbuild to enable HTTPS since esbuild's development server only supported HTTP. But with this release, you can now enable HTTPS with esbuild without an additional proxy.
To enable HTTPS with esbuild:
Generate a self-signed certificate. There are many ways to do this. Here's one way, assuming you have
openssl
installed:Add
--keyfile=key.pem
and--certfile=cert.pem
to your esbuild development server commandClick past the scary warning in your browser when you load your page
If you have more complex needs than this, you can still put a proxy in front of esbuild and use that for HTTPS instead. Note that if you see the message "Client sent an HTTP request to an HTTPS server" when you load your page, then you are using the incorrect protocol. Replace
http://
withhttps://
in your browser's URL bar.Keep in mind that esbuild's HTTPS support has nothing to do with security. The only reason esbuild now supports HTTPS is because browsers have made it impossible to do local development with certain modern web features without jumping through these extra hoops. Please do not use esbuild's development server for anything that needs to be secure. It's only intended for local development and no considerations have been made for production environments whatsoever.
Better support copying
index.html
into the output directory (#621, #1771)Right now esbuild only supports JavaScript and CSS as first-class content types. Previously this meant that if you were building a website with a HTML file, a JavaScript file, and a CSS file, you could use esbuild to build the JavaScript file and the CSS file into the output directory but not to copy the HTML file into the output directory. You needed a separate
cp
command for that.Or so I thought. It turns out that the
copy
loader added in version 0.14.44 of esbuild is sufficient to have esbuild copy the HTML file into the output directory as well. You can add something likeindex.html --loader:.html=copy
and esbuild will copyindex.html
into the output directory for you. The benefits of this are a) you don't need a separatecp
command and b) theindex.html
file will automatically be re-copied when esbuild is in watch mode and the contents ofindex.html
are edited. This also goes for other non-HTML file types that you might want to copy.This pretty much already worked. The one thing that didn't work was that esbuild's built-in development server previously only supported implicitly loading
index.html
(e.g. loading/about/index.html
when you visit/about/
) whenindex.html
existed on the file system. Previously esbuild didn't support implicitly loadingindex.html
if it was a build result. That bug has been fixed with this release so it should now be practical to use thecopy
loader to do this.Fix
onEnd
not being called in serve mode (#1384)Previous releases had a bug where plugin
onEnd
callbacks weren't called when using the top-levelserve()
API. This API no longer exists and the internals have been reimplemented such thatonEnd
callbacks should now always be called at the end of every build.Incremental builds now write out build results differently (#2104)
Previously build results were always written out after every build. However, this could cause the output directory to fill up with files from old builds if code splitting was enabled, since the file names for code splitting chunks contain content hashes and old files were not deleted.
With this release, incremental builds in esbuild will now delete old output files from previous builds that are no longer relevant. Subsequent incremental builds will also no longer overwrite output files whose contents haven't changed since the previous incremental build.
The
onRebuild
watch mode callback was removed (#980, #2499)Previously watch mode accepted an
onRebuild
callback which was called whenever watch mode rebuilt something. This was not great in practice because if you are running code after a build, you likely want that code to run after every build, not just after the second and subsequent builds. This release removes option to provide anonRebuild
callback. You can create a plugin with anonEnd
callback instead. TheonEnd
plugin API already exists, and is a way to run some code after every build.You can now return errors from
onEnd
(#2625)It's now possible to add additional build errors and/or warnings to the current build from within your
onEnd
callback by returning them in an array. This is identical to how theonStart
callback already works. The evaluation ofonEnd
callbacks have been moved around a bit internally to make this possible.Note that the build will only fail (i.e. reject the promise) if the additional errors are returned from
onEnd
. Adding additional errors to the result object that's passed toonEnd
won't affect esbuild's behavior at all.Print URLs and ports from the Go and JS APIs (#2393)
Previously esbuild's CLI printed out something like this when serve mode is active:
The CLI still does this, but now the JS and Go serve mode APIs will do this too. This only happens when the log level is set to
verbose
,debug
, orinfo
but not when it's set towarning
,error
, orsilent
.Upgrade guide for existing code:
Rebuild (a.k.a. incremental build):
Before:
After:
Previously the first build was done differently than subsequent builds. Now both the first build and subsequent builds are done using the same API.
Serve:
Before:
After:
Watch:
Before:
After:
Watch with
onRebuild
:Before:
After:
The
onRebuild
function has now been removed. The replacement is to make a plugin with anonEnd
callback.Previously
onRebuild
did not fire for the first build (only for subsequent builds). This was usually problematic, so usingonEnd
instead ofonRebuild
is likely less error-prone. But if you need to emulate the old behavior ofonRebuild
that ignores the first build, then you'll need to manually count and ignore the first build in your plugin (as demonstrated above).Notice how all of these API calls are now done off the new context object. You should now be able to use all three kinds of incremental builds (
rebuild
,serve
, andwatch
) together on the same context object. Also notice how callingdispose
on the context is now the common way to discard the context and free resources in all of these situations.pnpm/pnpm
v7.25.0
Compare Source
Minor Changes
--ignore-existing
option #5632.extend-node-path
is set tofalse
, theNODE_PATH
environment variable is not set in the command shims #5910Patch Changes
prefer-symlinked-executables
is set totrue
#5913.node-linker=hoisted
.Our Gold Sponsors
Our Silver Sponsors
Configuration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.