Skip to content

Sync to EF 11.0.0-preview.4.26210.110#3809

Merged
roji merged 1 commit intomainfrom
roji/sync-to-latest-ef
Apr 13, 2026
Merged

Sync to EF 11.0.0-preview.4.26210.110#3809
roji merged 1 commit intomainfrom
roji/sync-to-latest-ef

Conversation

@roji
Copy link
Copy Markdown
Member

@roji roji commented Apr 13, 2026

Updates the EF Core dependency from 11.0.0-preview.4.26203.108 to 11.0.0-preview.4.26210.110.

Changes

  • Directory.Packages.props: Updated EFCoreVersion, MicrosoftExtensionsVersion, and MicrosoftExtensionsConfigurationVersion
  • global.json: Updated .NET SDK to 11.0.100-preview.4.26210.111 (required due to assembly version mismatch — new EF references DI.Abstractions 11.0.0.0)
  • NpgsqlUpdateSqlGenerator.cs: Adapted to new structured JsonPath type (was string)
  • JsonQueryNpgsqlTest.cs / OwnedJsonCollectionNpgsqlTest.cs: SQL baselines updated (fewer columns in jsonb_to_recordset type definitions)
  • NavigationsBulkUpdateNpgsqlTest.cs: New test class implementing NavigationsBulkUpdateRelationalTestBase

EF Core PRs requiring changes

Copilot AI review requested due to automatic review settings April 13, 2026 07:55
Copy link
Copy Markdown

Copilot AI left a comment

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.4.26210.110, aligning dependencies, adapting provider code to EF’s updated JSON path representation, and updating/adding functional tests to match new EF behaviors and baselines.

Changes:

  • Bumps EF Core + Microsoft.Extensions package versions and updates the pinned .NET SDK.
  • Updates NpgsqlUpdateSqlGenerator to work with EF’s new structured JsonPath type for JSON partial updates.
  • Updates JSON SQL baselines and adds a new navigation bulk update test class for new EF coverage.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/EFCore.PG.FunctionalTests/Query/JsonQueryNpgsqlTest.cs Updates SQL baselines to match EF’s revised JSON recordset/type-shape output.
test/EFCore.PG.FunctionalTests/Query/Associations/OwnedJson/OwnedJsonCollectionNpgsqlTest.cs Updates owned-JSON association baselines (recordset column definitions reduced).
test/EFCore.PG.FunctionalTests/Query/Associations/Navigations/NavigationsBulkUpdateNpgsqlTest.cs Adds a new provider-specific bulk update test class (EF base added upstream).
src/EFCore.PG/Update/Internal/NpgsqlUpdateSqlGenerator.cs Adapts JSON partial update SQL generation to EF’s structured JsonPath.
global.json Pins repo SDK to 11.0.100-preview.4.26210.111 to match updated dependency assembly versions.
Directory.Packages.props Updates EF Core + Microsoft.Extensions package versions to preview.4.26210.110.

@roji roji force-pushed the roji/sync-to-latest-ef branch from d149870 to 3d7e3b5 Compare April 13, 2026 08:11
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@roji roji force-pushed the roji/sync-to-latest-ef branch from 3d7e3b5 to f76ddae Compare April 13, 2026 09:19
Copilot AI review requested due to automatic review settings April 13, 2026 09:19
Copy link
Copy Markdown

Copilot AI left a comment

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.4.26210.110, updating dependency versions and adapting provider/test code to upstream EF changes (notably structured JsonPath and new bulk update navigation tests).

Changes:

  • Bumped EF Core + Microsoft.Extensions package versions and updated the pinned .NET SDK in global.json.
  • Updated NpgsqlUpdateSqlGenerator to work with EF’s new structured JsonPath representation for JSON partial updates.
  • Updated JSON SQL baselines and added a new NavigationsBulkUpdateNpgsqlTest class to align with upstream relational test coverage.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/EFCore.PG.FunctionalTests/Query/JsonQueryNpgsqlTest.cs Updates SQL baselines for JSON collection queries (recordset column definitions / aliases).
test/EFCore.PG.FunctionalTests/Query/Associations/OwnedJson/OwnedJsonCollectionNpgsqlTest.cs Updates SQL baselines for owned JSON collection association tests.
test/EFCore.PG.FunctionalTests/Query/Associations/Navigations/NavigationsBulkUpdateNpgsqlTest.cs Adds new navigation bulk update test class aligned with EF relational base tests and PG-specific expectations.
src/EFCore.PG/Update/Internal/NpgsqlUpdateSqlGenerator.cs Adapts JSON partial update SQL generation to structured JsonPath segments/ordinals.
global.json Pins .NET SDK to a newer preview required by updated EF dependencies.
Directory.Packages.props Bumps EFCore and Microsoft.Extensions package versions to the new preview.

@roji roji merged commit b3b562e into main Apr 13, 2026
17 checks passed
@roji roji deleted the roji/sync-to-latest-ef branch April 13, 2026 09:32
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