Skip to content

Publish 11.0.0-preview.1 on the .NET 11 GA SDK and Npgsql's provider rc.3 #332

Open

Description

@CaffeinatedCoder

Problem

main has been on net11.0 since #292 (closed CaffeinatedCoder/EFCore.ComplexIndexes#103), but no 11 preview is on nuget.org. Two things wait for one:

Rescoped 2026-11-11. .NET 11 is generally available, and Npgsql.EntityFrameworkCore.PostgreSQL is at 11.0.0-rc.3, which pins EF Core rc.3 exactly. So preview.1 ships on the GA SDK and rc.3, not on rc.2 as the title said. A consumer has to hold EF Core at rc.3 beside it; the release notes say so.

Change

Done when

The four packages at 11.0.0-preview.1 are served by nuget.org's flat container. Checking that is enough; the release run's success doesn't show it, because publication lags by a few minutes.

Activity

  1. added this to the 11.0.0 milestone on Oct 19, 2026
  2. added
    chore
    package/nodatime
    package/efcore
    area/release
    package/core
    package/efcore-nodatime
    on Oct 19, 2026
  3. CaffeinatedCoder commented on Oct 19, 2026

    @CaffeinatedCoder
    OwnerAuthor

    The floor bullet (Npgsql EF and its NodaTime plugin to 11.0.0-rc.2, EF Core Design rc.2 in the test projects) moves into CaffeinatedCoder/EFCore.ComplexIndexes#150's PR: INpgsqlRangeTypeMapping, which CaffeinatedCoder/EFCore.ComplexIndexes#150 implements, exists on rc.2 only. What stays here: re-running #292's behaviour changes and the AOT smoke leg on rc.2, #321–#323, and the tag.

  4. CaffeinatedCoder commented on Oct 19, 2026

    @CaffeinatedCoder
    OwnerAuthor

    Measured on main at f957eaf (after #335), on rc.2: .NET SDK 11.0.100-rc.2.26504.105, Npgsql.EntityFrameworkCore.PostgreSQL and .NodaTime 11.0.0-rc.2, Microsoft.EntityFrameworkCore.Design 11.0.0-rc.2.26504.105. Docker, CI=true, so a missing database fails instead of going Inconclusive.

    Every suite passes

    CodoMetis.ValueRanges.Tests                     Passed: 1397
    CodoMetis.ValueRanges.NodaTime.Tests            Passed:  238
    EFCore.PostgreSQL.Tests (translation)           Passed:  291   (EfCore11ShapeTests among them)
    EFCore.PostgreSQL.NodaTime.Tests                Passed:   83
    AspNetCore.Tests                                Passed:   92
    Conventions.Tests                               Passed:  404
    EFCore.PostgreSQL.IntegrationTests  on 16       Passed:  284   (EfCore11RetargetTests among them)
    InfinityDisabled.IntegrationTests   on 16       Passed:    4
    EFCore.PostgreSQL.IntegrationTests  on 18       Passed:  284
    InfinityDisabled.IntegrationTests   on 18       Passed:    4
    

    The #292 fixes are still needed on rc.2

    Each fix was stripped alone, its tests were run, then it was restored.

    #286, hour 24 (StartsWithHour24 made to return false). TemporalLiteralGrammarTests: 7 of 115 fail, for example Time_Rejects("24:00:00"), DateTime_Rejects("2027-02-01T24:00:00") and DateTimeOffset_Rejects("2026-01-01T24:00:00Z"): "Expected exception of exact type FormatException but no exception was thrown". The RC2 runtime still reads hour 24.

    #287, RangeSet.Contains (RangeSetContainsRewriter taken out of the interceptor). RangeSet_Contains_Set, _Value and _RangeColumn all fail, still inside EF Core:

    System.ArgumentException: Expression of type 'System.DateOnly' cannot be used for parameter of type 'CodoMetis.ValueRanges.DateRange' of method 'Boolean Contains[DateRange](System.Linq.IQueryable`1[CodoMetis.ValueRanges.DateRange], CodoMetis.ValueRanges.DateRange)' (Parameter 'arg1')
       at Microsoft.EntityFrameworkCore.Query.Internal.QueryableMethodNormalizingExpressionVisitor.TryConvertCollectionContainsToQueryableContains(MethodCallExpression methodCallExpression)
    

    #289, jsonb_set_lax ("jsonb_set_lax" removed from ValueSetSqlGuard's match). In ExecuteUpdateGuardTests 6 of 7 fail, and in ExecuteUpdateJsonTests (PostgreSQL 16) 6 fail. Npgsql rc.2 still writes jsonb_set_lax, so the error names the column:

    expected substring: "'Doc.Tags'"
    actual:             "'ExecuteUpdate' cannot set the value set 'Doc' inside a JSON column. …"
    

    #290, empty captured list (EmptyCollectionRewriter made to skip the cast). On PostgreSQL 16 and 18, AnEmptyCollection_*, AnEmptyCollectionAlone_* and AnEmptyCollectionBesideContains_* fail, 3 of 26 each:

    Npgsql.PostgresException: 42883: operator does not exist: text && int4range
    

    With every fix restored, the build is clean and the suites above pass.

    Native AOT smoke leg (#291)

    test/consumer-smoke-test.sh packed 11.0.0-preview.1 and ran all four consumers. The AOT consumer was published with Native AOT and run as a native binary, with no SMOKE_AOT_LINKER_ARGS. It got past the aot-float64set-wrapper-read line where #291 stopped:

          aot-float64set-wrapper-read={2.9802322387695312e-08,9.999999999999999e+22}
          aot-float32set-wrapper-read={0.1,1e+06}
      ok: AOT: a Float32Set<T> the program never constructs deserializes and prints real's text
      …
      ok: AOT: RangeIntersectAgg over RangeSets
    ==> postgres: asserting
      ok: … (7 checks)
    ==> complexindexes: skipped on net11.0 until EFCore.ComplexIndexes.PostgreSQL supports it (CaffeinatedCoder/EFCore.ComplexIndexes#38)
    
    consumer smoke test passed (11.0.0-preview.1)
    

    66 ok lines and no FAIL. The machine is osx-arm64.

    Before the tag

    The other three are open as PRs: #336 (#321), #338 (#322), #340 (#323). The tag and the nuget approval are left to the maintainer.

  5. changed the title [-]Publish 11.0.0-preview.1 on EF Core 11 / Npgsql 11 rc.2[/-] [+]Publish 11.0.0-preview.1 on the .NET 11 GA SDK and Npgsql's provider rc.3[/+] on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/releasechorepackage/corepackage/efcorepackage/efcore-nodatimepackage/nodatime

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions