Repository navigation
[8.0] Fix date/time mapping round-tripping and cloning - #4039
Merged
Merged
Conversation
This was
linked to
issues
Oct 18, 2026
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.
Backports #4022, using its final merged commit b038505, to
hotfix/8.0.12.All four bugs are present on 8.0:
TimestampTzMultirangewhen cloning array/listIntervalmappings and configuring parameters.DateTimeOffsetoffsets intimetzSQL literals, embedded literals and JSON. Retain whole-hour output and share invariant formatting.LocalDateTimetimestamp mappings.ZonedDateTimeJSON as a fixed-offset zone. Leave its writer, persisted representation and six-digit precision unchanged; the original named zone is not recoverable from this format.The product changes are limited to the four mapping classes. No query-pipeline, dependency, unrelated BCE formatting or persisted-format changes are included. Adapt the source JSON query regressions to EF8
OwnsOne/OwnsManywithToJson, asserting exact EF8 SQL for scalar and recordset queries. Cover primitive collections through whole-document materialization because EF8 does not translate the newer JSON primitive-collection query shape.Verification on .NET SDK 8.0.425 / PostgreSQL 18.4:
timetzJSON functional regressions: 4 passed.Fixes #4018
Fixes #4019
Fixes #4020
Fixes #4021