From 15b2798600626a56cd250ffe9b21f50339425dd8 Mon Sep 17 00:00:00 2001 From: Cheena Malhotra Date: Fri, 21 Aug 2020 13:59:24 -0700 Subject: [PATCH 1/3] [Release/2.0] Release notes for v2.0.1 --- CHANGELOG.md | 18 ++++++++-- release-notes/2.0/2.0.1.md | 69 +++++++++++++++++++++++++++++++++++++ release-notes/2.0/2.0.md | 1 + release-notes/2.0/README.md | 1 + 4 files changed, 86 insertions(+), 3 deletions(-) create mode 100644 release-notes/2.0/2.0.1.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 409e175eed..2262fb67ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +## [Stable Release 2.0.1] - 2020-08-21 + +### Added +- Added support for a new Configuration Section "SqlClientAuthenticationProviders" (duplicate of existing "SqlAuthenticationProviders") to allow co-existence of configurations for both drivers, "System.Data.SqlClient" and "Microsoft.Data.SqlClient" [#701](https://github.com/dotnet/SqlClient/pull/701) + +### Fixed +- Fixed pooled connection re-use on access token expiry for supported Active Directory Authentication modes [#639](https://github.com/dotnet/SqlClient/pull/639) +- Fixed transient fault handling for Pooled connections [#638](https://github.com/dotnet/SqlClient/pull/638) +- Fixed Enclave session cache issue with Azure Database [#628](https://github.com/dotnet/SqlClient/pull/628) +- Reverted changes to return empty DataTable from GetSchemaTable to return null as before. [#697](https://github.com/dotnet/SqlClient/pull/697) +- Fixed configuration section collision issue with System.Data.SqlClient type [#701](https://github.com/dotnet/SqlClient/pull/701) + ## [Stable Release 2.0.0] - 2020-06-16 ### Added @@ -37,7 +49,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Fixed - Fixed `SqlBulkCopy` to work with database columns containing metadata about data classification [#568](https://github.com/dotnet/SqlClient/pull/568) -- Fixed unsafe cast in `SqlException` for `SerializationEntry.Value` +- Fixed unsafe cast in `SqlException` for `SerializationEntry.Value` - Fixed null reference exceptions in `SqlDelegatedTransaction` methods [#563](https://github.com/dotnet/SqlClient/pull/563) ### Changes @@ -59,7 +71,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Added - Allow passing username with Active Directory Interactive Authentication in .NET Framework [#492](https://github.com/dotnet/SqlClient/pull/492) -- Allow large UDT buffers for .NET Framework [#456](https://github.com/dotnet/SqlClient/pull/456) +- Allow large UDT buffers for .NET Framework [#456](https://github.com/dotnet/SqlClient/pull/456) - Added "Transaction Id" and "Client Version" in Diagnostic Source traces [#515](https://github.com/dotnet/SqlClient/pull/515) - Added new `SqlConnectionOverrides` APIs to perform `SqlConnection.Open()` with fail fast option [#463](https://github.com/dotnet/SqlClient/pull/463) @@ -114,7 +126,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Updated error messages for "Always Encrypted - Secure Enclaves" to handle 'Attestation Protocol' and fixed typos [#421](https://github.com/dotnet/SqlClient/pull/421) [#397](https://github.com/dotnet/SqlClient/pull/397) - Removed sync over async in `SNINpHandle.EnableSsl` [#474](https://github.com/dotnet/SqlClient/pull/474) - Changed non-generic `ArrayList` to `List` in `SqlBulkCopy` [#457](https://github.com/dotnet/SqlClient/pull/457) -- Multiple performance improvements [#377](https://github.com/dotnet/SqlClient/pull/377) [#378](https://github.com/dotnet/SqlClient/pull/378) [#379](https://github.com/dotnet/SqlClient/pull/379) +- Multiple performance improvements [#377](https://github.com/dotnet/SqlClient/pull/377) [#378](https://github.com/dotnet/SqlClient/pull/378) [#379](https://github.com/dotnet/SqlClient/pull/379) ### Breaking Changes - The driver will now perform Server Certificate validation when TLS encryption is enforced by the target Server, which is the default for Azure connections [#391](https://github.com/dotnet/SqlClient/pull/391) diff --git a/release-notes/2.0/2.0.1.md b/release-notes/2.0/2.0.1.md new file mode 100644 index 0000000000..9216d9c951 --- /dev/null +++ b/release-notes/2.0/2.0.1.md @@ -0,0 +1,69 @@ +# Release Notes + +## Microsoft.Data.SqlClient 2.0.1 released 21 August 2020 + +This update brings the below changes over the previous stable release: + +### Added +- Added support for a new Configuration Section "SqlClientAuthenticationProviders" (duplicate of existing "SqlAuthenticationProviders") to allow co-existence of configurations for both drivers, "System.Data.SqlClient" and "Microsoft.Data.SqlClient" [#701](https://github.com/dotnet/SqlClient/pull/701) + +### Fixed +- Fixed pooled connection re-use on access token expiry for supported Active Directory Authentication modes [#639](https://github.com/dotnet/SqlClient/pull/639) +- Fixed transient fault handling for Pooled connections [#638](https://github.com/dotnet/SqlClient/pull/638) +- Fixed Enclave session cache issue with Azure Database [#628](https://github.com/dotnet/SqlClient/pull/628) +- Reverted changes to return empty DataTable from GetSchemaTable to return null as before. [#697](https://github.com/dotnet/SqlClient/pull/697) +- Fixed configuration section collision issue with System.Data.SqlClient type [#701](https://github.com/dotnet/SqlClient/pull/701) + + +## Target Platform Support + +- .NET Framework 4.6+ (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.0.0 +- Microsoft.Identity.Client 4.14.0 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 5.6.0 +- Microsoft.IdentityModel.JsonWebTokens 5.6.0 + +#### .NET Core 2.1 + +- Microsoft.Data.SqlClient.SNI.runtime 2.0.0 +- 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.14.0 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 5.6.0 +- Microsoft.IdentityModel.JsonWebTokens 5.6.0 + +#### .NET Core 3.1 + +- Microsoft.Data.SqlClient.SNI.runtime 2.0.0 +- 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.14.0 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 5.6.0 +- Microsoft.IdentityModel.JsonWebTokens 5.6.0 + +#### .NET Standard + +- Microsoft.Data.SqlClient.SNI.runtime 2.0.0 +- 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 +- Microsoft.Identity.Client 4.14.0 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 5.6.0 +- Microsoft.IdentityModel.JsonWebTokens 5.6.0 diff --git a/release-notes/2.0/2.0.md b/release-notes/2.0/2.0.md index 57ab9b4f80..a90f48a58b 100644 --- a/release-notes/2.0/2.0.md +++ b/release-notes/2.0/2.0.md @@ -4,6 +4,7 @@ The following Microsoft.Data.SqlClient 2.0 stable releases have been shipped: | Release Date | Version | Notes | | :-- | :-- | :--: | +| 2020/08/21 | 2.0.1 | [release notes](2.0.1.md) | | 2020/06/16 | 2.0.0 | [release notes](2.0.0.md) | The following Microsoft.Data.SqlClient 2.0 preview releases have been shipped: diff --git a/release-notes/2.0/README.md b/release-notes/2.0/README.md index 57ab9b4f80..a90f48a58b 100644 --- a/release-notes/2.0/README.md +++ b/release-notes/2.0/README.md @@ -4,6 +4,7 @@ The following Microsoft.Data.SqlClient 2.0 stable releases have been shipped: | Release Date | Version | Notes | | :-- | :-- | :--: | +| 2020/08/21 | 2.0.1 | [release notes](2.0.1.md) | | 2020/06/16 | 2.0.0 | [release notes](2.0.0.md) | The following Microsoft.Data.SqlClient 2.0 preview releases have been shipped: From 46e578abea354ae3e06bc92d3f891361185f62aa Mon Sep 17 00:00:00 2001 From: Cheena Malhotra Date: Tue, 25 Aug 2020 14:09:39 -0700 Subject: [PATCH 2/3] Update release notes + SNI version to 2.0.1 --- CHANGELOG.md | 4 +++- release-notes/2.0/2.0.1.md | 11 ++++++----- release-notes/2.0/2.0.md | 2 +- release-notes/2.0/README.md | 2 +- tools/props/Versions.props | 4 ++-- tools/specs/Microsoft.Data.SqlClient.nuspec | 8 ++++---- 6 files changed, 17 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2262fb67ab..23578e65f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) -## [Stable Release 2.0.1] - 2020-08-21 +## [Stable Release 2.0.1] - 2020-08-25 ### Added - Added support for a new Configuration Section "SqlClientAuthenticationProviders" (duplicate of existing "SqlAuthenticationProviders") to allow co-existence of configurations for both drivers, "System.Data.SqlClient" and "Microsoft.Data.SqlClient" [#701](https://github.com/dotnet/SqlClient/pull/701) @@ -15,6 +15,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Fixed Enclave session cache issue with Azure Database [#628](https://github.com/dotnet/SqlClient/pull/628) - Reverted changes to return empty DataTable from GetSchemaTable to return null as before. [#697](https://github.com/dotnet/SqlClient/pull/697) - Fixed configuration section collision issue with System.Data.SqlClient type [#701](https://github.com/dotnet/SqlClient/pull/701) +- Fixed blank error message [HTTP Provider] issues due to unexpected pre-login failures when using Native SNI. Fixed with Microsoft.Data.SqlClient.SNI v2.0.1 and Microsoft.Data.SqlClient.SNI.runtime v2.0.1 release versions. + ## [Stable Release 2.0.0] - 2020-06-16 diff --git a/release-notes/2.0/2.0.1.md b/release-notes/2.0/2.0.1.md index 9216d9c951..7f406cd19b 100644 --- a/release-notes/2.0/2.0.1.md +++ b/release-notes/2.0/2.0.1.md @@ -1,6 +1,6 @@ # Release Notes -## Microsoft.Data.SqlClient 2.0.1 released 21 August 2020 +## Microsoft.Data.SqlClient 2.0.1 released 25 August 2020 This update brings the below changes over the previous stable release: @@ -13,6 +13,7 @@ This update brings the below changes over the previous stable release: - Fixed Enclave session cache issue with Azure Database [#628](https://github.com/dotnet/SqlClient/pull/628) - Reverted changes to return empty DataTable from GetSchemaTable to return null as before. [#697](https://github.com/dotnet/SqlClient/pull/697) - Fixed configuration section collision issue with System.Data.SqlClient type [#701](https://github.com/dotnet/SqlClient/pull/701) +- Fixed blank error message [HTTP Provider] issues due to unexpected pre-login failures when using Native SNI. Fixed with Microsoft.Data.SqlClient.SNI v2.0.1 and Microsoft.Data.SqlClient.SNI.runtime v2.0.1 release versions. ## Target Platform Support @@ -25,14 +26,14 @@ This update brings the below changes over the previous stable release: #### .NET Framework -- Microsoft.Data.SqlClient.SNI 2.0.0 +- Microsoft.Data.SqlClient.SNI 2.0.1 - Microsoft.Identity.Client 4.14.0 - Microsoft.IdentityModel.Protocols.OpenIdConnect 5.6.0 - Microsoft.IdentityModel.JsonWebTokens 5.6.0 #### .NET Core 2.1 -- Microsoft.Data.SqlClient.SNI.runtime 2.0.0 +- Microsoft.Data.SqlClient.SNI.runtime 2.0.1 - Microsoft.Win32.Registry 4.7.0 - System.Security.Principal.Windows 4.7.0 - System.Text.Encoding.CodePages 4.7.0 @@ -45,7 +46,7 @@ This update brings the below changes over the previous stable release: #### .NET Core 3.1 -- Microsoft.Data.SqlClient.SNI.runtime 2.0.0 +- Microsoft.Data.SqlClient.SNI.runtime 2.0.1 - Microsoft.Win32.Registry 4.7.0 - System.Security.Principal.Windows 4.7.0 - System.Text.Encoding.CodePages 4.7.0 @@ -58,7 +59,7 @@ This update brings the below changes over the previous stable release: #### .NET Standard -- Microsoft.Data.SqlClient.SNI.runtime 2.0.0 +- Microsoft.Data.SqlClient.SNI.runtime 2.0.1 - Microsoft.Win32.Registry 4.7.0 - System.Buffers 4.5.1 - System.Memory 4.5.4 diff --git a/release-notes/2.0/2.0.md b/release-notes/2.0/2.0.md index a90f48a58b..5bde012d6a 100644 --- a/release-notes/2.0/2.0.md +++ b/release-notes/2.0/2.0.md @@ -4,7 +4,7 @@ The following Microsoft.Data.SqlClient 2.0 stable releases have been shipped: | Release Date | Version | Notes | | :-- | :-- | :--: | -| 2020/08/21 | 2.0.1 | [release notes](2.0.1.md) | +| 2020/08/25 | 2.0.1 | [release notes](2.0.1.md) | | 2020/06/16 | 2.0.0 | [release notes](2.0.0.md) | The following Microsoft.Data.SqlClient 2.0 preview releases have been shipped: diff --git a/release-notes/2.0/README.md b/release-notes/2.0/README.md index a90f48a58b..5bde012d6a 100644 --- a/release-notes/2.0/README.md +++ b/release-notes/2.0/README.md @@ -4,7 +4,7 @@ The following Microsoft.Data.SqlClient 2.0 stable releases have been shipped: | Release Date | Version | Notes | | :-- | :-- | :--: | -| 2020/08/21 | 2.0.1 | [release notes](2.0.1.md) | +| 2020/08/25 | 2.0.1 | [release notes](2.0.1.md) | | 2020/06/16 | 2.0.0 | [release notes](2.0.0.md) | The following Microsoft.Data.SqlClient 2.0 preview releases have been shipped: diff --git a/tools/props/Versions.props b/tools/props/Versions.props index 086c8adb91..10cbdc5161 100644 --- a/tools/props/Versions.props +++ b/tools/props/Versions.props @@ -12,7 +12,7 @@ - 2.0.0 + 2.0.1 4.3.1 4.3.0 @@ -27,7 +27,7 @@ 4.7.0 - 2.0.0 + 2.0.1 4.7.0 4.7.0 4.7.0 diff --git a/tools/specs/Microsoft.Data.SqlClient.nuspec b/tools/specs/Microsoft.Data.SqlClient.nuspec index 3e09d83333..195d35563a 100644 --- a/tools/specs/Microsoft.Data.SqlClient.nuspec +++ b/tools/specs/Microsoft.Data.SqlClient.nuspec @@ -27,13 +27,13 @@ When using NuGet 3.x this package requires at least version 3.4. sqlclient microsoft.data.sqlclient - + - + @@ -45,7 +45,7 @@ When using NuGet 3.x this package requires at least version 3.4. - + @@ -57,7 +57,7 @@ When using NuGet 3.x this package requires at least version 3.4. - + From 1c7c32c8eb3a250a2c87198881ba726b2815e51e Mon Sep 17 00:00:00 2001 From: Cheena Malhotra Date: Tue, 25 Aug 2020 15:49:12 -0700 Subject: [PATCH 3/3] Feedback from previous release notes. --- CHANGELOG.md | 4 ++-- release-notes/2.0/2.0.1.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23578e65f1..01b6349698 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Stable Release 2.0.1] - 2020-08-25 ### Added -- Added support for a new Configuration Section "SqlClientAuthenticationProviders" (duplicate of existing "SqlAuthenticationProviders") to allow co-existence of configurations for both drivers, "System.Data.SqlClient" and "Microsoft.Data.SqlClient" [#701](https://github.com/dotnet/SqlClient/pull/701) +- Added support for a new Configuration Section, `SqlClientAuthenticationProviders` (duplicate of existing `SqlAuthenticationProviders`), to allow co-existence of configurations for both drivers, "System.Data.SqlClient" and "Microsoft.Data.SqlClient" [#701](https://github.com/dotnet/SqlClient/pull/701) ### Fixed -- Fixed pooled connection re-use on access token expiry for supported Active Directory Authentication modes [#639](https://github.com/dotnet/SqlClient/pull/639) +- Fixed pooled connection re-use on access token expiry issue when using Active Directory authentication modes [#639](https://github.com/dotnet/SqlClient/pull/639) - Fixed transient fault handling for Pooled connections [#638](https://github.com/dotnet/SqlClient/pull/638) - Fixed Enclave session cache issue with Azure Database [#628](https://github.com/dotnet/SqlClient/pull/628) - Reverted changes to return empty DataTable from GetSchemaTable to return null as before. [#697](https://github.com/dotnet/SqlClient/pull/697) diff --git a/release-notes/2.0/2.0.1.md b/release-notes/2.0/2.0.1.md index 7f406cd19b..ce339c57fb 100644 --- a/release-notes/2.0/2.0.1.md +++ b/release-notes/2.0/2.0.1.md @@ -5,10 +5,10 @@ This update brings the below changes over the previous stable release: ### Added -- Added support for a new Configuration Section "SqlClientAuthenticationProviders" (duplicate of existing "SqlAuthenticationProviders") to allow co-existence of configurations for both drivers, "System.Data.SqlClient" and "Microsoft.Data.SqlClient" [#701](https://github.com/dotnet/SqlClient/pull/701) +- Added support for a new Configuration Section, `SqlClientAuthenticationProviders` (duplicate of existing `SqlAuthenticationProviders`), to allow co-existence of configurations for both drivers, "System.Data.SqlClient" and "Microsoft.Data.SqlClient" [#701](https://github.com/dotnet/SqlClient/pull/701) ### Fixed -- Fixed pooled connection re-use on access token expiry for supported Active Directory Authentication modes [#639](https://github.com/dotnet/SqlClient/pull/639) +- Fixed pooled connection re-use on access token expiry issue when using Active Directory authentication modes [#639](https://github.com/dotnet/SqlClient/pull/639) - Fixed transient fault handling for Pooled connections [#638](https://github.com/dotnet/SqlClient/pull/638) - Fixed Enclave session cache issue with Azure Database [#628](https://github.com/dotnet/SqlClient/pull/628) - Reverted changes to return empty DataTable from GetSchemaTable to return null as before. [#697](https://github.com/dotnet/SqlClient/pull/697)