Skip to content
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

Timeline Diagram #4014

Merged
merged 34 commits into from Feb 8, 2023
Merged

Timeline Diagram #4014

merged 34 commits into from Feb 8, 2023

Conversation

ashishjain0512
Copy link
Collaborator

📑 Summary

Added a fresh new Mermaid diagram for visualizing the timeline and its events.

Resolves #3363

📏 Design Decisions

📋 Tasks

Make sure you

  • 📖 have read the contribution guidelines
  • 💻 have added unit/e2e tests (if appropriate)
  • 📓 have added documentation (if appropriate)
  • [] 🔖 targeted develop branch
  • Since develop is reserved for v10.0, creating pull result towards release 9.4.0

Copy link
Member

@sidharthv96 sidharthv96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good to me. We could move it into mermaid as a lazy diagram (like flowchart-v3), so it has easier adoption (no need for another package).

Can you fix the lint issues?

packages/mermaid-timeline/src/timelineRenderer.ts Outdated Show resolved Hide resolved
packages/mermaid-timeline/src/types/index.d.ts Outdated Show resolved Hide resolved
Setup.md Outdated
@@ -0,0 +1,1755 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT. Please edit the corresponding file in src/docs.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a bug.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really sure about it. I think it came in as part of down pull from develop

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be here, it's not in Develop.
You can safely delete this.

packages/mermaid-timeline/src/timelineDb.js Outdated Show resolved Hide resolved
packages/mermaid-timeline/src/timelineDb.js Outdated Show resolved Hide resolved
packages/mermaid/src/themes/theme-default.js Outdated Show resolved Hide resolved
@sidharthv96
Copy link
Member

Timeline spec seems to be failing. I've fixed the old E2E error with mermaid in develop, you can sync to get the fix.

@ashishjain0512 ashishjain0512 self-assigned this Jan 26, 2023
@ashishjain0512 ashishjain0512 dismissed sidharthv96’s stale review January 27, 2023 15:09

Thanks for the review. Made most of the changes, and other relevant updates.

@sidharthv96
Copy link
Member

@ashishjain0512, can you sync with develop and push, CI didn't run.

.vite/build.ts Outdated Show resolved Hide resolved
.vite/build.ts Outdated Show resolved Hide resolved
.vite/build.ts Outdated Show resolved Hide resolved
.vite/server.ts Outdated Show resolved Hide resolved
Setup.md Outdated
@@ -0,0 +1,1755 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT. Please edit the corresponding file in src/docs.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be here, it's not in Develop.
You can safely delete this.

packages/mermaid/src/diagrams/timeline/mermaidUtils.ts Outdated Show resolved Hide resolved
@sidharthv96 sidharthv96 changed the base branch from release/9.4.0 to develop February 8, 2023 10:26
sidharthv96 and others added 4 commits February 8, 2023 15:57
* develop: (45 commits)
  Showcase section to the docs - keepings docs up to date (#4055)
  bugfix: add missing d3 curves to flowchart and docs
  fix(deps): update dependency dagre-d3-es to v7.0.8
  build(pre-commit): cache eslint in pre-commit
  build(lint): cache eslint with strategy content
  Update cypress/integration/rendering/sequencediagram.spec.js
  feat(er): allow leading underscore for attributes name
  ci(lint): show nice error on lint failure
  chore: add moment to dependencies
  Update docs
  Update mindmap.md
  chore: remove moment-mini
  docs(readme-ch): fix twitter link
  build(lint): cache prettier on `pnpm run lint`
  fix: moment-mini default exporter
  docs(readme): update broken twitter badge
  test(er): improve tests on multiple key constraints
  Fixes Typo, remove console.log
  doc(er): add documentation on multiple key constraints
  feat(er): allow multiple constraints on attributes
  ...
@knsv knsv merged commit b5a4cc0 into develop Feb 8, 2023
@nynevi
Copy link

nynevi commented Feb 13, 2023

@sidharthv96 hello, could you please include this as part of 9.4.0 release if possible? I am guessing 10.0 might take time and people wanting to use this feature could do that by installing "next" tag on npm.

Alternatively if 10.0 could also be tagged as maybe "canary" or something? We use mermaid in Docusaurus and our documentation is also not yet stable and would not mind breaking changes if we could install 10.0

@sidharthv96
Copy link
Member

@nynevi, it should already be there in 9.4.0-rc.2 :)

@stowdaniel
Copy link

@sidharthv96 hello - the timelines look fantastic: do you know if / when they'll be available to use in GitHub readme.mds (I guess waiting for GitHub to implement 9.4.0-rc.2 ?) or in the interactive mermaid tool? Thank you very much

@AddictArts
Copy link

AddictArts commented Feb 20, 2023

As released in 9.4 it has the following issue @sidharthv96 @knsv

        
Uncaught Error: Diagram is a promise. Use renderAsync.
    at Object.render (mermaid.95cd9c8e.js?15a8:28360:1)
    at eval (index.js?6b17:57:1)
    at mountMemo (react-dom.development.js?ac89:15846:1)
    at Object.useMemo (react-dom.development.js?ac89:16219:1)
    at useMemo (react.development.js?1b7e:1532:1)
    at useMermaidSvg (index.js?6b17:26:1)
    at MermaidDiagram (index.js?85a4:6:1)
    at renderWithHooks (react-dom.development.js?ac89:14985:1)
    at mountIndeterminateComponent (react-dom.development.js?ac89:17811:1)
    at beginWork (react-dom.development.js?ac89:19049:1)

@sidharthv96
Copy link
Member

Please use renderAsync to use timeline diagram.

@AddictArts
Copy link

Please use renderAsync to use timeline diagram.

@sidharthv96 Thanks I did read that; However, I am just using markdown. No JS, so it seems broken, right?

@sidharthv96
Copy link
Member

That depends on how you're using it. The developer of the tool will have to update their code to use renderAsync.

@AddictArts
Copy link

AddictArts commented Feb 21, 2023

@sidharthv96 fair enough and thanks for helping and engaging. However mermaid-cli doesn't like it, so it seems broken, right?

