Skip to content

Sync to EF 11.0.0-preview.3.26174.112#3793

Merged
roji merged 1 commit intonpgsql:mainfrom
roji:sync-ef-26174
Mar 25, 2026
Merged

Sync to EF 11.0.0-preview.3.26174.112#3793
roji merged 1 commit intonpgsql:mainfrom
roji:sync-ef-26174

Conversation

@roji
Copy link
Copy Markdown
Member

@roji roji commented Mar 25, 2026

Update EF Core daily build from 11.0.0-preview.3.26167.112 to 11.0.0-preview.3.26174.112.

Changes

  • Updated EFCoreVersion, MicrosoftExtensionsVersion, and MicrosoftExtensionsConfigurationVersion in Directory.Packages.props
  • Added missing test overrides for new EF Core tests:
    • NorthwindBulkUpdatesNpgsqlTest.Update_Where_set_nullable_int_constant_via_discard_lambda
    • ComplexJsonCollectionNpgsqlTest.Project_struct_complex_type_with_entity_collection_navigation

EF Core PRs requiring changes in EFCore.PG

  • dotnet/efcore#37975 — Fix SetProperty discard lambda failing for nullable value type properties in ExecuteUpdate (added Update_Where_set_nullable_int_constant_via_discard_lambda test)
  • dotnet/efcore#37934 — Fix struct complex type boxing in collection materialization (added Project_struct_complex_type_with_entity_collection_navigation test)

Test results

All tests pass:

  • Unit tests: 492 passed, 6 skipped
  • Functional tests: 28,117 passed, 273 skipped, 0 failures

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 25, 2026 15:02
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

Updates EFCore.PG to align with EF Core 11.0.0-preview.3.26174.112 daily builds, including adding provider-side SQL assertion overrides for newly introduced upstream EF tests.

Changes:

  • Bumped EF Core and Microsoft.Extensions preview package versions in Directory.Packages.props.
  • Added missing functional test override asserting SQL for Project_struct_complex_type_with_entity_collection_navigation.
  • Added missing bulk update test override asserting SQL for Update_Where_set_nullable_int_constant_via_discard_lambda.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
Directory.Packages.props Updates EF Core + Microsoft.Extensions preview version properties used across the repo.
test/EFCore.PG.FunctionalTests/Query/Associations/ComplexJson/ComplexJsonCollectionNpgsqlTest.cs Adds the missing override and AssertSql baseline for the new EF complex JSON collection test.
test/EFCore.PG.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesNpgsqlTest.cs Adds the missing override and AssertExecuteUpdateSql baseline for the new EF ExecuteUpdate discard-lambda test.

@roji roji enabled auto-merge (squash) March 25, 2026 15:10
@roji roji disabled auto-merge March 25, 2026 15:16
@roji roji merged commit db5d68e into npgsql:main Mar 25, 2026
13 of 14 checks passed
@roji roji deleted the sync-ef-26174 branch March 25, 2026 15:17
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