Skip to content

Merge master back into the develop branch#7398

Merged
sidharthv96 merged 42 commits intomermaid-js:developfrom
aloisklink:chore/upgrade-to-langium-v4-develop
Feb 16, 2026
Merged

Merge master back into the develop branch#7398
sidharthv96 merged 42 commits intomermaid-js:developfrom
aloisklink:chore/upgrade-to-langium-v4-develop

Conversation

@aloisklink
Copy link
Copy Markdown
Member

📑 Summary

Merge the contents of the master branch into develop to fix the merge conflicts from #7377 (I aimed that towards master so we could make a patch/hotfix release).

Closes #7336, closes #7345 (both fixed in master already).

📏 Design Decisions

N/A

📋 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:.

sidharthv96 and others added 30 commits November 21, 2025 12:31
…kinterval-app-crash

5496 : fixed UI crash from excessive tick generation with invalid dates/intervals
* master:
  fix: Upgrade npm to v11 to support trusted publishing
  Version Packages
  Merge pull request mermaid-js#7197 from mermaid-js/fix/5496-gantt-tickinterval-app-crash
Update pricing tier in Editor selection modal
…aid-ai

setting canonicals to mermaid.ai/open-source
…als-to-mermaid-ai

Merge pull request mermaid-js#7245 from mermaid-js/canonicals-to-mermaid-ai
…js#7320)

* feat(docs): customize header based on DOCS_HOSTNAME env var

* feat(docs): customize header based on DOCS_HOSTNAME env var
This allows esbuild to inline it during build, which fixes import issues caused by ESM vs CJS.

Co-authored-by: Alois Klink <alois@aloisklink.com>
…yout

fix: tiny tree downstream import issues
sidharthv96 and others added 12 commits February 3, 2026 19:57
* master:
  chore: Update import
  test: fix getHeaderLogoLink
  test: fix getHeaderLogoLink
chore: Update mermaidchart.com to mermaid.ai
This is now required by TypeScript v5.8 and Node.js 22, and was
officially added to ECMAScript 2025 🥳
This is required to upgrade to Langium v4.
I've also unpinned the dependency and instead added a caret to the
specifier, so that any future security updates mean we won't need to
make a new release of the `@mermaid-js/parser` package.

I'm not sure why, but something between Langium v3.4.0 and v3.5.0
breaks indentation in treemaps, so we need to move the rule before
the `hidden terminal WS` rule.
Updates the `@mermaid-js/parser` to Langium v4.

There were a couple of breaking changes we had to fix to do this
upgrade:

- Rename all the grammers from Abc to AbcGrammar, as rules
  within grammars cannot have the same name as the grammar.
- Update the tests, since the generated type names from `ast.ts` have
  been moved from `<typeName>` to `<typeName>.$type`.
- Turn the EOL fragment into a rule, as in Langium v4, it's no longer
  allowed and throws an error.

As this is a **BREAKING CHANGE** for users, I've made a new major
release in the changeset (and it means we can finally get a v1.0.0 of
`@mermaid-js/parser`).
This pulls part of the following changes from `develop`:

- 99f17be (fix: update @argos-ci/cypress to version 6.1.3, 2025-10-07)
- 15e2824 (fix(deps): update all patch dependencies, 2025-11-06)
- 847b3aa (fix(deps): update all patch dependencies, 2025-11-10)
- 3c75242 (chore(deps): update all patch dependencies, 2025-11-19)

But, this is needed to get Argos working properly for PRs to `master`.
…grade-to-langium-v4-develop

Conflicts:
	package.json
	pnpm-lock.yaml
…grade-to-langium-v4-develop

Fixes conflicts due to the `import packageJson from './package.json'`
statements getting removed.

Conflicts:
	packages/mermaid/src/diagrams/info/infoDb.ts
	packages/mermaid/src/mermaidAPI.ts
…angium-v4-develop

Fixes a semantic merge conflict in
`packages/parser/tests/architecture.test.ts` due to the Langium v4
changing the `Architecture` value to `Architecture.$type`.

Conflicts:
	package.json
	pnpm-lock.yaml
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 16, 2026

