Skip to content

task: migrate to .NET 10 LTS and drop preview Microsoft.Extensions packages - #312

Merged
patchzyy merged 1 commit into
devfrom
task/dotnet-10-migration
Aug 7, 2026
Merged

task: migrate to .NET 10 LTS and drop preview Microsoft.Extensions packages#312
patchzyy merged 1 commit into
devfrom
task/dotnet-10-migration

Conversation

@patchzyy

@patchzyy patchzyy commented Aug 7, 2026

Copy link
Copy Markdown
Member

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.5 was pulling six more preview assemblies into shipped binaries.

What Has Been Changed: TargetFramework to net10.0 in both projects, global.json to 10.0.100, and both workflows to dotnet-version: 10.0.x. Avalonia 11.2.5 -> 11.3.19 (Avalonia.HtmlRenderer 11.0.0 -> 11.3.0). Microsoft.Extensions.Caching.Memory, Http.Resilience and Logging all to 10.0.0 GA, which collapses the previous 8.0 / 9.x / 10.0-preview split so the whole resolved Microsoft.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 sets rollForward: Major, so it still runs under .NET 10.

…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.
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 9206b9ae-a482-40b2-9c18-055b8dcff349

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@DirkDoes DirkDoes left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@patchzyy
patchzyy merged commit b56b11e into dev Aug 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants