Skip to content

Releases

v11.0.0

Choose a tag to compare

@roji roji released this 20 Nov 15:43
fd3674f

See the release notes.

The full list of changes is available here.

What's Changed

  • Depend on Npgsql 9.0.1 by @roji in #3376
  • Restore virtual modifier by @virzak in #3382
  • Add NullIf Translation for Ternary expressions by @WhatzGames in #3403
  • Regex replace and count by @WhatzGames in #3062
  • Depend on EF 10.0.0-alpha.1.24610.3 by @roji in #3409
  • Sync to EF 10.0.0-alpha.1.24620.1 by @roji in #3416
  • Reorganize translation tests by @roji in #3417
  • Annotate functional tests for nullability by @roji in #3418
  • Align test namespaces with the EF standard by @roji in #3419
  • Redo enum label addition by @roji in #3425
  • Add some tests around date/time mappings by @roji in #3432
  • Fix quoted enum handling by @roji in #3434
  • Sync to EF 10.0.0-alpha.1.24620.1 by @roji in #3435
  • Sync to 10.0.0-alpha.1.25074.3 by @roji in #3442
  • Fix calling base method in NpgsqlMigrationsSqlGenerator by @roji in #3443
  • Depend on EF 10.0.0-alpha.1.25068.1 by @roji in #3453
  • Sync to EF 10.0.0-preview.2.25103.6 by @roji in #3454
  • Generate UUIDv7 values for value-generated strings by @roji in #3462
  • Always close connection after reloading types in migration. by @marcusber in #3465
  • Sync to EF 10.0.0-preview.2.25103.6 by @roji in #3471
  • Fix nullability for IndexOf (array_position) by @roji in #3477
  • Preserve ConfigureDataSource() callback when applying other context options by @roji in #3482
  • Remove dotnet SDK version from CI (use global.json) by @roji in #3486
  • Stop include data source connection string in service provider hashcode by @roji in #3501
  • Migrate to SLNX by @roji in #3502
  • Switch to Ubuntu 24.04 in CI by @roji in #3503
  • Sync to EF 10.0.0-preview.3 by @roji in #3520
  • Parse float/double/decimal in scaffolding by @roji in #3541
  • Additional fixes to scaffolding by @roji in #3543
  • Sync to EF preview.4 by @roji in #3548
  • Sync to EF preview.5 by @roji in #3549
  • Make NpgsqlArrayConverter not throw for struct arrays by @roji in #3552
  • Sync to EF 10.0.0-preview.6.25314.101 by @roji in #3553
  • Sync to EF 10.0.0-preview.6.25321.102 by @roji in #3556
  • Reload types should close the newly opened connection. by @marcusber in #3561
  • Sync to EF 10.0.0-preview.7.25352.2 by @roji in #3558
  • Do CI testing for PG18 (beta) by @roji in #3569
  • Fix PG18 (beta) CI config by @roji in #3570
  • Translate Guid.CreateVersion7 by @roji in #3571
  • Support PG18 virtual generated columns by @roji in #3572
  • Switch to using Guid.CreateVersion7 in NpgsqlSequentialGuidValueGenerator by @roji in #3575
  • Add translations for NodaTime LocalDate.{At,AtMidnight} by @roji in #3577
  • Bump actions/checkout from 4 to 5 by @dependabot[bot] in #3594
  • Sync to EF 10.0.0-preview.7 by @roji in #3597
  • Sync to EF 10.0.0-rc.1.25416.111 by @roji in #3598
  • Update NpgsqlDbContextOptionsBuilder.cs by @erichiller in #3605
  • Sync to EF 10.0.0-rc.2.25431.101 by @roji in #3607
  • Vary array containment translation based on indexes by @roji in #3611
  • Bump actions/setup-dotnet from 4 to 5 by @dependabot[bot] in #3612
  • Sync to EF 10.0.0-rc.2.25468.104, partial update, JSON primitive collections revamp by @roji in #3623
  • Simplify SQL when copying JSON scalar properties across documents by @roji in #3627
  • Fix NpgsqlArrayConverter for one-directional conversions by @roji in #3629
  • Sync to EF 10.0.0-rc.2.25502.106 by @roji in #3630
  • Map IPNetwork <-> cidr by @roji in #3331
  • Bump github/codeql-action from 3 to 4 by @dependabot[bot] in #3632
  • Bump EF version to 10.0.0-rc.2.25502.107 by @roji in #3640
  • Ensure key name uniqueness by @roji in #3641
  • Fix store type name base for JSON-nested scalar collections by @roji in #3644
  • Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #3645
  • Rewrite NpgsqlDatabaseCreator.Exists() to do SELECT 1 by @roji in #3648
  • Stop testing PostGIS on Windows in CI (#6275) by @roji in #3649
  • Stop testing on all Windows versions, simplify CI by @roji in #3650
  • Cube support (revamped) by @kirkbrauer in #3651
  • Bump dependencies to EF 10.0.0 by @roji in #3659
  • Allow mapping multidim arrays to json/jsonb again by @roji in #3663
  • Automatically install cube extension when the model has a cube property by @roji in #3664
  • Bump actions/checkout from 5 to 6 by @dependabot[bot] in #3669
  • Change migration SQL to include CASCADE for CREATE EXTENSION by @mguinness in #3684
  • Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #3688
  • Allow null connection string with ConfigureDataSource by @roji in #3693
  • Add empty permissions block in Github Actions configs by @roji in #3694
  • Implement support for PG18 WITHOUT OVERLAPS by @roji in #3709
  • Implement support for PG18 PERIOD by @roji in #3711
  • Implement IntersectsBbox to translate PostGIS && operator by @bjornharrtell in #3484
  • Fix bug where annotations added by initial migration are not removed when migration is reverted. by @brianpursley in #3714
  • Fix a bug where the result of a function that returns an array is not able to be accessed by array index. by @brianpursley in #3720
  • Refactor method/member translators to stop using reflection lookup by @roji in #3721
  • Sync to EF 11.0.0-preview.1 by @roji in #3722
  • [EF Sync] Sync to EF 11.0.0-preview.2.26116.101 by @github-actions[bot] in #3732
  • Bump github/gh-aw from 0.44.0 to 0.45.4 by @dependabot[bot] in #3734
  • Bump github/gh-aw from 0.45.4 to 0.46.0 by @dependabot[bot] in #3737
  • [EF Sync] Sync to EF 11.0.0-preview.2.26117.101 by @github-actions[bot] in #3736
  • Fix mapping of enums with duplicate labels by @roji in #3743
  • Bump github/gh-aw from 0.46.0 to 0.47.2 by @dependabot[bot] in #3744
  • Additional work on temporal constraints by @roji in #3746
  • Fix arrays over JsonDocument/JsonElement by @roji in #3747
  • [EF Sync] Sync to EF 11.0.0-preview.2.26122.107 by @github-actions[bot] in #3750
  • Add default testcontainer support in the tests by @roji in #3753
  • Bump github/gh-aw from 0.47.2 to 0.50.6 by @dependabot[bot] in #3756
  • Add copilot instructions by @roji in #3761
  • Bump github/gh-aw from 0.50.6 to 0.53.0 by @dependabot[bot] in #3763
  • Switch to nuget OIDC publishing by @roji in https://github.com/npgsql/efcore.pg/pull...
Read more

v10.0.4

Choose a tag to compare

@roji roji released this 20 Nov 15:42

Milestone issue

What's Changed

  • [10.0] Backport regex operand parentheses fix by @roji in #3928
  • [10.0] Remove unused SSL setup from Windows CI by @roji in #3931
  • [10.0] Backport unnest type mapping inference fix by @roji in #3945
  • [10.0] Truncate sub-microsecond ticks when formatting TimeSpan as interval by @roji in #3947
  • [10.0] Preserve row value type mappings when rewriting expressions by @roji in #3954
  • [10.0] Fix Last() on primitive collections returning the first array element by @roji in #3956
  • [10.0] Configure row value regression tuple mapping locally by @roji in #3960
  • [10.0] Update EF Core and other dependencies by @roji in #3963
  • [10.0] Fix collection conversion with nullable element converters (#3965) by @roji in #3967
  • [10.0] Fix Contains on an object collection over a value-converted column (#3961) by @roji in #3970
  • [10.0] Fix tsvector metadata cast for IReadOnlyList by @roji in #3986
  • [10.0] Fix explicit column types for owned JSON collections by @roji in #3989
  • [10.0] Prevent PadLeft/PadRight from truncating shorter target widths by @roji in #3993
  • [10.0] Fix array type inference for mixed collection types by @roji in #3996
  • [10.0] Fix null checks on unbounded NodaTime Interval bounds by @roji in #4002
  • [10.0] Backport fix for null propagation in date/time intervals by @roji in #4015
  • [10.0] Support System.Text.Json serialization of LTree by @roji in #4010
  • [10.0] Preserve array element converters with explicit column types by @roji in #4011
  • [10.0] Fix repeated seed-data updates for list properties by @roji in #4029
  • [10.0] Fix BCE NodaTime SQL literal formatting by @roji in #4027
  • [10.0] Preserve inherited HiLo sequences in model snapshots by @roji in #4032
  • [10.0] Fix date/time mapping round-tripping and cloning by @roji in #4037
  • [10.0] Fix Regex.Replace to replace all matches by @roji in #4041
  • [10.0] Restore raw JSON byte array mapping by @roji in #4044
  • [10.0] Translate ToString() on string expressions by @roji in #4050
  • [10.0] Own newly cloned connections by @roji in #4056
  • [10.0] Fix type mapping for derived tsquery parameters by @roji in #4060
  • [10.0] Fix precision-only numeric migration snapshot churn by @roji in #4070
  • [10.0] Fix byte-array projections from JSON collections by @roji in #4073
  • [10.0] Fix tsvector columns over JSON-mapped navigations/complex properties by @roji in #4076
  • [10.0] Fix hstore SQL literal generation for null and escaped values by @roji in #4106
  • [10.0] Fix TimeOnly.IsBetween for midnight-spanning ranges by @roji in #4131
  • [10.0] Parenthesize the item of ANY/ALL when its precedence requires it by @roji in #4132
  • [10.0] Format storage parameter values with the invariant culture by @roji in #4133

Full Changelog: v10.0.3...v10.0.4

v10.0.3

Choose a tag to compare

@roji roji released this 14 Sep 10:11
5e912bf

What's Changed

  • Fix JSON null type mapping on hotfix by @roji in #3856
  • Fix GIN index detection for views by @roji in #3880

Full Changelog: v10.0.2...v10.0.3

v10.0.2

Choose a tag to compare

@roji roji released this 27 May 16:02

Milestone issue

What's Changed

Full Changelog: v10.0.1...v10.0.2

v10.0.0

Choose a tag to compare

@roji roji released this 22 Nov 17:42

See the release notes.

The full list of changes is available here.

What's Changed

  • Depend on Npgsql 9.0.1 by @roji in #3376
  • Restore virtual modifier by @virzak in #3382
  • Add NullIf Translation for Ternary expressions by @WhatzGames in #3403
  • Regex replace and count by @WhatzGames in #3062
  • Depend on EF 10.0.0-alpha.1.24610.3 by @roji in #3409
  • Sync to EF 10.0.0-alpha.1.24620.1 by @roji in #3416
  • Reorganize translation tests by @roji in #3417
  • Annotate functional tests for nullability by @roji in #3418
  • Align test namespaces with the EF standard by @roji in #3419
  • Redo enum label addition by @roji in #3425
  • Add some tests around date/time mappings by @roji in #3432
  • Fix quoted enum handling by @roji in #3434
  • Sync to EF 10.0.0-alpha.1.24620.1 by @roji in #3435
  • Sync to 10.0.0-alpha.1.25074.3 by @roji in #3442
  • Fix calling base method in NpgsqlMigrationsSqlGenerator by @roji in #3443
  • Depend on EF 10.0.0-alpha.1.25068.1 by @roji in #3453
  • Sync to EF 10.0.0-preview.2.25103.6 by @roji in #3454
  • Generate UUIDv7 values for value-generated strings by @roji in #3462
  • Always close connection after reloading types in migration. by @marcusber in #3465
  • Sync to EF 10.0.0-preview.2.25103.6 by @roji in #3471
  • Fix nullability for IndexOf (array_position) by @roji in #3477
  • Preserve ConfigureDataSource() callback when applying other context options by @roji in #3482
  • Remove dotnet SDK version from CI (use global.json) by @roji in #3486
  • Stop include data source connection string in service provider hashcode by @roji in #3501
  • Migrate to SLNX by @roji in #3502
  • Switch to Ubuntu 24.04 in CI by @roji in #3503
  • Sync to EF 10.0.0-preview.3 by @roji in #3520
  • Parse float/double/decimal in scaffolding by @roji in #3541
  • Additional fixes to scaffolding by @roji in #3543
  • Sync to EF preview.4 by @roji in #3548
  • Sync to EF preview.5 by @roji in #3549
  • Make NpgsqlArrayConverter not throw for struct arrays by @roji in #3552
  • Sync to EF 10.0.0-preview.6.25314.101 by @roji in #3553
  • Sync to EF 10.0.0-preview.6.25321.102 by @roji in #3556
  • Reload types should close the newly opened connection. by @marcusber in #3561
  • Sync to EF 10.0.0-preview.7.25352.2 by @roji in #3558
  • Do CI testing for PG18 (beta) by @roji in #3569
  • Fix PG18 (beta) CI config by @roji in #3570
  • Translate Guid.CreateVersion7 by @roji in #3571
  • Support PG18 virtual generated columns by @roji in #3572
  • Switch to using Guid.CreateVersion7 in NpgsqlSequentialGuidValueGenerator by @roji in #3575
  • Add translations for NodaTime LocalDate.{At,AtMidnight} by @roji in #3577
  • Bump actions/checkout from 4 to 5 by @dependabot[bot] in #3594
  • Sync to EF 10.0.0-preview.7 by @roji in #3597
  • Sync to EF 10.0.0-rc.1.25416.111 by @roji in #3598
  • Update NpgsqlDbContextOptionsBuilder.cs by @erichiller in #3605
  • Sync to EF 10.0.0-rc.2.25431.101 by @roji in #3607
  • Vary array containment translation based on indexes by @roji in #3611
  • Bump actions/setup-dotnet from 4 to 5 by @dependabot[bot] in #3612
  • Sync to EF 10.0.0-rc.2.25468.104, partial update, JSON primitive collections revamp by @roji in #3623
  • Simplify SQL when copying JSON scalar properties across documents by @roji in #3627
  • Fix NpgsqlArrayConverter for one-directional conversions by @roji in #3629
  • Sync to EF 10.0.0-rc.2.25502.106 by @roji in #3630
  • Map IPNetwork <-> cidr by @roji in #3331
  • Bump github/codeql-action from 3 to 4 by @dependabot[bot] in #3632
  • Bump EF version to 10.0.0-rc.2.25502.107 by @roji in #3640
  • Ensure key name uniqueness by @roji in #3641
  • Fix store type name base for JSON-nested scalar collections by @roji in #3644
  • Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #3645
  • Rewrite NpgsqlDatabaseCreator.Exists() to do SELECT 1 by @roji in #3648
  • Stop testing PostGIS on Windows in CI (#6275) by @roji in #3649
  • Stop testing on all Windows versions, simplify CI by @roji in #3650
  • Cube support (revamped) by @kirkbrauer in #3651
  • Bump dependencies to EF 10.0.0 by @roji in #3659
  • Allow mapping multidim arrays to json/jsonb again by @roji in #3663
  • Automatically install cube extension when the model has a cube property by @roji in #3664
  • Bump actions/checkout from 5 to 6 by @dependabot[bot] in #3669

New Contributors

Full Changelog: v9.0.0...v10.0.0

v10.0.0-preview.7

v10.0.0-preview.7 Pre-release
Pre-release

Choose a tag to compare

@roji roji released this 17 Aug 07:05
0533e60
Sync to EF 10.0.0-preview.7 (#3597)

v10.0.0-preview.2

v10.0.0-preview.2 Pre-release
Pre-release

Choose a tag to compare

@roji roji released this 24 Mar 11:21
Remove NuGet.config

v10.0.0-preview.1

v10.0.0-preview.1 Pre-release
Pre-release

Choose a tag to compare

@roji roji released this 01 Mar 18:47
Bump versions to 10.0.0-preview.1

v9.0.4

Choose a tag to compare

@roji roji released this 01 Mar 08:01

v9.0.3

Choose a tag to compare

@roji roji released this 17 Jan 18:57