fix: update @zenuml/core to v3.46.11 with native SVG renderer#7543
fix: update @zenuml/core to v3.46.11 with native SVG renderer#7543MrCoder wants to merge 7 commits intomermaid-js:developfrom
Conversation
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
🦋 Changeset detectedLatest commit: 03753f0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
@mermaid-js/examples
mermaid
@mermaid-js/layout-elk
@mermaid-js/layout-tidy-tree
@mermaid-js/mermaid-zenuml
@mermaid-js/parser
@mermaid-js/tiny
commit: |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #7543 +/- ##
=======================================
Coverage 3.34% 3.34%
=======================================
Files 525 525
Lines 55320 55406 +86
Branches 795 796 +1
=======================================
+ Hits 1850 1854 +4
- Misses 53470 53552 +82
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
❌ Lockfile Validation Failed The following issue(s) were detected: Please address these and push an update. Posted automatically by GitHub Actions |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Summary
@zenuml/coretov3.46.11useMaxWidthsizing (Fixes Mermaid Renders ZenUML Diagrams with Abnormal SVG Dimensions Exceeding Container Boundaries, Causing Layout Issues #7266)Details
The new
@zenuml/coreversion uses a native SVG renderer instead of the previous HTML-in-foreignObject approach. This brings three key improvements:Print support (#6004): Lifelines are now
<line>SVG elements withstrokeattributes rather than CSSborder-lefton HTML divs. Browsers strip CSS borders in print mode to "save ink," but SVG strokes are vector graphics that always render — including in print preview and PDF export.Responsive sizing (#7266): The previous renderer produced a fixed-width SVG (
width: 1280px) with noviewBox, ignoring Mermaid'suseMaxWidthsetting. The new SVG renderer outputswidth="100%"with a properviewBoxandmax-width, so diagrams scale responsively within their container instead of overflowing.Invalid syntax resilience (#7154): Invalid ZenUML syntax (e.g.
John%->Alice) no longer freezes the editor. The renderer now produces best-effort partial output instead of hanging indefinitely.Notes