Repository navigation
Description
Decided 2026-11-14 by the maintainer: gate A. preview.1 ships soon, on the path of the comment of 2026-11-14 below: the confirmed defects fixed or refused (#98 first, then #102, #101, #99 with #100, #103, #110), the lambda factories out of the kernel (#112), the provider capability stamp and the version check (#113), the minimum that publishes (#35, #5, #34, #106, #73). The stored form of a template is declared not final for this preview (#9). The binder, the ordered plan, the measured impact table, the landing function and the second provider (#114, #115, #117, #118, #119) are preview.2's. GPT's condition stands: if #112 cannot specify the unmarked value API so that binding later changes no public answer, the binder comes first.
Added 2026-11-12: the migration guide's first cut (#73) is part of preview.1. It covers what this preview ships (the wiring, exclusion constraints and their lambda filters) and lists every other 5.x usage with the preview it comes with. The guide is complete at rc.1.
Decided 2026-11-12 by the maintainer: the lambda translator (#26) comes before the PostgreSQL package (#25), so that an exclusion constraint in preview.1 takes a lambda filter. The plan had the translator in preview.2. A 5.x consumer that passes its exclusion filters as lambdas could otherwise not try preview.1 without rewriting them as SQL.
Scope decided 2026-11-11 (plan, section 6): preview.1 is the kernel host with the three wiring guards, exclusion constraints on PostgreSQL, their 5.x reader, and the exclusion half of the handover. It starts only after spikes A and B pass. There is no rename and no cut any more: this is a new repository, and "on main" below means here. .targets files are not part of it (plan, section 3.2).
State on 2026-11-11. .NET 11 and EF Core 11.0.0 are generally available. Npgsql.EntityFrameworkCore.PostgreSQL is at 11.0.0-rc.3, which pins EF Core rc.3 exactly, so the platform bullet below reads rc.3 where it says rc.2, and the floors move to [11.0.0, 12.0.0) when Npgsql ships 11.0.0. CodoMetis.ValueRanges.EFCore.PostgreSQL 11.0.0-preview.1 is not on NuGet yet (CaffeinatedCoder/CodoMetis.ValueRanges#332). Still blocked by #11.
Rescoped 2026-10-19 (later): SchemaKit gets a new API (#11), and no preview ships the 5.x API under the new ids. 11.0.0-preview.1 is the first slice of that API: the kernel plus at least one feature end to end, as #11 names it. The retarget and rename below still happen, but on the new code, not as a preview of the old surface. Blocked by CaffeinatedCoder/EFCore.ComplexIndexes#55 (5.5.0 and the cut) and #11.
Rewritten 2026-10-19 for the spin-off (#1). The long-lived net11 branch is dropped, as CodoMetis.ValueRanges dropped its own (CaffeinatedCoder/CodoMetis.ValueRanges#280).
This starts after v5.5.0 is tagged and release/5.x is cut at the tag (CaffeinatedCoder/EFCore.ComplexIndexes#36). Then, on main:
- Ids:
CodoMetis.EFCore.SchemaKit,CodoMetis.EFCore.SchemaKit.PostgreSQL,CodoMetis.EFCore.SchemaKit.SqlServer, with namespaces and assembly names to match. The public API is SchemaKit API design: a declaration the database would reject does not compile #11's, not the 5.x one. The annotation keys follow SchemaKit: snapshot format v2 and CodoMetis: annotation keys ship in 11.0.0; the 5.x format is read forever (D11) #9. - Platform:
net11.0.Microsoft.EntityFrameworkCore.*andNpgsql.EntityFrameworkCore.PostgreSQLon 11.0.0-rc.2 (Npgsql's rc.2 is on NuGet now), with the floors net11 measurements: EF Core 11 under the 5.x differ (record for SchemaKit, not merged) EFCore.ComplexIndexes#47 decided: a prerelease floor and a12.0.0ceiling. - Version and validation:
Version11.0.0-preview.1, and no package-validation baseline, since the ids are new (Package validation on the SchemaKit line: no baseline until 11.0.0 #6). - Docs: SECURITY.md rows for 11.x (
main) and 5.x (release/5.x), and CONTRIBUTING's branch section. - Repository and publishing: rename the repository to
CaffeinatedCoder/CodoMetis.EFCore.SchemaKit, and update NuGet's trusted-publishing scope for the new ids (ROADMAP.md5.8). That scope fails silently if it's left alone. - The release workflow publishes the preview as a prerelease.
CaffeinatedCoder/EFCore.ComplexIndexes#47 holds the retarget measurements on EF Core 11 rc.1: no source change, 339/339 tests passing, byte-identical SQL, differ registration and snapshot round-trip unchanged. They show the EF Core 11 internals under the differ are unchanged, which the new kernel relies on. CaffeinatedCoder/EFCore.ComplexIndexes#47 is not merged as it is.
Measure, with the output pasted here:
- net11 measurements: EF Core 11 under the 5.x differ (record for SchemaKit, not merged) EFCore.ComplexIndexes#47's measurements, re-run on rc.2
- the renamed packages restore beside
CodoMetis.ValueRanges.EFCore.PostgreSQL11.0.0-preview.1 in onenet11.0consumer (Publish 11.0.0-preview.1 on the .NET 11 GA SDK and Npgsql's provider rc.3 CodoMetis.ValueRanges#332)
Activity
CaffeinatedCoder commentedon Oct 18, 2026
Sequencing note (2026-10-18): CodoMetis.ValueRanges' integration suite and consumer smoke test now reference
EFCore.ComplexIndexes.PostgreSQL5.4.0 (its PRs CaffeinatedCoder/EFCore.ComplexIndexes#158/#159), whose Npgsql EF pin[10.0.0, 11.0.0)cannot restore onnet11.0. ValueRanges' retarget (its CaffeinatedCoder/EFCore.ComplexIndexes#103) therefore waits for this preview, or excludes those tests onnet11.0until it exists. This issue goes first in the cross-repo order.CaffeinatedCoder commentedon Oct 18, 2026
Measured on the
net11branch (PR CaffeinatedCoder/EFCore.ComplexIndexes#47, draft), 2026-10-18:Npgsql.EntityFrameworkCore.PostgreSQL11.0.0-rc.1.1 pinsMicrosoft.EntityFrameworkCoreto exactly11.0.0-rc.1.26425.128, so rc.2 fails to restore (NU1107) in the PostgreSQL satellite, the test project and any consumer. One-line bump per csproj once Npgsql rc.2 is on NuGet.[11.0.0-rc.1.26425.128, 12.0.0)/[11.0.0-rc.1.1, 12.0.0):[11.0.0, 12.0.0)excludes every prerelease and cannot restore today; moves to11.0.0at GA.apicompat;dotnet pack's package validation is blind across the framework drop (PKV006 suppressed) — Package validation on the SchemaKit line: no baseline until 11.0.0 #6.[-]Retarget to net11.0 / EF Core 11 RC2 / Npgsql 11 RC on a net11 branch and publish 11.0.0-preview.1[/-][+]SchemaKit 11.0.0-preview.1: retarget main to EF Core 11 / Npgsql 11 rc.2 under the new ids[/+][-]SchemaKit 11.0.0-preview.1: retarget main to EF Core 11 / Npgsql 11 rc.2 under the new ids[/-][+]SchemaKit 11.0.0-preview.1: the first slice of the new API, on EF Core 11 / Npgsql 11 under the new ids[/+]CaffeinatedCoder commentedon Nov 14, 2026
Proposed 2026-11-14, after the pre-preview review of
main@ 948496a. Not decided: the maintainer's call on each line, and on the gate at the end. Four analysts ran the code on PostgreSQL 16 and 18, GPT read it cold twice and debated the plan and the architecture in five rounds; every finding below was reproduced before it was filed.What the review found
Baseline green: 512 kernel tests, 176 of the PostgreSQL package with the live ones, 125 probes. From a packed consumer outside the repository every runtime and design-time path is sound on both servers (the table on #34), and so are the snapshot round trip and the 5.x exclusion handover by catalog. Thirteen defects: #98 to #110.
The path to
preview.1The feature is wrong without these:
public.It freezes, or keeps a later step open:
PredicateandKeyTargetshow is settled.preview.1snapshot, said in the release notes.It cannot ship without these:
release.ymlwith the prerelease path and three pack checks (the exact pin, a README in each package, symbols). The rest of the port waits.migrations add,migrations remove).Cheap, and better before than after: #104, #108, #109, #107.
Not in
preview.1: the binder (#114), the timeline (#115), the effect adapters (#116), the measured impact table (#117), the landing function (#118) and the second provider (#119), which arepreview.2's withPgIndex(#27);Sql.Raw<T>in an element (#25); the epoch corpus and the two open resolver rules (#33, #43); #22; a guard for #105, which gets a line in the guide and a report upstream.The gate, for the maintainer
preview.1on this path, the stored form of a template declared not final.Both reviewers argue for A, GPT on one condition: that #112 can specify the unmarked value API now so that binding later changes no public answer. If it cannot, B. The strongest case for B is that only a real second provider finds a mistake in a public value that reading does not.
CaffeinatedCoder commentedon Nov 17, 2026
Decided 2026-11-17 by the maintainer: the rest of #112 (what
PredicateandKeyTargetshow a consumer, and refusing a literal compared with a converted property and a nullable path) moves topreview.2, with #114. Its first point shipped in #132 and the cast refusal in #103. A preview promises nothing (#9), which answers the condition above: the value API may change inpreview.2.CaffeinatedCoder commentedon Nov 17, 2026
Pre-tag review of
948496a..0ee827d, 2026-11-17. It covered every file undersrc/the range changed, plus the tests beside them. It ran the skillmigration-safety-reviewand one code-analyst with 59 seeded mutations, and every finding below was reproduced on0ee827d.Nothing found blocks the tag. Filed for after it:
charcolumn compared with a number outside 0..65535 is stored as another character (silent, medium). It predates the range and is reached only by a number no character has.KeepInPlacerules are held by no test (low). Each failure they would let through is loud.RequireKernelas the first call of each registration (low)."[]"on a TPC root is refused (low). No published 5.x writes it.PgExclusionImpactOfcompares a target-named table with source-named key columns (low). Today it answers with the more conservative choice.Found sound:
IsOwnin both diff directions and inHasDifferences(snapshot, snapshot).KeepInPlaceover swaps, chains, and names EF Core takes, gives up or renames.GoesWith/KeyColumns.NoInliningsplit.ConvertCheckedand the enum refusal.[ConstantExpected].Offline suites on
0ee827d: kernel 725, PostgreSQL 180, second provider 85, all passing.Not covered: no server was running, so none of the live tests ran (PostgreSQL 16/18, SQL Server), nor the consumer smoke test with
Mixed/.release.ymlwas not run again beyond #14's dry run.