Skip to content

Sync to EF 11.0.0-preview.3.26155.101#3769

Merged
roji merged 1 commit intonpgsql:mainfrom
roji:sync-ef-preview3
Mar 5, 2026
Merged

Sync to EF 11.0.0-preview.3.26155.101#3769
roji merged 1 commit intonpgsql:mainfrom
roji:sync-ef-preview3

Conversation

@roji
Copy link
Copy Markdown
Member

@roji roji commented Mar 5, 2026

Summary

Syncs the EFCore.PG provider to EF Core daily build version 11.0.0-preview.3.26155.101 (from 11.0.0-preview.2.26154.117).

Test Results

  • Unit tests: All 492 passed
  • Functional tests: 28,099 passed, 273 skipped, 1 pre-existing infrastructure failure (DefaultValuesTest.Can_use_Npgsql_default_values - PostgreSQL database connectivity issue unrelated to this change)

EF Core PRs that required EFCore.PG changes

  • dotnet/efcore#37681 - Allow query test classes to have non-shared tests: Major test infrastructure refactoring:
    • TestStoreFactoryNonSharedTestStoreFactory
    • AddOptionsAddNonSharedOptions
    • StoreNameNonSharedStoreName
    • InitializeAsync<T>InitializeNonSharedTest<T>
    • CreateContext()CreateDbContext()
    • Merged NonSharedPrimitiveCollectionsQueryRelationalTestBase into PrimitiveCollectionsQueryRelationalTestBase
    • IQueryFixtureBase interface expanded → switched fixtures to QueryFixtureBase<T>
    • Added SetParameterizedCollectionMode abstract method and many new parameterized collection tests
  • dotnet/efcore#37732 - Rename JsonExists to JsonPathExists: Renamed test methods and changed RemoveJsonProperty signature from JSON path ($.PropertyName) to simple property name
  • dotnet/efcore#37791 - Fix ExecuteUpdate over scalar projections: Added new bulk update test methods
  • dotnet/efcore#37747 - Fix projection of entities with complex collections through subqueries: Select_subquery_FirstOrDefault_complex_collection TrackAll behavior change
  • dotnet/efcore#37829 - Model building and change tracking changes to avoid loading vector properties: Added ArrayValue column to TypeEntity, requiring updated SQL baselines in all type tests

Changes

  • Updated Directory.Packages.props to reference EF Core 11.0.0-preview.3.26155.101
  • 56 files changed across test projects to adapt to EF Core API/test infrastructure changes
  • Deleted NonSharedPrimitiveCollectionsQueryNpgsqlTest.cs (content merged into PrimitiveCollectionsQueryNpgsqlTest.cs)

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@roji roji merged commit 76e84e1 into npgsql:main Mar 5, 2026
19 of 20 checks passed
@roji roji deleted the sync-ef-preview3 branch March 5, 2026 21:35
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