Skip to content

Migration guide: every EFCore.ComplexIndexes 5.x usage, and its native EF Core 11 or SchemaKit form #73

Open

Description

@CaffeinatedCoder

First cut, 2026-11-14 (#135, not merged): docs/moving-from-complexindexes-5x.md covers what preview.1 ships. The packages and the 5.x design-time reference; the wiring, with what each missed step gives today (#113 still open); exclusion constraints 5.x call by 5.x call against the fixture LegacyHandoverTests and LegacyHandoverLiveTests read, each with what the next migrations add produces; expressions (a raw WithExpression moves with no operations only when its text is the one the lambda renders, measured again on main @ 010ff31); conditions and what the translator refuses, with a nullable comparison's rebuild measured; migrations 5.x scaffolded (#110, #28); what cannot move yet (#93); every other 5.x entry point from design/schemakit-api.md section 13 as native, later with its issue, or dropped; and the measured limits (#105, NU1608). #98 is fixed, so its line is gone. Every C# sample compiles against the shipped assemblies (DocumentationSampleTests), and every link resolves (DocumentationLinkTests).

Not in it yet, and still owed here: the test that fails when a 5.x entry point has no entry; the native forms' DDL against 5.x (#3); the advice to move from 5.6.x run against a real snapshot of 5.4 or earlier.


From #82 and #85, 2026-11-12: a 5.x declaration on a derived type that shares its table with its base type is refused. The guide has to say: move it to the base type, which gives the same DDL and costs no operations. A declaration that reads a column only the derived type has cannot be moved until #85 is built: move the property to the base type, or map the derived type to a table of its own.


Problem

A 5.x consumer who moves to EF Core 11 makes two changes at once: what EF Core 11 and Npgsql 11 now do natively goes to the native API (#3), and the rest goes to SchemaKit's new API. Several issues already lean on a migration guide that says which is which (#3, #10, the plan's sections 5 and 6, design/schemakit-api.md section 10), but no issue owns the guide, so nothing holds it to a release.

Without it a consumer cannot try a preview: the API is new, nothing is kept as [Obsolete], and the compiler only says what is gone.

Change

One document, shipped with the packages' documentation, with one entry per 5.x usage. The inventory is the table of 5.x signatures in design/schemakit-api.md (section 10, as of 5.4.1, to be brought up to the last 5.x release). Each entry has:

Beside the entries:

Sequence

Done when

Activity

  1. added this to the 11.0.0 milestone on Nov 12, 2026
  2. added
    documentation
    package/core
    package/postgresql
    package/sqlserver
    area/migrations
    on Nov 12, 2026
  3. CaffeinatedCoder commented on Nov 14, 2026

    @CaffeinatedCoder
    OwnerAuthor

    From the pre-preview sweep of main @ 948496a, 2026-11-14. What the first cut has to say, each measured:

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/migrationsdocumentationpackage/corepackage/postgresqlpackage/sqlserver

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions