Skip to content

chore(deps): Bump Svg.Skia to 5.2.3 - #25903

Merged
MartinZikmund merged 1 commit into
unoplatform:masterfrom
ramezgerges:dev/rara/svg-skia-bump
Nov 4, 2026
Merged

MartinZikmund merged 1 commit into
unoplatform:masterfrom
ramezgerges:dev/rara/svg-skia-bump

Conversation

@ramezgerges

Copy link
Copy Markdown
Contributor

GitHub Issue: closes #24984

PR Type:

🏗️ Build or CI related changes

What changed? 🚀

The Svg UnoFeature added an implicit Svg.Skia reference pinned to 3.0.6. An app that gets a newer Svg.Skia through a library failed restore with NU1605 (package downgrade).

This bumps Svg.Skia to 5.2.3:

  • src/Uno.Sdk/packages.json (SvgSkia group): the version the SDK adds for UnoFeatures Svg.
  • src/Directory.Packages.props: the version the Uno.UI.Svg add-in builds against.
  • SamplesApp WASM AOT list: Svg.Skia 5.x splits into two more assemblies (Svg.SceneGraph, Svg.Animation), added next to the existing Svg.Skia / Svg.Model / Svg.Custom force-interpret entries.

Why 5.2.x rather than a 4.x release: Svg.Skia's major version doesn't track SkiaSharp's. Per each release's nuspec:

Svg.Skia SkiaSharp dependency
3.0.6 (previous pin) 2.88.x
4.0.0 – 4.6.0 2.88.9
4.9.1 – 5.1.0 3.119.2
5.2.0 – 5.2.3 4.148.0

5.2.x is the first line built on SkiaSharp 4. It requires SkiaSharp ≥ 4.148.0 and HarfBuzzSharp ≥ 14.2.0, which Uno already exceeds (4.151.1 and 14.2.1.1), so the bump adds no SkiaSharp/HarfBuzzSharp downgrade either.

SvgSkiaVersion remains the override for apps that need a different version.

Validation

  • Uno.UI.Svg builds against 5.2.3 with no source changes: the add-in only uses SKSvg, which the 4.x/5.x asset-loader API changes don't affect. No NU16xx warnings.
  • Skia desktop (Windows) runtime tests: Given_Image.When_SVGImageSource* and Given_RelativeUriRewrite, 17/17 passed. This includes When_SVGImageSource_Assigned_While_Opening, which checks the rendered pixels.
  • Not run: the issue's restore repro, which needs a packed Uno.Sdk, and SVG rendering on Android/iOS/WASM.

PR Checklist ✅

🤖 Generated with Claude Code

@github-actions github-actions Bot added area/automation Categorizes an issue or PR as relevant to project automation area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk labels Nov 1, 2026
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 242676 has failed on Uno.UI - CI.

@ramezgerges

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

@ramezgerges
ramezgerges force-pushed the dev/rara/svg-skia-bump branch from e1b0226 to c49c2f7 Compare November 2, 2026 15:09
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@ramezgerges
ramezgerges force-pushed the dev/rara/svg-skia-bump branch from c49c2f7 to 319b5f1 Compare November 3, 2026 16:55
The Svg feature pinned Svg.Skia 3.0.6, so an app referencing a newer one
through a library failed restore with NU1605. 5.2.3 targets the SkiaSharp 4
and HarfBuzzSharp 14 line Uno already ships.

Fixes unoplatform#24984

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@MartinZikmund MartinZikmund added the 7.0 PRs only. For issues, use the Release field. label Nov 4, 2026
@MartinZikmund

Copy link
Copy Markdown
Member

@Mergifyio backport release/stable/7.0

@mergify

mergify Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

backport release/stable/7.0

✅ Backports have been created

Details

@MartinZikmund
MartinZikmund merged commit 7c9b186 into unoplatform:master Nov 4, 2026
50 of 52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

7.0 PRs only. For issues, use the Release field. area/automation Categorizes an issue or PR as relevant to project automation area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The Svg feature pins Svg.Skia 3.0.6, so apps that reference a newer Svg.Skia fail restore with NU1605

3 participants