Skip to content

Sync to EF 11.0.0-preview.6.26327.103#3870

Open
roji wants to merge 1 commit into
mainfrom
roji-sync-latest-ef
Open

Sync to EF 11.0.0-preview.6.26327.103#3870
roji wants to merge 1 commit into
mainfrom
roji-sync-latest-ef

Conversation

@roji

@roji roji commented Jun 28, 2026

Copy link
Copy Markdown
Member

Summary

Sync EFCore.PG to EF Core 11.0.0-preview.6.26327.103.

Changes made:

  • Updated EF Core and Microsoft.Extensions package versions.
  • Aligned NpgsqlCSharpRuntimeAnnotationCodeGenerator.Create with the new EF Core runtime annotation generator API.
  • Updated renamed primitive-collection spec test overrides.
  • Refreshed SQL baselines affected by EF query/test changes.

EF-side PRs requiring EFCore.PG updates

Validation

  • dotnet build --no-restore
  • dotnet test --no-build

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 28, 2026 16:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Syncs EFCore.PG to EF Core 11.0.0-preview.6.26327.103, updating the provider and its test suite to remain compatible with EF’s latest preview APIs and SQL-generation behavior.

Changes:

  • Bumped EF Core and Microsoft.Extensions package versions to 11.0.0-preview.6.26327.103.
  • Updated NpgsqlCSharpRuntimeAnnotationCodeGenerator.Create override to match EF Core’s updated runtime annotation generator API.
  • Updated/renamed spec test overrides and refreshed SQL baselines impacted by EF query translation changes (notably null-propagation optimizations).
Show a summary per file
File Description
Directory.Packages.props Updates EF Core and Microsoft.Extensions pinned preview versions.
src/EFCore.PG/Design/Internal/NpgsqlCSharpRuntimeAnnotationCodeGenerator.cs Aligns the Create override with the updated EF Core API surface.
test/EFCore.PG.FunctionalTests/Update/JsonUpdateNpgsqlTest.cs Refreshes JSON update SQL parameter baselines to match new EF behavior.
test/EFCore.PG.FunctionalTests/Query/SpatialQueryNpgsqlGeometryTest.cs Updates baseline SQL to reflect EF null-propagation simplification around spatial function calls.
test/EFCore.PG.FunctionalTests/Query/SpatialQueryNpgsqlGeographyTest.cs Same as above, for geography.
test/EFCore.PG.FunctionalTests/Query/PrimitiveCollectionsQueryNpgsqlTest.cs Updates renamed primitive-collection spec test override method names to match upstream.

Review details

  • Files reviewed: 7/7 changed files
  • Comments generated: 0
  • Review effort level: Low

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants