Skip to content

feat(dotnet): test on the .NET 10 SDK by default - #79

Merged
vannt-dev merged 1 commit into
mainfrom
feat/dotnet-10-default
Oct 21, 2026
Merged

vannt-dev merged 1 commit into
mainfrom
feat/dotnet-10-default

Conversation

@vannt-dev

Copy link
Copy Markdown
Owner

Summary

.NET 8 and .NET 9 both reach end of support on 10 November 2026; .NET 10 is the current LTS.
The dotnet stack now tests on the .NET 10 SDK alone by default.

  • stack-dotnet.yml: the dotnet-versions input defaults to ["10.0"] (was ["8.0","9.0"]).
  • repokeeper init / update write ["10.0"] into ci.yml unless stack_options.dotnet.versions is set.
  • GitLab: with no versions set, the job uses the mcr.microsoft.com/dotnet/sdk:10.0 image.
  • The dotnet fixture moves to net10.0, and workflow-tests runs it on ["10.0"].

Why ["10.0"] and not ["8.0","10.0"]: .NET 8 ends in three weeks, so a default that still
installs it would hand every new project an SDK that is about to lose support.

What this means for existing repos: generated ci.yml files already pass dotnet-versions, so
nothing changes for them until their next repokeeper update. The .NET 10 SDK only ships the
.NET 10 runtime, so a project that still targets net8.0 or net9.0 should move to net10.0
or set stack_options.dotnet.versions before updating.

Testing

  • Tests added or updated
  • Commit messages follow Conventional Commits

npm run typecheck, biome check ., npm test (524 passed) and npm run build pass locally.
The fixture's four commands (restore, format check, build, test) pass on the .NET 10.0.401 SDK.

.NET 8 and .NET 9 both reach end of support on 10 November 2026, and .NET 10 is
the current LTS. The dotnet stack and the stack-dotnet workflow now default to
["10.0"] instead of ["8.0","9.0"]; the GitLab job falls back to the 10.0 image.

Existing ci.yml files keep the list they were written with until the next
`repokeeper update`. A project that still targets net8.0 or net9.0 should move
to net10.0 or set `stack_options.dotnet.versions`.
@vannt-dev
vannt-dev merged commit 156030c into main Oct 21, 2026
28 checks passed
@vannt-dev
vannt-dev deleted the feat/dotnet-10-default branch October 21, 2026 15:07
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.

1 participant