-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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) #3905
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
referenced
this pull request
in peaceiris/hugo-theme-iris
Mar 16, 2023
[](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) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](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
[](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) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](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
[](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) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](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
Labels
None yet
0 participants
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.15.13
->^0.16.0
7.17.1
->7.18.1
Release Notes
evanw/esbuild
v0.16.4
Compare Source
Fix binary downloads from the
@esbuild/
scope for Deno (#2729)Version 0.16.0 of esbuild moved esbuild's binary executables into npm packages under the
@esbuild/
scope, which accidentally broke the binary downloader script for Deno. This release fixes this script so it should now be possible to use esbuild version 0.16.4+ with Deno.v0.16.3
Compare Source
Fix a hang with the JS API in certain cases (#2727)
A change that was made in version 0.15.13 accidentally introduced a case when using esbuild's JS API could cause the node process to fail to exit. The change broke esbuild's watchdog timer, which detects if the parent process no longer exists and then automatically exits esbuild. This hang happened when you ran node as a child process with the
stderr
stream set topipe
instead ofinherit
, in the child process you call esbuild's JS API and passincremental: true
but do not calldispose()
on the returnedrebuild
object, and then callprocess.exit()
. In that case the parent node process was still waiting for the esbuild process that was created by the child node process to exit. The change made in version 0.15.13 was trying to avoid using Go'ssync.WaitGroup
API incorrectly because the API is not thread-safe. Instead of doing this, I have now reverted that change and implemented a thread-safe version of thesync.WaitGroup
API for esbuild to use instead.v0.16.2
Compare Source
Fix
process.env.NODE_ENV
substitution when transforming (#2718)Version 0.16.0 introduced an unintentional regression that caused
process.env.NODE_ENV
to be automatically substituted with either"development"
or"production"
when using esbuild'stransform
API. This substitution is a necessary feature of esbuild'sbuild
API because the React framework crashes when you bundle it without doing this. But thetransform
API is typically used as part of a larger build pipeline so the benefit of esbuild doing this automatically is not as clear, and esbuild previously didn't do this.However, version 0.16.0 switched the default value of the
platform
setting for thetransform
API fromneutral
tobrowser
, both to align it with esbuild's documentation (which saysbrowser
is the default value) and because escaping the</script>
character sequence is now tied to thebrowser
platform (see the release notes for version 0.16.0 for details). That accidentally enabled automatic substitution ofprocess.env.NODE_ENV
because esbuild always did that for code meant for the browser. To fix this regression, esbuild will now only automatically substituteprocess.env.NODE_ENV
when using thebuild
API.Prevent
define
from substituting constants into assignment position (#2719)The
define
feature lets you replace certain expressions with constants. For example, you could use it to replace references to the global property referencewindow.DEBUG
withfalse
at compile time, which can then potentially help esbuild remove unused code from your bundle. It's similar to DefinePlugin in Webpack.However, if you write code such as
window.DEBUG = true
and then definedwindow.DEBUG
tofalse
, esbuild previously generated the outputfalse = true
which is a syntax error in JavaScript. This behavior is not typically a problem because it doesn't make sense to substitutewindow.DEBUG
with a constant if its value changes at run-time (Webpack'sDefinePlugin
also generatesfalse = true
in this case). But it can be alarming to have esbuild generate code with a syntax error.So with this release, esbuild will no longer substitute
define
constants into assignment position to avoid generating code with a syntax error. Instead esbuild will generate a warning, which currently looks like this:Fix a regression with
npm install --no-optional
(#2720)Normally when you install esbuild with
npm install
, npm itself is the tool that downloads the correct binary executable for the current platform. This happens because of how esbuild's primary package uses npm'soptionalDependencies
feature. However, if you deliberately disable this withnpm install --no-optional
then esbuild's install script will attempt to repair the installation by manually downloading and extracting the binary executable from the package that was supposed to be installed.The change in version 0.16.0 to move esbuild's nested packages into the
@esbuild/
scope unintentionally broke this logic because of how npm's URL structure is different for scoped packages vs. normal packages. It was actually already broken for a few platforms earlier because esbuild already had packages for some platforms in the@esbuild/
scope, but I didn't discover this then because esbuild's integration tests aren't run on all platforms. Anyway, this release contains some changes to the install script that should hopefully get this scenario working again.v0.16.1
Compare Source
This is a hotfix for the previous release.
Re-allow importing JSON with the
copy
loader using an import assertionThe previous release made it so when
assert { type: 'json' }
is present on an import statement, esbuild validated that thejson
loader was used. This is what an import assertion is supposed to do. However, I forgot about the relatively newcopy
loader, which sort of behaves as if the import path was marked as external (and thus not loaded at all) except that the file is copied to the output directory and the import path is rewritten to point to the copy. In this case whatever JavaScript runtime ends up running the code is the one to evaluate the import assertion. So esbuild should really allow this case as well. With this release, esbuild now allows both thejson
andcopy
loaders when anassert { type: 'json' }
import assertion is present.v0.16.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.15.0
or~0.15.0
. See npm's documentation about semver for more information.Move all binary executable packages to the
@esbuild/
scopeBinary package executables for esbuild are published as individual packages separate from the main
esbuild
package so you only have to download the relevant one for the current platform when you install esbuild. This release moves all of these packages under the@esbuild/
scope to avoid collisions with 3rd-party packages. It also changes them to a consistent naming scheme that uses theos
andcpu
names from node.The package name changes are as follows:
@esbuild/linux-loong64
=>@esbuild/linux-loong64
(no change)esbuild-android-64
=>@esbuild/android-x64
esbuild-android-arm64
=>@esbuild/android-arm64
esbuild-darwin-64
=>@esbuild/darwin-x64
esbuild-darwin-arm64
=>@esbuild/darwin-arm64
esbuild-freebsd-64
=>@esbuild/freebsd-x64
esbuild-freebsd-arm64
=>@esbuild/freebsd-arm64
esbuild-linux-32
=>@esbuild/linux-ia32
esbuild-linux-64
=>@esbuild/linux-x64
esbuild-linux-arm
=>@esbuild/linux-arm
esbuild-linux-arm64
=>@esbuild/linux-arm64
esbuild-linux-mips64le
=>@esbuild/linux-mips64el
esbuild-linux-ppc64le
=>@esbuild/linux-ppc64
esbuild-linux-riscv64
=>@esbuild/linux-riscv64
esbuild-linux-s390x
=>@esbuild/linux-s390x
esbuild-netbsd-64
=>@esbuild/netbsd-x64
esbuild-openbsd-64
=>@esbuild/openbsd-x64
esbuild-sunos-64
=>@esbuild/sunos-x64
esbuild-wasm
=>esbuild-wasm
(no change)esbuild-windows-32
=>@esbuild/win32-ia32
esbuild-windows-64
=>@esbuild/win32-x64
esbuild-windows-arm64
=>@esbuild/win32-arm64
esbuild
=>esbuild
(no change)Normal usage of the
esbuild
andesbuild-wasm
packages should not be affected. These name changes should only affect tools that hard-coded the individual binary executable package names into custom esbuild downloader scripts.This change was not made with performance in mind. But as a bonus, installing esbuild with npm may potentially happen faster now. This is because npm's package installation protocol is inefficient: it always downloads metadata for all past versions of each package even when it only needs metadata about a single version. This makes npm package downloads O(n) in the number of published versions, which penalizes packages like esbuild that are updated regularly. Since most of esbuild's package names have now changed, npm will now need to download much less data when installing esbuild (8.72mb of package manifests before this change → 0.06mb of package manifests after this change). However, this is only a temporary improvement. Installing esbuild will gradually get slower again as further versions of esbuild are published.
Publish a shell script that downloads esbuild directly
In addition to all of the existing ways to install esbuild, you can now also download esbuild directly like this:
curl -fsSL https://esbuild.github.io/dl/latest | sh
This runs a small shell script that downloads the latest
esbuild
binary executable to the current directory. This can be convenient on systems that don't havenpm
installed or when you just want to get a copy of esbuild quickly without any extra steps. If you want a specific version of esbuild (starting with this version onward), you can provide that version in the URL instead oflatest
:curl -fsSL https://esbuild.github.io/dl/v0.16.0 | sh
Note that the download script needs to be able to access registry.npmjs.org to be able to complete the download. This download script doesn't yet support all of the platforms that esbuild supports because I lack the necessary testing environments. If the download script doesn't work for you because you're on an unsupported platform, please file an issue on the esbuild repo so we can add support for it.
Fix some parameter names for the Go API
This release changes some parameter names for the Go API to be consistent with the JavaScript and CLI APIs:
OutExtensions
=>OutExtension
JSXMode
=>JSX
Add additional validation of API parameters
The JavaScript API now does some additional validation of API parameters to catch incorrect uses of esbuild's API. The biggest impact of this is likely that esbuild now strictly only accepts strings with the
define
parameter. This would already have been a type error with esbuild's TypeScript type definitions, but it was previously not enforced for people using esbuild's API JavaScript without TypeScript.The
define
parameter appears at first glance to take a JSON object if you aren't paying close attention, but this actually isn't true. Values fordefine
are instead strings of JavaScript code. This means you have to usedefine: { foo: '"bar"' }
to replacefoo
with the string"bar"
. Usingdefine: { foo: 'bar' }
actually replacesfoo
with the identifierbar
. Previously esbuild allowed you to passdefine: { foo: false }
andfalse
was automatically converted into a string, which made it more confusing to understand whatdefine
actually represents. Starting with this release, passing non-string values such as withdefine: { foo: false }
will no longer be allowed. You will now have to writedefine: { foo: 'false' }
instead.Generate shorter data URLs if possible (#1843)
Loading a file with esbuild's
dataurl
loader generates a JavaScript module with a data URL for that file in a string as a single default export. Previously the data URLs generated by esbuild all used base64 encoding. However, this is unnecessarily long for most textual data (e.g. SVG images). So with this release, esbuild'sdataurl
loader will now use percent encoding instead of base64 encoding if the result will be shorter. This can result in ~25% smaller data URLs for large SVGs. If you want the old behavior, you can use thebase64
loader instead and then construct the data URL yourself.Avoid marking entry points as external (#2382)
Previously you couldn't specify
--external:*
to mark all import paths as external because that also ended up making the entry point itself external, which caused the build to fail. With this release, esbuild'sexternal
API parameter no longer applies to entry points so using--external:*
is now possible.One additional consequence of this change is that the
kind
parameter is now required when calling theresolve()
function in esbuild's plugin API. Previously thekind
parameter defaulted toentry-point
, but that no longer interacts withexternal
so it didn't seem wise for this to continue to be the default. You now have to specifykind
so that the path resolution mode is explicit.Disallow non-
default
imports whenassert { type: 'json' }
is presentThere is now standard behavior for importing a JSON file into an ES module using an
import
statement. However, it requires you to place theassert { type: 'json' }
import assertion after the import path. This import assertion tells the JavaScript runtime to throw an error if the import does not end up resolving to a JSON file. On the web, the type of a file is determined by theContent-Type
HTTP header instead of by the file extension. The import assertion prevents security problems on the web where a.json
file may actually resolve to a JavaScript file containing malicious code, which is likely not expected for an import that is supposed to only contain pure side-effect free data.By default, esbuild uses the file extension to determine the type of a file, so this import assertion is unnecessary with esbuild. However, esbuild's JSON import feature has a non-standard extension that allows you to import top-level properties of the JSON object as named imports. For example, esbuild lets you do this:
This is useful for tree-shaking when bundling because it means esbuild will only include the the
version
field ofpackage.json
in your bundle. This is non-standard behavior though and doesn't match the behavior of what happens when you import JSON in a real JavaScript runtime (after addingassert { type: 'json' }
). In a real JavaScript runtime the only thing you can import is thedefault
import. So with this release, esbuild will now prevent you from importing non-default
import names ifassert { type: 'json' }
is present. This ensures that code containingassert { type: 'json' }
isn't relying on non-standard behavior that won't work everywhere. So the following code is now an error with esbuild when bundling:In addition, adding
assert { type: 'json' }
to an import statement now means esbuild will generate an error if the loader for the file is anything other thanjson
, which is required by the import assertion specification.Provide a way to disable automatic escaping of
</script>
(#2649)If you inject esbuild's output into a script tag in an HTML file, code containing the literal characters
</script>
will cause the tag to be ended early which will break the code:To avoid this, esbuild automatically escapes these strings in generated JavaScript files (e.g.
"</script>"
becomes"<\/script>"
instead). This also applies to</style>
in generated CSS files. Previously this always happened and there wasn't a way to turn this off.With this release, esbuild will now only do this if the
platform
setting is set tobrowser
(the default value). Settingplatform
tonode
orneutral
will disable this behavior. This behavior can also now be disabled with--supported:inline-script=false
(for JS) and--supported:inline-style=false
(for CSS).Throw an early error if decoded UTF-8 text isn't a
Uint8Array
(#2532)If you run esbuild's JavaScript API in a broken JavaScript environment where
new TextEncoder().encode("") instanceof Uint8Array
is false, then esbuild's API will fail with a confusing serialization error message that makes it seem like esbuild has a bug even though the real problem is that the JavaScript environment itself is broken. This can happen when using the test framework called Jest. With this release, esbuild's API will now throw earlier when it detects that the environment is unable to encode UTF-8 text correctly with an error message that makes it more clear that this is not a problem with esbuild.Change the default "legal comment" behavior
The legal comments feature automatically gathers comments containing
@license
or@preserve
and puts the comments somewhere (either in the generated code or in a separate file). People sometimes want this to happen so that the their dependencies' software licenses are retained in the generated output code. By default esbuild puts these comments at the end of the file when bundling. However, people sometimes find this confusing because these comments can be very generic and may not mention which library they come from. So with this release, esbuild will now discard legal comments by default. You now have to opt-in to preserving them if you want this behavior.Enable the
module
condition by default (#2417)Package authors want to be able to use the new
exports
field inpackage.json
to provide tree-shakable ESM code for ESM-aware bundlers while simultaneously providing fallback CommonJS code for other cases.Node's proposed way to do this involves using the
import
andrequire
export conditions so that you get the ESM code if you use an import statement and the CommonJS code if you use a require call. However, this has a major drawback: if some code in the bundle uses an import statement and other code in the bundle uses a require call, then you'll get two copies of the same package in the bundle. This is known as the dual package hazard and can lead to bloated bundles or even worse to subtle logic bugs.Webpack supports an alternate solution: an export condition called
module
that takes effect regardless of whether the package was imported using an import statement or a require call. This works because bundlers such as Webpack support importing a ESM using a require call (something node doesn't support). You could already do this with esbuild using--conditions=module
but you previously had to explicitly enable this. Package authors are concerned that esbuild users won't know to do this and will get suboptimal output with their package, so they have requested for esbuild to do this automatically.So with this release, esbuild will now automatically add the
module
condition when there aren't any customconditions
already configured. You can disable this with--conditions=
orconditions: []
(i.e. explicitly clearing all custom conditions).Rename the
master
branch tomain
The primary branch for this repository was previously called
master
but is now calledmain
. This change mirrors a similar change in many other projects.Remove esbuild's
_exit(0)
hack for WebAssembly (#714)Node had an unfortunate bug where the node process is unnecessarily kept open while a WebAssembly module is being optimized: https://github.com/nodejs/node/issues/36616. This means cases where running
esbuild
should take a few milliseconds can end up taking many seconds instead.The workaround was to force node to exit by ending the process early. This was done by esbuild in one of two ways depending on the exit code. For non-zero exit codes (i.e. when there is a build error), the
esbuild
command could just callprocess.kill(process.pid)
to avoid the hang. But for zero exit codes, esbuild had to load a N-API native node extension that calls the operating system'sexit(0)
function.However, this problem has essentially been fixed in node starting with version 18.3.0. So I have removed this hack from esbuild. If you are using an earlier version of node with
esbuild-wasm
and you don't want theesbuild
command to hang for a while when exiting, you can upgrade to node 18.3.0 or higher to remove the hang.The fix came from a V8 upgrade: this commit enabled dynamic tiering for WebAssembly by default for all projects that use V8's WebAssembly implementation. Previously all functions in the WebAssembly module were optimized in a single batch job but with dynamic tiering, V8 now optimizes individual WebAssembly functions as needed. This avoids unnecessary WebAssembly compilation which allows node to exit on time.
pnpm/pnpm
v7.18.1
Compare Source
Patch Changes
pnpm audit
if anignoreCves
list is declared inpackage.json
#5756.pnpm audit --json
should ignore vulnerabilities listed inauditConfig.ignoreCves
#5734.pnpm licenses
should print help, not just an error message #5745.Our Gold Sponsors
Our Silver Sponsors
v7.18.0
Compare Source
Minor Changes
Overrides may be defined as a reference to a spec for a direct dependency by prefixing the name of the package you wish the version to match with a `# pnpm.
Issue: #5703
Patch Changes
pnpm audit
should work when the project'spackage.json
has noversion
field #5728*
should be updated to semver ranges bypnpm update
#5681.pnpm add
should prefer local projects from the workspace, even if they use prerelease versions #5316Our 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.