From 66b3d7b44d0c72ad9f2132be82ad16364917fda4 Mon Sep 17 00:00:00 2001 From: Shay Rojansky Date: Sun, 5 Oct 2025 23:09:27 +0200 Subject: [PATCH] Breaking change notes related to cidr See https://github.com/npgsql/npgsql/issues/5891 See https://github.com/npgsql/efcore.pg/issues/3321 --- conceptual/EFCore.PG/release-notes/10.0.md | 2 ++ conceptual/Npgsql/release-notes/10.0.md | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 conceptual/Npgsql/release-notes/10.0.md diff --git a/conceptual/EFCore.PG/release-notes/10.0.md b/conceptual/EFCore.PG/release-notes/10.0.md index 566060c6..133c75e9 100644 --- a/conceptual/EFCore.PG/release-notes/10.0.md +++ b/conceptual/EFCore.PG/release-notes/10.0.md @@ -144,6 +144,8 @@ See the [10.0.0 milestone](https://github.com/npgsql/efcore.pg/milestone/68?clos ## Breaking changes +* `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). + ## Contributors To be completed. diff --git a/conceptual/Npgsql/release-notes/10.0.md b/conceptual/Npgsql/release-notes/10.0.md new file mode 100644 index 00000000..2b2558d5 --- /dev/null +++ b/conceptual/Npgsql/release-notes/10.0.md @@ -0,0 +1,7 @@ +# Npgsql 10.0 Release Notes + +Npgsql version 10.0 is now in development, preview versions are available on [nuget.org](https://www.nuget.org/packages/Npgsql). + +## Breaking changes + +* 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.