Skip to content

Conversation

@Malix-Labs
Copy link

@Malix-Labs Malix-Labs commented Dec 19, 2025

📑 Summary

Change from stateDiagram to stateDiagram-v2 in the documentation

📏 Design Decisions

Simple "-v2" appending

📋 Tasks

Make sure you

  • 📖 have read the contribution guidelines
  • 💻 have added necessary unit/e2e tests.
  • 📓 have added documentation. Make sure MERMAID_RELEASE_VERSION is used for all new features.
  • 🦋 If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Copilot AI review requested due to automatic review settings December 19, 2025 14:35
@changeset-bot
Copy link

changeset-bot bot commented Dec 19, 2025

⚠️ No Changeset found

Latest commit: 0cd98a2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link

netlify bot commented Dec 19, 2025

Deploy Preview for mermaid-js ready!

Name Link
🔨 Latest commit 0cd98a2
🔍 Latest deploy log https://app.netlify.com/projects/mermaid-js/deploys/694563e4a07fe20008704829
😎 Deploy Preview https://deploy-preview-7263--mermaid-js.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates state diagram documentation examples to use the newer stateDiagram-v2 syntax instead of the legacy stateDiagram syntax.

  • Updates four code examples in the state diagram documentation to use stateDiagram-v2
  • Maintains consistency with the rest of the documentation where stateDiagram-v2 is already the standard

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 3.57%. Comparing base (d5bc07d) to head (0cd98a2).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           develop   #7263      +/-   ##
==========================================
- Coverage     3.57%   3.57%   -0.01%     
==========================================
  Files          473     474       +1     
  Lines        47475   47486      +11     
  Branches       734     734              
==========================================
  Hits          1696    1696              
- Misses       45779   45790      +11     
Flag Coverage Δ
unit 3.57% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 19, 2025

Open in StackBlitz

@mermaid-js/examples

npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/examples@7263

mermaid

npm i https://pkg.pr.new/mermaid-js/mermaid@7263

@mermaid-js/layout-elk

npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/layout-elk@7263

@mermaid-js/layout-tidy-tree

npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/layout-tidy-tree@7263

@mermaid-js/mermaid-zenuml

npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/mermaid-zenuml@7263

@mermaid-js/parser

npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/parser@7263

@mermaid-js/tiny

npm i https://pkg.pr.new/mermaid-js/mermaid/@mermaid-js/tiny@7263

commit: 0cd98a2

@argos-ci
Copy link

argos-ci bot commented Dec 19, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Dec 19, 2025, 2:50 PM

@Malix-Labs
Copy link
Author

hope the bazillion AIs liked to review those 12 markdown LOC

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.

1 participant