Skip to content

docs: name the two known differences 10.2.0 ships with (10.x, #397) - #398

Merged
CaffeinatedCoder merged 2 commits into
release/10.xfrom
docs/397-known-differences-10.x
Oct 25, 2026
Merged

CaffeinatedCoder merged 2 commits into
release/10.xfrom
docs/397-known-differences-10.x

Conversation

@CaffeinatedCoder

Copy link
Copy Markdown
Owner

Closes #397

Problem

10.2.0 (#358) defers two silent differences between a query and the same LINQ over the loaded rows, and the docs mention neither:

Change

  • docs/efcore.md: a new "Known differences in 10.2.0" part at the end of "What runs where", with each case, its workaround and the port issue that fixes it.
  • docs/ranges.md#sort-ranges-the-way-a-set-does: one sentence linking the comparer entry.
  • Root and EF Core changelogs: a Docs: row under ### Fixed in [10.2.0]. It links release/10.x's efcore.md, because main won't get this part: both fixes land there before 11.0.0. Each port removes its entry.

Tests

Docs only. The workarounds and the SQL shown were measured on release/10.x against PostgreSQL 16, on EF Core 10.0.0 and on 10.0.13 with Npgsql 10.0.3, with a scratch test (not committed):

  • x == null ? null : x.Union(o) and label == null ? null : tags.Remove(label) project NULL for the NULL rows, and the plain calls project o and tags.
  • comparer.Compare(r.Period, p) == 0 becomes WHERE r."Period" = @p and selects one row where memory selects three.

The conventions (408) and ASP.NET Core (92) tests pass.

Fixed only on release/10.x, so close #397 by hand after the merge (#365).

🤖 Generated with Claude Code

A value set Union or Remove over NULL loads a value in a projection
where a filter treats it as NULL (#360, port #395), and
RangeLowerBoundComparer in a query compares in the range order because
EF Core rewrites any Compare(a, b) (#385, port #396). Both stay out of
10.2.0; docs/efcore.md now names each with its workaround and fix, and
docs/ranges.md links the comparer entry. 10.x only: main fixes both
before 11.0.0.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CaffeinatedCoder
CaffeinatedCoder merged commit 2cb5d7b into release/10.x Oct 25, 2026
10 checks passed
@CaffeinatedCoder
CaffeinatedCoder deleted the docs/397-known-differences-10.x branch October 25, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ranges Range unions, variants and the shape engines area/value-sets Value set families and wrapper arities documentation Improvements or additions to documentation package/core Affects CodoMetis.ValueRanges package/efcore Affects CodoMetis.ValueRanges.EFCore.PostgreSQL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant