From 4451950ce4b6cb321a9ac868d12a660561c8b0bd Mon Sep 17 00:00:00 2001 From: priyankatiwari08 Date: Tue, 11 Nov 2025 20:50:06 +0530 Subject: [PATCH 1/9] Add release notes for stable release 6.1.3 This release includes fixes for metrics initialization and added AppContext switch for failover partner control. It also refactors TDS test server infrastructure for better maintainability. --- release-notes/6.1/6.1.3.md | 78 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 release-notes/6.1/6.1.3.md diff --git a/release-notes/6.1/6.1.3.md b/release-notes/6.1/6.1.3.md new file mode 100644 index 0000000000..ba40436231 --- /dev/null +++ b/release-notes/6.1/6.1.3.md @@ -0,0 +1,78 @@ +# Release Notes + +## Stable Release 6.1.3 + +This update includes the following changes since the [6.1.2](https://github.com/dotnet/SqlClient/blob/main/release-notes/6.1/6.1.2.md) release: + +### Fixed + +- Fixed an issue which ensures reliable metrics initialization during startup, preventing missed telemetry when EventSource is enabled early. [#3718](https://github.com/dotnet/SqlClient/pull/3718) + +### Changed + +- Added AppContext switch IgnoreServerProvidedFailoverPartner to allow applications to override server-provided failover partner information, enabling explicit control for BAG scenarios (e.g., custom ports). [#3702](https://github.com/dotnet/SqlClient/pull/3702) +- Refactored TDS test server infrastructure for better maintainability and test coverage, including modernized naming, consolidated utilities, and enhanced transient fault and failover testing. [#3715](https://github.com/dotnet/SqlClient/pull/3715) + +## Target Platform Support + +- .NET Framework 4.6.2+ (Windows ARM64, Windows x86, Windows x64) +- .NET 8.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS) + +### Dependencies + +#### .NET Framework 4.6.2+ + +- Azure.Core 1.49.0 +- Azure.Identity 1.16.0 +- Microsoft.Bcl.Cryptography 8.0.0 +- Microsoft.Data.SqlClient.SNI 6.0.2 +- Microsoft.Extensions.Caching.Memory 8.0.1 +- Microsoft.IdentityModel.JsonWebTokens 8.14.0 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 8.14.0 +- System.Buffers 4.6.1 +- System.Data.Common 4.3.0 +- System.Security.Cryptography.Pkcs 8.0.1 +- System.Text.Encodings.Web 8.0.0 +- System.Text.Json 8.0.6 + +#### .NET 8.0 + +- Azure.Core 1.49.0 +- Azure.Identity 1.16.0 +- Microsoft.Bcl.Cryptography 8.0.0 +- Microsoft.Data.SqlClient.SNI.runtime 6.0.2 +- Microsoft.Extensions.Caching.Memory 8.0.1 +- Microsoft.IdentityModel.JsonWebTokens 8.14.0 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 8.14.0 +- Microsoft.SqlServer.Server 1.0.0 +- System.Configuration.ConfigurationManager 8.0.1 +- System.Security.Cryptography.Pkcs 8.0.1 +- System.Text.Json 8.0.6 + +#### .NET 9.0 + +- Azure.Core 1.49.0 +- Azure.Identity 1.16.0 +- Microsoft.Bcl.Cryptography 9.0.9 +- Microsoft.Data.SqlClient.SNI.runtime 6.0.2 +- Microsoft.Extensions.Caching.Memory 9.0.9 +- Microsoft.IdentityModel.JsonWebTokens 8.14.0 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 8.14.0 +- Microsoft.SqlServer.Server 1.0.0 +- System.Configuration.ConfigurationManager 9.0.9 +- System.Security.Cryptography.Pkcs 9.0.9 +- System.Text.Json 9.0.9 + +#### .NET Standard 2.0 + +- Azure.Core 1.49.0 +- Azure.Identity 1.16.0 +- Microsoft.Bcl.Cryptography 8.0.0 +- Microsoft.Data.SqlClient.SNI.runtime 6.0.2 +- Microsoft.Extensions.Caching.Memory 8.0.1 +- Microsoft.IdentityModel.JsonWebTokens 8.14.0 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 8.14.0 +- Microsoft.SqlServer.Server 1.0.0 +- System.Configuration.ConfigurationManager 8.0.1 +- System.Security.Cryptography.Pkcs 8.0.1 +- System.Text.Json 8.0.6 From 5fdd0c319a8d376b3d1fac86456fd9965ee599e0 Mon Sep 17 00:00:00 2001 From: priyankatiwari08 Date: Tue, 11 Nov 2025 21:23:39 +0530 Subject: [PATCH 2/9] Add changelog for stable release 6.1.3 This update includes a new stable release 6.1.3 with fixes and changes, including reliable metrics initialization and an AppContext switch for failover partner control. --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8c69434f9..e4b8594bbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -88,6 +88,19 @@ This update brings the following changes since [7.0.0-preview1.25257.1] - Updated `System.Security.Cryptography.Pkcs` to v9.0.9 (net9) - Updated `System.Text.Json` to v8.0.6 (net8), v9.0.9 (net9) +## [Stable Release 6.1.3] - 2025-11-12 + +This update brings the below changes over the previous stable release: + +### Fixed + +- Fixed an issue which ensures reliable metrics initialization during startup, preventing missed telemetry when EventSource is enabled early. [#3718](https://github.com/dotnet/SqlClient/pull/3718) + +### Changed + +- Added AppContext switch IgnoreServerProvidedFailoverPartner to allow applications to override server-provided failover partner information, enabling explicit control for BAG scenarios (e.g., custom ports). [#3702](https://github.com/dotnet/SqlClient/pull/3702) +- Refactored TDS test server infrastructure for better maintainability and test coverage, including modernized naming, consolidated utilities, and enhanced transient fault and failover testing. [#3715](https://github.com/dotnet/SqlClient/pull/3715) + ## [Stable Release 6.1.2] - 2025-10-07 This update brings the below changes over the previous stable release: From d806fce1d78685330cd4ef2d976c6ccbb5499e0f Mon Sep 17 00:00:00 2001 From: priyankatiwari08 Date: Tue, 11 Nov 2025 21:25:12 +0530 Subject: [PATCH 3/9] Add release notes for version 6.1.3 --- release-notes/6.1/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/release-notes/6.1/README.md b/release-notes/6.1/README.md index 0eceb46418..ebff9181b2 100644 --- a/release-notes/6.1/README.md +++ b/release-notes/6.1/README.md @@ -4,6 +4,7 @@ The following Microsoft.Data.SqlClient 6.1 stable releases have been shipped: | Release Date | Version | Notes | | :-- | :-- | :--: | +| 2025-11-12 | 6.1.3 | [release notes](https://github.com/dotnet/SqlClient/blob/dev/prtiwar/releasenotes-6.1.3/release-notes/6.1/6.1.3.md) | | 2025-10-07 | 6.1.2 | [Release Notes](6.1.2.md) | | 2025-08-14 | 6.1.1 | [Release Notes](6.1.1.md) | | 2025-07-25 | 6.1.0 | [Release Notes](6.1.0.md) | From 568e828792ebcceb0ee1529aa543be24c5f45e70 Mon Sep 17 00:00:00 2001 From: priyankatiwari08 Date: Tue, 11 Nov 2025 21:27:02 +0530 Subject: [PATCH 4/9] Update release date for version 6.1.3 --- release-notes/6.1/6.1.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-notes/6.1/6.1.3.md b/release-notes/6.1/6.1.3.md index ba40436231..cba64361a6 100644 --- a/release-notes/6.1/6.1.3.md +++ b/release-notes/6.1/6.1.3.md @@ -1,6 +1,6 @@ # Release Notes -## Stable Release 6.1.3 +## Stable Release 6.1.3 - 2025-11-12 This update includes the following changes since the [6.1.2](https://github.com/dotnet/SqlClient/blob/main/release-notes/6.1/6.1.2.md) release: From ba99b9aaa83ab5994bb471d82aa6ac864628c73e Mon Sep 17 00:00:00 2001 From: priyankatiwari08 Date: Tue, 11 Nov 2025 21:31:28 +0530 Subject: [PATCH 5/9] Update release-notes/6.1/6.1.3.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- release-notes/6.1/6.1.3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-notes/6.1/6.1.3.md b/release-notes/6.1/6.1.3.md index cba64361a6..a5d49a9a11 100644 --- a/release-notes/6.1/6.1.3.md +++ b/release-notes/6.1/6.1.3.md @@ -10,7 +10,7 @@ This update includes the following changes since the [6.1.2](https://github.com/ ### Changed -- Added AppContext switch IgnoreServerProvidedFailoverPartner to allow applications to override server-provided failover partner information, enabling explicit control for BAG scenarios (e.g., custom ports). [#3702](https://github.com/dotnet/SqlClient/pull/3702) +- Added AppContext switch IgnoreServerProvidedFailoverPartner to allow applications to override server-provided failover partner information, enabling explicit control for BAG scenarios (e.g., custom ports). [#3702](https://github.com/dotnet/SqlClient/pull/3702) - Refactored TDS test server infrastructure for better maintainability and test coverage, including modernized naming, consolidated utilities, and enhanced transient fault and failover testing. [#3715](https://github.com/dotnet/SqlClient/pull/3715) ## Target Platform Support From 197eeda6a06887998aa9bb2d1464b6c0ae65a4e7 Mon Sep 17 00:00:00 2001 From: priyankatiwari08 Date: Tue, 11 Nov 2025 21:48:02 +0530 Subject: [PATCH 6/9] Update release-notes/6.1/README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- release-notes/6.1/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-notes/6.1/README.md b/release-notes/6.1/README.md index ebff9181b2..2fa5b2ef6e 100644 --- a/release-notes/6.1/README.md +++ b/release-notes/6.1/README.md @@ -4,7 +4,7 @@ The following Microsoft.Data.SqlClient 6.1 stable releases have been shipped: | Release Date | Version | Notes | | :-- | :-- | :--: | -| 2025-11-12 | 6.1.3 | [release notes](https://github.com/dotnet/SqlClient/blob/dev/prtiwar/releasenotes-6.1.3/release-notes/6.1/6.1.3.md) | +| 2025-11-12 | 6.1.3 | [Release Notes](6.1.3.md) | | 2025-10-07 | 6.1.2 | [Release Notes](6.1.2.md) | | 2025-08-14 | 6.1.1 | [Release Notes](6.1.1.md) | | 2025-07-25 | 6.1.0 | [Release Notes](6.1.0.md) | From 5bd6d1126784e27651dfe5b0f2031870eb345323 Mon Sep 17 00:00:00 2001 From: priyankatiwari08 Date: Tue, 11 Nov 2025 21:48:28 +0530 Subject: [PATCH 7/9] Update CHANGELOG.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4b8594bbf..c45e625997 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -98,7 +98,7 @@ This update brings the below changes over the previous stable release: ### Changed -- Added AppContext switch IgnoreServerProvidedFailoverPartner to allow applications to override server-provided failover partner information, enabling explicit control for BAG scenarios (e.g., custom ports). [#3702](https://github.com/dotnet/SqlClient/pull/3702) +- Added AppContext switch IgnoreServerProvidedFailoverPartner to allow applications to override server-provided failover partner information, enabling explicit control for BAG scenarios (e.g., custom ports). [#3702](https://github.com/dotnet/SqlClient/pull/3702) - Refactored TDS test server infrastructure for better maintainability and test coverage, including modernized naming, consolidated utilities, and enhanced transient fault and failover testing. [#3715](https://github.com/dotnet/SqlClient/pull/3715) ## [Stable Release 6.1.2] - 2025-10-07 From 2dd07413c3738ad9abdebfcfeaebe63cd2f7f21f Mon Sep 17 00:00:00 2001 From: Paul Medynski <31868385+paulmedynski@users.noreply.github.com> Date: Thu, 13 Nov 2025 08:02:29 -0400 Subject: [PATCH 8/9] - Updated dependency versions to match reality for v6.1.3 and v6.1.2. - Addressed other review comments. --- CHANGELOG.md | 16 +++++---- release-notes/6.1/6.1.2.md | 18 +++++------ release-notes/6.1/6.1.3.md | 66 ++++++++++++++++++++------------------ 3 files changed, 54 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c45e625997..4dafadda9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -90,16 +90,20 @@ This update brings the following changes since [7.0.0-preview1.25257.1] ## [Stable Release 6.1.3] - 2025-11-12 -This update brings the below changes over the previous stable release: +This update includes the following changes since the [6.1.2](release-notes/6.1/6.1.2.md) release: -### Fixed +### Added -- Fixed an issue which ensures reliable metrics initialization during startup, preventing missed telemetry when EventSource is enabled early. [#3718](https://github.com/dotnet/SqlClient/pull/3718) +- Added AppContext switch IgnoreServerProvidedFailoverPartner to allow + applications to override server-provided failover partner information, + enabling explicit control for BAG scenarios (e.g., custom ports). + ([#3702](https://github.com/dotnet/SqlClient/pull/3702)) -### Changed +### Fixed -- Added AppContext switch IgnoreServerProvidedFailoverPartner to allow applications to override server-provided failover partner information, enabling explicit control for BAG scenarios (e.g., custom ports). [#3702](https://github.com/dotnet/SqlClient/pull/3702) -- Refactored TDS test server infrastructure for better maintainability and test coverage, including modernized naming, consolidated utilities, and enhanced transient fault and failover testing. [#3715](https://github.com/dotnet/SqlClient/pull/3715) +- Fixed an issue to ensure reliable metrics initialization during startup, + preventing missed telemetry when EventSource is enabled early. + ([#3718](https://github.com/dotnet/SqlClient/pull/3718)) ## [Stable Release 6.1.2] - 2025-10-07 diff --git a/release-notes/6.1/6.1.2.md b/release-notes/6.1/6.1.2.md index 152fa2e5b7..4ffade662a 100644 --- a/release-notes/6.1/6.1.2.md +++ b/release-notes/6.1/6.1.2.md @@ -50,26 +50,26 @@ This update includes the following changes since the [6.1.1](6.1.1.md) release: - Azure.Core 1.47.1 - Azure.Identity 1.14.2 -- Microsoft.Bcl.Cryptography 9.0.4 +- Microsoft.Bcl.Cryptography 9.0.5 - Microsoft.Data.SqlClient.SNI.runtime 6.0.2 -- Microsoft.Extensions.Caching.Memory 9.0.4 +- Microsoft.Extensions.Caching.Memory 9.0.5 - Microsoft.IdentityModel.JsonWebTokens 7.7.1 - Microsoft.IdentityModel.Protocols.OpenIdConnect 7.7.1 - Microsoft.SqlServer.Server 1.0.0 -- System.Configuration.ConfigurationManager 9.0.4 -- System.Security.Cryptography.Pkcs 9.0.4 +- System.Configuration.ConfigurationManager 9.0.5 +- System.Security.Cryptography.Pkcs 9.0.5 - System.Text.Json 9.0.5 #### .NET Standard 2.0 - Azure.Core 1.47.1 - Azure.Identity 1.14.2 -- Microsoft.Bcl.Cryptography 9.0.4 +- Microsoft.Bcl.Cryptography 8.0.0 - Microsoft.Data.SqlClient.SNI.runtime 6.0.2 -- Microsoft.Extensions.Caching.Memory 9.0.4 +- Microsoft.Extensions.Caching.Memory 8.0.1 - Microsoft.IdentityModel.JsonWebTokens 7.7.1 - Microsoft.IdentityModel.Protocols.OpenIdConnect 7.7.1 - Microsoft.SqlServer.Server 1.0.0 -- System.Configuration.ConfigurationManager 9.0.4 -- System.Security.Cryptography.Pkcs 9.0.4 -- System.Text.Json 9.0.5 +- System.Configuration.ConfigurationManager 8.0.1 +- System.Security.Cryptography.Pkcs 8.0.1 +- System.Text.Json 8.0.5 diff --git a/release-notes/6.1/6.1.3.md b/release-notes/6.1/6.1.3.md index a5d49a9a11..fcdbf7f8f2 100644 --- a/release-notes/6.1/6.1.3.md +++ b/release-notes/6.1/6.1.3.md @@ -2,16 +2,20 @@ ## Stable Release 6.1.3 - 2025-11-12 -This update includes the following changes since the [6.1.2](https://github.com/dotnet/SqlClient/blob/main/release-notes/6.1/6.1.2.md) release: +This update includes the following changes since the [6.1.2](6.1.2.md) release: -### Fixed +### Added -- Fixed an issue which ensures reliable metrics initialization during startup, preventing missed telemetry when EventSource is enabled early. [#3718](https://github.com/dotnet/SqlClient/pull/3718) +- Added AppContext switch IgnoreServerProvidedFailoverPartner to allow + applications to override server-provided failover partner information, + enabling explicit control for BAG scenarios (e.g., custom ports). + ([#3702](https://github.com/dotnet/SqlClient/pull/3702)) -### Changed +### Fixed -- Added AppContext switch IgnoreServerProvidedFailoverPartner to allow applications to override server-provided failover partner information, enabling explicit control for BAG scenarios (e.g., custom ports). [#3702](https://github.com/dotnet/SqlClient/pull/3702) -- Refactored TDS test server infrastructure for better maintainability and test coverage, including modernized naming, consolidated utilities, and enhanced transient fault and failover testing. [#3715](https://github.com/dotnet/SqlClient/pull/3715) +- Fixed an issue to ensure reliable metrics initialization during startup, + preventing missed telemetry when EventSource is enabled early. + ([#3718](https://github.com/dotnet/SqlClient/pull/3718)) ## Target Platform Support @@ -22,57 +26,57 @@ This update includes the following changes since the [6.1.2](https://github.com/ #### .NET Framework 4.6.2+ -- Azure.Core 1.49.0 -- Azure.Identity 1.16.0 +- Azure.Core 1.47.1 +- Azure.Identity 1.14.2 - Microsoft.Bcl.Cryptography 8.0.0 - Microsoft.Data.SqlClient.SNI 6.0.2 - Microsoft.Extensions.Caching.Memory 8.0.1 -- Microsoft.IdentityModel.JsonWebTokens 8.14.0 -- Microsoft.IdentityModel.Protocols.OpenIdConnect 8.14.0 -- System.Buffers 4.6.1 +- Microsoft.IdentityModel.JsonWebTokens 7.7.1 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 7.7.1 +- System.Buffers 4.5.1 - System.Data.Common 4.3.0 - System.Security.Cryptography.Pkcs 8.0.1 - System.Text.Encodings.Web 8.0.0 -- System.Text.Json 8.0.6 +- System.Text.Json 8.0.5 #### .NET 8.0 -- Azure.Core 1.49.0 -- Azure.Identity 1.16.0 +- Azure.Core 1.47.1 +- Azure.Identity 1.14.2 - Microsoft.Bcl.Cryptography 8.0.0 - Microsoft.Data.SqlClient.SNI.runtime 6.0.2 - Microsoft.Extensions.Caching.Memory 8.0.1 -- Microsoft.IdentityModel.JsonWebTokens 8.14.0 -- Microsoft.IdentityModel.Protocols.OpenIdConnect 8.14.0 +- Microsoft.IdentityModel.JsonWebTokens 7.7.1 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 7.7.1 - Microsoft.SqlServer.Server 1.0.0 - System.Configuration.ConfigurationManager 8.0.1 - System.Security.Cryptography.Pkcs 8.0.1 -- System.Text.Json 8.0.6 +- System.Text.Json 8.0.5 #### .NET 9.0 -- Azure.Core 1.49.0 -- Azure.Identity 1.16.0 -- Microsoft.Bcl.Cryptography 9.0.9 +- Azure.Core 1.47.1 +- Azure.Identity 1.14.2 +- Microsoft.Bcl.Cryptography 9.0.5 - Microsoft.Data.SqlClient.SNI.runtime 6.0.2 -- Microsoft.Extensions.Caching.Memory 9.0.9 -- Microsoft.IdentityModel.JsonWebTokens 8.14.0 -- Microsoft.IdentityModel.Protocols.OpenIdConnect 8.14.0 +- Microsoft.Extensions.Caching.Memory 9.0.5 +- Microsoft.IdentityModel.JsonWebTokens 7.7.1 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 7.7.1 - Microsoft.SqlServer.Server 1.0.0 -- System.Configuration.ConfigurationManager 9.0.9 -- System.Security.Cryptography.Pkcs 9.0.9 -- System.Text.Json 9.0.9 +- System.Configuration.ConfigurationManager 9.0.5 +- System.Security.Cryptography.Pkcs 9.0.5 +- System.Text.Json 9.0.5 #### .NET Standard 2.0 -- Azure.Core 1.49.0 -- Azure.Identity 1.16.0 +- Azure.Core 1.47.1 +- Azure.Identity 1.14.2 - Microsoft.Bcl.Cryptography 8.0.0 - Microsoft.Data.SqlClient.SNI.runtime 6.0.2 - Microsoft.Extensions.Caching.Memory 8.0.1 -- Microsoft.IdentityModel.JsonWebTokens 8.14.0 -- Microsoft.IdentityModel.Protocols.OpenIdConnect 8.14.0 +- Microsoft.IdentityModel.JsonWebTokens 7.7.1 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 7.7.1 - Microsoft.SqlServer.Server 1.0.0 - System.Configuration.ConfigurationManager 8.0.1 - System.Security.Cryptography.Pkcs 8.0.1 -- System.Text.Json 8.0.6 +- System.Text.Json 8.0.5 From 74036a1752385114b9e7a542f2fd87dc3d1cd086 Mon Sep 17 00:00:00 2001 From: Paul Medynski <31868385+paulmedynski@users.noreply.github.com> Date: Thu, 13 Nov 2025 13:43:06 -0400 Subject: [PATCH 9/9] - Shamelessly stole Apoorv's BAG failover description from the 6.0.4 release notes. - Re-arranged some CHANGELOG entries to match the sorting in the rest of the file (ordered by release #, not chronological). --- CHANGELOG.md | 103 +++++++++++++++++++++---------------- release-notes/6.1/6.1.3.md | 25 +++++++-- 2 files changed, 81 insertions(+), 47 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4dafadda9d..4eb5d72f07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -88,48 +88,6 @@ This update brings the following changes since [7.0.0-preview1.25257.1] - Updated `System.Security.Cryptography.Pkcs` to v9.0.9 (net9) - Updated `System.Text.Json` to v8.0.6 (net8), v9.0.9 (net9) -## [Stable Release 6.1.3] - 2025-11-12 - -This update includes the following changes since the [6.1.2](release-notes/6.1/6.1.2.md) release: - -### Added - -- Added AppContext switch IgnoreServerProvidedFailoverPartner to allow - applications to override server-provided failover partner information, - enabling explicit control for BAG scenarios (e.g., custom ports). - ([#3702](https://github.com/dotnet/SqlClient/pull/3702)) - -### Fixed - -- Fixed an issue to ensure reliable metrics initialization during startup, - preventing missed telemetry when EventSource is enabled early. - ([#3718](https://github.com/dotnet/SqlClient/pull/3718)) - -## [Stable Release 6.1.2] - 2025-10-07 - -This update brings the below changes over the previous stable release: - -### Fixed - -- Fixed an issue where initializing PerformanceCounters would throw `System.InvalidOperationException` [#3629](https://github.com/dotnet/sqlclient/pull/3629) -- Fixed an issue where a Custom SqlClientAuthenticationProvider was being overwritten by default implementation. [#3651](https://github.com/dotnet/SqlClient/pull/3651) -- Fixed a concurrency issue in connection pooling where the number of active connections could be lower than the configured maximum pool size. [#3653](https://github.com/dotnet/SqlClient/pull/3653) - -## [Stable release 6.0.3] - 2025-10-07 - -This update brings the below changes over the previous stable release: - -### Fixed - -- Fixed an issue where a Custom SqlClientAuthenticationProvider was being overwritten by default implementation. [#3652](https://github.com/dotnet/SqlClient/pull/3652) -- Fixed a concurrency issue in connection pooling where the number of active connections could be lower than the configured maximum pool size. [#3654](https://github.com/dotnet/SqlClient/pull/3654) - -### Changed - -- Updated MSAL usage as per code compliance requirements [#3360](https://github.com/dotnet/SqlClient/pull/3360) -- Updated `SqlDecimal` implementation to improve code compliance [#3466](https://github.com/dotnet/SqlClient/pull/3466) -- Updated Azure.Identity and related dependencies [#3553](https://github.com/dotnet/SqlClient/pull/3553) - ## [Preview Release 7.0.0-preview1.25257.1] - 2025-09-12 This update brings the following changes since the [6.1.0](release-notes/6.1/6.1.0.md) @@ -192,9 +150,53 @@ release: - Updated `Azure.Identity` dependency to v1.14.2. ([#3538](https://github.com/dotnet/SqlClient/pull/3538)) +## [Stable Release 6.1.3] - 2025-11-12 + +This update includes the following changes since the [6.1.2](release-notes/6.1/6.1.2.md) release: + +### Added + +#### App Context Switch for Ignoring Server-Provided Failover Partner + +*What Changed:* + +- A new app context switch `Switch.Microsoft.Data.SqlClient.IgnoreServerProvidedFailoverPartner` was introduced to let the client ignore server-provided failover partner info in Basic Availability Groups (BAGs). When the switch is enabled, only the failover partner specified in the connection string is used; server-supplied partner values are skipped. This context switch was introduced in PR [#3702](https://github.com/dotnet/SqlClient/pull/3702). + +*Who Benefits:* + +- Applications connecting to SQL Server BAGs using TCP and custom ports, especially where the server's provided partner name lacks the protocol, host, or port. This avoids connection failures when the server-provided partner is incompatible or incomplete. +- Teams who manage availability groups and rely on client-side control of failover behavior in heterogeneous networking environments. + +*Impact:* + +- If your environment might be affected (i.e., you operate a BAG with custom ports, or have experienced failures after failover), you can enable the new switch in your application: + +```c# +AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.IgnoreServerProvidedFailoverPartner", true); +``` + +- Then, ensure your connection string includes your preferred failover partner (with correct `tcp:host,port`) so that the client uses that instead of the server's suggestion. +- Without enabling this, by default, the client continues to prefer the server-provided partner, maintaining backwards compatibility. + +### Fixed + +- Fixed an issue to ensure reliable metrics initialization during startup, + preventing missed telemetry when EventSource is enabled early. + ([#3718](https://github.com/dotnet/SqlClient/pull/3718)) + +## [Stable Release 6.1.2] - 2025-10-07 + +This update includes the following changes since the [6.1.1](release-notes/6.1/6.1.1.md) release: + +### Fixed + +- Fixed an issue where initializing PerformanceCounters would throw `System.InvalidOperationException` [#3629](https://github.com/dotnet/sqlclient/pull/3629) +- Fixed an issue where a Custom SqlClientAuthenticationProvider was being overwritten by default implementation. [#3651](https://github.com/dotnet/SqlClient/pull/3651) +- Fixed a concurrency issue in connection pooling where the number of active connections could be lower than the configured maximum pool size. [#3653](https://github.com/dotnet/SqlClient/pull/3653) + ## [Stable Release 6.1.1] - 2025-08-14 -This update includes the following changes since the [6.1.0](6.1.0.md) release: +This update includes the following changes since the [6.1.0](release-notes/6.1/6.1.0.md) release: ### Fixed @@ -457,6 +459,21 @@ This update brings the following changes over the previous release: - Code merge towards a unified SqlClient project, aligning .NET Framework and .NET Core implementations. ([#2957](https://github.com/dotnet/sqlclient/pull/2957), [#2963](https://github.com/dotnet/sqlclient/pull/2963), [#2984](https://github.com/dotnet/sqlclient/pull/2984), [#2982](https://github.com/dotnet/sqlclient/pull/2982), [#3023](https://github.com/dotnet/sqlclient/pull/3023), [#3015](https://github.com/dotnet/sqlclient/pull/3015), [#2967](https://github.com/dotnet/sqlclient/pull/2967), [#3164](https://github.com/dotnet/sqlclient/pull/3164), [#3163](https://github.com/dotnet/sqlclient/pull/3163), [#3171](https://github.com/dotnet/sqlclient/pull/3171), [#3182](https://github.com/dotnet/sqlclient/pull/3182), [#3179](https://github.com/dotnet/sqlclient/pull/3179), [#3156](https://github.com/dotnet/sqlclient/pull/3156), [#3213](https://github.com/dotnet/sqlclient/pull/3213), [#3232](https://github.com/dotnet/sqlclient/pull/3232), [#3236](https://github.com/dotnet/sqlclient/pull/3236), [#3231](https://github.com/dotnet/sqlclient/pull/3231), [#3241](https://github.com/dotnet/sqlclient/pull/3241), [#3246](https://github.com/dotnet/sqlclient/pull/3246), [#3247](https://github.com/dotnet/sqlclient/pull/3247), [#3222](https://github.com/dotnet/sqlclient/pull/3222), [#3255](https://github.com/dotnet/sqlclient/pull/3255), [#3254](https://github.com/dotnet/sqlclient/pull/3254), [#3259](https://github.com/dotnet/sqlclient/pull/3259), [#3264](https://github.com/dotnet/sqlclient/pull/3264), [#3256](https://github.com/dotnet/sqlclient/pull/3256), [#3251](https://github.com/dotnet/sqlclient/pull/3251), [#3275](https://github.com/dotnet/sqlclient/pull/3275), [#3277](https://github.com/dotnet/sqlclient/pull/3277), [#3263](https://github.com/dotnet/sqlclient/pull/3263), [#3292](https://github.com/dotnet/sqlclient/pull/3292), [#3208](https://github.com/dotnet/sqlclient/pull/3208)). - Test improvements include updates to test references, removal of hardcoded certificates, improved stability, and better coverage ([#3041](https://github.com/dotnet/sqlclient/pull/3041), [#3034](https://github.com/dotnet/sqlclient/pull/3034), [#3130](https://github.com/dotnet/sqlclient/pull/3130), [#3128](https://github.com/dotnet/sqlclient/pull/3128), [#3181](https://github.com/dotnet/sqlclient/pull/3181), [#3060](https://github.com/dotnet/sqlclient/pull/3060), [#3184](https://github.com/dotnet/sqlclient/pull/3184), [#3033](https://github.com/dotnet/sqlclient/pull/3033), [#3186](https://github.com/dotnet/sqlclient/pull/3186), [#3025](https://github.com/dotnet/sqlclient/pull/3025), [#3230](https://github.com/dotnet/sqlclient/pull/3230), [#3237](https://github.com/dotnet/sqlclient/pull/3237), [#3059](https://github.com/dotnet/sqlclient/pull/3059), [#3061](https://github.com/dotnet/sqlclient/pull/3061)). +## [Stable release 6.0.3] - 2025-10-07 + +This update brings the below changes over the previous stable release: + +### Fixed + +- Fixed an issue where a Custom SqlClientAuthenticationProvider was being overwritten by default implementation. [#3652](https://github.com/dotnet/SqlClient/pull/3652) +- Fixed a concurrency issue in connection pooling where the number of active connections could be lower than the configured maximum pool size. [#3654](https://github.com/dotnet/SqlClient/pull/3654) + +### Changed + +- Updated MSAL usage as per code compliance requirements [#3360](https://github.com/dotnet/SqlClient/pull/3360) +- Updated `SqlDecimal` implementation to improve code compliance [#3466](https://github.com/dotnet/SqlClient/pull/3466) +- Updated Azure.Identity and related dependencies [#3553](https://github.com/dotnet/SqlClient/pull/3553) + ## [Stable release 6.0.2] - 2025-04-25 This update brings the below changes over the previous release: diff --git a/release-notes/6.1/6.1.3.md b/release-notes/6.1/6.1.3.md index fcdbf7f8f2..2d13415cca 100644 --- a/release-notes/6.1/6.1.3.md +++ b/release-notes/6.1/6.1.3.md @@ -6,10 +6,27 @@ This update includes the following changes since the [6.1.2](6.1.2.md) release: ### Added -- Added AppContext switch IgnoreServerProvidedFailoverPartner to allow - applications to override server-provided failover partner information, - enabling explicit control for BAG scenarios (e.g., custom ports). - ([#3702](https://github.com/dotnet/SqlClient/pull/3702)) +#### App Context Switch for Ignoring Server-Provided Failover Partner + +*What Changed:* + +- A new app context switch `Switch.Microsoft.Data.SqlClient.IgnoreServerProvidedFailoverPartner` was introduced to let the client ignore server-provided failover partner info in Basic Availability Groups (BAGs). When the switch is enabled, only the failover partner specified in the connection string is used; server-supplied partner values are skipped. This context switch was introduced in PR [#3702](https://github.com/dotnet/SqlClient/pull/3702). + +*Who Benefits:* + +- Applications connecting to SQL Server BAGs using TCP and custom ports, especially where the server's provided partner name lacks the protocol, host, or port. This avoids connection failures when the server-provided partner is incompatible or incomplete. +- Teams who manage availability groups and rely on client-side control of failover behavior in heterogeneous networking environments. + +*Impact:* + +- If your environment might be affected (i.e., you operate a BAG with custom ports, or have experienced failures after failover), you can enable the new switch in your application: + +```c# +AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.IgnoreServerProvidedFailoverPartner", true); +``` + +- Then, ensure your connection string includes your preferred failover partner (with correct `tcp:host,port`) so that the client uses that instead of the server's suggestion. +- Without enabling this, by default, the client continues to prefer the server-provided partner, maintaining backwards compatibility. ### Fixed