Repository navigation
fix(sdk): Pin CoreLogging to the stable 5.0.0 - #2395
Merged
Merged
Conversation
Uno.WinUI needs 5.0.0, so the dev.34 pin failed restore with NU1605 on a blank Windows app. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtyBVZWdemP5ouF7UUA
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The CoreLogging dependency pin update has no active review issues.
No open issues 🎉
What changed in this PR
Updates Uno.Sdk’s CoreLogging dependency pin to stable 5.0.0, addressing the package downgrade error reported when restoring a blank Windows app with newer Uno dependencies.
Changes:
- Replaces
5.0.0-dev.34with5.0.0forUno.Core.Extensions.Logging.Singleton. - Leaves package updater behavior unchanged.
| File | Description |
|---|---|
src/Uno.Sdk/packages.json |
Pins the CoreLogging group to stable 5.0.0. |
Review effort: Balanced
agneszitte
reviewed
Nov 5, 2026
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TXMNtxg3FvHSpwNKLmNtLx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue (If applicable): related to unoplatform/uno#26017
PR Type
What is the current behavior?
A blank Windows app from today's templates doesn't restore. With Uno.Templates and Uno.Sdk
7.0.0-dev.161on .NET SDK 10.0.400:Uno.WinUImoved toUno.Core.Extensions5.0.0 in unoplatform/uno#26017, andUno.Sdk.Private7.1.0-dev.21 pins 5.0.0. This repo'spackages.jsonstill says5.0.0-dev.34, and it's what ships inUno.Sdk.What is the new behavior?
The
CoreLogginggroup pins5.0.0. The workaround until this ships is<UnoCoreLoggingSingletonVersion>5.0.0</UnoCoreLoggingSingletonVersion>.Why the updater didn't do this. On a preview line the updater starts from this repo's
packages.json, so the private SDK's value isn't used. From readingUno.Sdk.Updater,CoreLoggingthen goes throughValidatePackage. On a preview line one failed validation stops the loop and leaves no candidates, soUpdateGroupfalls back to0.0.0.0and keeps the current version, logging onlyUnable to find package. I think that's what happens here, but I didn't run the updater or find out why validation would reject 5.0.0, and this PR doesn't change the updater. The same line keeps a hand-set version from being lowered, so5.0.0should stay.Validation
Uno.Sdk7.0.0-dev.161with this pin (and two unrelated WinAppSDK changes from unoplatform/uno), and installed it from a local feed with an empty package cache. The blank app above restored with noNU1605and published (win-x64, Release, trimmed + R2R).🤖 Generated with Claude Code
https://claude.ai/code/session_01TXMNtyBVZWdemP5ouF7UUA