Releases: remcohaszing/remark-mermaidjs
Releases · remcohaszing/remark-mermaidjs
v7.0.0
Important
You should probably note use this project. Use rehype-mermaid
instead.
What's Changed
- 392c5f2 Update to
mermaid-isomorphic@3
. - 392c5f2 Replace
playright-core
dependency with an optionalplaywright
peer dependency. - 797be26 Update docs to reference mermaidConfig correctly by @antingle in #25
See [email protected]
for related breaking changes.
New Contributors
Full Changelog: v6.0.0...v7.0.0
v6.0.0
- Update to unified 11.
- Remove support for Node.js 16.
- Return synchronously if there are no diagrams to process.
v5.0.2
- Fix package exports.
v5.0.1
- Fix publishing.
v5.0.0
Warning: You should no longer use this project. Use
rehype-mermaidjs
instead.
- Drop support for Node.js 14.
- The plugin is now asynchronous in the browser. It already was in Node.js.
- Remove support for minification using SVGO, as it was unstable.
mermaidOptions
has been renamed tomermaidConfig
.- Use
mermaid-isomorphic
, meaning:- This project now uses Mermaid 10
- This project now uses Playwright instead of Puppeteer.
- Rendering is much more stable.
- Options have been aligned with
mermaid-isomorphic
.
v4.1.1
v4.1.0
What's Changed
- Remove explicit page viewport in Node.js by @remcohaszing
- Generate unique indexes in Node.js by @remcohaszing
- Support error fallback by @remcohaszing in #14
- Use a global id counter in the browser by @remcohaszing in #15
Full Changelog: v4.0.0...v4.1.0
v4.0.0
- Update to
puppeteer-core@19
. - Update to
svgo@3
. - Remove
@types/svgo
, sincesvgo
now ship their own type definitions. - Remove
@types/mermaid
, sincemermaid
now ship their own type definitions. - Use default SVGO options.
- Instead of
null
, usefalse
to disable SVG minification.
v3.1.0
- Add browser support
v3.0.0
- Use ESM.
- Update dependencies.
- Replace
puppeteer
withpuppeteer-core
.
As a resultexecutablePath
is now required. - Replace
theme
option withmermaidOptions
.