Repository navigation
Description
Decided 2026-11-11. SchemaKit lives in this repository, its own; EFCore.ComplexIndexes is not renamed, so the rename bullet below is void, and "from main" means this repository's main. The 5.x line continues in CaffeinatedCoder/EFCore.ComplexIndexes (CaffeinatedCoder/EFCore.ComplexIndexes#211). The core is planned in design/schemakit-core-plan.md, whose section 7 holds the decisions and section 6 the spikes and slices: preview.1 kernel host and exclusion constraints, preview.2 typed indexes and 5.x replay, preview.3 SQL Server, verifier, analyzer and the first outside contributor, rc.1 when Npgsql ships 11.0.0. Issue numbers below are this repository's since the transfer; a reference that names CaffeinatedCoder/EFCore.ComplexIndexes is an issue that stayed there.
Goal
The EF Core 11 / .NET 11 successor to EFCore.ComplexIndexes, under new ids: CodoMetis.EFCore.SchemaKit (kernel), CodoMetis.EFCore.SchemaKit.PostgreSQL and CodoMetis.EFCore.SchemaKit.SqlServer. Decided 2026-10-19; this replaces the 2026-10-18 plan for an 11.x line of the same package.
- It ships as
11.0.0-preview.Nfrommain, and as11.0.0when it's ready. That doesn't have to be EF Core 11's GA day: nobody is stranded, because 5.x keeps serving EF Core 10 (Epic: 5.5.0 — EFCore.ComplexIndexes stays the EF Core 10 package EFCore.ComplexIndexes#36). - Version numbers track the EF Core major, as Npgsql and CodoMetis.ValueRanges do.
- The repository is renamed to
CaffeinatedCoder/CodoMetis.EFCore.SchemaKitwith the first preview. GitHub redirects the old URL.
This keeps issue CaffeinatedCoder/EFCore.ComplexIndexes#3's promise: two parallel packages from November 2026 until EF Core 10 leaves support.
A new API, not the old one renamed
Decided 2026-10-19 by the maintainer: SchemaKit gets an entirely new public API, designed in #11. The rule is the one the CodoMetis.ValueRanges range types follow: a declaration the database would reject does not compile. The design uses .NET 11 and C# 15 for that, closed hierarchies first of all. No preview ships the 5.x API under the new ids. What stays compatible is the DDL and the snapshot annotations (#9, #10), not the API.
Why a new package
EF Core 11 ships native HasIndex/HasKey/HasAlternateKey over complex-type properties, JSON-mapped paths and complex-collection paths (dotnet/efcore#31246). Npgsql 11 ships native WITHOUT OVERLAPS and PERIOD (efcore.pg#3708, #3710). The old name now describes what the platform does.
Because SchemaKit is a new package, it leaves those features out, with no [Obsolete] shims. It keeps what stays unique: expression and JSON-member indexes, typed filter predicates, exclusion constraints, NULLS FIRST/LAST, and the SQL Server options.
Why this name
EF Core resolves the model differ and the migrations SQL generator as single services. When two packages replace one, one of them silently loses. SchemaKit is the one owner of both in the CodoMetis family, and it offers a public contract that other packages plug into (#7, #8).
"Schema" is that boundary. Whatever needs the differ or the generator belongs here or plugs in, such as the migration-aware parts of ltree in the planned CodoMetis.Hierarchies. Types, operators and query translation stay out: ltree's in CodoMetis.Hierarchies, ranges in CodoMetis.ValueRanges.
DataKit was rejected: it's unspecific, and nuget.org already has a DataKit.* family of 17 packages, including DataKit.SQL.Postgresql and DataKit.ORM.
Sequence
- SchemaKit API design: a declaration the database would reject does not compile #11: the API design, reviewed and merged as
design/schemakit-api.md, with compile probes for every "does not compile" claim. - SchemaKit 11.0.0-preview.1: the first slice of the new API, on EF Core 11 / Npgsql 11 under the new ids #2: after
v5.5.0, therelease/5.xcut and SchemaKit API design: a declaration the database would reject does not compile #11,mainis retargeted to EF Core 11 and renamed to the new ids.11.0.0-preview.1ships the first slice of the new API: the kernel plus at least one feature end to end. - SchemaKit: the contributor contract, so packages add schema objects instead of replacing EF services #7, SchemaKit: the wiring guards, so a missing or displaced UseSchemaKit() fails loudly #8, SchemaKit: snapshot format v2 and CodoMetis: annotation keys ship in 11.0.0; the 5.x format is read forever (D11) #9: the plugin contract, the ownership check and snapshot format v2, built to SchemaKit API design: a declaration the database would reject does not compile #11. They are public and permanent, so they land before 11.0.0.
- SchemaKit: leave out what EF Core 11 and Npgsql 11 do natively; keep what stays unique #3: leave out what the platform does. Temporal keys are decided: left out, since Npgsql 11's native ones accept every ValueRanges column (feat: Npgsql 11's native temporal keys accept every range and multirange column CodoMetis.ValueRanges#335). The
HasComplexIndexhalf is open. - SchemaKit: moving from EFCore.ComplexIndexes 5.x adds no migration, or exactly the one the guide documents #10: the package swap adds no migration.
- Cross-tests with CodoMetis.ValueRanges: range and multirange columns as exclusion-constraint operands #4, CI lanes: PostgreSQL 16 and 18, SQL Server 2022, and a prerelease path in the release workflow #5, Package validation on the SchemaKit line: no baseline until 11.0.0 #6: cross-tests, CI matrix, package validation.
Done when
- Every sub-issue is closed.
- Previews are published while EF Core 11 is in RC.
- The changelog opens 11.0.0 with the platform floor and what is left out, and the migration doc has the "EFCore.ComplexIndexes 5.x → SchemaKit" section.
v11.0.0is tagged and the three packages are on NuGet.- CONTRIBUTING and SECURITY.md name both lines: SchemaKit 11.x on
main, EFCore.ComplexIndexes 5.x onrelease/5.x.
Activity
[-]Epic: 11.0.0[/-][+]Epic: CodoMetis.EFCore.SchemaKit 11.0.0 — the EF Core 11 successor[/+]CaffeinatedCoder commentedon Nov 11, 2026
State on 2026-11-11, the day after .NET 11 GA.
Npgsql.EntityFrameworkCore.PostgreSQLis still11.0.0-rc.3and pins EF Core to exactly rc.3, so no stable SchemaKit can exist before Npgsql's 11.0.0. Its 10.0.0 came eleven days after .NET 10.11.0.0-preview.1is planned on the GA SDK and rc.3 (Publish 11.0.0-preview.1 on the .NET 11 GA SDK and Npgsql's provider rc.3 CodoMetis.ValueRanges#332), after its move to the GA SDK (main: move to the .NET 11 GA SDK and the 11.0.0 test packages, and repeat the retarget measurements CodoMetis.ValueRanges#532). SchemaKit 11.0.0-preview.1: the first slice of the new API, on EF Core 11 / Npgsql 11 under the new ids #2's "restores beside ValueRanges 11.0.0-preview.1" check waits for that.v11.0.0does not wait for SchemaKit. Its cross-tests against SchemaKit (main: re-enable the ComplexIndexes cross-tests and the joint smoke consumer against CodoMetis.EFCore.SchemaKit.PostgreSQL CodoMetis.ValueRanges#333) left the 11.0.0 milestone and ship in its first 11.x minor.What that means here: an application that uses ValueRanges together with EFCore.ComplexIndexes can't move to EF Core 11 until SchemaKit ships, whatever the other packages do. So the API design (#61, draft PR CaffeinatedCoder/EFCore.ComplexIndexes#63) is the critical path, and step 1 of the sequence above is the next piece of work. Nothing else in this epic is blocked by anything but it and Npgsql.
50 remaining items