Skip to content

chore: bump mermaid to 11.13.0 to support venn and ishikawa#13695

Merged
DeJeune merged 1 commit intoCherryHQ:mainfrom
alephpiece:chore/update-mermaid
Mar 22, 2026
Merged

chore: bump mermaid to 11.13.0 to support venn and ishikawa#13695
DeJeune merged 1 commit intoCherryHQ:mainfrom
alephpiece:chore/update-mermaid

Conversation

@alephpiece
Copy link
Copy Markdown
Collaborator

@alephpiece alephpiece commented Mar 22, 2026

What this PR does

Update mermaid-js to support venn and ishikawa diagrams.

Venn Ishikawa
image image

Fixes #

Why we need it and why it was done in this way

The following tradeoffs were made:

The following alternatives were considered:

Links to places where the discussion took place:

Breaking changes

If this PR introduces breaking changes, please describe the changes and the impact on users.

Special notes for your reviewer

Checklist

This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

Release note

Bump mermaid to 11.13.0 to support venn and ishikawa.

Copy link
Copy Markdown
Collaborator

@GeorgeDong32 GeorgeDong32 left a comment

Choose a reason for hiding this comment

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

代码审查报告

✅ 审查结果

类别 状态
安全性 ✅ 通过
兼容性 ✅ 通过
测试 ✅ 通过
代码质量 ✅ 通过
CI ✅ 通过

🔍 分析

API 兼容性:项目使用的 mermaid API (initialize, parse, render) 在 11.13.0 版本中保持完全兼容,无需修改现有代码。

依赖变更:所有依赖升级均为向后兼容,包括:

  • langium 3.3.1 → 4.2.1(间接依赖)
  • chevrotain 11.0.3 → 11.1.2
  • lodash-es → 4.17.23
  • 新增 @upsetjs/venn.js 2.0.0(venn 图支持)

新功能:mermaid 11.13.0 新增 Venn 图和 Ishikawa 图支持,扩展了应用功能。

📝 建议

Release Note 块为空,但此变更属于用户可见的新功能支持,建议补充:

支持 Mermaid venn 和 ishikawa 图表类型

🏁 结论

这是一个低风险的依赖升级,API 完全兼容,CI 已验证通过。推荐合并

@DeJeune DeJeune merged commit f07448e into CherryHQ:main Mar 22, 2026
10 checks passed
@alephpiece alephpiece deleted the chore/update-mermaid branch March 22, 2026 09:07
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.

3 participants