🦋 Changeset detected

Latest commit: 2b12b93

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@mermaid-js/parser Major
mermaid Patch

Not sure what this means? Click here to learn what changesets are.

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

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 16, 2026

Deploy Preview for mermaid-js ready!

Name Link
🔨 Latest commit 2b12b93
🔍 Latest deploy log https://app.netlify.com/projects/mermaid-js/deploys/6992dd7a7a7f1900080aeb71
😎 Deploy Preview https://deploy-preview-7398--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.

@github-actions github-actions bot added the Type: Other Not an enhancement or a bug label Feb 16, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Feb 16, 2026

Open in StackBlitz

@mermaid-js/examples

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

mermaid

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

@mermaid-js/layout-elk

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

@mermaid-js/layout-tidy-tree

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

@mermaid-js/mermaid-zenuml

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

@mermaid-js/parser

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

@mermaid-js/tiny

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

commit: 2b12b93

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 16, 2026

Codecov Report

❌ Patch coverage is 0% with 102 lines in your changes missing coverage. Please review.
✅ Project coverage is 3.58%. Comparing base (acd7db3) to head (2b12b93).
⚠️ Report is 43 commits behind head on develop.

Files with missing lines Patch % Lines
.../mermaid/src/docs/.vitepress/components/TopBar.vue 0.00% 36 Missing ⚠️
...s/mermaid/src/docs/.vitepress/headerDomainRules.ts 0.00% 32 Missing ⚠️
packages/mermaid/src/docs/.vitepress/config.ts 0.00% 10 Missing ⚠️
...ocs/.vitepress/components/EditorSelectionModal.vue 0.00% 8 Missing ⚠️
...ackages/mermaid/src/diagrams/git/gitGraphParser.ts 0.00% 6 Missing ⚠️
...ages/mermaid/src/docs/.vitepress/theme/Tooltip.vue 0.00% 2 Missing ⚠️
...es/mermaid/src/docs/.vitepress/canonical-config.ts 0.00% 1 Missing ⚠️
...ackages/parser/src/language/architecture/module.ts 0.00% 1 Missing ⚠️
packages/parser/src/language/gitGraph/module.ts 0.00% 1 Missing ⚠️
packages/parser/src/language/info/module.ts 0.00% 1 Missing ⚠️
... and 4 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           develop   #7398      +/-   ##
==========================================
- Coverage     3.58%   3.58%   -0.01%     
==========================================
  Files          475     476       +1     
  Lines        47540   47600      +60     
  Branches       740     741       +1     
==========================================
  Hits          1706    1706              
- Misses       45834   45894      +60     
Flag Coverage Δ
unit 3.58% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
packages/parser/src/language/index.ts 0.00% <ø> (ø)
...es/mermaid/src/docs/.vitepress/canonical-config.ts 3.70% <0.00%> (-0.15%) ⬇️
...ackages/parser/src/language/architecture/module.ts 4.54% <0.00%> (ø)
packages/parser/src/language/gitGraph/module.ts 4.76% <0.00%> (ø)
packages/parser/src/language/info/module.ts 5.00% <0.00%> (ø)
packages/parser/src/language/packet/module.ts 4.76% <0.00%> (ø)
packages/parser/src/language/pie/module.ts 5.00% <0.00%> (ø)
packages/parser/src/language/radar/module.ts 5.00% <0.00%> (ø)
packages/parser/src/language/treemap/module.ts 4.00% <0.00%> (ø)
...ages/mermaid/src/docs/.vitepress/theme/Tooltip.vue 0.00% <0.00%> (ø)
... and 5 more
🚀 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.

@argos-ci
Copy link
Copy Markdown

argos-ci bot commented Feb 16, 2026

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

Build Status Details Updated (UTC)
default (Inspect) ⚠️ Changes detected (Review) 1 changed Feb 16, 2026, 9:14 AM

@sidharthv96 sidharthv96 merged commit 4d5ede8 into mermaid-js:develop Feb 16, 2026
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Other Not an enhancement or a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Security issues raised by lodash-es

6 participants