From 4a75b2facf5ed65ff0545c81a9a5413d06971fb1 Mon Sep 17 00:00:00 2001 From: JRahnama Date: Thu, 23 Sep 2021 14:54:34 -0700 Subject: [PATCH 1/4] Release Notes 3.0.1 --- CHANGELOG.md | 12 +++++ release-notes/3.0/3.0.1.md | 87 +++++++++++++++++++++++++++++++++++++ release-notes/3.0/3.0.md | 1 + release-notes/3.0/README.md | 1 + 4 files changed, 101 insertions(+) create mode 100644 release-notes/3.0/3.0.1.md diff --git a/CHANGELOG.md b/CHANGELOG.md index a671e3fad3..48db5e37a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -65,6 +65,18 @@ This update brings the below changes over the previous release: - Optimized async method allocations in .NET Framework by porting changes from .NET Core. [#1084](https://github.com/dotnet/SqlClient/pull/1084) - Various code improvements [#902](https://github.com/dotnet/SqlClient/pull/902) [#925](https://github.com/dotnet/SqlClient/pull/925) [#933](https://github.com/dotnet/SqlClient/pull/933) [#934](https://github.com/dotnet/SqlClient/pull/934) [#1024](https://github.com/dotnet/SqlClient/pull/1024) [#1057](https://github.com/dotnet/SqlClient/pull/1057) [#1122](https://github.com/dotnet/SqlClient/pull/1122) [#1133]((https://github.com/dotnet/SqlClient/pull/1133)) [#1134](https://github.com/dotnet/SqlClient/pull/1134) [#1141](https://github.com/dotnet/SqlClient/pull/1141) [#1187](https://github.com/dotnet/SqlClient/pull/1187) [#1188](https://github.com/dotnet/SqlClient/pull/1188) [#1223](https://github.com/dotnet/SqlClient/pull/1223) [#1225](https://github.com/dotnet/SqlClient/pull/1225) [#1226](https://github.com/dotnet/SqlClient/pull/1226) +## [Stable Release 3.0.1] - 2021-09-24 + +### Fixed + +- Fixed async thread blocking issues on `SqlConnection.Open()` for active directory authentication modes. [#1270](https://github.com/dotnet/SqlClient/pull/1270) +- Fixed unknown transaction state issues when prompting delegated transaction. [1247](https://github.com/dotnet/SqlClient/pull/1247) +- Fixed issue with connection encryption to ensure connections fail when encryption is required. [#1233](https://github.com/dotnet/SqlClient/pull/1233) +- Fixed bug with `LegacyRowVersionNullBehavior` App Context switch. [#1246](https://github.com/dotnet/SqlClient/pull/1246) +- Fixed recursive calls to `RetryLogicProvider` when calling `SqlCommand.ExecuteScalarAsync`. [#1245](https://github.com/dotnet/SqlClient/pull/1245) +- Fixed deadlock in transaction using .NET Framework. [#1243](https://github.com/dotnet/SqlClient/pull/1243) +- Fixed issue where connection goes to unusable state. [#1238](https://github.com/dotnet/SqlClient/pull/1238) + ## [Stable Release 3.0.0] - 2021-06-09 ### Added diff --git a/release-notes/3.0/3.0.1.md b/release-notes/3.0/3.0.1.md new file mode 100644 index 0000000000..3f6ccbf32c --- /dev/null +++ b/release-notes/3.0/3.0.1.md @@ -0,0 +1,87 @@ +# Release Notes + +## Microsoft.Data.SqlClient 3.0.1 released 24 September 2021 + +This update brings the below changes over the previous stable release: + +### Fixed + +- Fixed async thread blocking issues on `SqlConnection.Open()` for active directory authentication modes. [#1270](https://github.com/dotnet/SqlClient/pull/1270) +- Fixed unknown transaction state issues when prompting delegated transaction. [1247](https://github.com/dotnet/SqlClient/pull/1247) +- Fixed issue with connection encryption to ensure connections fail when encryption is required. [#1233](https://github.com/dotnet/SqlClient/pull/1233) [Read more](#ensure-connections-fail-when-encryption-is-required) +- Fixed bug with `LegacyRowVersionNullBehavior` App Context switch. [#1246](https://github.com/dotnet/SqlClient/pull/1246) +- Fixed recursive calls to `RetryLogicProvider` when calling `SqlCommand.ExecuteScalarAsync`. [#1245](https://github.com/dotnet/SqlClient/pull/1245) +- Fixed deadlock in transaction using .NET Framework. [#1243](https://github.com/dotnet/SqlClient/pull/1243) +- Fixed issue where connection goes to unusable state. [#1238](https://github.com/dotnet/SqlClient/pull/1238) + +## New features over stable release v3.0 + +### Ensure connections fail when encryption is required +In scenarios where client encryption libraries were disabled or unavailable, it was possible for unencrypted connections to be made when Encrypt was set to true or the server required encryption. + +### Target Platform Support + +- .NET Framework 4.6.1+ (Windows x86, Windows x64) +- .NET Core 2.1+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS) +- .NET Standard 2.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS) + +### Dependencies + +#### .NET Framework + +- Microsoft.Data.SqlClient.SNI 2.1.1 +- Microsoft.Identity.Client 4.21.1 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 +- Microsoft.IdentityModel.JsonWebTokens 6.8.0 + +#### .NET Core 2.1 + +- Microsoft.Data.SqlClient.SNI.runtime 2.1.1 +- Microsoft.Win32.Registry 4.7.0 +- System.Security.Principal.Windows 4.7.0 +- System.Text.Encoding.CodePages 4.7.0 +- System.Diagnostics.DiagnosticSource 4.7.0 +- System.Configuration.ConfigurationManager 4.7.0 +- System.Runtime.Caching 4.7.0 +- Microsoft.Identity.Client 4.21.1 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 +- Microsoft.IdentityModel.JsonWebTokens 6.8.0 + +#### .NET Core 3.1 + +- Microsoft.Data.SqlClient.SNI.runtime 2.1.1 +- Microsoft.Win32.Registry 4.7.0 +- System.Security.Principal.Windows 4.7.0 +- System.Text.Encoding.CodePages 4.7.0 +- System.Diagnostics.DiagnosticSource 4.7.0 +- System.Configuration.ConfigurationManager 4.7.0 +- System.Runtime.Caching 4.7.0 +- Microsoft.Identity.Client 4.21.1 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 +- Microsoft.IdentityModel.JsonWebTokens 6.8.0 + +#### .NET Standard 2.0 + +- Microsoft.Data.SqlClient.SNI.runtime 2.1.1 +- Microsoft.Win32.Registry 4.7.0 +- System.Buffers 4.5.1 +- System.Memory 4.5.4 +- System.Security.Principal.Windows 4.7.0 +- System.Text.Encoding.CodePages 4.7.0 +- System.Runtime.Caching 4.7.0 +- Microsoft.Identity.Client 4.21.1 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 +- Microsoft.IdentityModel.JsonWebTokens 6.8.0 + +#### .NET Standard 2.1 + +- Microsoft.Data.SqlClient.SNI.runtime 2.1.1 +- Microsoft.Win32.Registry 4.7.0 +- System.Buffers 4.5.1 +- System.Memory 4.5.4 +- System.Security.Principal.Windows 4.7.0 +- System.Text.Encoding.CodePages 4.7.0 +- System.Runtime.Caching 4.7.0 +- Microsoft.Identity.Client 4.21.1 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 +- Microsoft.IdentityModel.JsonWebTokens 6.8.0 diff --git a/release-notes/3.0/3.0.md b/release-notes/3.0/3.0.md index 178af0ad20..e35ae11698 100644 --- a/release-notes/3.0/3.0.md +++ b/release-notes/3.0/3.0.md @@ -4,6 +4,7 @@ The following Microsoft.Data.SqlClient 3.0 stable releases have been shipped: | Release Date | Version | Notes | | :-- | :-- | :--: | +| 2021/09/24 | 3.0.1 | [release notes](3.0.1.md) | | 2021/06/09 | 3.0.0 | [release notes](3.0.0.md) | The following Microsoft.Data.SqlClient 3.0 preview releases have been shipped: diff --git a/release-notes/3.0/README.md b/release-notes/3.0/README.md index 178af0ad20..ae154793de 100644 --- a/release-notes/3.0/README.md +++ b/release-notes/3.0/README.md @@ -4,6 +4,7 @@ The following Microsoft.Data.SqlClient 3.0 stable releases have been shipped: | Release Date | Version | Notes | | :-- | :-- | :--: | +| 2021/09/24 | 3.0.1 | [Release notes](3.0.1.ms) | | 2021/06/09 | 3.0.0 | [release notes](3.0.0.md) | The following Microsoft.Data.SqlClient 3.0 preview releases have been shipped: From b3c889b3a73880ad3889f9eee46b8f608a75a76d Mon Sep 17 00:00:00 2001 From: JRahnama Date: Thu, 23 Sep 2021 15:34:10 -0700 Subject: [PATCH 2/4] fix typo --- release-notes/3.0/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-notes/3.0/README.md b/release-notes/3.0/README.md index ae154793de..0d7f9e97da 100644 --- a/release-notes/3.0/README.md +++ b/release-notes/3.0/README.md @@ -4,7 +4,7 @@ The following Microsoft.Data.SqlClient 3.0 stable releases have been shipped: | Release Date | Version | Notes | | :-- | :-- | :--: | -| 2021/09/24 | 3.0.1 | [Release notes](3.0.1.ms) | +| 2021/09/24 | 3.0.1 | [Release notes](3.0.1.md) | | 2021/06/09 | 3.0.0 | [release notes](3.0.0.md) | The following Microsoft.Data.SqlClient 3.0 preview releases have been shipped: From 82680d7f0c9975df41afa1d5ec6d0ffacd699fe8 Mon Sep 17 00:00:00 2001 From: Javad Date: Fri, 24 Sep 2021 10:56:05 -0700 Subject: [PATCH 3/4] Update release-notes/3.0/3.0.1.md Co-authored-by: Cheena Malhotra --- release-notes/3.0/3.0.1.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/release-notes/3.0/3.0.1.md b/release-notes/3.0/3.0.1.md index 3f6ccbf32c..3ffc179392 100644 --- a/release-notes/3.0/3.0.1.md +++ b/release-notes/3.0/3.0.1.md @@ -14,8 +14,6 @@ This update brings the below changes over the previous stable release: - Fixed deadlock in transaction using .NET Framework. [#1243](https://github.com/dotnet/SqlClient/pull/1243) - Fixed issue where connection goes to unusable state. [#1238](https://github.com/dotnet/SqlClient/pull/1238) -## New features over stable release v3.0 - ### Ensure connections fail when encryption is required In scenarios where client encryption libraries were disabled or unavailable, it was possible for unencrypted connections to be made when Encrypt was set to true or the server required encryption. From ed9b985dfb149332f98f4200360b195f68c14a39 Mon Sep 17 00:00:00 2001 From: Javad Date: Fri, 24 Sep 2021 11:08:50 -0700 Subject: [PATCH 4/4] Apply suggestions from code review Co-authored-by: DavoudEshtehari <61173489+DavoudEshtehari@users.noreply.github.com> --- CHANGELOG.md | 1 + release-notes/3.0/3.0.1.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48db5e37a1..3767cda1f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -74,6 +74,7 @@ This update brings the below changes over the previous release: - Fixed issue with connection encryption to ensure connections fail when encryption is required. [#1233](https://github.com/dotnet/SqlClient/pull/1233) - Fixed bug with `LegacyRowVersionNullBehavior` App Context switch. [#1246](https://github.com/dotnet/SqlClient/pull/1246) - Fixed recursive calls to `RetryLogicProvider` when calling `SqlCommand.ExecuteScalarAsync`. [#1245](https://github.com/dotnet/SqlClient/pull/1245) +- Fixed async deadlock scenarios in web contexts with configurable retry logic provider. [#1245](https://github.com/dotnet/SqlClient/pull/1245) - Fixed deadlock in transaction using .NET Framework. [#1243](https://github.com/dotnet/SqlClient/pull/1243) - Fixed issue where connection goes to unusable state. [#1238](https://github.com/dotnet/SqlClient/pull/1238) diff --git a/release-notes/3.0/3.0.1.md b/release-notes/3.0/3.0.1.md index 3ffc179392..fee9684647 100644 --- a/release-notes/3.0/3.0.1.md +++ b/release-notes/3.0/3.0.1.md @@ -11,10 +11,12 @@ This update brings the below changes over the previous stable release: - Fixed issue with connection encryption to ensure connections fail when encryption is required. [#1233](https://github.com/dotnet/SqlClient/pull/1233) [Read more](#ensure-connections-fail-when-encryption-is-required) - Fixed bug with `LegacyRowVersionNullBehavior` App Context switch. [#1246](https://github.com/dotnet/SqlClient/pull/1246) - Fixed recursive calls to `RetryLogicProvider` when calling `SqlCommand.ExecuteScalarAsync`. [#1245](https://github.com/dotnet/SqlClient/pull/1245) +- Fixed async deadlock scenarios in web contexts with configurable retry logic provider. [#1245](https://github.com/dotnet/SqlClient/pull/1245) - Fixed deadlock in transaction using .NET Framework. [#1243](https://github.com/dotnet/SqlClient/pull/1243) - Fixed issue where connection goes to unusable state. [#1238](https://github.com/dotnet/SqlClient/pull/1238) ### Ensure connections fail when encryption is required + In scenarios where client encryption libraries were disabled or unavailable, it was possible for unencrypted connections to be made when Encrypt was set to true or the server required encryption. ### Target Platform Support