Skip to content

chore(sdk): Align Uno.Sdk.Private implicit package versions with the public manifest (backport #23911) - #24108

Merged
kazo0 merged 7 commits into
release/stable/6.7from
mergify/bp/release/stable/6.7/pr-23911
Aug 29, 2026
Merged

kazo0 merged 7 commits into
release/stable/6.7from
mergify/bp/release/stable/6.7/pr-23911

Conversation

@mergify

@mergify mergify Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

GitHub Issue: closes https://github.com/unoplatform/uno-private/issues/2269

PR Type:

🏗️ Build or CI related changes

What changed? 🚀

Uno.Sdk.Private (packed from src/Uno.Sdk/packages.json here) and the public Uno.Sdk (packed from
the same-named manifest in uno.templates) are two
independent version manifests — the public package repacks this repo's .props/.targets/.dll but
ships its own pins. They drifted apart on 15 groups, and the Toolkit gap became a hard restore
failure.

Uno.UI.HotDesign 1.20.0-dev.* requires Uno.Toolkit.WinUI 9.0.0-dev.9, while the private SDK
added Uno.Toolkit.WinUI 8.5.0-dev.37 as an implicit direct reference — a direct reference below
a transitive requirement, i.e. NU1605:

Warning As Error: Detected package downgrade: Uno.Toolkit.WinUI from 9.0.0-dev.9 to 8.5.0-dev.37.
    MyApp -> Uno.UI.HotDesign 1.20.0-dev.* -> Uno.Toolkit.WinUI (>= 9.0.0-dev.9)
    MyApp -> Uno.Toolkit.WinUI (>= 8.5.0-dev.37)

This aligns all 15 stale groups with the public manifest. 13 had an outdated version:

group before after
Toolkit 8.5.0-dev.37 9.1.0-dev.2
Themes 7.0.0-dev.24 7.1.0-dev.1
hotdesign 1.19.175 1.20.0-dev.750
Extensions 7.2.3 7.3.0-dev.102
CSharpMarkup 6.6.27 6.7.0-dev.16
settings 1.8.0-dev.42 1.13.0-dev.7
AppMcp 1.3.0-dev.36 1.3.0-dev.98
Resizetizer 1.13.0-dev.11 1.13.0-dev.17
sdkextras 6.4.0-dev.7 6.4.0-dev.13
UnoFonts 2.8.1 2.9.4
MsalClient 4.83.3 4.87.0
WinAppSdkBuildTools 10.0.28000.2270 10.0.28000.2526
WinAppSdkBuildToolsWinApp 0.3.1 0.5.0

…plus the two net10.0 versionOverride entries the public manifest carries: WasmBootstrap
10.1.0-dev.137 → 10.1.0-dev.214 and Maui 10.0.60 → 10.0.90. These 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.

All 15 target versions were verified to resolve on nuget.org (Uno.Sdk.Private is published there, so
every pin has to be publicly restorable).

After this PR the two manifests are fully aligned. A field-by-field comparison (group set, group
order, packages lists, version, versionOverride) leaves exactly one intentional difference: the
Core group's DefaultUnoVersion placeholder, which Uno.Sdk.csproj substitutes at pack time and
Uno.Build.targets validates — that one must stay a token. This also makes the CI equality check
suggested in unoplatform/uno-private#2269 straightforward to add.

Second commit: the settings bump turned Uno.Sdk.AddInVersionValidation.Tests red —
Uno.Settings.DevServer 1.13.0-dev.7 needs Microsoft.IO.RecyclableMemoryStream 3.0.1 while
Uno.UI.RemoteControl.Host pinned 3.0.0, so the add-in would load its own bundled copy into Default
ALC 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.5 branch); Toolkit's default
branch 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.0 override
set, and diffed against the same scan on origin/master:

  • 327 SDK-managed edges checked. No new downgrade is introduced anywhere in the Uno stack —
    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.WinUI 9.0.0-dev.9, Uno.Themes.WinUI
    7.0.0-dev.36, Uno.WinUI 6.7.0-dev.688) are all satisfied.
  • Pre-existing, untouched by this PR: Xamarin.AndroidX.Wear needs RecyclerView and
    SwipeRefreshLayout above their pins, on both TFM sets. Identical on origin/master and in the
    public manifest; only reachable by apps enabling that feature. Not addressed here.
  • Pre-existing, floor raised by the Maui bump: on net10.0-windows* only,
    Microsoft.Maui.Graphics requires Microsoft.WindowsAppSDK above the pinned 1.7.250909003 — already
    true 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 main pins the same Maui 10.0.90
    alongside 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.Private without pinning their own
