From 536d0de6ae81110fa0c50eb992425602b321ba7c Mon Sep 17 00:00:00 2001 From: Nikita Kazmin Date: Mon, 28 Oct 2024 13:58:48 +0300 Subject: [PATCH] Fix a few errors in release notes for 9 --- conceptual/Npgsql/release-notes/9.0.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conceptual/Npgsql/release-notes/9.0.md b/conceptual/Npgsql/release-notes/9.0.md index fb9f74b5..d6a2ff5d 100644 --- a/conceptual/Npgsql/release-notes/9.0.md +++ b/conceptual/Npgsql/release-notes/9.0.md @@ -11,7 +11,7 @@ PostgreSQL 17 added support for infinity values with `interval` type. In turn, N ## Add support for cidr <-> IPNetwork mapping -.NET 8 added a new type [IPNetwork](https://learn.microsoft.com/en-us/dotnet/api/system.net.ipnetwork?view=net-8.0) which represents an IP network with an [IPAddress](https://learn.microsoft.com/en-us/dotnet/api/system.net.ipaddress?view=net-8.0) containing the network prefix and an `int` defining the prefix length. This type seems to be a perfect fit for PostgreSQL's `cidr` type, which is why we added support to read and write it. The default when reading a `cidr` is still NpgsqlCidr in 9.0, though this will likely change in Npgsql 10.0. See [this](https://github.com/npgsql/npgsql/issues/5821) issue for more info. +.NET 8 added a new type [IPNetwork](https://learn.microsoft.com/en-us/dotnet/api/system.net.ipnetwork?view=net-8.0) which represents an IP network with an [IPAddress](https://learn.microsoft.com/en-us/dotnet/api/system.net.ipaddress?view=net-8.0) containing the network prefix and an `int` defining the prefix length. This type seems to be a perfect fit for PostgreSQL's `cidr` type, which is why we added support to read and write it. The default when reading a `cidr` is still `NpgsqlCidr` in 9.0, though this will likely change in Npgsql 10.0. See [this](https://github.com/npgsql/npgsql/issues/5821) issue for more info. ## Add support for direct SSL @@ -25,11 +25,11 @@ Npgsql 9.0 has a new callback `NpgsqlDataSourceBuilder.UseSslClientAuthenticatio Npgsql 9.0 has a new callback `NpgsqlDataSourceBuilder.NegotiateOptionsCallback` which is called while performing GSSAPI authentication (such as Kerberos). This allows users to modify [NegotiateAuthenticationClientOptions](https://learn.microsoft.com/en-us/dotnet/api/system.net.security.negotiateauthenticationclientoptions?view=net-8.0), for example changing `Credential` property to implement password-based Kerberos authentication. See [this](https://github.com/npgsql/npgsql/issues/5181) issue for more info. -### Add support for parallel in-progress transactions with logical streaming replication protocol V4 +## Add support for parallel in-progress transactions with logical streaming replication protocol V4 This change allows clients to handle multiple in-progress transactions in parallel instead of sequentially. See [this](https://github.com/npgsql/npgsql/issues/5760) issue for more info. -### Add GetFieldName method to ReplicationValue class +## Add GetFieldName method to ReplicationValue class This change allows clients to receive the name of changed column while reading rows from replication stream. See [this](https://github.com/npgsql/npgsql/issues/5718) issue for more info. @@ -49,4 +49,4 @@ With the new `UseSslClientAuthenticationOptionsCallback` callback, users have mu ### The default value of ConnectionLifetime property in connection string is set to 1 hour -Previously, the default value of this property was set to 0, which made connections last indefinitely. The old behavior was problematic because each physical connection on PostgreSQL's side has holds on certain caches, which can only grow over time. See [this](https://github.com/npgsql/npgsql/pull/5662) pull request for more info. +Previously, the default value of this property was set to 0, which made connections last indefinitely. The old behavior was problematic because each physical connection on PostgreSQL's side holds on certain caches, which can only grow over time. See [this](https://github.com/npgsql/npgsql/pull/5662) pull request for more info.