You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
10.x: read an exclusive infinite date bound as memory loads it (port of #489) #502
area/range-setRangeSet and multirange algebraarea/rangesRange unions, variants and the shape enginesbugSomething isn't workingpackage/efcoreAffects CodoMetis.ValueRanges.EFCore.PostgreSQLpackage/efcore-nodatimeAffects CodoMetis.ValueRanges.EFCore.PostgreSQL.NodaTimeseverity/lowCosmetic, message or documentation-level differencesilentAnswers wrongly without throwing — fixes go in the next major, never deferred
On release/10.x, LowerBound(), UpperBound() and Clamp in a query read a date range another tool wrote with an exclusive infinite bound one day wider than memory loads it (#489). ClampFunction there reads the same UpperBoundFunction (upper(x) - 1) and lower(x) as on main, read at 61308c6. 10.4.0's own changelog says Clamp "answers as memory does, at the extremes too", and #494 made Clamp on DateRange and LocalDateRange run as SQL in this release, so without the port 10.4.0 ships a new disagreement next to a release note that denies it.
Change
Cherry-pick #489's fix commits from main with -x into a PR against release/10.x: the bound readers, their translation and live tests, and the docs.
10.x specifics: the changelog row goes under ### Changed answers in [10.4.0], linking #489 and its migration section. docs/migration.md lists that section under ## Changed answers in 10.4.0, beside #496's. pr-hygiene.sh requires both for a silent PR into a minor.
Done when
On release/10.x, the tests pass on the EF Core 10.0.0 floor and on CI's newest-patch leg, on PostgreSQL 16 and 18, and fail with the fix reverted.
Release
### Changed answers in 10.4.0. Fixed only on release/10.x, so close it by hand.
Fixed on release/10.x by PR #504 (a958bef), the port of #489 (PR #503, 2949415 on main). Ships in 10.4.0 under ### Changed answers. Closed by hand, since Closes acts only on main.
area/range-setRangeSet and multirange algebraarea/rangesRange unions, variants and the shape enginesbugSomething isn't workingpackage/efcoreAffects CodoMetis.ValueRanges.EFCore.PostgreSQLpackage/efcore-nodatimeAffects CodoMetis.ValueRanges.EFCore.PostgreSQL.NodaTimeseverity/lowCosmetic, message or documentation-level differencesilentAnswers wrongly without throwing — fixes go in the next major, never deferred
Activity
Merge pull request #504 from CaffeinatedCoder/fix/502-exclusive-infin…
CaffeinatedCoder commentedon Oct 26, 2026
Fixed on
release/10.xby PR #504 (a958bef), the port of #489 (PR #503, 2949415 onmain). Ships in 10.4.0 under### Changed answers. Closed by hand, sinceClosesacts only onmain.