Skip to content

chore: move the floors from rc.3 to EF Core and Npgsql 11.0.0 - #176

Merged
CaffeinatedCoder merged 2 commits into
mainfrom
chore/npgsql-11-floors
Nov 24, 2026
Merged

CaffeinatedCoder merged 2 commits into
mainfrom
chore/npgsql-11-floors

Conversation

@CaffeinatedCoder

@CaffeinatedCoder CaffeinatedCoder commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Closes #174
Closes #175

Problem

Npgsql EF 11.0.0 is out and depends on EF Core [11.0.0, 12.0.0). Every reference here still named rc.3, which Npgsql's rc.3 pinned to one exact EF Core build.

On the rerun of spike B, two defects of the consumer scripts showed, neither in EF Core (#175):

  • The SDK keeps a record of where a local tool's files are, by tool and version, under its home. A run that restored dotnet-ef into its work folder left an entry for a folder that is gone, and the next run found no dotnet-ef.
  • On macOS mktemp's folder is under a symbolic link. dotnet ef built the consumer under the resolved path, and the next build under the other spelling deleted that build's deps.json and runtimeconfig.json.

Change

  • The kernel references Microsoft.EntityFrameworkCore.Relational [11.0.0, 12.0.0), the PostgreSQL package Npgsql.EntityFrameworkCore.PostgreSQL [11.0.0, 12.0.0). The kernel is still pinned at exactly the package's own version.
  • The tests, the probes and the spikes reference 11.0.0, the floor.
  • The direct reference to System.Security.Cryptography.Pkcs of The test and spike projects restore System.Security.Cryptography.Pkcs 9.0.18, which has a high and a moderate advisory #67 is gone: the SQL Server provider 11.0.0 asks for a later one, which made it a downgrade (NU1605). The build reports no advisory without it.
  • README, the PostgreSQL package's README, the 5.x guide, CLAUDE.md and the plan's section 8 say what holds now, including what the published 11.0.0-preview.1 does beside Npgsql EF 11.0.0.
  • Spike B, spike D and the consumer smoke test give the SDK a home inside the run's work folder; spike B takes the physical path of its work folder, as the other two do.
  • No changelog line: the version is still the tagged 11.0.0-preview.1, and the line belongs to the next version's section.

Tests

Measured on 2026-11-24, on the driver Npgsql 11.0.0 (rc.3 ran on 10.0.3):

  • The solution builds without a warning. Offline: 726 of the kernel's tests, 180 of the PostgreSQL package's, 85 of the second provider's; 127 probes.

  • Live: 4 of the kernel's and 73 of the PostgreSQL package's on PostgreSQL 16 and on 18; the second provider's 86 on SQL Server 2022.

  • The consumer smoke test passes its 47 rows on PostgreSQL 18. NU1608 appears once, in the row that asks for it.

  • Spike A: 69 conditions. Spike B: 62 rows on PostgreSQL 18, one not run (SQLite has no idempotent scripts), and twice in a row without a server, which is what failed before the script fixes (40 paths, then 12).

  • The packed nuspecs name both ranges and the kernel at [11.0.0-preview.1].

  • Spike D, whose script got the same one-line fix: every cell answers as its table says on PostgreSQL 16, 18 and SQL Server 2022, through psql and sqlcmd as well.

🤖 Generated with Claude Code

CaffeinatedCoder and others added 2 commits November 24, 2026 21:47
Npgsql EF 11.0.0 depends on EF Core [11.0.0, 12.0.0), no longer on one
exact build. The kernel references Microsoft.EntityFrameworkCore.Relational
by that range and the PostgreSQL package Npgsql.EntityFrameworkCore.PostgreSQL
by the same; the tests, the probes and the spikes reference 11.0.0, the floor.

The SQL Server provider 11.0.0 asks for a later
System.Security.Cryptography.Pkcs than the direct reference of #67 named,
which made that reference a downgrade (NU1605). It is gone, and the build
reports no advisory without it.

Closes #174

Co-Authored-By: Claude Fable 5.2 <[email protected]>
The SDK records where a local tool's files are under its home, by tool and
version, and keeps an entry whose folder is gone. A run that restored
dotnet-ef into a work folder left such an entry, and the next run of the
same tool version found no dotnet-ef. Spike B, spike D and the consumer
smoke test now give the SDK a home inside the run's own work folder.

Spike B also takes its work folder's physical path, as the other two do.
On macOS mktemp's folder is under a symbolic link: dotnet ef built the
consumer under the resolved path, and the next build under the other
spelling deleted that build's deps.json and runtimeconfig.json.

Closes #175

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@CaffeinatedCoder CaffeinatedCoder added this to the 11.0.0 milestone Nov 24, 2026
@CaffeinatedCoder CaffeinatedCoder added chore Build, CI, packaging, refactoring with no behaviour change package/core Affects CodoMetis.EFCore.SchemaKit (the kernel) package/postgresql Affects CodoMetis.EFCore.SchemaKit.PostgreSQL area/release Versioning, changelogs, release wiring labels Nov 24, 2026
@CaffeinatedCoder
CaffeinatedCoder merged commit f5a0d6d into main Nov 24, 2026
12 checks passed
@CaffeinatedCoder
CaffeinatedCoder deleted the chore/npgsql-11-floors branch November 24, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/release Versioning, changelogs, release wiring chore Build, CI, packaging, refactoring with no behaviour change package/core Affects CodoMetis.EFCore.SchemaKit (the kernel) package/postgresql Affects CodoMetis.EFCore.SchemaKit.PostgreSQL

Projects

None yet

1 participant