Repository navigation
chore(sdk): Align Uno.Sdk.Private implicit package versions with the public manifest (backport #23911) - #24108
Conversation
|
Retargeted the pins in 5f27bdd — the backport carried master's values, which track uno.templates The Toolkit entry is why this matters:
The After this, a field-by-field comparison of all 43 groups (group set, order, On the
|
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24108/wasm-skia-net9/index.html |
Bring the Uno.Sdk.Private manifest back in line with the public Uno.Sdk manifest in uno.templates. The Toolkit pin (8.5.0-dev.37) sat below the floor Uno.UI.HotDesign 1.20 requires (9.0.0-dev.9), so any app combining the private SDK with a 1.20 Hot Design build failed restore with NU1605. The 8.5 Toolkit line is retired (no release/stable/8.5 branch); Toolkit's default branch is on 9.1 and Themes on 7.1. The net10.0 versionOverride bumps for WasmBootstrap and Maui are left out on purpose — those change platform runtime behavior and deserve their own validation rather than riding along in a version-alignment fix. Related to https://github.com/unoplatform/uno/issues/23910 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> (cherry picked from commit 418e1ec)
Uno.Settings.DevServer 1.13.0-dev.7 needs Microsoft.IO.RecyclableMemoryStream 3.0.1 while the host pinned 3.0.0, so AddInVersionAlignmentTests flagged the add-in loading its own bundled copy alongside the host's into Default ALC. Related to https://github.com/unoplatform/uno/issues/23910 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> (cherry picked from commit 027d953)
Completes the alignment with the public Uno.Sdk manifest: the only remaining difference is the Core group's DefaultUnoVersion token, which Uno.Sdk.csproj substitutes at pack time and must stay as-is. These overrides do not affect this repo's own builds — Uno.Wasm.Bootstrap is pinned separately in src/Directory.Build.targets, and the only in-repo Uno.Sdk consumers are the SolutionTemplate fixtures with their own pinned global.json. Related to https://github.com/unoplatform/uno/issues/23910 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> (cherry picked from commit ea8a1df)
The backport carried master's pins, which follow uno.templates `main` (dev lines). This branch ships the 6.7 train, so it has to match uno.templates release/stable/6.7 instead. The Toolkit entry is the one that matters: 9.1.0-dev.2 is still below the 9.1.3 floor Uno.UI.HotDesign 1.20.371 requires, so the NU1605 downgrade this backport exists to fix would have survived it. All 43 groups now match the public 6.7 manifest field for field; the only remaining difference is the Core group's DefaultUnoVersion token, which Uno.Sdk.csproj substitutes at pack time. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01WFALPKztpWUumUETGyQSNF
5f27bdd to
0b966e5
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24108/wasm-skia-net9/index.html |
|
|
….13.4, hotdesign 1.20.443, C# Markup 6.7.10, app-mcp 1.3.3)
|
Refreshed the implicit versions to the current 6.7 dev-feed stables (verified against the unoplatformdev feed and the public Uno.Sdk manifest on
Every other group already matched the public 6.7 manifest exactly, so nothing else was touched. Three pins are deliberately ahead of or off the dev feed and were left alone (both manifests agree on them):
Tracked in unoplatform/private#1105. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24108/wasm-skia-net9/index.html |
|
|
Diffed against the packages.json shipped in the published Uno.Sdk 6.7.18 (the only stable public 6.7 release). Three groups were behind: hotdesign 1.20.443 -> 1.20.450, WinAppSdkBuildTools 10.0.28000.2526 -> 10.0.28000.2705, Extensions 7.3.1 -> 7.3.6. All other groups already match field for field, including the -dev pins that stable 6.7.18 itself ships (Resizetizer 1.13.0-dev.17, sdkextras 6.4.0-dev.13, WasmBootstrap net10.0 10.1.0-dev.214). The only remaining difference is the Core group's DefaultUnoVersion token, substituted at pack time. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01NCBzmoZf65XhsVGvg59aCZ
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24108/wasm-skia-net9/index.html |
|
|
The add-in packages transitively bring in Uno.WinUI.DevServer 6.7.65, whose buildTransitive targets raise UNOB0019 on optimized builds. CI runs the gate with `-c Release`, so the manifest bump to hotdesign 1.20.450 broke the stage. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01DLAJCxrBnwZFDWSygGTK9h
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-24108/wasm-skia-net9/index.html |
GitHub Issue: closes https://github.com/unoplatform/uno-private/issues/2269
PR Type:
🏗️ Build or CI related changes
What changed? 🚀
Uno.Sdk.Private(packed fromsrc/Uno.Sdk/packages.jsonhere) and the publicUno.Sdk(packed fromthe same-named manifest in uno.templates) are two
independent version manifests — the public package repacks this repo's
.props/.targets/.dllbutships its own pins. They drifted apart on 15 groups, and the
Toolkitgap became a hard restorefailure.
Uno.UI.HotDesign1.20.0-dev.* requiresUno.Toolkit.WinUI9.0.0-dev.9, while the private SDKadded
Uno.Toolkit.WinUI8.5.0-dev.37 as an implicit direct reference — a direct reference belowa transitive requirement, i.e. NU1605:
This aligns all 15 stale groups with the public manifest. 13 had an outdated
version:…plus the two net10.0
versionOverrideentries the public manifest carries:WasmBootstrap10.1.0-dev.137 → 10.1.0-dev.214 and
Maui10.0.60 → 10.0.90. These do not affect this repo'sown builds —
Uno.Wasm.Bootstrapis pinned separately insrc/Directory.Build.targets, and the onlyin-repo
Uno.Sdkconsumers are theSolutionTemplatefixtures with their own pinnedglobal.json.All 15 target versions were verified to resolve on nuget.org (
Uno.Sdk.Privateis published there, soevery pin has to be publicly restorable).
After this PR the two manifests are fully aligned. A field-by-field comparison (group set, group
order,
packageslists,version,versionOverride) leaves exactly one intentional difference: theCoregroup'sDefaultUnoVersionplaceholder, whichUno.Sdk.csprojsubstitutes at pack time andUno.Build.targetsvalidates — that one must stay a token. This also makes the CI equality checksuggested in unoplatform/uno-private#2269 straightforward to add.
Second commit: the
settingsbump turnedUno.Sdk.AddInVersionValidation.Testsred —Uno.Settings.DevServer1.13.0-dev.7 needsMicrosoft.IO.RecyclableMemoryStream3.0.1 whileUno.UI.RemoteControl.Hostpinned 3.0.0, so the add-in would load its own bundled copy into DefaultALC alongside the host's. Bumping the host pin to 3.0.1 (the version the add-in ships) restores the
gate to green — that's the test's own prescribed resolution.
Note that the 8.5 Toolkit line is retired (there is no
release/stable/8.5branch); Toolkit's defaultbranch is on 9.1 and Themes on 7.1, so this moves onto maintained lines.
Dependency-graph risk check
Every package in the manifest was fetched at its new pin and each dependency edge pointing at another
SDK-managed package was compared against what the manifest provides, to catch any pin that now sits
below a dependency floor (i.e. a new NU1605). Run for both the default TFM and the
net10.0overrideset, and diffed against the same scan on
origin/master:Toolkit 9.1, Themes 7.1, Hot Design 1.20, Extensions 7.3, CSharpMarkup 6.7, settings and AppMcp are
mutually consistent, and Hot Design's floors (
Uno.Toolkit.WinUI9.0.0-dev.9,Uno.Themes.WinUI7.0.0-dev.36,
Uno.WinUI6.7.0-dev.688) are all satisfied.Xamarin.AndroidX.WearneedsRecyclerViewandSwipeRefreshLayoutabove their pins, on both TFM sets. Identical onorigin/masterand in thepublic manifest; only reachable by apps enabling that feature. Not addressed here.
net10.0-windows*only,Microsoft.Maui.GraphicsrequiresMicrosoft.WindowsAppSDKabove the pinned 1.7.250909003 — alreadytrue on
origin/master(10.0.60 → ≥ 1.8.251106002), and 10.0.90 moves that floor to ≥ 1.8.260508005.Worth knowing: this is not new behavior, since uno.templates
mainpins the same Maui 10.0.90alongside the same WinAppSdk 1.7.250909003, so the public 6.7 dev SDK already ships this exact
combination. Bumping WinAppSdk is deliberately out of scope here — it would break the alignment this
PR exists to establish, and belongs in its own change.
One consumer-facing note: for anyone using
Uno.Sdk.Privatewithout pinning their ownUnoToolkitVersion, this moves Toolkit across a major boundary (8.5 → 9.1), so Toolkit API breakingchanges are possible in their code. That aligns them with what the public 6.7 SDK already hands to
every app — the private SDK was the outlier.
Validation evidence
group order, and package lists are unchanged, and a field-by-field comparison against uno.templates
mainnow reports theCoretoken as the only difference. No other file in the repo referenced theold versions.
Uno.UI.RemoteControl.Host(net10.0, Debug) builds — it is aProjectReferenceof the alignment test project and was rebuilt on each run below.dotnet test src/Uno.Sdk.AddInVersionValidation.Tests— this test injects thesettings/hotdesign/AppMcpPackageReferences straight frompackages.json, so it exercises thebumped versions directly:
master): passedMicrosoft.IO.RecyclableMemoryStream,host 3.0.0.0 vs add-in 3.0.1.0)
WasmBootstrapandMauinet10.0 overrides.An earlier revision of this description argued those two deserved separate validation before being
included; they were then included (for full alignment) without that validation being performed. Stating
that plainly rather than implying coverage that does not exist. What is established for them: they
are the exact values the public
Uno.Sdk6.7 dev manifest already ships to apps, they do not affectthis repo's own builds (
Uno.Wasm.Bootstrapis pinned separately insrc/Directory.Build.targets,and the only in-repo
Uno.Sdkconsumers are theSolutionTemplatefixtures with their own pinnedglobal.json), and the dependency-graph scan above found no new conflict from either. What is notestablished is app-level runtime behavior on net10.
To close that gap, on a generated net10 app pinned to this branch's SDK build:
ea8a1df4is a cleantwo-line revert — the trade-off is that
WasmBootstrap/Mauistay divergent and unoplatform/uno-private#2270's equalitycheck would need those two entries allowlisted.
RecyclableMemoryStreamchange is a patch-level bump of the version the add-in already ships;leaving broader coverage to CI.
PR Checklist ✅
Screenshots Compare Test Runresults.No tests or docs added, deliberately: this is a version-manifest edit with no API or behavior change
of its own. The relevant coverage already exists —
Uno.Sdk.AddInVersionValidation.Testsreads theseversions straight from
packages.json, so it exercises the bumped versions without modification (and itis what caught the
RecyclableMemoryStreamgap). Nothing user-facing changed, so there is no docsimpact.
🤖 Generated with Claude Code
This is an automatic backport of pull request #23911 done by [Mergify](https://mergify.com).