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

Release/10.0.0 #4115

Merged
merged 88 commits into from
Feb 21, 2023
Merged

Release/10.0.0 #4115

merged 88 commits into from
Feb 21, 2023

Conversation

sidharthv96
Copy link
Member

@sidharthv96 sidharthv96 commented Feb 20, 2023

📑 Summary

PSA: Don't get overwhelmed by the files changed.

Most are test changes, as almost all E2E tests and many unit tests had to be modified because the render type changed.
Then there are lots of small import changes.

Only 3 files have significant changes.

  • packages/mermaid/src/Diagram.ts
  • packages/mermaid/src/mermaid.ts
  • packages/mermaid/src/mermaidAPI.ts

Breaking changes planned in v10

Fixes #3590
Fixes #3577
Fixes #3394
Fixes #3406
Fixes #3055


Optional - Could be pushed to v11 as it's going to be a massive change including diagram rendering code.

📋 Tasks

Make sure you

  • 📖 have read the contribution guidelines
  • 💻 have added unit/e2e tests (if appropriate)
  • 📓 have added documentation (if appropriate)
  • 🔖 targeted master branch

TODO

  • Fix docs site rendering
  • Write proper changelog
  • Update docs

sidharthv96 and others added 30 commits November 18, 2022 14:28
* develop: (233 commits)
  style(docs): use `github-dark` hightlight theme
  refactor(docs): use default vitepress highlighter
  fix: Move redirection to router
  ci(renovate): disable pinning dependencies
  Revert "chore(deps): pin dependencies"
  change shiki getHighlighter import
  create separate spec for stateRenderer-v2
  diagramStates should not be global; pass it into functions; minor comment fixes
  diagramClasses no longer needs to be cached; mermaidAPI no longer calls it repeatedly
  (minor) import expectTypeOf in spec
  (minor) fix JSdoc tag
  + spec stateRenderer-v2.js getClasses() to verify it returns a {}
  (minor) fix JSdoc types in comments
  (minor) add comments, remove duplicated line
  chore: Add master to link checker
  chore: Add docs to redirect.ts
  stateDB classes must be a {} not []
  feat: Redirect old documentation links.
  add stateDiagram-v2 to list of graphs with classDefs
  fix(docs): ClassDiagram table
  ...
* sidv/sizeCheck:
  feat: Add size inspection plugin
* sidv/viz:
  feat: Add package visualization
  Ignore stats.html
  feat: Add bundle visualization
lodash with specific imports use lesser space than lodash-es
* develop: (79 commits)
  Minor change
  feat: Add @include support to docs
  feat: Add @include example to docs
  feat: Add @include support to docs
  cleanup
  fix lines
  fix Async rendering
  Revert "sync"
  chore(deps): update pnpm to v7.17.1
  chore(deps): remove dependency on `graphlib`
  test(e2e): make gitgraph snapshots consistent
  chore: Fix lint
  test: Update vitest
  Add official vim plugin to list in integrations
  chore: Cleanup package.json
  chore: Cleanup package.json
  chore: Cleanup package.json
  fix lock
  Docs
  Fix: array concat
  ...
chore(deps): update dependency vite to v4
sidharthv96 and others added 18 commits February 19, 2023 20:04
* release/10.0.0: (333 commits)
  10.0.0-rc.3
  Export more types
  no side effects
  10.0.0-rc.2
  skip failing elk test
  Cleanup
  Update docs
  fix(#3406, #3394): Remove init & initThrowsErrors
  chore: Rename lazy loaded diagram definitions
  Skip flowchart-elk failing test
  Fix docs
  fix Server
  Fix lint
  Remove Readme
  Fix E2E Tests
  Fix tests
  feat: Break render and parse types
  chore: Remove all non async render/parse/init
  Remove CJS builds from docs
  chore: Remove cjs from build
  ...
* release/10.0.0:
  Skip all elk tests as it's flaky
Co-authored-by: Alois Klink <alois@aloisklink.com>
Co-authored-by: Per Brolin <per@mermaidchart.com>
@sidharthv96 sidharthv96 marked this pull request as draft February 20, 2023 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants