Skip to content

Commit 43637ab

Browse files
authored
Breaking change notes related to cidr (#421)
See npgsql/npgsql#5891 See npgsql/efcore.pg#3321
1 parent a852871 commit 43637ab

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ See the [10.0.0 milestone](https://github.com/npgsql/efcore.pg/milestone/68?clos
144144

145145
## Breaking changes
146146

147+
* `EF.Functions.Network()` and `EF.Functions.Merge()` have been changed to return the new .NET [`IPNetwork`](https://learn.microsoft.com/dotnet/api/system.net.ipnetwork) instead of the obsolete `NpgsqlCidr`. The new `IPNetwork` type works with all other functions as well (but no breaking changes were necessary).
148+
147149
## Contributors
148150

149151
To be completed.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Npgsql 10.0 Release Notes
2+
3+
Npgsql version 10.0 is now in development, preview versions are available on [nuget.org](https://www.nuget.org/packages/Npgsql).
4+
5+
## Breaking changes
6+
7+
* The PostgreSQL network type `cidr` is now scaffolded to the new .NET [`IPNetwork`](https://learn.microsoft.com/dotnet/api/system.net.ipnetwork) type. The older Npgsql representation for `cidr` - the `NpgsqlCidr` type - has been obsoleted and will be removed in a future release.

0 commit comments

Comments
 (0)