Error: Evaluation failed: Error: No diagram type detected for text: timeline
    title History of Social Media Platform
    2002 : LinkedIn
    2004 : Facebook
         : Google
    2005 : Youtube
    2006 : Twitter
    at pptr://__puppeteer_evaluation_script__:21:17
    at ExecutionContext._ExecutionContext_evaluate (file:///AppData/Roaming/npm/node_modules/@mermaid-js/mermaid-cli/node_modules/puppeteer-core/lib/esm/puppeteer/common/ExecutionContext.js:251:15)
...
at async renderMermaid (file:///AppData/Roaming/npm/node_modules/@mermaid-js/mermaid-cli/src/index.js:215:22)

@AddictArts
Copy link

AddictArts commented Feb 21, 2023

@sidharthv96 it would seem that at least mermaid-cli should work. It also seems to use async.

renovate bot added a commit to peaceiris/hugo-theme-iris that referenced this pull request Mar 16, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [mermaid](https://togithub.com/mermaid-js/mermaid) | [`9.3.0` ->
`9.4.3`](https://renovatebot.com/diffs/npm/mermaid/9.3.0/9.4.3) |
[![age](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/compatibility-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/confidence-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mermaid-js/mermaid</summary>

###
[`v9.4.3`](https://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.3)

[Compare
Source](https://togithub.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://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.2)

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v9.4.0...v9.4.2)

#### What's Changed

- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4044
- chore(deps): update dependency
[@&#8203;types/uuid](https://togithub.com/types/uuid) to v9 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4067
- build(lint:fix): cache eslint in pnpm run lint:fix by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#4073
- chore(deps): update dependency rimraf to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4070
- chore(deps): update dependency jsdom to v21 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4069
- chore(deps): update timonvs/pr-labeler-action action to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4072
- chore(deps): update actions/configure-pages action to v3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4065
- chore(deps): update actions/dependency-review-action action to v3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4066
- docs: minor fix on markdown by
[@&#8203;Jeff-Tian](https://togithub.com/Jeff-Tian) in
[mermaid-js/mermaid#4015
- Add logo to readme by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[mermaid-js/mermaid#4076
- Release 9.4.1 by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[mermaid-js/mermaid#4095
- chore(deps): update dependency vite to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4071
- chore(deps): update dependency cypress to v12 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4068
- fix(api): tree shaking package.json import by
[@&#8203;AielloChan](https://togithub.com/AielloChan) in
[mermaid-js/mermaid#4101

#### New Contributors

- [@&#8203;Jeff-Tian](https://togithub.com/Jeff-Tian) made their first
contribution in
[mermaid-js/mermaid#4015
- [@&#8203;AielloChan](https://togithub.com/AielloChan) made their first
contribution in
[mermaid-js/mermaid#4101

**Full Changelog**:
mermaid-js/mermaid@v9.4.0...v9.4.2

###
[`v9.4.0`](https://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.0)

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v9.3.0...v9.4.0)

#### What's Changed

##### Features

- Timeline Diagram by
[@&#8203;ashishjain0512](https://togithub.com/ashishjain0512) in
[mermaid-js/mermaid#4014
- feat: Flowchart layout using elkjs by
[@&#8203;knsv](https://togithub.com/knsv) in
[mermaid-js/mermaid#3984
- Layout v3 continued by [@&#8203;knsv](https://togithub.com/knsv) in
[mermaid-js/mermaid#3938
- feat(er): add unique key by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[mermaid-js/mermaid#3917
- feat: Set svg role to 'graphics-document document' by
[@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[mermaid-js/mermaid#3897
- feat: Wait for rendering to finish before taking image snapshots by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[mermaid-js/mermaid#3995
- feat(er): add multiple key constraints by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[mermaid-js/mermaid#4030
- Add support for YAML frontmatter in Markdown docs (used for Vitepress
config) by [@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#3962
- feat(er): allow leading underscore for attributes name by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[mermaid-js/mermaid#4033
- Add links to theme listing by
[@&#8203;BD103](https://togithub.com/BD103) in
[mermaid-js/mermaid#3890
- Adding support for parenthesis in the er diagram attribute types. by
[@&#8203;mahomedalid](https://togithub.com/mahomedalid) in
[mermaid-js/mermaid#3892
- Support parsing indented mermaid/YAML only from HTML by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#3859
- Parse style string and number font size values from configuration
inputs by [@&#8203;jonabc](https://togithub.com/jonabc) in
[mermaid-js/mermaid#3993
- Mindmaps: differentiate the colors between the root node and the first
section
[#&#8203;4017](https://togithub.com/mermaid-js/mermaid/issues/4017) by
[@&#8203;knsv](https://togithub.com/knsv) in
[mermaid-js/mermaid#4018
- Add Box support in Sequence Diagrams by
[@&#8203;oleveau](https://togithub.com/oleveau) in
[mermaid-js/mermaid#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
[@&#8203;mermaid-js/mermaid-mindmap](https://togithub.com/mermaid-js/mermaid-mindmap)
package is deprecated by this.

##### Documentation

- doc: remove links from atom.io; add note Atom has been archived by
[@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[mermaid-js/mermaid#3899
- docs(README.zh-CN): fix book image src by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#3920
- docs: fix typo by [@&#8203;Foo-x](https://togithub.com/Foo-x) in
[mermaid-js/mermaid#3925
- docs: update navbar by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[mermaid-js/mermaid#3906
- docs: fix text overflow by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[mermaid-js/mermaid#3907
- docs: Remove duplicate example in ER-diagram documentation by
[@&#8203;guilhermgonzaga](https://togithub.com/guilhermgonzaga) in
[mermaid-js/mermaid#3964
- Docs: Too many `primaryBorderColor` field by
[@&#8203;LiHowe](https://togithub.com/LiHowe) in
[mermaid-js/mermaid#3986
- docs(sequenceDiagram): subvert prettification of arrow types by
[@&#8203;cakemanny](https://togithub.com/cakemanny) in
[mermaid-js/mermaid#3988
- Add Swimm to the list of integrations by
[@&#8203;Omerr](https://togithub.com/Omerr) in
[mermaid-js/mermaid#3936
- Website/homepage updates by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[mermaid-js/mermaid#3945
- Update sequenceDiagram.md to include line break by
[@&#8203;Odogwudozilla](https://togithub.com/Odogwudozilla) in
[mermaid-js/mermaid#3960
- Support GitHub Flavored Markdown in markdown documentation by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#3954
- Update integrations.md by
[@&#8203;Barry1](https://togithub.com/Barry1) in
[mermaid-js/mermaid#4011
- docs(readme): update broken twitter badge by
[@&#8203;LeoDog896](https://togithub.com/LeoDog896) in
[mermaid-js/mermaid#4032
- Update mindmap.md by [@&#8203;GavinPen](https://togithub.com/GavinPen)
in
[mermaid-js/mermaid#4042
- Showcase section to the docs - keepings docs up to date by
[@&#8203;Omerr](https://togithub.com/Omerr) in
[mermaid-js/mermaid#4055

##### Bug Fixes

- fix(docs): remove duplicate section by
[@&#8203;Joxtacy](https://togithub.com/Joxtacy) in
[mermaid-js/mermaid#3908
- fix: Typescript error in usage by
[@&#8203;tommoor](https://togithub.com/tommoor) in
[mermaid-js/mermaid#3914
- fix: dev server watch mode by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[mermaid-js/mermaid#3904
- fix(er): switch to deterministic UUIDs in ER by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#3916
- fixed Composition arrow by
[@&#8203;Frank-Mayer](https://togithub.com/Frank-Mayer) in
[mermaid-js/mermaid#3930
- fix(generic): fix generic type detection by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[mermaid-js/mermaid#3921
- fix typos accessing techn property in drawC4Shape function by
[@&#8203;nekikara](https://togithub.com/nekikara) in
[mermaid-js/mermaid#3943
- fix(deps): update dependency dompurify to v2.4.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#3977
- Fix nonstandard syntax by
[@&#8203;atmikeguo](https://togithub.com/atmikeguo) in
[mermaid-js/mermaid#3972
- Fix failing tests due to semantic merge conflict by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#3985
- fix(deps): update dependency dagre-d3-es to v7.0.6 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#3996
-
fix([#&#8203;4003](https://togithub.com/mermaid-js/mermaid/issues/4003)):
Remove unhandled promises by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[mermaid-js/mermaid#4004
- Bug/3858 \[state] trailing whitespace in ids for named state container
by [@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[mermaid-js/mermaid#3902
- fix: moment-mini default exporter by
[@&#8203;emersonbottero](https://togithub.com/emersonbottero) in
[mermaid-js/mermaid#4034
- fix(deps): update dependency dagre-d3-es to v7.0.8 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4058
- bugfix: add missing d3 curves to flowchart and docs by
[@&#8203;natasha-jarus](https://togithub.com/natasha-jarus) in
[mermaid-js/mermaid#4038
- Bug/3865 C4Context: $borderColor has no effect by
[@&#8203;nekikara](https://togithub.com/nekikara) in
[mermaid-js/mermaid#3947
- Mindmaps: Handling rows with only spaces in them
([#&#8203;4012](https://togithub.com/mermaid-js/mermaid/issues/4012)) by
[@&#8203;knsv](https://togithub.com/knsv) in
[mermaid-js/mermaid#4013

##### Chores

- ci: disable checking twitter links by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#3973
- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#3905
- chore(deps): update pnpm to v7.18.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#3929
- chore(pr): add documentation task in PR template by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[mermaid-js/mermaid#3935
- (chore) Docs: add tag to produce only a diagram, not code example by
[@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[mermaid-js/mermaid#3946
- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#3944
- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#3997
- chore(deps): update pnpm to v7.25.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4024
- build(lint): cache prettier on `pnpm run lint` by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#4035
- Cache `eslint` in pre-commit script (makes `git commit` 5x faster) by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#4057

#### New Contributors

- [@&#8203;Joxtacy](https://togithub.com/Joxtacy) made their first
contribution in
[mermaid-js/mermaid#3908
- [@&#8203;BD103](https://togithub.com/BD103) made their first
contribution in
[mermaid-js/mermaid#3890
- [@&#8203;mahomedalid](https://togithub.com/mahomedalid) made their
first contribution in
[mermaid-js/mermaid#3892
- [@&#8203;tomperr](https://togithub.com/tomperr) made their first
contribution in
[mermaid-js/mermaid#3917
- [@&#8203;Foo-x](https://togithub.com/Foo-x) made their first
contribution in
[mermaid-js/mermaid#3925
- [@&#8203;Frank-Mayer](https://togithub.com/Frank-Mayer) made their
first contribution in
[mermaid-js/mermaid#3930
- [@&#8203;Omerr](https://togithub.com/Omerr) made their first
contribution in
[mermaid-js/mermaid#3936
- [@&#8203;nekikara](https://togithub.com/nekikara) made their first
contribution in
[mermaid-js/mermaid#3943
- [@&#8203;guilhermgonzaga](https://togithub.com/guilhermgonzaga) made
their first contribution in
[mermaid-js/mermaid#3964
- [@&#8203;Odogwudozilla](https://togithub.com/Odogwudozilla) made their
first contribution in
[mermaid-js/mermaid#3960
- [@&#8203;atmikeguo](https://togithub.com/atmikeguo) made their first
contribution in
[mermaid-js/mermaid#3972
- [@&#8203;LiHowe](https://togithub.com/LiHowe) made their first
contribution in
[mermaid-js/mermaid#3986
- [@&#8203;cakemanny](https://togithub.com/cakemanny) made their first
contribution in
[mermaid-js/mermaid#3988
- [@&#8203;jonabc](https://togithub.com/jonabc) made their first
contribution in
[mermaid-js/mermaid#3993
- [@&#8203;MermaidChart](https://togithub.com/MermaidChart) made their
first contribution in
[mermaid-js/mermaid#4013
- [@&#8203;Barry1](https://togithub.com/Barry1) made their first
contribution in
[mermaid-js/mermaid#4011
- [@&#8203;LeoDog896](https://togithub.com/LeoDog896) made their first
contribution in
[mermaid-js/mermaid#4032
- [@&#8203;GavinPen](https://togithub.com/GavinPen) made their first
contribution in
[mermaid-js/mermaid#4042
- [@&#8203;oleveau](https://togithub.com/oleveau) made their first
contribution in
[mermaid-js/mermaid#3965
- [@&#8203;natasha-jarus](https://togithub.com/natasha-jarus) made their
first contribution in
[mermaid-js/mermaid#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 added a commit to Unleash/unleash that referenced this pull request May 28, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [mermaid](https://togithub.com/mermaid-js/mermaid) | [`9.3.0` ->
`9.4.3`](https://renovatebot.com/diffs/npm/mermaid/9.3.0/9.4.3) |
[![age](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/compatibility-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/mermaid/9.4.3/confidence-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mermaid-js/mermaid</summary>

###
[`v9.4.3`](https://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.3)

[Compare
Source](https://togithub.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://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.2)

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v9.4.0...v9.4.2)

#### What's Changed

- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4044
- chore(deps): update dependency
[@&#8203;types/uuid](https://togithub.com/types/uuid) to v9 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4067
- build(lint:fix): cache eslint in pnpm run lint:fix by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#4073
- chore(deps): update dependency rimraf to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4070
- chore(deps): update dependency jsdom to v21 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4069
- chore(deps): update timonvs/pr-labeler-action action to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4072
- chore(deps): update actions/configure-pages action to v3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4065
- chore(deps): update actions/dependency-review-action action to v3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4066
- docs: minor fix on markdown by
[@&#8203;Jeff-Tian](https://togithub.com/Jeff-Tian) in
[mermaid-js/mermaid#4015
- Add logo to readme by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[mermaid-js/mermaid#4076
- Release 9.4.1 by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[mermaid-js/mermaid#4095
- chore(deps): update dependency vite to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4071
- chore(deps): update dependency cypress to v12 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4068
- fix(api): tree shaking package.json import by
[@&#8203;AielloChan](https://togithub.com/AielloChan) in
[mermaid-js/mermaid#4101

#### New Contributors

- [@&#8203;Jeff-Tian](https://togithub.com/Jeff-Tian) made their first
contribution in
[mermaid-js/mermaid#4015
- [@&#8203;AielloChan](https://togithub.com/AielloChan) made their first
contribution in
[mermaid-js/mermaid#4101

**Full Changelog**:
mermaid-js/mermaid@v9.4.0...v9.4.2

###
[`v9.4.0`](https://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.0)

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v9.3.0...v9.4.0)

#### What's Changed

##### Features

- Timeline Diagram by
[@&#8203;ashishjain0512](https://togithub.com/ashishjain0512) in
[mermaid-js/mermaid#4014
- feat: Flowchart layout using elkjs by
[@&#8203;knsv](https://togithub.com/knsv) in
[mermaid-js/mermaid#3984
- Layout v3 continued by [@&#8203;knsv](https://togithub.com/knsv) in
[mermaid-js/mermaid#3938
- feat(er): add unique key by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[mermaid-js/mermaid#3917
- feat: Set svg role to 'graphics-document document' by
[@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[mermaid-js/mermaid#3897
- feat: Wait for rendering to finish before taking image snapshots by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[mermaid-js/mermaid#3995
- feat(er): add multiple key constraints by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[mermaid-js/mermaid#4030
- Add support for YAML frontmatter in Markdown docs (used for Vitepress
config) by [@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#3962
- feat(er): allow leading underscore for attributes name by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[mermaid-js/mermaid#4033
- Add links to theme listing by
[@&#8203;BD103](https://togithub.com/BD103) in
[mermaid-js/mermaid#3890
- Adding support for parenthesis in the er diagram attribute types. by
[@&#8203;mahomedalid](https://togithub.com/mahomedalid) in
[mermaid-js/mermaid#3892
- Support parsing indented mermaid/YAML only from HTML by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#3859
- Parse style string and number font size values from configuration
inputs by [@&#8203;jonabc](https://togithub.com/jonabc) in
[mermaid-js/mermaid#3993
- Mindmaps: differentiate the colors between the root node and the first
section
[#&#8203;4017](https://togithub.com/mermaid-js/mermaid/issues/4017) by
[@&#8203;knsv](https://togithub.com/knsv) in
[mermaid-js/mermaid#4018
- Add Box support in Sequence Diagrams by
[@&#8203;oleveau](https://togithub.com/oleveau) in
[mermaid-js/mermaid#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
[@&#8203;mermaid-js/mermaid-mindmap](https://togithub.com/mermaid-js/mermaid-mindmap)
package is deprecated by this.

##### Documentation

- doc: remove links from atom.io; add note Atom has been archived by
[@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[mermaid-js/mermaid#3899
- docs(README.zh-CN): fix book image src by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#3920
- docs: fix typo by [@&#8203;Foo-x](https://togithub.com/Foo-x) in
[mermaid-js/mermaid#3925
- docs: update navbar by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[mermaid-js/mermaid#3906
- docs: fix text overflow by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[mermaid-js/mermaid#3907
- docs: Remove duplicate example in ER-diagram documentation by
[@&#8203;guilhermgonzaga](https://togithub.com/guilhermgonzaga) in
[mermaid-js/mermaid#3964
- Docs: Too many `primaryBorderColor` field by
[@&#8203;LiHowe](https://togithub.com/LiHowe) in
[mermaid-js/mermaid#3986
- docs(sequenceDiagram): subvert prettification of arrow types by
[@&#8203;cakemanny](https://togithub.com/cakemanny) in
[mermaid-js/mermaid#3988
- Add Swimm to the list of integrations by
[@&#8203;Omerr](https://togithub.com/Omerr) in
[mermaid-js/mermaid#3936
- Website/homepage updates by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[mermaid-js/mermaid#3945
- Update sequenceDiagram.md to include line break by
[@&#8203;Odogwudozilla](https://togithub.com/Odogwudozilla) in
[mermaid-js/mermaid#3960
- Support GitHub Flavored Markdown in markdown documentation by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#3954
- Update integrations.md by
[@&#8203;Barry1](https://togithub.com/Barry1) in
[mermaid-js/mermaid#4011
- docs(readme): update broken twitter badge by
[@&#8203;LeoDog896](https://togithub.com/LeoDog896) in
[mermaid-js/mermaid#4032
- Update mindmap.md by [@&#8203;GavinPen](https://togithub.com/GavinPen)
in
[mermaid-js/mermaid#4042
- Showcase section to the docs - keepings docs up to date by
[@&#8203;Omerr](https://togithub.com/Omerr) in
[mermaid-js/mermaid#4055

##### Bug Fixes

- fix(docs): remove duplicate section by
[@&#8203;Joxtacy](https://togithub.com/Joxtacy) in
[mermaid-js/mermaid#3908
- fix: Typescript error in usage by
[@&#8203;tommoor](https://togithub.com/tommoor) in
[mermaid-js/mermaid#3914
- fix: dev server watch mode by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[mermaid-js/mermaid#3904
- fix(er): switch to deterministic UUIDs in ER by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#3916
- fixed Composition arrow by
[@&#8203;Frank-Mayer](https://togithub.com/Frank-Mayer) in
[mermaid-js/mermaid#3930
- fix(generic): fix generic type detection by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[mermaid-js/mermaid#3921
- fix typos accessing techn property in drawC4Shape function by
[@&#8203;nekikara](https://togithub.com/nekikara) in
[mermaid-js/mermaid#3943
- fix(deps): update dependency dompurify to v2.4.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#3977
- Fix nonstandard syntax by
[@&#8203;atmikeguo](https://togithub.com/atmikeguo) in
[mermaid-js/mermaid#3972
- Fix failing tests due to semantic merge conflict by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#3985
- fix(deps): update dependency dagre-d3-es to v7.0.6 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#3996
-
fix([#&#8203;4003](https://togithub.com/mermaid-js/mermaid/issues/4003)):
Remove unhandled promises by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[mermaid-js/mermaid#4004
- Bug/3858 \[state] trailing whitespace in ids for named state container
by [@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[mermaid-js/mermaid#3902
- fix: moment-mini default exporter by
[@&#8203;emersonbottero](https://togithub.com/emersonbottero) in
[mermaid-js/mermaid#4034
- fix(deps): update dependency dagre-d3-es to v7.0.8 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4058
- bugfix: add missing d3 curves to flowchart and docs by
[@&#8203;natasha-jarus](https://togithub.com/natasha-jarus) in
[mermaid-js/mermaid#4038
- Bug/3865 C4Context: $borderColor has no effect by
[@&#8203;nekikara](https://togithub.com/nekikara) in
[mermaid-js/mermaid#3947
- Mindmaps: Handling rows with only spaces in them
([#&#8203;4012](https://togithub.com/mermaid-js/mermaid/issues/4012)) by
[@&#8203;knsv](https://togithub.com/knsv) in
[mermaid-js/mermaid#4013

##### Chores

- ci: disable checking twitter links by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#3973
- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#3905
- chore(deps): update pnpm to v7.18.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#3929
- chore(pr): add documentation task in PR template by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[mermaid-js/mermaid#3935
- (chore) Docs: add tag to produce only a diagram, not code example by
[@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[mermaid-js/mermaid#3946
- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#3944
- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#3997
- chore(deps): update pnpm to v7.25.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[mermaid-js/mermaid#4024
- build(lint): cache prettier on `pnpm run lint` by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#4035
- Cache `eslint` in pre-commit script (makes `git commit` 5x faster) by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[mermaid-js/mermaid#4057

#### New Contributors

- [@&#8203;Joxtacy](https://togithub.com/Joxtacy) made their first
contribution in
[mermaid-js/mermaid#3908
- [@&#8203;BD103](https://togithub.com/BD103) made their first
contribution in
[mermaid-js/mermaid#3890
- [@&#8203;mahomedalid](https://togithub.com/mahomedalid) made their
first contribution in
[mermaid-js/mermaid#3892
- [@&#8203;tomperr](https://togithub.com/tomperr) made their first
contribution in
[mermaid-js/mermaid#3917
- [@&#8203;Foo-x](https://togithub.com/Foo-x) made their first
contribution in
[mermaid-js/mermaid#3925
- [@&#8203;Frank-Mayer](https://togithub.com/Frank-Mayer) made their
first contribution in
[mermaid-js/mermaid#3930
- [@&#8203;Omerr](https://togithub.com/Omerr) made their first
contribution in
[mermaid-js/mermaid#3936
- [@&#8203;nekikara](https://togithub.com/nekikara) made their first
contribution in
[mermaid-js/mermaid#3943
- [@&#8203;guilhermgonzaga](https://togithub.com/guilhermgonzaga) made
their first contribution in
[mermaid-js/mermaid#3964
- [@&#8203;Odogwudozilla](https://togithub.com/Odogwudozilla) made their
first contribution in
[mermaid-js/mermaid#3960
- [@&#8203;atmikeguo](https://togithub.com/atmikeguo) made their first
contribution in
[mermaid-js/mermaid#3972
- [@&#8203;LiHowe](https://togithub.com/LiHowe) made their first
contribution in
[mermaid-js/mermaid#3986
- [@&#8203;cakemanny](https://togithub.com/cakemanny) made their first
contribution in
[mermaid-js/mermaid#3988
- [@&#8203;jonabc](https://togithub.com/jonabc) made their first
contribution in
[mermaid-js/mermaid#3993
- [@&#8203;MermaidChart](https://togithub.com/MermaidChart) made their
first contribution in
[mermaid-js/mermaid#4013
- [@&#8203;Barry1](https://togithub.com/Barry1) made their first
contribution in
[mermaid-js/mermaid#4011
- [@&#8203;LeoDog896](https://togithub.com/LeoDog896) made their first
contribution in
[mermaid-js/mermaid#4032
- [@&#8203;GavinPen](https://togithub.com/GavinPen) made their first
contribution in
[mermaid-js/mermaid#4042
- [@&#8203;oleveau](https://togithub.com/oleveau) made their first
contribution in
[mermaid-js/mermaid#3965
- [@&#8203;natasha-jarus](https://togithub.com/natasha-jarus) made their
first contribution in
[mermaid-js/mermaid#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 pushed a commit to fuxingloh/contented that referenced this pull request Jun 10, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [mermaid](https://togithub.com/mermaid-js/mermaid) | [`9.3.0` ->
`10.2.3`](https://renovatebot.com/diffs/npm/mermaid/9.3.0/10.2.3) |
[![age](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/compatibility-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/mermaid/10.2.3/confidence-slim/9.3.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mermaid-js/mermaid</summary>

###
[`v10.2.3`](https://togithub.com/mermaid-js/mermaid/releases/tag/v10.2.3):
10.2.3

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v10.2.2...v10.2.3)

### Release Notes

- Fix
[#&#8203;4408](https://togithub.com/mermaid-js/mermaid/issues/4408):
Handle wrapping long words
([#&#8203;4416](https://togithub.com/mermaid-js/mermaid/issues/4416))
[@&#8203;MikeJeffers](https://togithub.com/MikeJeffers)
- Fix exceptions for empty lines
([#&#8203;4436](https://togithub.com/mermaid-js/mermaid/issues/4436))
[@&#8203;luin](https://togithub.com/luin)
- Restore classes on edges for elk
([#&#8203;4452](https://togithub.com/mermaid-js/mermaid/issues/4452))
[@&#8203;yoavst](https://togithub.com/yoavst)
- Update docs: Added Nextra to Blogs category on integrations page
([#&#8203;4463](https://togithub.com/mermaid-js/mermaid/issues/4463))
[@&#8203;try-to-fly](https://togithub.com/try-to-fly)

🎉 **Thanks to all contributors helping with this release!** 🎉

#### What's Changed

- Address mermaid-zenuml PR comments by
[@&#8203;dontry](https://togithub.com/dontry) in
[https://github.com/mermaid-js/mermaid/pull/4405](https://togithub.com/mermaid-js/mermaid/pull/4405)
- Fix broken `pnpm-lock.yaml` file to fix CI by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/4425](https://togithub.com/mermaid-js/mermaid/pull/4425)
- Quadrant chart unicode arrows by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4400](https://togithub.com/mermaid-js/mermaid/pull/4400)
- chore(deps): update all patch dependencies (patch) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4434](https://togithub.com/mermaid-js/mermaid/pull/4434)
- Add CKEditor and GitHub Writer to available integrations by
[@&#8203;AnnaTomanek](https://togithub.com/AnnaTomanek) in
[https://github.com/mermaid-js/mermaid/pull/4440](https://togithub.com/mermaid-js/mermaid/pull/4440)
- Update diagram proposal by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4448](https://togithub.com/mermaid-js/mermaid/pull/4448)
- Add `@mermaid-js/mermaid-zenuml` package for zenuml Integration by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4334](https://togithub.com/mermaid-js/mermaid/pull/4334)
- Restore classes on edges for elk by
[@&#8203;yoavst](https://togithub.com/yoavst) in
[https://github.com/mermaid-js/mermaid/pull/4452](https://togithub.com/mermaid-js/mermaid/pull/4452)
- Fix exceptions for empty lines by
[@&#8203;luin](https://togithub.com/luin) in
[https://github.com/mermaid-js/mermaid/pull/4436](https://togithub.com/mermaid-js/mermaid/pull/4436)
- Update docs: Added Nextra to Blogs category on integrations page by
[@&#8203;try-to-fly](https://togithub.com/try-to-fly) in
[https://github.com/mermaid-js/mermaid/pull/4463](https://togithub.com/mermaid-js/mermaid/pull/4463)
- Fix
[#&#8203;4408](https://togithub.com/mermaid-js/mermaid/issues/4408):
Handle wrapping long words by
[@&#8203;MikeJeffers](https://togithub.com/MikeJeffers) in
[https://github.com/mermaid-js/mermaid/pull/4416](https://togithub.com/mermaid-js/mermaid/pull/4416)

#### New Contributors

- [@&#8203;AnnaTomanek](https://togithub.com/AnnaTomanek) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/4440](https://togithub.com/mermaid-js/mermaid/pull/4440)
- [@&#8203;yoavst](https://togithub.com/yoavst) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4452](https://togithub.com/mermaid-js/mermaid/pull/4452)
- [@&#8203;try-to-fly](https://togithub.com/try-to-fly) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4463](https://togithub.com/mermaid-js/mermaid/pull/4463)
- [@&#8203;MikeJeffers](https://togithub.com/MikeJeffers) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/4416](https://togithub.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://togithub.com/mermaid-js/mermaid/releases/tag/v10.2.2):
10.2.2

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v10.2.1...v10.2.2)

#### What's Changed

- [#&#8203;4446](https://togithub.com/mermaid-js/mermaid/issues/4446)
Removing the ability to inject css using arrowMarkers by
[@&#8203;knsv](https://togithub.com/knsv) in
[https://github.com/mermaid-js/mermaid/pull/4447](https://togithub.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://togithub.com/mermaid-js/mermaid/releases/tag/v10.2.1):
10.2.1

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v10.2.0...v10.2.1)

#### What's Changed

#### Bugfixes

- [#&#8203;4438](https://togithub.com/mermaid-js/mermaid/issues/4438)
Reverted to the changes from
[#&#8203;4285](https://togithub.com/mermaid-js/mermaid/issues/4285) by
[@&#8203;knsv](https://togithub.com/knsv) in
[https://github.com/mermaid-js/mermaid/pull/4445](https://togithub.com/mermaid-js/mermaid/pull/4445)
- Merge PR
[#&#8203;4425](https://togithub.com/mermaid-js/mermaid/issues/4425) to
`master` to fix uploading v10.2.0 docs to `mermaid.js.org` website by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/4426](https://togithub.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://togithub.com/mermaid-js/mermaid/releases/tag/v10.2.0):
10.2.0

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v10.1.0...v10.2.0)

#### What's Changed

#### Features

- Added support for quadrant chart by
[@&#8203;amsubhash](https://togithub.com/amsubhash) in
[https://github.com/mermaid-js/mermaid/pull/4383](https://togithub.com/mermaid-js/mermaid/pull/4383)
- Bar chart (using gantt chart) by
[@&#8203;karistom](https://togithub.com/karistom) in
[https://github.com/mermaid-js/mermaid/pull/4261](https://togithub.com/mermaid-js/mermaid/pull/4261)
- Support node16 module resolution by
[@&#8203;remcohaszing](https://togithub.com/remcohaszing) in
[https://github.com/mermaid-js/mermaid/pull/4213](https://togithub.com/mermaid-js/mermaid/pull/4213)
- Add UMD build Back by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4281](https://togithub.com/mermaid-js/mermaid/pull/4281)

#### Bugfixes

- Fix
[#&#8203;4195](https://togithub.com/mermaid-js/mermaid/issues/4195)
start and end arrow have different sizes by
[@&#8203;legonigel](https://togithub.com/legonigel) in
[https://github.com/mermaid-js/mermaid/pull/4286](https://togithub.com/mermaid-js/mermaid/pull/4286)
- fix: really import esm version of dayjs by
[@&#8203;emersonbottero](https://togithub.com/emersonbottero) in
[https://github.com/mermaid-js/mermaid/pull/4285](https://togithub.com/mermaid-js/mermaid/pull/4285)
- fix: image rendering in nodes by
[@&#8203;Valentine14th](https://togithub.com/Valentine14th) in
[https://github.com/mermaid-js/mermaid/pull/4268](https://togithub.com/mermaid-js/mermaid/pull/4268)
- Fix and test a bunch of invalid CSS issues by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/4295](https://togithub.com/mermaid-js/mermaid/pull/4295)
- Fix git graph css bracket leak by
[@&#8203;lishid](https://togithub.com/lishid) in
[https://github.com/mermaid-js/mermaid/pull/4278](https://togithub.com/mermaid-js/mermaid/pull/4278)
- pie diagram mermaid module import fix by
[@&#8203;agentraghav](https://togithub.com/agentraghav) in
[https://github.com/mermaid-js/mermaid/pull/4316](https://togithub.com/mermaid-js/mermaid/pull/4316)
- fix applitools by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4335](https://togithub.com/mermaid-js/mermaid/pull/4335)
- Multiple updates to class diagram by
[@&#8203;jgreywolf](https://togithub.com/jgreywolf) in
[https://github.com/mermaid-js/mermaid/pull/4303](https://togithub.com/mermaid-js/mermaid/pull/4303)
- fix ClassGrammar by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4338](https://togithub.com/mermaid-js/mermaid/pull/4338)
- updating es6 rules in flowchart diagram by
[@&#8203;agentraghav](https://togithub.com/agentraghav) in
[https://github.com/mermaid-js/mermaid/pull/4357](https://togithub.com/mermaid-js/mermaid/pull/4357)
- Reject ridiculous years in Gantt charts. by
[@&#8203;toolness](https://togithub.com/toolness) in
[https://github.com/mermaid-js/mermaid/pull/4367](https://togithub.com/mermaid-js/mermaid/pull/4367)
- Fix regression errors in sequenceDiagrams by
[@&#8203;knsv](https://togithub.com/knsv)
- Refactor to consolidate shared svgDraw components by
[@&#8203;jgreywolf](https://togithub.com/jgreywolf) in
[https://github.com/mermaid-js/mermaid/pull/4259](https://togithub.com/mermaid-js/mermaid/pull/4259)
- Implement `package` on class diagram by
[@&#8203;ksilverwall](https://togithub.com/ksilverwall) in
[https://github.com/mermaid-js/mermaid/pull/4206](https://togithub.com/mermaid-js/mermaid/pull/4206)
- add master detail relationship support by
[@&#8203;tcbuzor](https://togithub.com/tcbuzor) in
[https://github.com/mermaid-js/mermaid/pull/4361](https://togithub.com/mermaid-js/mermaid/pull/4361)
- test: fix classDiagramGrammer unit test by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/4378](https://togithub.com/mermaid-js/mermaid/pull/4378)
- Allow overlapping notes by
[@&#8203;jgreywolf](https://togithub.com/jgreywolf) in
[https://github.com/mermaid-js/mermaid/pull/4370](https://togithub.com/mermaid-js/mermaid/pull/4370)
- remove SimpleMarkdown by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4350](https://togithub.com/mermaid-js/mermaid/pull/4350)
- Show all contributors in homepage by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4356](https://togithub.com/mermaid-js/mermaid/pull/4356)

### Documentation

- Update index.md by [@&#8203;onayiga](https://togithub.com/onayiga) in
[https://github.com/mermaid-js/mermaid/pull/4294](https://togithub.com/mermaid-js/mermaid/pull/4294)
- Add Slab to the list of integrations by
[@&#8203;luin](https://togithub.com/luin) in
[https://github.com/mermaid-js/mermaid/pull/4272](https://togithub.com/mermaid-js/mermaid/pull/4272)
- docs(integrations): list quarto by
[@&#8203;eitsupi](https://togithub.com/eitsupi) in
[https://github.com/mermaid-js/mermaid/pull/4299](https://togithub.com/mermaid-js/mermaid/pull/4299)
- Updating documentation on notes for classes within class diagrams by
[@&#8203;Will-Low](https://togithub.com/Will-Low) in
[https://github.com/mermaid-js/mermaid/pull/4296](https://togithub.com/mermaid-js/mermaid/pull/4296)
- Add integrations by
[@&#8203;remcohaszing](https://togithub.com/remcohaszing) in
[https://github.com/mermaid-js/mermaid/pull/4374](https://togithub.com/mermaid-js/mermaid/pull/4374)
- Docs: Flowchart - minor verbiage update by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[https://github.com/mermaid-js/mermaid/pull/4315](https://togithub.com/mermaid-js/mermaid/pull/4315)
- Latest News section: update content by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[https://github.com/mermaid-js/mermaid/pull/4366](https://togithub.com/mermaid-js/mermaid/pull/4366)
- Improve the wording of security level values by
[@&#8203;Gusted](https://togithub.com/Gusted) in
[https://github.com/mermaid-js/mermaid/pull/4395](https://togithub.com/mermaid-js/mermaid/pull/4395)
- Indent subgraph sections by
[@&#8203;danielcompton](https://togithub.com/danielcompton) in
[https://github.com/mermaid-js/mermaid/pull/4349](https://togithub.com/mermaid-js/mermaid/pull/4349)
- fix(doc): Link to Obsidian doc/integration by
[@&#8203;dix](https://togithub.com/dix) in
[https://github.com/mermaid-js/mermaid/pull/4309](https://togithub.com/mermaid-js/mermaid/pull/4309)

#### Chores

- Update bug_report.yml by
[@&#8203;bish0polis](https://togithub.com/bish0polis) in
[https://github.com/mermaid-js/mermaid/pull/4297](https://togithub.com/mermaid-js/mermaid/pull/4297)
- docs(flowchart): wrap br tag by codeblock by
[@&#8203;Bogay](https://togithub.com/Bogay) in
[https://github.com/mermaid-js/mermaid/pull/4310](https://togithub.com/mermaid-js/mermaid/pull/4310)
- chore(deps): update pnpm to v7.30.5 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4304](https://togithub.com/mermaid-js/mermaid/pull/4304)
- chore(deps): update dependency concurrently to v8 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4323](https://togithub.com/mermaid-js/mermaid/pull/4323)
- fix(deps): update dependency dompurify to v3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4331](https://togithub.com/mermaid-js/mermaid/pull/4331)
- chore(deps): update dependency eslint-plugin-jsdoc to v43 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4324](https://togithub.com/mermaid-js/mermaid/pull/4324)
- chore(deps): update actions/deploy-pages action to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4322](https://togithub.com/mermaid-js/mermaid/pull/4322)
- chore(deps): update dependency rimraf to v5 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4326](https://togithub.com/mermaid-js/mermaid/pull/4326)
- chore(deps): update dependency eslint-plugin-unicorn to v46 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4325](https://togithub.com/mermaid-js/mermaid/pull/4325)
- chore(deps): update dependency start-server-and-test to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4327](https://togithub.com/mermaid-js/mermaid/pull/4327)
- chore(deps): update pnpm to v8 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4330](https://togithub.com/mermaid-js/mermaid/pull/4330)
- chore(deps): update fregante/setup-git-user action to v2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4329](https://togithub.com/mermaid-js/mermaid/pull/4329)
- fix(deps): update all minor dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4321](https://togithub.com/mermaid-js/mermaid/pull/4321)
- chore(deps): update dependency typescript to v5 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4328](https://togithub.com/mermaid-js/mermaid/pull/4328)
- Clarify FontAwesome support by
[@&#8203;josh-bouganim-avant](https://togithub.com/josh-bouganim-avant)
in
[https://github.com/mermaid-js/mermaid/pull/4347](https://togithub.com/mermaid-js/mermaid/pull/4347)
- Fix missing `await` in usage document by
[@&#8203;rhysd](https://togithub.com/rhysd) in
[https://github.com/mermaid-js/mermaid/pull/4376](https://togithub.com/mermaid-js/mermaid/pull/4376)
- chore(deps): update all patch dependencies (patch) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4379](https://togithub.com/mermaid-js/mermaid/pull/4379)
- chore(deps): update all minor dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4380](https://togithub.com/mermaid-js/mermaid/pull/4380)

🎉 **Thanks to all contributors helping with this release!** 🎉

#### New Contributors

- [@&#8203;karistom](https://togithub.com/karistom) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4261](https://togithub.com/mermaid-js/mermaid/pull/4261)
- [@&#8203;Valentine14th](https://togithub.com/Valentine14th) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/4268](https://togithub.com/mermaid-js/mermaid/pull/4268)
- [@&#8203;onayiga](https://togithub.com/onayiga) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4294](https://togithub.com/mermaid-js/mermaid/pull/4294)
- [@&#8203;legonigel](https://togithub.com/legonigel) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4286](https://togithub.com/mermaid-js/mermaid/pull/4286)
- [@&#8203;luin](https://togithub.com/luin) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4272](https://togithub.com/mermaid-js/mermaid/pull/4272)
- [@&#8203;eitsupi](https://togithub.com/eitsupi) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4299](https://togithub.com/mermaid-js/mermaid/pull/4299)
- [@&#8203;dix](https://togithub.com/dix) made their first contribution
in
[https://github.com/mermaid-js/mermaid/pull/4309](https://togithub.com/mermaid-js/mermaid/pull/4309)
- [@&#8203;Bogay](https://togithub.com/Bogay) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4310](https://togithub.com/mermaid-js/mermaid/pull/4310)
- [@&#8203;agentraghav](https://togithub.com/agentraghav) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/4316](https://togithub.com/mermaid-js/mermaid/pull/4316)
- [@&#8203;Will-Low](https://togithub.com/Will-Low) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4296](https://togithub.com/mermaid-js/mermaid/pull/4296)
-
[@&#8203;josh-bouganim-avant](https://togithub.com/josh-bouganim-avant)
made their first contribution in
[https://github.com/mermaid-js/mermaid/pull/4347](https://togithub.com/mermaid-js/mermaid/pull/4347)
- [@&#8203;toolness](https://togithub.com/toolness) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4367](https://togithub.com/mermaid-js/mermaid/pull/4367)
- [@&#8203;ksilverwall](https://togithub.com/ksilverwall) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/4206](https://togithub.com/mermaid-js/mermaid/pull/4206)
- [@&#8203;tcbuzor](https://togithub.com/tcbuzor) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4361](https://togithub.com/mermaid-js/mermaid/pull/4361)
- [@&#8203;rhysd](https://togithub.com/rhysd) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4376](https://togithub.com/mermaid-js/mermaid/pull/4376)
- [@&#8203;Gusted](https://togithub.com/Gusted) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4395](https://togithub.com/mermaid-js/mermaid/pull/4395)
- [@&#8203;danielcompton](https://togithub.com/danielcompton) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/4349](https://togithub.com/mermaid-js/mermaid/pull/4349)
- [@&#8203;amsubhash](https://togithub.com/amsubhash) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4383](https://togithub.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://togithub.com/mermaid-js/mermaid/releases/tag/v10.1.0):
10.1.0

[Compare
Source](https://togithub.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 [@&#8203;knsv](https://togithub.com/knsv) in
[https://github.com/mermaid-js/mermaid/pull/4271](https://togithub.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
[@&#8203;JeremyFunk](https://togithub.com/JeremyFunk) in
[https://github.com/mermaid-js/mermaid/pull/4238](https://togithub.com/mermaid-js/mermaid/pull/4238)

### Bugfixes

- Pie: Adding outer border, text position options by
[@&#8203;Billiam](https://togithub.com/Billiam) in
[https://github.com/mermaid-js/mermaid/pull/4145](https://togithub.com/mermaid-js/mermaid/pull/4145)
- Fix: add require entry in package.json by
[@&#8203;lauraceconi](https://togithub.com/lauraceconi) in
[https://github.com/mermaid-js/mermaid/pull/4164](https://togithub.com/mermaid-js/mermaid/pull/4164)
- feat: expose the diagram api by
[@&#8203;ted-marozzi](https://togithub.com/ted-marozzi) in
[https://github.com/mermaid-js/mermaid/pull/4174](https://togithub.com/mermaid-js/mermaid/pull/4174)
- Expose detectType function by
[@&#8203;Pr0dt0s](https://togithub.com/Pr0dt0s) in
[https://github.com/mermaid-js/mermaid/pull/4187](https://togithub.com/mermaid-js/mermaid/pull/4187)
- Remove duplication in "A hexagon node" by
[@&#8203;andrew-clarkson](https://togithub.com/andrew-clarkson) in
[https://github.com/mermaid-js/mermaid/pull/4211](https://togithub.com/mermaid-js/mermaid/pull/4211)
- Updated render to remove comments from text by
[@&#8203;kshitijsaksena](https://togithub.com/kshitijsaksena) in
[https://github.com/mermaid-js/mermaid/pull/4247](https://togithub.com/mermaid-js/mermaid/pull/4247)
- Define and export the Mermaid type by
[@&#8203;remcohaszing](https://togithub.com/remcohaszing) in
[https://github.com/mermaid-js/mermaid/pull/4253](https://togithub.com/mermaid-js/mermaid/pull/4253)
-
fix([#&#8203;4137](https://togithub.com/mermaid-js/mermaid/issues/4137)):
Cleanup comments before parsing by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4257](https://togithub.com/mermaid-js/mermaid/pull/4257)
-
fix([#&#8203;4256](https://togithub.com/mermaid-js/mermaid/issues/4256)):
Keep error diagram on screen by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4258](https://togithub.com/mermaid-js/mermaid/pull/4258)
- Fix broken Gantt `todayMarker` tests by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/4207](https://togithub.com/mermaid-js/mermaid/pull/4207)
- Docs: add Latest News section by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[https://github.com/mermaid-js/mermaid/pull/4254](https://togithub.com/mermaid-js/mermaid/pull/4254)
- Release/10.1.0 by [@&#8203;knsv](https://togithub.com/knsv) in
[https://github.com/mermaid-js/mermaid/pull/4276](https://togithub.com/mermaid-js/mermaid/pull/4276)

### Documentation

- Update integrations.md to include Mermaid Flow Visual Editor by
[@&#8203;ted-marozzi](https://togithub.com/ted-marozzi) in
[https://github.com/mermaid-js/mermaid/pull/4184](https://togithub.com/mermaid-js/mermaid/pull/4184)
- docs: make contributing to docs a bit clearer by
[@&#8203;ted-marozzi](https://togithub.com/ted-marozzi) in
[https://github.com/mermaid-js/mermaid/pull/4186](https://togithub.com/mermaid-js/mermaid/pull/4186)
- Clean up list of ignored links by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/mermaid-js/mermaid/pull/4197](https://togithub.com/mermaid-js/mermaid/pull/4197)
- v smol fixes while reading thru docs by
[@&#8203;andrew-clarkson](https://togithub.com/andrew-clarkson) in
[https://github.com/mermaid-js/mermaid/pull/4210](https://togithub.com/mermaid-js/mermaid/pull/4210)
- Updated DokuWiki plugin for Mermaid integration by
[@&#8203;RobertWeinmeister](https://togithub.com/RobertWeinmeister) in
[https://github.com/mermaid-js/mermaid/pull/4209](https://togithub.com/mermaid-js/mermaid/pull/4209)
- typo fix by [@&#8203;Whoeza](https://togithub.com/Whoeza) in
[https://github.com/mermaid-js/mermaid/pull/4221](https://togithub.com/mermaid-js/mermaid/pull/4221)
- Updates to the Homepage by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[https://github.com/mermaid-js/mermaid/pull/4226](https://togithub.com/mermaid-js/mermaid/pull/4226)
- Fix typos in timeline docs by
[@&#8203;xuanxu](https://togithub.com/xuanxu) in
[https://github.com/mermaid-js/mermaid/pull/4237](https://togithub.com/mermaid-js/mermaid/pull/4237)
- docs: Remove repeated phrase by
[@&#8203;vorburger](https://togithub.com/vorburger) in
[https://github.com/mermaid-js/mermaid/pull/4230](https://togithub.com/mermaid-js/mermaid/pull/4230)
- Fix hexagon node flowchart code example in docs by
[@&#8203;piradata](https://togithub.com/piradata) in
[https://github.com/mermaid-js/mermaid/pull/4246](https://togithub.com/mermaid-js/mermaid/pull/4246)

### Chores

- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4191](https://togithub.com/mermaid-js/mermaid/pull/4191)
- CI(e2e): Skip caching in `actions/setup-node`, as
`cypress-io/github-action` already caches for us by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/4194](https://togithub.com/mermaid-js/mermaid/pull/4194)
- fix(deps): update all non-major dependencies (patch) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4190](https://togithub.com/mermaid-js/mermaid/pull/4190)
-
fix([#&#8203;1066](https://togithub.com/mermaid-js/mermaid/issues/1066)):
Return true if parse is success. by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4183](https://togithub.com/mermaid-js/mermaid/pull/4183)
- fix(squence): getBBox() returns zero by
[@&#8203;ischanx](https://togithub.com/ischanx) in
[https://github.com/mermaid-js/mermaid/pull/4181](https://togithub.com/mermaid-js/mermaid/pull/4181)
- fix(deps): update all non-major dependencies (patch) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4218](https://togithub.com/mermaid-js/mermaid/pull/4218)
- chore(deps): update node.js to v18.15.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4219](https://togithub.com/mermaid-js/mermaid/pull/4219)
- Update [@&#8203;types/lodash-es](https://togithub.com/types/lodash-es)
by [@&#8203;remcohaszing](https://togithub.com/remcohaszing) in
[https://github.com/mermaid-js/mermaid/pull/4228](https://togithub.com/mermaid-js/mermaid/pull/4228)
- chore(deps): update pnpm to v7.30.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4232](https://togithub.com/mermaid-js/mermaid/pull/4232)
- chore(deps): update pnpm to v7.30.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4231](https://togithub.com/mermaid-js/mermaid/pull/4231)
- Remove inline-specifiers pnpm option from `.npmrc` file to avoid merge
conflicts by [@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/4249](https://togithub.com/mermaid-js/mermaid/pull/4249)

#### New Contributors

- [@&#8203;ted-marozzi](https://togithub.com/ted-marozzi) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/4184](https://togithub.com/mermaid-js/mermaid/pull/4184)
- [@&#8203;lauraceconi](https://togithub.com/lauraceconi) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/4164](https://togithub.com/mermaid-js/mermaid/pull/4164)
- [@&#8203;Pr0dt0s](https://togithub.com/Pr0dt0s) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4187](https://togithub.com/mermaid-js/mermaid/pull/4187)
- [@&#8203;ischanx](https://togithub.com/ischanx) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4181](https://togithub.com/mermaid-js/mermaid/pull/4181)
- [@&#8203;mre](https://togithub.com/mre) made their first contribution
in
[https://github.com/mermaid-js/mermaid/pull/4197](https://togithub.com/mermaid-js/mermaid/pull/4197)
- [@&#8203;andrew-clarkson](https://togithub.com/andrew-clarkson) made
their first contribution in
[https://github.com/mermaid-js/mermaid/pull/4211](https://togithub.com/mermaid-js/mermaid/pull/4211)
- [@&#8203;RobertWeinmeister](https://togithub.com/RobertWeinmeister)
made their first contribution in
[https://github.com/mermaid-js/mermaid/pull/4209](https://togithub.com/mermaid-js/mermaid/pull/4209)
- [@&#8203;Whoeza](https://togithub.com/Whoeza) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4221](https://togithub.com/mermaid-js/mermaid/pull/4221)
- [@&#8203;remcohaszing](https://togithub.com/remcohaszing) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/4228](https://togithub.com/mermaid-js/mermaid/pull/4228)
- [@&#8203;vorburger](https://togithub.com/vorburger) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4230](https://togithub.com/mermaid-js/mermaid/pull/4230)
- [@&#8203;xuanxu](https://togithub.com/xuanxu) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4237](https://togithub.com/mermaid-js/mermaid/pull/4237)
- [@&#8203;piradata](https://togithub.com/piradata) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4246](https://togithub.com/mermaid-js/mermaid/pull/4246)
- [@&#8203;JeremyFunk](https://togithub.com/JeremyFunk) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4238](https://togithub.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://togithub.com/mermaid-js/mermaid/releases/tag/v10.0.2):
10.0.2

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v10.0.1...v10.0.2)

### Release Notes

#### Bugfixes

- fix: dayjs import extension
[@&#8203;sidharthv96](https://togithub.com/sidharthv96)

###
[`v10.0.1`](https://togithub.com/mermaid-js/mermaid/releases/tag/v10.0.1):
10.0.1

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v10.0.0...v10.0.1)

### Release Notes

### Features

- Added grammar to skip comment in attribute block
([#&#8203;4128](https://togithub.com/mermaid-js/mermaid/issues/4128))
[@&#8203;kshitijsaksena](https://togithub.com/kshitijsaksena)
- feat: Add support for classDiagram labels
([#&#8203;4086](https://togithub.com/mermaid-js/mermaid/issues/4086))
[@&#8203;sidharthv96](https://togithub.com/sidharthv96)
- 💄 section width now covers all tasks
([#&#8203;4074](https://togithub.com/mermaid-js/mermaid/issues/4074))
[@&#8203;l2fprod](https://togithub.com/l2fprod)
- 💄 section width now covers all tasks - Timeline
([#&#8203;4126](https://togithub.com/mermaid-js/mermaid/issues/4126))
[@&#8203;sidharthv96](https://togithub.com/sidharthv96)

### Bugfixes

-
Fix([#&#8203;4140](https://togithub.com/mermaid-js/mermaid/issues/4140)):
Async bug in mermaid.run
([#&#8203;4142](https://togithub.com/mermaid-js/mermaid/issues/4142))
[@&#8203;sidharthv96](https://togithub.com/sidharthv96)
- fix
[#&#8203;4157](https://togithub.com/mermaid-js/mermaid/issues/4157):
Inject only fontFamily without replacing themeVariables
([#&#8203;4160](https://togithub.com/mermaid-js/mermaid/issues/4160))
[@&#8203;sidharthv96](https://togithub.com/sidharthv96)
- fix: Detector order
([#&#8203;4124](https://togithub.com/mermaid-js/mermaid/issues/4124))
[@&#8203;sidharthv96](https://togithub.com/sidharthv96)
- fix: fix exports
([#&#8203;4135](https://togithub.com/mermaid-js/mermaid/issues/4135))
[@&#8203;Mister-Hope](https://togithub.com/Mister-Hope)
- fix
[#&#8203;4157](https://togithub.com/mermaid-js/mermaid/issues/4157):
Inject only fontFamily without replacing themeVariables by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96)
- Elk layout for flowcharts: Incorrect placement of edges when using
diamonds in subgraphs by [@&#8203;knsv](https://togithub.com/knsv)

### Documentation

- Adding app (Deepdwn) to integrations list
([#&#8203;4127](https://togithub.com/mermaid-js/mermaid/issues/4127))
[@&#8203;Billiam](https://togithub.com/Billiam)
- Doc (typo): remove duplicate "be"
([#&#8203;4133](https://togithub.com/mermaid-js/mermaid/issues/4133))
[@&#8203;Julez404](https://togithub.com/Julez404)

<!---->

- docs(flowchart): duplicated hexagon node example by
[@&#8203;Oliboy50](https://togithub.com/Oliboy50)
- add links to NiceGUI integration by
[@&#8203;rodja](https://togithub.com/rodja)
- Adding app (Deepdwn) to integrations list by
[@&#8203;Billiam](https://togithub.com/Billiam)

#### Chores

- chore: dagre-d3-es@7.0.9
([#&#8203;4147](https://togithub.com/mermaid-js/mermaid/issues/4147))
[@&#8203;sidharthv96](https://togithub.com/sidharthv96)
- Replace `moment-mini`/`moment` date library with `dayjs`
([#&#8203;4153](https://togithub.com/mermaid-js/mermaid/issues/4153))
[@&#8203;aloisklink](https://togithub.com/aloisklink)

🎉 **Thanks to all contributors helping with this release!** 🎉

#### New Contributors

- [@&#8203;Oliboy50](https://togithub.com/Oliboy50) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4105](https://togithub.com/mermaid-js/mermaid/pull/4105)
- [@&#8203;rodja](https://togithub.com/rodja) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4107](https://togithub.com/mermaid-js/mermaid/pull/4107)
- [@&#8203;Julez404](https://togithub.com/Julez404) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4133](https://togithub.com/mermaid-js/mermaid/pull/4133)
- [@&#8203;l2fprod](https://togithub.com/l2fprod) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4074](https://togithub.com/mermaid-js/mermaid/pull/4074)
- [@&#8203;kshitijsaksena](https://togithub.com/kshitijsaksena) made
their first contribution in
[https://github.com/mermaid-js/mermaid/pull/4128](https://togithub.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://togithub.com/mermaid-js/mermaid/blob/HEAD/CHANGELOG.md#&#8203;1000-httpsgithubcommermaid-jsmermaidreleasestagv1000)

[Compare
Source](https://togithub.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://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.3)

[Compare
Source](https://togithub.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://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.2)

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v9.4.0...v9.4.2)

#### What's Changed

- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4044](https://togithub.com/mermaid-js/mermaid/pull/4044)
- chore(deps): update dependency
[@&#8203;types/uuid](https://togithub.com/types/uuid) to v9 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4067](https://togithub.com/mermaid-js/mermaid/pull/4067)
- build(lint:fix): cache eslint in pnpm run lint:fix by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/4073](https://togithub.com/mermaid-js/mermaid/pull/4073)
- chore(deps): update dependency rimraf to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4070](https://togithub.com/mermaid-js/mermaid/pull/4070)
- chore(deps): update dependency jsdom to v21 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4069](https://togithub.com/mermaid-js/mermaid/pull/4069)
- chore(deps): update timonvs/pr-labeler-action action to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4072](https://togithub.com/mermaid-js/mermaid/pull/4072)
- chore(deps): update actions/configure-pages action to v3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4065](https://togithub.com/mermaid-js/mermaid/pull/4065)
- chore(deps): update actions/dependency-review-action action to v3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4066](https://togithub.com/mermaid-js/mermaid/pull/4066)
- docs: minor fix on markdown by
[@&#8203;Jeff-Tian](https://togithub.com/Jeff-Tian) in
[https://github.com/mermaid-js/mermaid/pull/4015](https://togithub.com/mermaid-js/mermaid/pull/4015)
- Add logo to readme by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4076](https://togithub.com/mermaid-js/mermaid/pull/4076)
- Release 9.4.1 by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4095](https://togithub.com/mermaid-js/mermaid/pull/4095)
- chore(deps): update dependency vite to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4071](https://togithub.com/mermaid-js/mermaid/pull/4071)
- chore(deps): update dependency cypress to v12 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4068](https://togithub.com/mermaid-js/mermaid/pull/4068)
- fix(api): tree shaking package.json import by
[@&#8203;AielloChan](https://togithub.com/AielloChan) in
[https://github.com/mermaid-js/mermaid/pull/4101](https://togithub.com/mermaid-js/mermaid/pull/4101)

#### New Contributors

- [@&#8203;Jeff-Tian](https://togithub.com/Jeff-Tian) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4015](https://togithub.com/mermaid-js/mermaid/pull/4015)
- [@&#8203;AielloChan](https://togithub.com/AielloChan) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4101](https://togithub.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://togithub.com/mermaid-js/mermaid/releases/tag/v9.4.0)

[Compare
Source](https://togithub.com/mermaid-js/mermaid/compare/v9.3.0...v9.4.0)

#### What's Changed

##### Features

- Timeline Diagram by
[@&#8203;ashishjain0512](https://togithub.com/ashishjain0512) in
[https://github.com/mermaid-js/mermaid/pull/4014](https://togithub.com/mermaid-js/mermaid/pull/4014)
- feat: Flowchart layout using elkjs by
[@&#8203;knsv](https://togithub.com/knsv) in
[https://github.com/mermaid-js/mermaid/pull/3984](https://togithub.com/mermaid-js/mermaid/pull/3984)
- Layout v3 continued by [@&#8203;knsv](https://togithub.com/knsv) in
[https://github.com/mermaid-js/mermaid/pull/3938](https://togithub.com/mermaid-js/mermaid/pull/3938)
- feat(er): add unique key by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[https://github.com/mermaid-js/mermaid/pull/3917](https://togithub.com/mermaid-js/mermaid/pull/3917)
- feat: Set svg role to 'graphics-document document' by
[@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[https://github.com/mermaid-js/mermaid/pull/3897](https://togithub.com/mermaid-js/mermaid/pull/3897)
- feat: Wait for rendering to finish before taking image snapshots by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/3995](https://togithub.com/mermaid-js/mermaid/pull/3995)
- feat(er): add multiple key constraints by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[https://github.com/mermaid-js/mermaid/pull/4030](https://togithub.com/mermaid-js/mermaid/pull/4030)
- Add support for YAML frontmatter in Markdown docs (used for Vitepress
config) by [@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/3962](https://togithub.com/mermaid-js/mermaid/pull/3962)
- feat(er): allow leading underscore for attributes name by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[https://github.com/mermaid-js/mermaid/pull/4033](https://togithub.com/mermaid-js/mermaid/pull/4033)
- Add links to theme listing by
[@&#8203;BD103](https://togithub.com/BD103) in
[https://github.com/mermaid-js/mermaid/pull/3890](https://togithub.com/mermaid-js/mermaid/pull/3890)
- Adding support for parenthesis in the er diagram attribute types. by
[@&#8203;mahomedalid](https://togithub.com/mahomedalid) in
[https://github.com/mermaid-js/mermaid/pull/3892](https://togithub.com/mermaid-js/mermaid/pull/3892)
- Support parsing indented mermaid/YAML only from HTML by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/3859](https://togithub.com/mermaid-js/mermaid/pull/3859)
- Parse style string and number font size values from configuration
inputs by [@&#8203;jonabc](https://togithub.com/jonabc) in
[https://github.com/mermaid-js/mermaid/pull/3993](https://togithub.com/mermaid-js/mermaid/pull/3993)
- Mindmaps: differentiate the colors between the root node and the first
section
[#&#8203;4017](https://togithub.com/mermaid-js/mermaid/issues/4017) by
[@&#8203;knsv](https://togithub.com/knsv) in
[https://github.com/mermaid-js/mermaid/pull/4018](https://togithub.com/mermaid-js/mermaid/pull/4018)
- Add Box support in Sequence Diagrams by
[@&#8203;oleveau](https://togithub.com/oleveau) in
[https://github.com/mermaid-js/mermaid/pull/3965](https://togithub.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
[@&#8203;mermaid-js/mermaid-mindmap](https://togithub.com/mermaid-js/mermaid-mindmap)
package is deprecated by this.

##### Documentation

- doc: remove links from atom.io; add note Atom has been archived by
[@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[https://github.com/mermaid-js/mermaid/pull/3899](https://togithub.com/mermaid-js/mermaid/pull/3899)
- docs(README.zh-CN): fix book image src by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/3920](https://togithub.com/mermaid-js/mermaid/pull/3920)
- docs: fix typo by [@&#8203;Foo-x](https://togithub.com/Foo-x) in
[https://github.com/mermaid-js/mermaid/pull/3925](https://togithub.com/mermaid-js/mermaid/pull/3925)
- docs: update navbar by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[https://github.com/mermaid-js/mermaid/pull/3906](https://togithub.com/mermaid-js/mermaid/pull/3906)
- docs: fix text overflow by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[https://github.com/mermaid-js/mermaid/pull/3907](https://togithub.com/mermaid-js/mermaid/pull/3907)
- docs: Remove duplicate example in ER-diagram documentation by
[@&#8203;guilhermgonzaga](https://togithub.com/guilhermgonzaga) in
[https://github.com/mermaid-js/mermaid/pull/3964](https://togithub.com/mermaid-js/mermaid/pull/3964)
- Docs: Too many `primaryBorderColor` field by
[@&#8203;LiHowe](https://togithub.com/LiHowe) in
[https://github.com/mermaid-js/mermaid/pull/3986](https://togithub.com/mermaid-js/mermaid/pull/3986)
- docs(sequenceDiagram): subvert prettification of arrow types by
[@&#8203;cakemanny](https://togithub.com/cakemanny) in
[https://github.com/mermaid-js/mermaid/pull/3988](https://togithub.com/mermaid-js/mermaid/pull/3988)
- Add Swimm to the list of integrations by
[@&#8203;Omerr](https://togithub.com/Omerr) in
[https://github.com/mermaid-js/mermaid/pull/3936](https://togithub.com/mermaid-js/mermaid/pull/3936)
- Website/homepage updates by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[https://github.com/mermaid-js/mermaid/pull/3945](https://togithub.com/mermaid-js/mermaid/pull/3945)
- Update sequenceDiagram.md to include line break by
[@&#8203;Odogwudozilla](https://togithub.com/Odogwudozilla) in
[https://github.com/mermaid-js/mermaid/pull/3960](https://togithub.com/mermaid-js/mermaid/pull/3960)
- Support GitHub Flavored Markdown in markdown documentation by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/3954](https://togithub.com/mermaid-js/mermaid/pull/3954)
- Update integrations.md by
[@&#8203;Barry1](https://togithub.com/Barry1) in
[https://github.com/mermaid-js/mermaid/pull/4011](https://togithub.com/mermaid-js/mermaid/pull/4011)
- docs(readme): update broken twitter badge by
[@&#8203;LeoDog896](https://togithub.com/LeoDog896) in
[https://github.com/mermaid-js/mermaid/pull/4032](https://togithub.com/mermaid-js/mermaid/pull/4032)
- Update mindmap.md by [@&#8203;GavinPen](https://togithub.com/GavinPen)
in
[https://github.com/mermaid-js/mermaid/pull/4042](https://togithub.com/mermaid-js/mermaid/pull/4042)
- Showcase section to the docs - keepings docs up to date by
[@&#8203;Omerr](https://togithub.com/Omerr) in
[https://github.com/mermaid-js/mermaid/pull/4055](https://togithub.com/mermaid-js/mermaid/pull/4055)

##### Bug Fixes

- fix(docs): remove duplicate section by
[@&#8203;Joxtacy](https://togithub.com/Joxtacy) in
[https://github.com/mermaid-js/mermaid/pull/3908](https://togithub.com/mermaid-js/mermaid/pull/3908)
- fix: Typescript error in usage by
[@&#8203;tommoor](https://togithub.com/tommoor) in
[https://github.com/mermaid-js/mermaid/pull/3914](https://togithub.com/mermaid-js/mermaid/pull/3914)
- fix: dev server watch mode by
[@&#8203;huynhicode](https://togithub.com/huynhicode) in
[https://github.com/mermaid-js/mermaid/pull/3904](https://togithub.com/mermaid-js/mermaid/pull/3904)
- fix(er): switch to deterministic UUIDs in ER by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/3916](https://togithub.com/mermaid-js/mermaid/pull/3916)
- fixed Composition arrow by
[@&#8203;Frank-Mayer](https://togithub.com/Frank-Mayer) in
[https://github.com/mermaid-js/mermaid/pull/3930](https://togithub.com/mermaid-js/mermaid/pull/3930)
- fix(generic): fix generic type detection by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[https://github.com/mermaid-js/mermaid/pull/3921](https://togithub.com/mermaid-js/mermaid/pull/3921)
- fix typos accessing techn property in drawC4Shape function by
[@&#8203;nekikara](https://togithub.com/nekikara) in
[https://github.com/mermaid-js/mermaid/pull/3943](https://togithub.com/mermaid-js/mermaid/pull/3943)
- fix(deps): update dependency dompurify to v2.4.3 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/3977](https://togithub.com/mermaid-js/mermaid/pull/3977)
- Fix nonstandard syntax by
[@&#8203;atmikeguo](https://togithub.com/atmikeguo) in
[https://github.com/mermaid-js/mermaid/pull/3972](https://togithub.com/mermaid-js/mermaid/pull/3972)
- Fix failing tests due to semantic merge conflict by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/3985](https://togithub.com/mermaid-js/mermaid/pull/3985)
- fix(deps): update dependency dagre-d3-es to v7.0.6 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/3996](https://togithub.com/mermaid-js/mermaid/pull/3996)
-
fix([#&#8203;4003](https://togithub.com/mermaid-js/mermaid/issues/4003)):
Remove unhandled promises by
[@&#8203;sidharthv96](https://togithub.com/sidharthv96) in
[https://github.com/mermaid-js/mermaid/pull/4004](https://togithub.com/mermaid-js/mermaid/pull/4004)
- Bug/3858 \[state] trailing whitespace in ids for named state container
by [@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[https://github.com/mermaid-js/mermaid/pull/3902](https://togithub.com/mermaid-js/mermaid/pull/3902)
- fix: moment-mini default exporter by
[@&#8203;emersonbottero](https://togithub.com/emersonbottero) in
[https://github.com/mermaid-js/mermaid/pull/4034](https://togithub.com/mermaid-js/mermaid/pull/4034)
- fix(deps): update dependency dagre-d3-es to v7.0.8 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4058](https://togithub.com/mermaid-js/mermaid/pull/4058)
- bugfix: add missing d3 curves to flowchart and docs by
[@&#8203;natasha-jarus](https://togithub.com/natasha-jarus) in
[https://github.com/mermaid-js/mermaid/pull/4038](https://togithub.com/mermaid-js/mermaid/pull/4038)
- Bug/3865 C4Context: $borderColor has no effect by
[@&#8203;nekikara](https://togithub.com/nekikara) in
[https://github.com/mermaid-js/mermaid/pull/3947](https://togithub.com/mermaid-js/mermaid/pull/3947)
- Mindmaps: Handling rows with only spaces in them
([#&#8203;4012](https://togithub.com/mermaid-js/mermaid/issues/4012)) by
[@&#8203;knsv](https://togithub.com/knsv) in
[https://github.com/mermaid-js/mermaid/pull/4013](https://togithub.com/mermaid-js/mermaid/pull/4013)

##### Chores

- ci: disable checking twitter links by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/3973](https://togithub.com/mermaid-js/mermaid/pull/3973)
- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/3905](https://togithub.com/mermaid-js/mermaid/pull/3905)
- chore(deps): update pnpm to v7.18.2 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/3929](https://togithub.com/mermaid-js/mermaid/pull/3929)
- chore(pr): add documentation task in PR template by
[@&#8203;tomperr](https://togithub.com/tomperr) in
[https://github.com/mermaid-js/mermaid/pull/3935](https://togithub.com/mermaid-js/mermaid/pull/3935)
- (chore) Docs: add tag to produce only a diagram, not code example by
[@&#8203;weedySeaDragon](https://togithub.com/weedySeaDragon) in
[https://github.com/mermaid-js/mermaid/pull/3946](https://togithub.com/mermaid-js/mermaid/pull/3946)
- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/3944](https://togithub.com/mermaid-js/mermaid/pull/3944)
- chore(deps): update all non-major dependencies (minor) by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/3997](https://togithub.com/mermaid-js/mermaid/pull/3997)
- chore(deps): update pnpm to v7.25.1 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/mermaid-js/mermaid/pull/4024](https://togithub.com/mermaid-js/mermaid/pull/4024)
- build(lint): cache prettier on `pnpm run lint` by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/4035](https://togithub.com/mermaid-js/mermaid/pull/4035)
- Cache `eslint` in pre-commit script (makes `git commit` 5x faster) by
[@&#8203;aloisklink](https://togithub.com/aloisklink) in
[https://github.com/mermaid-js/mermaid/pull/4057](https://togithub.com/mermaid-js/mermaid/pull/4057)

#### New Contributors

- [@&#8203;Joxtacy](https://togithub.com/Joxtacy) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3908](https://togithub.com/mermaid-js/mermaid/pull/3908)
- [@&#8203;BD103](https://togithub.com/BD103) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3890](https://togithub.com/mermaid-js/mermaid/pull/3890)
- [@&#8203;mahomedalid](https://togithub.com/mahomedalid) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/3892](https://togithub.com/mermaid-js/mermaid/pull/3892)
- [@&#8203;tomperr](https://togithub.com/tomperr) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3917](https://togithub.com/mermaid-js/mermaid/pull/3917)
- [@&#8203;Foo-x](https://togithub.com/Foo-x) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3925](https://togithub.com/mermaid-js/mermaid/pull/3925)
- [@&#8203;Frank-Mayer](https://togithub.com/Frank-Mayer) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/3930](https://togithub.com/mermaid-js/mermaid/pull/3930)
- [@&#8203;Omerr](https://togithub.com/Omerr) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3936](https://togithub.com/mermaid-js/mermaid/pull/3936)
- [@&#8203;nekikara](https://togithub.com/nekikara) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3943](https://togithub.com/mermaid-js/mermaid/pull/3943)
- [@&#8203;guilhermgonzaga](https://togithub.com/guilhermgonzaga) made
their first contribution in
[https://github.com/mermaid-js/mermaid/pull/3964](https://togithub.com/mermaid-js/mermaid/pull/3964)
- [@&#8203;Odogwudozilla](https://togithub.com/Odogwudozilla) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/3960](https://togithub.com/mermaid-js/mermaid/pull/3960)
- [@&#8203;atmikeguo](https://togithub.com/atmikeguo) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3972](https://togithub.com/mermaid-js/mermaid/pull/3972)
- [@&#8203;LiHowe](https://togithub.com/LiHowe) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3986](https://togithub.com/mermaid-js/mermaid/pull/3986)
- [@&#8203;cakemanny](https://togithub.com/cakemanny) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3988](https://togithub.com/mermaid-js/mermaid/pull/3988)
- [@&#8203;jonabc](https://togithub.com/jonabc) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3993](https://togithub.com/mermaid-js/mermaid/pull/3993)
- [@&#8203;MermaidChart](https://togithub.com/MermaidChart) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/4013](https://togithub.com/mermaid-js/mermaid/pull/4013)
- [@&#8203;Barry1](https://togithub.com/Barry1) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4011](https://togithub.com/mermaid-js/mermaid/pull/4011)
- [@&#8203;LeoDog896](https://togithub.com/LeoDog896) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4032](https://togithub.com/mermaid-js/mermaid/pull/4032)
- [@&#8203;GavinPen](https://togithub.com/GavinPen) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/4042](https://togithub.com/mermaid-js/mermaid/pull/4042)
- [@&#8203;oleveau](https://togithub.com/oleveau) made their first
contribution in
[https://github.com/mermaid-js/mermaid/pull/3965](https://togithub.com/mermaid-js/mermaid/pull/3965)
- [@&#8203;natasha-jarus](https://togithub.com/natasha-jarus) made their
first contribution in
[https://github.com/mermaid-js/mermaid/pull/4038](https://togithub.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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timeline diagram similar to User Journey but without the smilies and user dots but more text
8 participants