UnoToolkitVersion, this moves Toolkit across a major boundary (8.5 → 9.1), so Toolkit API breaking
changes 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

  • Code review assessment: the manifest diff is 15 version strings and nothing else; JSON structure,
    group order, and package lists are unchanged, and a field-by-field comparison against uno.templates
    main now reports the Core token as the only difference. No other file in the repo referenced the
    old versions.
  • Compile validation: Uno.UI.RemoteControl.Host (net10.0, Debug) builds — it is a
    ProjectReference of the alignment test project and was rebuilt on each run below.
  • Runtime validation: dotnet test src/Uno.Sdk.AddInVersionValidation.Tests — this test injects the
    settings/hotdesign/AppMcp PackageReferences straight from packages.json, so it exercises the
    bumped versions directly:
    • baseline (unmodified master): passed
    • version-pin alignment only: failed — 1 latent conflict (Microsoft.IO.RecyclableMemoryStream,
      host 3.0.0.0 vs add-in 3.0.1.0)
    • alignment + host pin bump: passed
    • full alignment incl. the net10.0 overrides: passed
  • Not run locally — no runtime validation for the WasmBootstrap and Maui net10.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.Sdk 6.7 dev manifest already ships to apps, they 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), and the dependency-graph scan above found no new conflict from either. What is not
    established is app-level runtime behavior on net10.
    To close that gap, on a generated net10 app pinned to this branch's SDK build:
    dotnet build -f net10.0-browserwasm   # exercises Uno.Wasm.Bootstrap 10.1.0-dev.214
    dotnet build -f net10.0-desktop       # with <UnoFeatures>Maui</UnoFeatures> for Maui 10.0.90
    
    If a reviewer would rather not carry unvalidated overrides, dropping commit ea8a1df4 is a clean
    two-line revert — the trade-off is that WasmBootstrap/Maui stay divergent and unoplatform/uno-private#2270's equality
    check would need those two entries allowlisted.
  • Not run locally: the wider runtime/UI test suites and the DevServer integration tests. The
    RecyclableMemoryStream change is a patch-level bump of the version the add-in already ships;
    leaving broader coverage to CI.

PR Checklist ✅

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.Tests reads these
versions straight from packages.json, so it exercises the bumped versions without modification (and it
is what caught the RecyclableMemoryStream gap). Nothing user-facing changed, so there is no docs
impact.

🤖 Generated with Claude Code


This is an automatic backport of pull request #23911 done by [Mergify](https://mergify.com).

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

kazo0 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Retargeted the pins in 5f27bdd — the backport carried master's values, which track uno.templates main (dev lines). This branch ships the 6.7 train, so it needs to match uno.templates release/stable/6.7.

The Toolkit entry is why this matters: 9.1.0-dev.2 is still below the 9.1.3 floor that Uno.UI.HotDesign 1.20.371 requires, so the NU1605 downgrade this backport exists to fix would have survived the merge — just with a different pair of numbers in the error.

group as backported (master) retargeted (public 6.7)
Toolkit 9.1.0-dev.2 9.1.3
Themes 7.1.0-dev.1 7.1.1
hotdesign 1.20.0-dev.750 1.20.338
Extensions 7.3.0-dev.102 7.3.1
CSharpMarkup 6.7.0-dev.16 6.7.7
settings 1.13.0-dev.7 1.13.1
AppMcp 1.3.0-dev.98 1.3.2
MicrosoftLoggingConsole 9.0.18 / net10.0 10.0.10 9.0.19 / 10.0.11
WindowsCompatibility 9.0.18 / net10.0 10.0.10 9.0.19 / 10.0.11
MicrosoftWebView2 1.0.4078.44 1.0.4129.50

