v5.0.3
What changed in 5.0.3
A packaging and documentation release. No behaviour changes to the differ or the generated SQL.
- Changed: the EF Core dependency now declares an exclusive upper bound —
[10.0.0, 11.0.0)onMicrosoft.EntityFrameworkCore.Abstractionsfor the core package, and on the provider package for each satellite. This package subclassesMigrationsModelDifferand calls internals EF marks as changeable without notice in any release, so an open-ended>= 10.0.0let NuGet resolve a future major where the differ can break — surfacing as a confusingdotnet effailure in your project rather than anywhere visible from here. Nothing changes for existing consumers: NuGet resolves the lowest version in a range, so restore still picks 10.0.0. Adopting EF Core 11 will need a release that lifts the ceiling deliberately, once the differ has been tested against it. - New: the public API is now fully documented, so IntelliSense no longer comes up empty on the fluent API, the annotation keys,
CompositeIndexDefinition, orIndexPartDefinition. The shipped.xmlhad 64 holes in it;TreatWarningsAsErrorsnow keeps it complete. - Tests: a consumer smoke test runs on every PR and on release. It packs the packages, installs them into a throwaway project created outside this repository, and runs a real
dotnet ef migrations add— then asserts on the scaffolded content, because the failure it guards against is a migration that succeeds while silently omitting every index. Nothing previously exercised the delivery chain end to end: NuGet restore, the packaged.targetsinjecting the design-time attribute, EF's host discovering it, and the right differ winning.