Releases: mermaid-js/mermaid-cli
Releases Β· mermaid-js/mermaid-cli
10.0.0
Changes
π¦ Dependency updates
- build(deps-dev): bump mermaid from 9.4.0 to 10.0.0 @dependabot (#494)
- build(deps): bump puppeteer from 19.7.1 to 19.7.2 @dependabot (#495)
- build(deps): bump release-drafter/release-drafter from 5.22.0 to 5.23.0 @dependabot (#496)
- build(deps-dev): bump vite from 4.1.2 to 4.1.4 @dependabot (#497)
9.4.0
Changes
- docs: fix broken animated flowchart @aloisklink (#481)
- Change docker workdir @daamien (#472)
- FIX #435: Use absolute path for the entrypoint @daamien (#469)
π Features
- Support the
.markdown
file extension for markdown files @aloisklink (#483)
π Bug Fixes
- Improve
stdin
input handling on (fixes Windows) @aloisklink (#482)
π¦ Dependency updates
- build(deps-dev): bump mermaid from 9.3.0 to 9.4.0 @dependabot (#489)
- build(deps-dev): bump vite from 4.1.1 to 4.1.2 @dependabot (#490)
- build(deps): bump puppeteer from 19.6.3 to 19.7.1 @dependabot (#491)
- build(deps-dev): bump jest from 29.4.2 to 29.4.3 @dependabot (#492)
- build(deps-dev): bump vite-plugin-singlefile from 0.13.2 to 0.13.3 @dependabot (#485)
- build(deps-dev): bump jest from 29.4.1 to 29.4.2 @dependabot (#484)
- build(deps): bump puppeteer from 19.6.2 to 19.6.3 @dependabot (#480)
- build(deps): bump docker/build-push-action from 3 to 4 @dependabot (#479)
- build(deps-dev): bump vite from 4.0.4 to 4.1.1 @dependabot (#478)
- build(deps): bump actions/github-script from 6.3.3 to 6.4.0 @dependabot (#477)
- build(deps-dev): bump jest from 29.3.1 to 29.4.1 @dependabot (#476)
- build(deps): bump puppeteer from 19.5.2 to 19.6.2 @dependabot (#475)
- build(deps-dev): bump yarn-upgrade-all from 0.7.1 to 0.7.2 @dependabot (#464)
- build(deps): bump commander from 9.5.0 to 10.0.0 @dependabot (#465)
- build(deps): bump puppeteer from 19.4.1 to 19.5.2 @dependabot (#466)
- build(deps-dev): bump vite from 4.0.3 to 4.0.4 @dependabot (#459)
- build(deps): bump commander from 9.4.1 to 9.5.0 @dependabot (#460)
- build(deps): bump actions/upload-artifact from 3.1.1 to 3.1.2 @dependabot (#461)
- build(deps): bump release-drafter/release-drafter from 5.21.1 to 5.22.0 @dependabot (#462)
- build(deps): bump json5 from 1.0.1 to 1.0.2 @dependabot (#458)
9.3.0
Changes
- Correct compatible Node.JS version in
package.json
@jrynd (#454) - Refactor commander CLI options @aloisklink (#443)
- Improvement the docker command line example @daamien (#439)
- Use an absolute path for the docker entrypoint @daamien (#438)
- Update README.md to highlight install step @sidharthv96 (#434)
- docs: add npm/dockerhub version badges @aloisklink (#428)
π Bug Fixes
- fix: handle empty newlines before diagrams in md @aloisklink (#455)
π¦ Dependency updates
- build(deps-dev): bump @mermaid-js/mermaid-mindmap from 9.2.2 to 9.3.0 @dependabot (#448)
- build(deps-dev): bump vite-svg-loader from 3.6.0 to 4.0.0 @dependabot (#456)
- build(deps-dev): bump vite from 3.2.4 to 4.0.3 @dependabot (#457)
- build(deps): bump puppeteer from 19.4.0 to 19.4.1 @dependabot (#450)
- build(deps): bump chalk from 5.1.2 to 5.2.0 @dependabot (#446)
- build(deps-dev): bump vite-plugin-singlefile from 0.13.1 to 0.13.2 @dependabot (#445)
- build(deps): bump puppeteer from 19.3.0 to 19.4.0 @dependabot (#444)
- build(deps): bump minimatch from 3.0.4 to 3.1.2 @dependabot (#437)
- build(deps): bump puppeteer from 19.2.2 to 19.3.0 @dependabot (#436)
- build(deps): bump TimonVS/pr-labeler-action from 3 to 4 @dependabot (#431)
- build(deps-dev): bump vite from 3.2.3 to 3.2.4 @dependabot (#430)
9.2.2
Changes
- test: add a basic git graph test @aloisklink (#408)
- Fixing typos @deining (#407)
- Discontinue brew support @MindaugasLaganeckas (#396)
- How to setup up mermaid to use already installed chromium (doc update) @MindaugasLaganeckas (#390)
π Features
- Add
@mermaid-js/mermaid-mindmap
support @aloisklink (#424)
π Bug Fixes
- Fixed -e flag option to place output format for files @OmiCoding (#405)
- Log mermaid puppeteer output to console.log @DKurilo (#399)
π§° Maintenance
- chore(deps-dev): bump mermaid from 9.1.7 to 9.2.2 @aloisklink (#423)
π¦ Dependency updates
- build(deps-dev): bump jest from 29.2.2 to 29.3.1 @dependabot (#426)
- build(deps): bump puppeteer from 19.2.0 to 19.2.2 @dependabot (#421)
- build(deps-dev): bump jest from 29.2.1 to 29.2.2 @dependabot (#414)
- build(deps): bump gittools/actions from 0.9.14 to 0.9.15 @dependabot (#416)
- build(deps): bump puppeteer from 19.1.0 to 19.2.0 @dependabot (#415)
- build(deps): bump puppeteer from 19.0.0 to 19.1.0 @dependabot (#409)
- build(deps-dev): bump jest from 29.2.0 to 29.2.1 @dependabot (#410)
- build(deps): bump actions/upload-artifact from 3.1.0 to 3.1.1 @dependabot (#411)
- build(deps): bump release-drafter/release-drafter from 5.21.0 to 5.21.1 @dependabot (#412)
- build(deps): bump actions/github-script from 6.3.1 to 6.3.3 @dependabot (#404)
- build(deps): bump gittools/actions from 0.9.13 to 0.9.14 @dependabot (#403)
- build(deps): bump puppeteer from 18.2.1 to 19.0.0 @dependabot (#402)
- build(deps): bump chalk from 5.1.0 to 5.1.2 @dependabot (#401)
- build(deps-dev): bump jest from 29.1.2 to 29.2.0 @dependabot (#400)
- build(deps): bump chalk from 5.0.1 to 5.1.0 @dependabot (#398)
- build(deps): bump puppeteer from 18.0.5 to 18.2.1 @dependabot (#397)
- build(deps): bump actions/github-script from 6.2.0 to 6.3.1 @dependabot (#393)
- build(deps-dev): bump jest from 29.0.3 to 29.1.2 @dependabot (#392)
- build(deps): bump commander from 9.4.0 to 9.4.1 @dependabot (#391)
9.1.7
Changes
- test(mermaid.md): cleanup mermaid.md test case @aloisklink (#388)
- ci(test): fix convert-svg-to-png in mermaid 9.1.7 @aloisklink (#389)
- test: add a test case for inline
%%init%%
@aloisklink (#368) - docs: document
--cssFile
option in README @aloisklink (#367) - ci: fix percy CI upload from forks @aloisklink (#366)
π Features
- feat: load title/desc text from Mermaid SVG @aloisklink (#387)
- feature: add option to define output format @root360-AndreasUlm (#382)
π Bug Fixes
- fix: detect spaced codeblocks (#317 #342) @skaylink-AndreasUlm (#385)
- fix: ensure all HTML is valid XML in SVG @aloisklink (#378)
- Close
parseMMD
puppeteer page memory leak @aloisklink (#372)
π§° Maintenance
- test: make animated SVG static for first 3seconds @aloisklink (#373)
π¦ Dependency updates
- build(deps-dev): bump mermaid from 9.1.6 to 9.1.7 @dependabot (#383)
- build(deps): bump puppeteer from 17.1.3 to 18.0.5 @dependabot (#386)
- build(deps): bump release-drafter/release-drafter from 5.20.1 to 5.21.0 @dependabot (#384)
- build(deps-dev): bump jest from 29.0.2 to 29.0.3 @dependabot (#379)
- build(deps): bump puppeteer from 17.1.1 to 17.1.3 @dependabot (#380)
- build(deps): bump actions/upload-artifact from 2.3.1 to 3.1.0 @dependabot (#381)
- build(deps): bump puppeteer from 16.2.0 to 17.1.1 @dependabot (#375)
- build(deps-dev): bump jest from 29.0.1 to 29.0.2 @dependabot (#374)
- build(deps-dev): bump jest from 28.1.3 to 29.0.1 @dependabot (#370)
- build(deps): bump actions/github-script from 6.1.1 to 6.2.0 @dependabot (#371)
9.1.6 BREAKING CHANGES
Many thanks to @aloisklink for helping to prepare this release and welcome on board!
BREAKING CHANGES
- The input to mermaid-cli module is now in src/cli.js, not index.bundle.js
- The prepublishOnly script has been removed, as it is no longer needed without babel.
Changes
- ci: fix percy ci action @aloisklink (#360)
- ci: update percy upload action @aloisklink (#359)
- Error in the pipeline for running ui tests @MindaugasLaganeckas (#356)
π Features
- Run yarn standard --fix @MindaugasLaganeckas (#365)
- feat: add NodeJS API to mermaid-cli @aloisklink (#354)
- Switch package to use ESM (removes
babel
requirement) @aloisklink (#350)
π Bug Fixes
- Add
--cssFile
as<style>
node to SVG @aloisklink (#358) - Support SVG/PDF template files for markdown input @aloisklink (#351)
π§° Maintenance
- Lint using
standard
@aloisklink (#313)
π¦ Dependency updates
- build(deps): bump release-drafter/release-drafter from 5.20.0 to 5.20.1 @dependabot (#363)
- build(deps): bump puppeteer from 16.1.0 to 16.2.0 @dependabot (#362)
- build(deps-dev): bump mermaid from 9.1.5 to 9.1.6 @dependabot (#361)
- Bump chalk from 4.1.2 to 5.0.1 @dependabot (#260)
9.1.5
Changes
π¦ Dependency updates
- build(deps): bump puppeteer from 15.5.0 to 16.1.0 @dependabot (#352)
- build(deps-dev): bump mermaid from 9.1.3 to 9.1.5 @dependabot (#353)
- build(deps-dev): bump @babel/preset-env from 7.18.9 to 7.18.10 @dependabot (#344)
- build(deps-dev): bump @babel/cli from 7.18.9 to 7.18.10 @dependabot (#345)
- build(deps-dev): bump @babel/core from 7.18.9 to 7.18.10 @dependabot (#347)
- build(deps-dev): bump @babel/preset-env from 7.18.6 to 7.18.9 @dependabot (#339)
- build(deps-dev): bump @babel/cli from 7.18.6 to 7.18.9 @dependabot (#338)
- build(deps): bump puppeteer from 15.4.0 to 15.5.0 @dependabot (#340)
- build(deps-dev): bump @babel/core from 7.18.6 to 7.18.9 @dependabot (#337)
9.1.4
Changes
- Refactor: Use
jest
testing library for running unit tests @aloisklink (#324)
π Features
- Throw error if mermaid rendering fails @aloisklink (#321)
π Bug Fixes
- Make mermaid a dev dependency @aloisklink (#332)
- Exit with error exitcode on invalid input @aloisklink (#322)
π¦ Dependency updates
- build(deps): bump puppeteer from 15.3.0 to 15.4.0 @dependabot (#334)
- build(deps): bump commander from 9.3.0 to 9.4.0 @dependabot (#335)
- build(deps): bump jest from 28.1.2 to 28.1.3 @dependabot (#336)
- build(deps-dev): bump @babel/preset-env from 7.18.2 to 7.18.6 @dependabot (#328)
- build(deps-dev): bump @babel/cli from 7.17.10 to 7.18.6 @dependabot (#329)
- build(deps): bump mermaid from 9.1.2 to 9.1.3 @dependabot (#327)
- build(deps-dev): bump @babel/core from 7.18.5 to 7.18.6 @dependabot (#326)
- build(deps): bump puppeteer from 15.1.1 to 15.3.0 @dependabot (#325)
- build(deps): bump puppeteer from 14.4.1 to 15.1.1 @dependabot (#323)
9.1.3
Changes
π Bug Fixes
- Exit with exitcode = 1 on promise rejection @aloisklink (#312)
- Allow output paths to contain dots @ShaneMurphy2 (#307)
π¦ Dependency updates
- build(deps): bump mermaid from 9.1.1 to 9.1.2 @dependabot (#319)
- build(deps): bump puppeteer from 14.3.0 to 14.4.1 @dependabot (#320)
- Bump puppeteer from 14.2.1 to 14.3.0 @dependabot (#314)
- Bump @babel/core from 7.18.2 to 7.18.5 @dependabot (#315)
- Bump puppeteer from 14.1.1 to 14.2.1 @dependabot (#311)
- Bump commander from 9.2.0 to 9.3.0 @dependabot (#309)
- Bump @babel/core from 7.18.0 to 7.18.2 @dependabot (#310)
- Bump @babel/preset-env from 7.18.0 to 7.18.2 @dependabot (#308)
- Bump @babel/core from 7.17.10 to 7.18.0 @dependabot (#304)
- Bump @babel/preset-env from 7.17.10 to 7.18.0 @dependabot (#305)
- Bump puppeteer from 14.1.0 to 14.1.1 @dependabot (#306)
9.1.2
Changes
- Update node version @MindaugasLaganeckas (#303)