Skip to content

build: require the Uno version that fixes MSAL asset selection on Skia mobile - #3163

Merged
kazo0 merged 1 commit into
msal-3-wasm-token-cachefrom
msal-4-uno-6-8
Aug 25, 2026
Merged

kazo0 merged 1 commit into
msal-3-wasm-token-cachefrom
msal-4-uno-6-8

Conversation

@kazo0

@kazo0 kazo0 commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

GitHub Issue (If applicable): closes #3159, closes #3155 (layer 4/4)

Stack 4/4 — base: msal-3-wasm-token-cache. Review only this layer's diff. Top of the stack; merging it merges everything below. Its only job is to express the Uno version the lower layers need.

PR Type

  • Build or CI related changes
  • Dependencies

What is the current behavior?

The packages build against Uno.Sdk 6.0.67 / Uno.WinUI 6.0.465. On that Uno, Uno.Sdk's RuntimeAssetsSelectorTask replaces Uno.UI.MSAL.dll with its no-op Skia flavour on Skia Android/iOS and WebAssembly heads, so WithUnoHelpers() does nothing there and interactive sign-in from layer 2 cannot open a browser. Nothing in the package graph tells a consumer their Uno is too old — it fails at runtime.

What is the new behavior?

Uno.Sdk 6.0.67 → 6.8.0-dev.21 (Uno.WinUI 6.8.0-dev.46, verified to contain unoplatform/uno#24055), Uno.Sdk.Private 6.7.0-dev.938 → 6.8.0-dev.51 in step so the heads do not sit below the libraries they reference. The packed nuspec floor becomes Uno.WinUI 6.8.0-dev.46, so an older Uno is an NU1605 downgrade error at restore instead of a silent no-op.

Pins that stay: Uno.Toolkit 8.4.2 and Hot Design 1.19.175. The Sdk's Toolkit 9.2 ships an iOS assembly built against Microsoft.iOS 26, which only the .NET 10 iOS workload supplies, and the Windows agents' VS MSBuild 17.14 cannot load the .NET 10 SDK (#3139 build 229720). Un-pinning needs a Windows image with MSBuild 18 — tracked in specs/lessons.md.

One code change: IL2026 suppressed on Reactive.UI's Exception-typed attached DP. browserwasm runs the trim analyzer under this Uno, and RegisterAttached's propertyType reaches Exception.TargetSite; the property only stores the instance.

Docs: the minimum-version section of the migration guide and the how-to's prerequisite.

PR Checklist

  • Tested code with current supported SDKs
  • Docs have been added/updated which fit documentation template
  • Unit Tests and/or UI Tests for the changes have been added — version bump; the lower layers' suites run on it
  • Wasm UI Tests are not showing any unexpected differences
  • Contains NO breaking changes — raises the Uno.WinUI floor consumers must meet
  • Updated the Release Notes
  • Associated with an issue (GitHub or internal)

Other information

Verified locally: package surface builds warning-free on all seven TFMs against Uno 6.8.0-dev; desktop runtime suite 25/25; Playground and TestHarness restore. No stable 6.8.0 exists on nuget.org yet — until one does, consumers of the next Extensions release need a dev feed, and the migration guide says so. Whether to hold this layer until a stable Uno ships is the release call this PR exists to make visible.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EqfQh5ovrPEvFGcERLiLhH

@kazo0
kazo0 force-pushed the msal-4-uno-6-8 branch 2 times, most recently from 0d36c02 to 1496700 Compare August 25, 2026 16:44
…a mobile

Layer 4/4 of the MSAL authentication work (#3139). Interactive MSAL sign-in
on Skia Android/iOS/WebAssembly needs unoplatform/uno#24055, which stops
Uno.Sdk's RuntimeAssetsSelectorTask replacing Uno.UI.MSAL.dll with its no-op
Skia flavor and thereby making WithUnoHelpers() do nothing. That task ships
in Uno.WinUI, which these packages already depend on, so raising the Uno
version is what expresses the requirement.

- Uno.Sdk 6.0.67 -> 6.8.0-dev.21 (Uno.WinUI 6.0.465 -> 6.8.0-dev.46, verified
  to contain the fix); Uno.Sdk.Private 6.7.0-dev.938 -> 6.8.0-dev.51 in step,
  or the heads sit below the libraries they reference. The packed nuspec floor
  now reads Uno.WinUI 6.8.0-dev.46, so an older Uno is an NU1605 downgrade
  error rather than a silent no-op. No stable 6.8.0 exists on nuget.org yet;
  the migration guide says so
- Uno.Toolkit stays pinned at 8.4.2 and Hot Design at 1.19.175: the Sdk's
  Toolkit 9.2 ships an iOS assembly built against Microsoft.iOS 26, which
  only the .NET 10 iOS workload supplies, and the Windows agents' VS MSBuild
  17.14 cannot load the .NET 10 SDK (#3139 build 229720). Un-pinning needs a
  Windows image with MSBuild 18
- Suppress IL2026 on Reactive.UI's Exception-typed attached DP: browserwasm
  runs the trim analyzer with this Uno, and RegisterAttached's propertyType
  reaches Exception.TargetSite; the property only stores the instance

Docs: the minimum-version section of the migration guide and the how-to's
prerequisite.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EqfQh5ovrPEvFGcERLiLhH
@kazo0
kazo0 merged commit 8548c46 into main Aug 25, 2026
13 of 15 checks passed
@kazo0
kazo0 deleted the msal-4-uno-6-8 branch August 25, 2026 18:03
agneszitte added a commit that referenced this pull request Nov 3, 2026
- global.json: Uno.Sdk 6.8.0-dev.21 -> 6.7.18 (Uno.WinUI 6.7.65), Uno.Sdk.Private 6.8.0-dev.51 -> 6.7.65
- #3163 raised the floor to 6.8.0-dev.46 for the MSAL fix unoplatform/uno#24055. 6.7 has that fix too (unoplatform/uno#24131, in every public 6.7 release from 6.7.65 on), so 6.7 is enough, and 6.7 apps can take 7.4 in the 6.7 SR3 Uno.Sdk
- samples/Directory.Packages.props: Windows SDK build tools 10.0.28000.2526 -> 10.0.28000.2705, what Uno.Sdk 6.7.18 supplies; Uno.Extensions.Hosting.WinUI requires it, and the Playground restore fails with NU1605 below it

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants