Repository navigation
fix: correct the EF Core major guard's message and banners (#74) - #75
Merged
Merged
Conversation
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]>
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
[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.2sorts below11.0.0and is inside the range. Measured with SDK 11.0.100-rc.2:EFCore.ComplexIndexes.PostgreSQL5.4.1 plusNpgsql.EntityFrameworkCore.PostgreSQL11.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).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.{Major}.{Minor}of an assembly version whose minor is always 0.Change
ROADMAP.mdsection 3 makes the same NU1608 claim; it is being rewritten by the SchemaKit design work (#61), so I left it to that PR.Tests
EfCoreVersionGuardTests: the 12 refusal rows assert the major-only version and the Epic: CodoMetis.EFCore.SchemaKit 11.0.0 — the EF Core 11 successor CodoMetis.EFCore.SchemaKit#1 link.EfCoreVersionGuard.csreverted, all 12 rows fail.DocumentationLinkTestspasses over the new absolute links.🤖 Generated with Claude Code