Skip to content

chore(deps): Move the Uno.Sdk manifest's first-party packages to their 7.0 builds - #25067

Merged
MartinZikmund merged 6 commits into
masterfrom
dev/mazi/sdk-manifest-7.0-bump
Oct 11, 2026
Merged

MartinZikmund merged 6 commits into
masterfrom
dev/mazi/sdk-manifest-7.0-bump

Conversation

@MartinZikmund

@MartinZikmund MartinZikmund commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

GitHub Issue: N/A (dependency bump; the public Uno.Sdk 7.0 manifest already ships these versions)

PR Type:

🐞 Bugfix
🏗️ Build or CI related changes

What changed? 🚀

src/Uno.Sdk/packages.json (the Uno.Sdk.Private manifest) still pinned the Uno 6 builds of most first-party packages, while the public Uno.Sdk 7.0 manifest had already moved to the 7.0 builds.

The most visible effect: Uno.UI.App.Mcp 1.3.0-dev.98 is built against Uno 6.7 and SkiaSharp 3, and the SDK injects it into every Debug app. Every Debug app on Uno.Sdk.Private (including dependents' samples and test heads) therefore crashed at startup:

FileNotFoundException: SkiaSharp.Views.Windows, Version=3.119.0.0
   at Uno.UI.App.Mcp.Client.GlobalStaticResources.Initialize()

The hotdesign pin had the same problem: Uno.UI.HotDesign 1.20.0-dev.750 pulls the Uno 6 Uno.WinUI.Lottie and SkiaSharp.Views.Uno.WinUI, so a blank Debug app fails to build with UNOB0023.

Each pin moves to the newest build on nuget.org that ships a net10.0 asset and, where it depends on Uno.WinUI, depends on a 7.x one. That now matches the public Uno.Sdk 7.0.0-dev.63 manifest for every first-party group:

Group Before (master) After
AppMcp 1.3.0-dev.98 2.0.0-dev.7
hotdesign 1.20.0-dev.750 2.0.0-dev.2
settings 2.0.0-dev.10 2.0.0-dev.23
Toolkit 9.1.0-dev.2 11.0.0-dev.140
Themes 7.1.0-dev.1 9.0.0-dev.41
Extensions 7.4.0-dev.81 8.0.0-dev.76
CSharpMarkup 6.7.0-dev.16 7.0.0-dev.33
Resizetizer 2.0.0-dev.14 2.0.0-dev.36
UnoFonts 2.9.4 2.10.0-dev.9
sdkextras 6.4.0-dev.13 6.4.0-dev.15
WasmBootstrap 10.0.96, net11.0 → 10.1.0-dev.217 10.0.98, net10.0 + net11.0 → 10.1.0-dev.260
MicrosoftLoggingConsole 10.0.10 10.0.12

Uno.Wasm.Bootstrap also moves to 10.1.0-dev.260 in src/Directory.Packages.props.

Newly bumped in this revision:

Not bumped: OSLogging (the newer 1.9.0-dev builds only target net6.0), Dsp and CoreLogging (already on their newest builds).

Toolkit, Themes and HotDesign use builds made against current Core. The first revision of this PR pinned Toolkit 11.0.0-dev.127 and Themes 9.0.0-dev.29. Both were built against Uno.WinUI 7.0.0-dev.701 and break at runtime on current Core (TypeLoadException / MissingMethodException). The causes are four binary breaks made after 701:

Toolkit 11.0.0-dev.140, Themes 9.0.0-dev.41 and HotDesign 2.0.0-dev.2 are built against 7.0.0-dev.1574/1580. I scanned the metadata of every type and member reference they make into the current Core assemblies (Uno.WinUI 7.0.0-dev.2097, built from this master). None is unresolved.

Warning

Extensions and C# Markup have no build against current Core yet. Uno.Extensions.* 8.0.0-dev.76 is built against 7.0.0-dev.701, like the 8.0.0-dev.72 pin it replaces. Uno.WinUI.Markup / Uno.Extensions.Markup.WinUI 7.0.0-dev.33 is built against 7.0.0-dev.663. Both still reference removed APIs:

  • Navigation.UI: WinRT.Interop.WindowNative / InitializeWithWindow in Uno.UI (they are now in Uno.WinRT)
  • Navigation.Toolkit.UI and Reactive.UI: DependencyObject.SetBinding. Reactive.UI and Extensions.Markup: Microsoft.UI.Colors in Uno.UI
  • Extensions.Markup: Binding.ElementName typed as object (it is now string)
  • Uno.WinUI.Markup: DoubleAnimation.EasingFunction typed as IEasingFunction (it is now EasingFunctionBase), plus FlowLayout.MinColumnSpacing / MinRowSpacing

These pins are still the newest builds that exist, and they're better than the Uno 6 builds on master. An app made from the recommended preset (Toolkit, Navigation, MVUX, Hosting) starts and navigates fine, because startup doesn't reach these code paths. Extensions and C# Markup need to be rebuilt against current Core, as Toolkit and Themes were.

Test change: Uno.Sdk.AddInVersionValidation.Tests now uses PackageDownload for the three add-ins instead of PackageReference. HotDesign 2.0 depends on Uno.WinUI.DevServer, whose targets fail Release builds (UNOB0019) and whose source generators flow into the test project. The test only reads the package folders.

The old Uno.WinUI.Lottie (last published at 7.0.0-dev.1663, removed by 3aa75df) still comes in transitively through Toolkit, Themes and HotDesign. Its assembly holds only LottieBackend and GlobalStaticResources, and neither overlaps a type in current Core.

Validation (local):

  • build/ci/scripts/validate-packages-json.ps1 in master mode: 110 package/version combinations OK, and dependency coherence OK for base, net10.0 and net11.0.
  • Uno.Sdk.AddInVersionValidation.Tests (the addin_version_alignment gate), -c Release, against the locally built host: passes with Uno.Settings.DevServer 2.0.0-dev.23, Uno.UI.HotDesign 2.0.0-dev.2 and Uno.UI.App.Mcp 2.0.0-dev.7.
  • Binary compatibility: a metadata scan of all 81 first-party assemblies in the new pins against Uno.WinUI 7.0.0-dev.2097 (net10.0). The only unresolved references are the Extensions and C# Markup ones listed above.
  • Smoke test with Uno.Sdk.Private packed locally from this branch (Core = 7.0.0-dev.2097), net10.0-desktop:
    • blank preset: Debug and Release both build and launch. In Debug, HotDesign and App MCP load and the log shows no exceptions.
    • recommended preset: Debug builds, launches and navigates to MainPage. Before MicrosoftLoggingConsole moved to 10.0.12, its restore failed with the NU1605 error above.

PR Checklist ✅

  • 🧪 Added Runtime tests, UI tests, or a manual test sample (n/a: manifest pins only)
  • 📚 Docs have been added/updated (n/a)
  • 🖼️ Validated PR Screenshots Compare Test Run results.
  • ❗ Contains NO breaking changes (aligns the private SDK with what the public Uno.Sdk 7.0 already ships)
  • 👀 Reviewed 2 other open pull requests

🤖 Generated with Claude Code

https://claude.ai/code/session_013yZfe9CjkLZqGRwjwfXyQ7

Copilot AI balanced review requested due to automatic review settings October 7, 2026 09:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions github-actions Bot added the area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk label Oct 7, 2026
@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 14s —— View job


Review of #25067

Verdict: ship. I found no blocking issues, so I posted no inline comments.

Issue counts: 0 blocker, 0 major, 0 minor.

I read git diff origin/master...HEAD only. I didn't build anything or run validate-packages-json.ps1 here, so the validation results come from the PR description.

Cross-cutting notes

  • The change is limited to version pins in src/Uno.Sdk/packages.json and one Uno.Wasm.Bootstrap pin in src/Directory.Packages.props. There are no code, test or XAML changes, so none of the C#, DependencyProperty or event rules apply.
  • The WasmBootstrap group now sets net10.0 and net11.0 to the same 10.1.0-dev.219. That looks deliberate, since the group's base version 10.0.98 is only the fallback for other TFMs. If a future bump forgets one of the two entries, they will drift apart.
  • The known follow-up in the description is a real risk. Toolkit 11.0.0-dev.127 and Themes 9.0.0-dev.29 were built against Uno.WinUI 7.0.0-dev.701, so Material users can still hit a TypeLoadException until they are rebuilt. It's good that this is called out. Please open a tracking issue so the re-bump isn't forgotten.
  • The title and commits follow Conventional Commits (chore(deps)). The PR type lists "Bugfix", while the chore prefix and the "N/A" issue reference fit a dependency bump. That is consistent, since AGENTS.md allows this exception only for docs-only PRs. You may want to confirm a missing issue link is acceptable here.
  • The pre-existing Uno.UI.App.Mcp startup crash is only validated locally through the addin alignment gate. A CI smoke run of a Debug app on Uno.Sdk.Private would confirm the crash is gone.

@MartinZikmund MartinZikmund added the ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met label Oct 7, 2026
@MartinZikmund
MartinZikmund disabled auto-merge October 7, 2026 11:52
@mergify

mergify Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

Copilot AI balanced review requested due to automatic review settings October 8, 2026 17:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI balanced review requested due to automatic review settings October 8, 2026 17:53
@Xiaoy312
Xiaoy312 force-pushed the dev/mazi/sdk-manifest-7.0-bump branch from 7f05b8d to 3e8d219 Compare October 8, 2026 17:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @Xiaoy312's task in 13s —— View job


Review of #25067 (re-review after synchronize)

Verdict: ship. 0 blocker, 0 major, 0 minor. I posted no inline comments.

I read git diff origin/master...HEAD only. I didn't build anything or run validate-packages-json.ps1.

Cross-cutting notes

  • PR description is out of date. The diff now pins Toolkit at 11.0.0-dev.137 and Themes at 9.0.0-dev.41. The description's table and "Known follow-up" section still say 11.0.0-dev.127 and 9.0.0-dev.29, and say these were built against Uno.WinUI 7.0.0-dev.701. The newer pins look like the rebuilds that follow-up was waiting for, so the TypeLoadException caveat may no longer apply. Please update the description to match.
  • Extensions baseline is wrong in the description. The diff shows 7.4.0-dev.81 → 8.0.0-dev.72, but the table lists the "before" as 7.3.0-dev.102.
  • WasmBootstrap has two identical overrides. net10.0 and net11.0 both use 10.1.0-dev.219, as does the Directory.Packages.props pin. If a later bump changes only one of them, they will drift apart.
  • No CI smoke run for the original crash. The crash fix (the Uno.UI.App.Mcp startup failure) is validated only locally through the add-in alignment gate. A CI run of a Debug app on Uno.Sdk.Private would confirm it. The validate-packages-json.ps1 results in the description predate the newer Toolkit and Themes pins, so please re-run it.
  • Process. The title and commits follow Conventional Commits. The missing issue link is fine for a dependency bump, but confirm that is acceptable here.

Copilot AI balanced review requested due to automatic review settings October 9, 2026 12:22
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/sdk-manifest-7.0-bump branch from 3e8d219 to 0396821 Compare October 9, 2026 12:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 11s —— View job


Review of #25067 (re-review after synchronize)

Verdict: ship. 0 blocker, 0 major, 0 minor. No inline comments posted.

I read git diff origin/master...HEAD only. I didn't build anything or run validate-packages-json.ps1.

Cross-cutting notes

  • The diff matches the current PR description: Toolkit 11.0.0-dev.137, Themes 9.0.0-dev.41, Extensions 8.0.0-dev.72. The earlier stale-description and 7.3.0-dev.102 notes no longer apply.
  • WasmBootstrap sets net10.0 and net11.0 to the same 10.1.0-dev.219, matching the Directory.Packages.props pin. A later bump that changes only one of them would make them drift apart.
  • The description says validate-packages-json.ps1 was not rerun locally after the Toolkit/Themes bump, so CI is the check for dependency coherence. I didn't run it either.
  • The Uno.UI.App.Mcp startup crash fix is validated only through the add-in alignment gate. A CI smoke run of a Debug app on Uno.Sdk.Private would confirm the crash is gone.
  • Conventional Commits are followed. The missing issue link is acceptable for a dependency bump.

MartinZikmund and others added 6 commits October 10, 2026 19:53
1.3.0-dev.98 is built against Uno 6.7 and SkiaSharp 3, so every Debug app on
Uno.Sdk.Private crashed at startup with FileNotFoundException for
SkiaSharp.Views.Windows 3.119 (unoplatform/uno.app-mcp#176). 2.0.0-dev.6 is
the Uno 7.0 build and matches the uno.templates manifest.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VrmjrMFfEut4aavTsRMGVo
Toolkit, Themes, Extensions and C# Markup were still pinned to builds that
target Uno.WinUI 6.x and ship net9.0 assets only. Align them, Uno.Settings.DevServer
and Uno.Sdk.Extras with the latest published 7.0 builds, which is also what
the uno.templates manifest ships.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VrmjrMFfEut4aavTsRMGVo
Also apply the 10.1 line to net10.0 and move the base pin to 10.0.98, matching
the uno.templates manifest.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VrmjrMFfEut4aavTsRMGVo
- Themes 9.0.0-dev.29 and Toolkit 11.0.0-dev.127 were built against Uno.WinUI 7.0.0-dev.701 and break at runtime on current Core (TypeLoad/MissingMethod: Colors/ColorHelper moved to Uno.WinRT, Uno.UI.Lottie folded into Uno.UI, DependencyObject.SetBinding removed, VisualState(Group).Name setters made internal)
- Themes -> 9.0.0-dev.41 (unoplatform/Uno.Themes#1748 rebuild, now against 7.0.0-dev.1574, with Uno.Core.Extensions 5.0.0-dev.34)
- Toolkit -> 11.0.0-dev.137 (built against 7.0.0-dev.1574, depends on Themes >= 9.0.0-dev.37)

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
HotDesign moves to its first Uno 7 build (2.0.0-dev.2), Resizetizer to
2.0.0-dev.36 (uno.resizetizer#401, #402), Uno.Wasm.Bootstrap to
10.1.0-dev.260, and AppMcp, settings, Toolkit, Extensions and the fonts to
their newest builds. Microsoft.Extensions.Logging.Console moves to 10.0.12,
which Uno.Extensions 8.0 requires through Microsoft.Extensions.Hosting.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013yZfe9CjkLZqGRwjwfXyQ7
Uno.UI.HotDesign 2.0 depends on Uno.WinUI.DevServer, whose targets fail
Release builds (UNOB0019) and whose analyzers flow into the test project.
The gate only reads the package folders, so PackageDownload is enough.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013yZfe9CjkLZqGRwjwfXyQ7
Copilot AI balanced review requested due to automatic review settings October 10, 2026 18:11
@MartinZikmund
MartinZikmund force-pushed the dev/mazi/sdk-manifest-7.0-bump branch from 0396821 to 93afb2a Compare October 10, 2026 18:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @MartinZikmund's task in 16s —— View job


Review of #25067 (re-review after synchronize)

Verdict: ship, with one description fix suggested. 0 blocker, 0 major, 1 minor. I posted no inline comments.

I read git diff origin/master...HEAD only. I didn't build anything or run validate-packages-json.ps1.

Cross-cutting notes

  • The description no longer matches the diff.
    • hotdesign moves from 1.20.0-dev.750 to 2.0.0-dev.2. The description says it is "Not bumped" because no Uno.UI.HotDesign targets Uno 7 yet.
    • WasmBootstrap is now 10.1.0-dev.260 for both net10.0 and net11.0, and in Directory.Packages.props. The description says 10.1.0-dev.219.
    • Extensions is 8.0.0-dev.76 (description: dev.72), Toolkit is 11.0.0-dev.140 (dev.137), AppMcp is 2.0.0-dev.7 (dev.6), and settings is 2.0.0-dev.23 (dev.22).
    • Resizetizer (2.0.0-dev.14 → 2.0.0-dev.36), UnoFonts (2.9.4 → 2.10.0-dev.9) and MicrosoftLoggingConsole (10.0.10 → 10.0.12) also changed. The description says the groups that don't depend on Uno UI are unchanged or already match uno.templates.
    • Please update the table and the "Not bumped" section.
  • The hotdesign bump needs confirming. The description's validation ran the addin_version_alignment gate against HotDesign 1.20.0-dev.750. Please confirm 2.0.0-dev.2 was validated against Uno 7 and passes that gate. The test now reads the version from the manifest, so CI should cover it.
  • The validation results are stale. The validate-packages-json.ps1 results in the description predate the latest pins, so CI is the real check for dependency coherence.
  • AddInVersionValidation.Tests.csproj now uses PackageDownload.
    • It no longer uses PackageReference, and the path comes from NuGetPackageRoot plus the lowercased id and version.
    • BeforeTargets includes GetAssemblyAttributes, so the metadata should be in place when the assembly attributes are generated.
    • This fails if NuGetPackageRoot is unset or the package folder is laid out differently. The AddIn validation CI job should confirm it.
  • The WasmBootstrap net10.0 and net11.0 overrides are identical. They match the Directory.Packages.props pin, so a later bump that changes only one of them would make them drift.
  • No CI smoke run covers the original crash. The Uno.UI.App.Mcp startup crash is validated only through the add-in alignment gate. A Debug app run on Uno.Sdk.Private would confirm it is gone.
  • Process. The title and commits follow Conventional Commits, and the missing issue link is fine for a dependency bump.

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

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

@MartinZikmund
MartinZikmund merged commit dc99e6b into master Oct 11, 2026
53 of 56 checks passed
@MartinZikmund
MartinZikmund deleted the dev/mazi/sdk-manifest-7.0-bump branch October 11, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants