Repository navigation
build: add .NET 11 support - #221
Merged
Merged
Conversation
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.
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.
Why
.NET 11 is GA (11.0.0, released 2026-11-10). QueryKit did not ship a
net11.0build.What changed
QueryKit.csprojaddsnet11.0toTargetFrameworks. The package now haslib/net6.0throughlib/net11.0.QueryKit.UnitTeststargetsnet10.0;net11.0. CI runs all unit tests against thenet10.0build and thenet11.0build.net11.0target (NETSDK1045).verify-querykitdriver targetsnet11.0, andqk uprequires a .NET 11 SDK.Scope
The integration tests stay on
net10.0with EF Core 10. Npgsql andEFCore.NamingConventionshave no stable 11.x release yet.Verification
Local results with SDK 11.0.100:
dotnet build -c Release: 0 warnings, 0 errors.net10.0, 880 passed onnet11.0.QueryKit.Net6Tests: 3 passed.verify-querykiton the .NET 11.0.0 runtime with thenet11.0QueryKit build: a filter and sort gave the same rows on memory and on Postgres. An unknown property threwUnknownFilterPropertyExceptionon both targets.Blast Radius
Consumers on
net6.0throughnet10.0get the same assemblies as before. A contributor needs the .NET 11 SDK to build the solution.