Skip to content

Commit 2f341f9

Browse files
authored
Document EFCore.PG targeting PostgreSQL version 16 by default (#454)
See npgsql/efcore.pg#3798
1 parent 42b7d62 commit 2f341f9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • conceptual/EFCore.PG/release-notes

conceptual/EFCore.PG/release-notes/11.0.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,12 @@ For more details, see the [temporal constraints documentation](../misc/temporal-
9090
## Other new features
9191

9292
* Added `EF.Functions.IntersectsBbox(geom1, geom2)` for expressing [the PostGIS `&&` operator](https://postgis.net/docs/geometry_overlaps.html). Thanks to [@bjornharrtell](https://github.com/bjornharrtell) for this contribution!
93+
94+
## Breaking changes
95+
96+
* The provider now assumes at least PostgreSQL 16 by default, taking advantage of newer features (previously, PostgreSQL 14 was targeted). You can configure the targeted PostgreSQL version when configuring your context:
97+
98+
```c#
99+
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
100+
=> optionsBuilder.UseNpgsql("<connection string>", o => o.SetPostgresVersion(14, 0));
101+
```

0 commit comments

Comments
 (0)