Skip to content

Epic: CodoMetis.EFCore.SchemaKit 11.0.0 — the EF Core 11 successor #1

Open
30 of 64 issues completed
Open

Description

@CaffeinatedCoder

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.N from main, and as 11.0.0 when 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.SchemaKit with 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

  1. 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.
  2. 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, the release/5.x cut and SchemaKit API design: a declaration the database would reject does not compile #11, main is retargeted to EF Core 11 and renamed to the new ids. 11.0.0-preview.1 ships the first slice of the new API: the kernel plus at least one feature end to end.
  3. 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.
  4. 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 HasComplexIndex half is open.
  5. SchemaKit: moving from EFCore.ComplexIndexes 5.x adds no migration, or exactly the one the guide documents #10: the package swap adds no migration.
  6. 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.0 is tagged and the three packages are on NuGet.
  • CONTRIBUTING and SECURITY.md name both lines: SchemaKit 11.x on main, EFCore.ComplexIndexes 5.x on release/5.x.

Sub-issues

Sub-issues

30 of 64 Issues completed
Loading 64 sub-issues

Activity

  1. added this to the 11.0.0 milestone on Oct 18, 2026
  2. added
    epic
    area/release
    on Oct 18, 2026
  3. changed the title [-]Epic: 11.0.0[/-] [+]Epic: CodoMetis.EFCore.SchemaKit 11.0.0 — the EF Core 11 successor[/+] on Oct 19, 2026
  4. CaffeinatedCoder commented on Nov 11, 2026

    @CaffeinatedCoder
    OwnerAuthor

    State on 2026-11-11, the day after .NET 11 GA.

    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.

  5. added
    epic
    area/release
    on Nov 11, 2026
  6. added this to the 11.0.0 milestone on Nov 11, 2026
  7. 50 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/releaseepic

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions