Skip to content

fix: correct the EF Core major guard's message and banners (#74) - #75

Merged
CaffeinatedCoder merged 3 commits into
mainfrom
fix/74-guard-wording
Oct 20, 2026
Merged

CaffeinatedCoder merged 3 commits into
mainfrom
fix/74-guard-wording

Conversation

@CaffeinatedCoder

Copy link
Copy Markdown
Owner

Closes #74

Problem

The text that ships with the EF Core major guard (#55) misstated three things, and the exception message and the packed READMEs are frozen on nuget.org once 5.5.0 is tagged:

  • NU1608. The message, the guard's remarks, the four changelogs and the tests said a direct EF Core 11 reference overrides the [10.0.0, 11.0.0) range "with warning NU1608", and the root changelog told users to look for it. During the EF Core 11 release candidates there is no warning: 11.0.0-rc.2 sorts below 11.0.0 and is inside the range. Measured with SDK 11.0.100-rc.2: EFCore.ComplexIndexes.PostgreSQL 5.4.1 plus Npgsql.EntityFrameworkCore.PostgreSQL 11.0.0-rc.2 on net11.0 restores EF Core 11 rc.2 with no NU1608 and no warning (the consumer probe of the 5.5.0 candidate saw the same).
  • The banner in all four READMEs read "Use CodoMetis.EFCore.SchemaKit, the successor to this package, which serves EF Core 10 only", which says SchemaKit serves EF Core 10 only. It and the message named a package with no release and no place to look.
  • The version in the message was {Major}.{Minor} of an assembly version whose minor is always 0.

Change

ROADMAP.md section 3 makes the same NU1608 claim; it is being rewritten by the SchemaKit design work (#61), so I left it to that PR.

Tests

🤖 Generated with Claude Code

Three statements that shipped with #55 were wrong, and the message and
the packed READMEs freeze on nuget.org with the tag:

- NU1608. A direct EF Core 11 reference was said to override the
  [10.0.0, 11.0.0) range "with warning NU1608", and the changelog told
  users to look for that warning. During the release candidates there
  is none: 11.0.0-rc.2 sorts below 11.0.0 and is inside the range
  (measured: net11.0, EFCore.ComplexIndexes.PostgreSQL 5.4.1 plus Npgsql
  11.0.0-rc.2 restores EF Core 11 rc.2 with no warning). NU1608 comes
  only with a release.
- The banner's "the successor to this package, which serves EF Core 10
  only" said SchemaKit serves EF Core 10 only, and like the message it
  named a package with no release, with nowhere to look. Both now point
  to #37.
- The message printed "EF Core {Major}.{Minor}" from an assembly version
  whose minor is always 0. It names the major.

Verified by reverting the guard: all 12 "EF Core 11 is refused" rows
fail on the new assertions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CaffeinatedCoder CaffeinatedCoder added this to the 5.5.0 milestone Oct 19, 2026
@CaffeinatedCoder CaffeinatedCoder added bug Something isn't working severity/low Cosmetic, message or documentation-level difference package/core Affects EFCore.ComplexIndexes package/postgresql Affects EFCore.ComplexIndexes.PostgreSQL package/sqlserver Affects EFCore.ComplexIndexes.SqlServer area/migrations The differs, snapshot format, EnsureCreated and design-time wiring labels Oct 19, 2026
CaffeinatedCoder and others added 2 commits October 20, 2026 06:42
The union merge left #74's reworded entry above '### Changed answers' beside main's original under '### Changed'.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@CaffeinatedCoder
CaffeinatedCoder merged commit 163cd40 into main Oct 20, 2026
@CaffeinatedCoder
CaffeinatedCoder deleted the fix/74-guard-wording branch October 20, 2026 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/migrations The differs, snapshot format, EnsureCreated and design-time wiring bug Something isn't working package/core Affects EFCore.ComplexIndexes package/postgresql Affects EFCore.ComplexIndexes.PostgreSQL package/sqlserver Affects EFCore.ComplexIndexes.SqlServer severity/low Cosmetic, message or documentation-level difference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EF Core major guard: the message and banners misstate NU1608, the successor and the version

1 participant