task: migrate to .NET 10 LTS and drop preview Microsoft.Extensions packages - #312
Merged
Conversation
…ckages .NET 8 goes EOL 2026-11-10 and the runtime ships inside every release binary. Retarget net10.0, bump Avalonia to 11.3.19, and move Microsoft.Extensions.* off the 10.0.0-preview / 9.x / 8.0 split onto 10.0.0 GA.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Purpose of this PR: .NET 8 hits end-of-support on 2026-11-10 and we self-contained-publish the runtime into every release binary, so shipped builds would stop getting security patches. .NET 9 is already EOL, making .NET 10 LTS (supported to Nov 2028) the only forward target. Separately,
Microsoft.Extensions.Caching.Memory 10.0.0-preview.3.25171.5was pulling six more preview assemblies into shipped binaries.What Has Been Changed:
TargetFrameworktonet10.0in both projects,global.jsonto10.0.100, and both workflows todotnet-version: 10.0.x. Avalonia 11.2.5 -> 11.3.19 (Avalonia.HtmlRenderer 11.0.0 -> 11.3.0).Microsoft.Extensions.Caching.Memory,Http.ResilienceandLoggingall to 10.0.0 GA, which collapses the previous 8.0 / 9.x / 10.0-preview split so the whole resolvedMicrosoft.Extensions.*graph is now 10.0.0.Discussion Points: The build scripts and
Flatpak/pin no SDK/runtime versions, so they needed no changes. CSharpier.MsBuild only ships net8.0/net9.0 tool builds but its runtimeconfig setsrollForward: Major, so it still runs under .NET 10.