Skip to content

build: add .NET 11 support - #221

Merged
pdevito3 merged 1 commit into
mainfrom
build/net11-support
Nov 12, 2026
Merged

pdevito3 merged 1 commit into
mainfrom
build/net11-support

Conversation

@pdevito3

Copy link
Copy Markdown
Owner

Why

.NET 11 is GA (11.0.0, released 2026-11-10). QueryKit did not ship a net11.0 build.

What changed

  • QueryKit.csproj adds net11.0 to TargetFrameworks. The package now has lib/net6.0 through lib/net11.0.
  • QueryKit.UnitTests targets net10.0;net11.0. CI runs all unit tests against the net10.0 build and the net11.0 build.
  • The unit test, integration test, and release workflows install the .NET 11 SDK. An older SDK cannot build the net11.0 target (NETSDK1045).
  • The verify-querykit driver targets net11.0, and qk up requires a .NET 11 SDK.

Scope

The integration tests stay on net10.0 with EF Core 10. Npgsql and EFCore.NamingConventions have no stable 11.x release yet.

Verification

Local results with SDK 11.0.100:

  • dotnet build -c Release: 0 warnings, 0 errors.
  • Unit tests: 880 passed on net10.0, 880 passed on net11.0.
  • Integration tests: 396 passed.
  • QueryKit.Net6Tests: 3 passed.
  • verify-querykit on the .NET 11.0.0 runtime with the net11.0 QueryKit build: a filter and sort gave the same rows on memory and on Postgres. An unknown property threw UnknownFilterPropertyException on both targets.

Blast Radius

Consumers on net6.0 through net10.0 get the same assemblies as before. A contributor needs the .NET 11 SDK to build the solution.

Add net11.0 to the QueryKit target frameworks. The unit tests now run
on net10.0 and net11.0, so CI covers the new build.

CI and the release workflow install the .NET 11 SDK, because the
solution cannot build net11.0 with an older SDK. The integration tests
stay on net10.0, because Npgsql has no stable 11.x release yet.

The verify-querykit driver moves to net11.0 and needs the .NET 11 SDK.
@pdevito3
pdevito3 merged commit 526e399 into main Nov 12, 2026
2 checks passed
@pdevito3
pdevito3 deleted the build/net11-support branch November 12, 2026 15:11
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