-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Comparing changes
Open a pull request
base repository: mermaid-js/mermaid
base: v9.2.1
head repository: mermaid-js/mermaid
compare: v9.2.2
Commits on Oct 23, 2022
-
fix(mermaid): fix DiagramDefinition types
The `injectUtils` function takes the utils as multiple parameters, not an object.
Configuration menu - View commit details
-
Copy full SHA for 41249fd - Browse repository at this point
Copy the full SHA 41249fdView commit details -
refactor(mermaid): remove registerDiagram cb func
Remove the callback function parameter from registerDiagram. Instead, we can just load the callback function from the `injectUtils` diagram definition, if it exists.
Configuration menu - View commit details
-
Copy full SHA for 89d3d29 - Browse repository at this point
Copy the full SHA 89d3d29View commit details -
feat: add
mermaidAPI.registerDiagram()
Exposes the registerDiagram() function publically as `mermaid.mermaidAPI.registerDiagram` so that users can add their own diagrams at bundle-time. This is instead of using the lazyLoadedDiagrams config setting.
Configuration menu - View commit details
-
Copy full SHA for f41e34e - Browse repository at this point
Copy the full SHA f41e34eView commit details
Commits on Nov 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1e41783 - Browse repository at this point
Copy the full SHA 1e41783View commit details
Commits on Nov 6, 2022
-
fix(mermaid): fix mermaid.render types
The cb param of mermaid.render should be optional, and mermaid.render returns an SVG string instead of `void`.
Configuration menu - View commit details
-
Copy full SHA for da6bb94 - Browse repository at this point
Copy the full SHA da6bb94View commit details -
fix(mermaid): default mermaid back to CommonJS
Default mermaid back to being a CommonJS module. Improrting Mermaid as CommonJS (e.g. using `require("mermaid")`) is normally broken (since v8), due to it's dependency on d3, which is now ESM only. However, it looks like some software (e.g. TypeScript, in the docusaurus project) could still handle the CommonJS version of Mermaid. This commit now means that older versions of Node/build-tools should now default to using the CommonJS version of Mermaid. Newer tools should still see that the `"module"` field points to ESM, or use the `exports["."]["import"]` field to load ESM.
Configuration menu - View commit details
-
Copy full SHA for 1a5e731 - Browse repository at this point
Copy the full SHA 1a5e731View commit details
Commits on Nov 7, 2022
-
Merge pull request #3768 from aloisklink/fix/fix-mermaid.render-types
[9.2] fix(mermaid): fix `mermaid.render` types
Configuration menu - View commit details
-
Copy full SHA for 41dbf0f - Browse repository at this point
Copy the full SHA 41dbf0fView commit details -
Merge pull request #3767 from aloisklink/fix/convert-package-back-to-…
…commonjs [9.2] fix(mermaid): default mermaid back to CommonJS
Configuration menu - View commit details
-
Copy full SHA for 2243af1 - Browse repository at this point
Copy the full SHA 2243af1View commit details -
Merge branch 'release_9.2.1_bugfixes' into sidv/webpackTest
* release_9.2.1_bugfixes: fix(mermaid): default mermaid back to CommonJS fix(mermaid): fix mermaid.render types
Configuration menu - View commit details
-
Copy full SHA for 75d276e - Browse repository at this point
Copy the full SHA 75d276eView commit details
Commits on Nov 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 166dca4 - Browse repository at this point
Copy the full SHA 166dca4View commit details -
Merge branch 'feat/3701-expose-registerDiagram' into sidv/fixLL
* feat/3701-expose-registerDiagram: feat: add `mermaidAPI.registerDiagram()` refactor(mermaid): remove registerDiagram cb func fix(mermaid): fix DiagramDefinition types
Configuration menu - View commit details
-
Copy full SHA for aab8f92 - Browse repository at this point
Copy the full SHA aab8f92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ca5256 - Browse repository at this point
Copy the full SHA 7ca5256View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20b4358 - Browse repository at this point
Copy the full SHA 20b4358View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d2552e - Browse repository at this point
Copy the full SHA 6d2552eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 605f288 - Browse repository at this point
Copy the full SHA 605f288View commit details -
Configuration menu - View commit details
-
Copy full SHA for e64e98f - Browse repository at this point
Copy the full SHA e64e98fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 745abb8 - Browse repository at this point
Copy the full SHA 745abb8View commit details -
Merge branch 'release/9.2.1' of https://github.com/mermaid-js/mermaid …
…into sidv/fixLL * 'release/9.2.1' of https://github.com/mermaid-js/mermaid: Fixing applitools batches
Configuration menu - View commit details
-
Copy full SHA for 1b2dce9 - Browse repository at this point
Copy the full SHA 1b2dce9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b53cee - Browse repository at this point
Copy the full SHA 5b53ceeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2511f6 - Browse repository at this point
Copy the full SHA d2511f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b03ac38 - Browse repository at this point
Copy the full SHA b03ac38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e63a07 - Browse repository at this point
Copy the full SHA 8e63a07View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7f7ff3 - Browse repository at this point
Copy the full SHA c7f7ff3View commit details
Commits on Nov 9, 2022
-
Apply suggestions from code review
Co-authored-by: Alois Klink <alois@aloisklink.com>
Configuration menu - View commit details
-
Copy full SHA for 89da6ea - Browse repository at this point
Copy the full SHA 89da6eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 649ab17 - Browse repository at this point
Copy the full SHA 649ab17View commit details -
Configuration menu - View commit details
-
Copy full SHA for f52df30 - Browse repository at this point
Copy the full SHA f52df30View commit details -
Merge branch 'sidv/fixLL' of https://github.com/mermaid-js/mermaid in…
…to sidv/fixLL * 'sidv/fixLL' of https://github.com/mermaid-js/mermaid: Apply suggestions from code review
Configuration menu - View commit details
-
Copy full SHA for c309e3e - Browse repository at this point
Copy the full SHA c309e3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ecc51d7 - Browse repository at this point
Copy the full SHA ecc51d7View commit details -
Merge pull request #3774 from mermaid-js/sidv/fixLL
Fix lazy loading in webpack
Configuration menu - View commit details
-
Copy full SHA for 2f9d6e0 - Browse repository at this point
Copy the full SHA 2f9d6e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bb0ed2 - Browse repository at this point
Copy the full SHA 9bb0ed2View commit details
There are no files selected for viewing