The WasmBootstrap (10.1.0-dev.214) and Maui net10.0 (10.0.90) overrides the backport already carried happen to match the public 6.7 manifest, so they were left as-is.

After this, a field-by-field comparison of all 43 groups (group set, order, packages lists, version, versionOverride) against the public 6.7 manifest leaves exactly one difference: the Core group's DefaultUnoVersion token, which Uno.Sdk.csproj substitutes at pack time.

On the RecyclableMemoryStream 3.0.0 → 3.0.1 commit

Still required, and the retarget doesn't change that — Uno.Settings.DevServer in the 1.13 line bundles Microsoft.IO.RecyclableMemoryStream 3.0.1.0 (verified by reading the assembly out of tools/devserver/ in 1.13.0-dev.23, the closest publicly-available build to 1.13.1), so the host has to be at 3.0.1 or the add-in loads its own copy into Default ALC alongside the host's.

Validation evidence

  • Code review assessment: the diff is 12 version strings and nothing else — JSON structure, group order, and package lists unchanged; BOM preserved.
  • Not run locally — no restore, build, or test validation. The 6.7 stable train is not on nuget.org yet (no Uno.WinUI 6.7.x stable, no Uno.Toolkit.WinUI 9.1.3, no Uno.Sdk.Private 6.7.x — all staged on the internal feed), and this repo's NuGet.config only configures nuget.org, so Uno.Sdk.AddInVersionValidation.Tests cannot restore these pins on a dev machine. CI has the feed and will exercise them.
  • build/ci/scripts/validate-packages-json.ps1 runs warning-only on release branches by design, precisely because they "may reference packages not yet published to NuGet.org" — expect MISSING lines here without a failure.

Reported by

This is the fix for the exported-sources restore failure reported downstream (Uno.Sdk.Private 6.7.16 pinning Toolkit 8.5.0-dev.37 against a Studio-injected Uno.UI.HotDesign 1.20.371). Worth confirming there that a rebuilt 6.7 SDK resolves it before closing.

@kazo0
kazo0 enabled auto-merge August 18, 2026 21:13
@kazo0

kazo0 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@unodevops

Copy link
Copy Markdown
Contributor

agneszitte and others added 4 commits August 22, 2026 08:44
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
@kazo0
kazo0 force-pushed the mergify/bp/release/stable/6.7/pr-23911 branch from 5f27bdd to 0b966e5 Compare August 22, 2026 12:44
@kazo0

kazo0 commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

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

….13.4, hotdesign 1.20.443, C# Markup 6.7.10, app-mcp 1.3.3)
@kazo0

kazo0 commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Refreshed the implicit versions to the current 6.7 dev-feed stables (verified against the unoplatformdev feed and the public Uno.Sdk manifest on uno.templates@release/stable/6.7):

group was now why
settings (Uno.Settings.DevServer) 1.13.1 1.13.4 feed stable; matches public manifest
hotdesign (Uno.UI.HotDesign) 1.20.338 1.20.443 feed stable (public manifest still says 1.20.434)
CSharpMarkup 6.7.7 6.7.10 feed stable, rebuilt on core 6.7.65
AppMcp (Uno.UI.App.Mcp) 1.3.2 1.3.3 feed stable, rebuilt on core 6.7.65

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):

  • WasmBootstrap 9.0.23 — the feed's stable is 10.0.96, a different line
  • Dsp 1.4.0 and UnoFonts 2.9.4 — no matching stable on the dev feed under those IDs
  • Resizetizer 1.13.0-dev.17 / sdkextras 6.4.0-dev.13 — intentional prerelease pins, equal to the feed's latest

Tracked in unoplatform/private#1105.

@kazo0

kazo0 commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

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

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
@kazo0

kazo0 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

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

@kazo0
kazo0 disabled auto-merge August 28, 2026 12:38
@kazo0
kazo0 enabled auto-merge August 28, 2026 12:40
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
@kazo0

kazo0 commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@unodevops

Copy link
Copy Markdown
Contributor

@kazo0
kazo0 merged commit cd452e3 into release/stable/6.7 Aug 29, 2026
65 checks passed
@kazo0
kazo0 deleted the mergify/bp/release/stable/6.7/pr-23911 branch August 29, 2026 18:24
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants