Skip to content

chore(Svg.Skia): Pin Svg.Skia to 3.0.3 in templates/sdk to avoid breaking changes introduced with version ≥ 3.0.4#1753

Merged
agneszitte merged 1 commit into
mainfrom
dev/agzi/AdjustSvgSkiaVersion
Sep 5, 2025
Merged

chore(Svg.Skia): Pin Svg.Skia to 3.0.3 in templates/sdk to avoid breaking changes introduced with version ≥ 3.0.4#1753
agneszitte merged 1 commit into
mainfrom
dev/agzi/AdjustSvgSkiaVersion

Conversation

@agneszitte

Copy link
Copy Markdown
Member

GitHub Issue: fixes unoplatform/uno#21372
Tracking issue for missing API support: unoplatform/uno#21378

PR Type

  • Bugfix

What is the current behavior?

Svg.Skia was updated automatically to versions ≥ 3.0.4, which introduces new ISvgAssetLoader APIs (GetFontMetrics, MeasureText, GetTextPath).
Uno’s current SkiaAssetLoader does not implement these methods yet, leading to a TypeLoadException and broken SVG rendering.

What is the new behavior?

Pin Svg.Skia to 3.0.3 in templates/sdk to avoid the regression.
This unblocks apps until Uno’s SkiaAssetLoader is updated to support the new APIs.

PR Checklist

  • Linked to an issue (GitHub or internal)
  • Includes context for why the version is pinned

Other information

@agneszitte

Copy link
Copy Markdown
Member Author

@Mergifyio backport release/stable/6.2

@agneszitte
agneszitte requested a review from jeromelaban August 28, 2025 23:17
@mergify

mergify Bot commented Aug 28, 2025

Copy link
Copy Markdown

backport release/stable/6.2

✅ Backports have been created

Details

Comment thread src/Uno.Sdk/packages.json Outdated
@agneszitte
agneszitte force-pushed the dev/agzi/AdjustSvgSkiaVersion branch from e22b4ba to a84518c Compare September 4, 2025 14:23
@agneszitte
agneszitte enabled auto-merge September 4, 2025 15:17
@agneszitte
agneszitte force-pushed the dev/agzi/AdjustSvgSkiaVersion branch from d7a6002 to 69b4981 Compare September 4, 2025 15:42
@agneszitte
agneszitte disabled auto-merge September 5, 2025 14:05
@agneszitte
agneszitte force-pushed the dev/agzi/AdjustSvgSkiaVersion branch from 69b4981 to 3f42acb Compare September 5, 2025 14:05
@agneszitte
agneszitte merged commit 3c0e5f3 into main Sep 5, 2025
69 checks passed
@agneszitte
agneszitte deleted the dev/agzi/AdjustSvgSkiaVersion branch September 5, 2025 14:07
agneszitte added a commit that referenced this pull request Sep 5, 2025
….2/pr-1753

chore(Svg.Skia): Pin Svg.Skia to 3.0.3 in templates/sdk to avoid breaking changes introduced with version ≥ 3.0.4 (backport #1753)
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.

[SVG] TypeLoadException with Uno.Sdk 6.2.29: SVGs fail to render

2 participants