From 1dde17f46e7303e3be9538395f51103c19f0345e Mon Sep 17 00:00:00 2001 From: JRahnama Date: Thu, 7 Dec 2023 14:19:03 -0800 Subject: [PATCH 1/8] Release notes 5.2.0-preview4 --- CHANGELOG.md | 35 ++++++++++++ release-notes/5.2/5.2.0-preview4.md | 84 +++++++++++++++++++++++++++++ release-notes/5.2/5.2.0.md | 1 + release-notes/5.2/README.md | 1 + 4 files changed, 121 insertions(+) create mode 100644 release-notes/5.2/5.2.0-preview4.md diff --git a/CHANGELOG.md b/CHANGELOG.md index f71cc0eec7..d0647588da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,41 @@ 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/) +## [Preview Release 5.2.0-preview4.x] - 2023-12-07 + +### Added + +- Added `SQLBatch` public API supprot to NetCore [#1825](https://github.com/dotnet/SqlClient/pull/1825), [#2223](https://github.com/dotnet/SqlClient/pull/2223) +- Added WorkLoad Identity support [#2159](https://github.com/dotnet/SqlClient/pull/1825) +- Added Localization support to NetCore [#2210](https://github.com/dotnet/SqlClient/pull/2110) +- Added caching support for all `AppContext` switches [#227](https://github.com/dotnet/SqlClient/pull/2227) +- Added support for Georgian collation [#2194](https://github.com/dotnet/SqlClient/pull/2194) +- Added support for Big Endian Systems [#2170](https://github.com/dotnet/SqlClient/pull/2170) + + +### Changed + +- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET Core/Standard dependency) version to `v5.2.0-preview1.23340.1`. [#2257](https://github.com/dotnet/SqlClient/pull/2257) +- Improved CPU usage when `AppContext` switched are in use [#2227](https://github.com/dotnet/SqlClient/pull/2227) +- Upgraded `Azure.Identity` version to [1.10.3](https://www.nuget.org/packages/Azure.Identity/1.10.3) to address [ CVE-2023-36414](https://github.com/advisories/GHSA-5mfx-4wcx-rv27), [#2188](https://github.com/dotnet/SqlClient/pull/2188) +- Improved error messages on RemoteCertificate validation in manaded SNI [#2060](https://github.com/dotnet/SqlClient/pull/2060) + + +### Fixed + +- Fixed the issue with `AppContext` switches CPU useage [#2227](https://github.com/dotnet/SqlClient/pull/2227) +- Fixed the issue for validating server certificate when using Authentication option, but not encrypting on NetFX [#2224](https://github.com/dotnet/SqlClient/pull/2224) +- Ported deadlock problem for `Transaction` to NetFX [#2161](https://github.com/dotnet/SqlClient/pull/2161) +- Fixed the issue for SQL named instances on named pipes in manged SNI [#2141](https://github.com/dotnet/SqlClient/pull/2142) +- Fixed the issue for `LocalDb` in managed SNI [#2129](https://github.com/dotnet/SqlClient/pull/2129) +- Fixed `AccessViolationException` issue when using express user instance [#2101](https://github.com/dotnet/SqlClient/pull/2101) +- Fixed UDT query issue on Azure SQL Edge [#2099](https://github.com/dotnet/SqlClient/pull/2099) +- Fixed NetCore and Net Standard file version [#2093](https://github.com/dotnet/SqlClient/pull/2093) +- Fixed the issue on Linux SPN port number when using named instance and Kerberos authention [#2240](https://github.com/dotnet/SqlClient/pull/2240) +- Various code improvements [#2091](https://github.com/dotnet/SqlClient/pull/2091), [#2098](https://github.com/dotnet/SqlClient/pull/2098), [#2121](https://github.com/dotnet/SqlClient/pull/2121), [#2122](https://github.com/dotnet/SqlClient/pull/2122), [#2132](https://github.com/dotnet/SqlClient/pull/2132), [#2136](https://github.com/dotnet/SqlClient/pull/2136), [#2144](https://github.com/dotnet/SqlClient/pull/2144), [#2147](https://github.com/dotnet/SqlClient/pull/2147), [#2157](https://github.com/dotnet/SqlClient/pull/2157), [#2164](https://github.com/dotnet/SqlClient/pull/2164), [#2166](https://github.com/dotnet/SqlClient/pull/2166), [#2168](https://github.com/dotnet/SqlClient/pull/2168), [#2186](https://github.com/dotnet/SqlClient/pull/2186), + +This update brings the below changes over the previous release: + ## [Preview Release 5.2.0-preview3.23201.1] - 2023-07-20 This update brings the below changes over the previous release: diff --git a/release-notes/5.2/5.2.0-preview4.md b/release-notes/5.2/5.2.0-preview4.md new file mode 100644 index 0000000000..38b31ff5ee --- /dev/null +++ b/release-notes/5.2/5.2.0-preview4.md @@ -0,0 +1,84 @@ +# Release Notes + +## [Preview Release 5.2.0-preview4.x] - 2023-12-07 + +This update brings the below changes over the previous release: + +### Added + +- Added `SQLBatch` public API supprot to NetCore [#1825](https://github.com/dotnet/SqlClient/pull/1825), [#2223](https://github.com/dotnet/SqlClient/pull/2223), [Read more](#sqlbatch-api) +- Added WorkLoad Identity support [#2159](https://github.com/dotnet/SqlClient/pull/1825) +- Added Localization support to NetCore [#2210](https://github.com/dotnet/SqlClient/pull/2110) +- Added caching support for all `AppContext` switches [#227](https://github.com/dotnet/SqlClient/pull/2227) +- Added support for Georgian collation [#2194](https://github.com/dotnet/SqlClient/pull/2194) +- Added support for Big Endian Systems [#2170](https://github.com/dotnet/SqlClient/pull/2170) + +### Changed + +- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET Core/Standard dependency) version to `v5.2.0-preview1.23340.1`. [#2257](https://github.com/dotnet/SqlClient/pull/2257) +- Improved CPU usage when `AppContext` switched are in use [#2227](https://github.com/dotnet/SqlClient/pull/2227) +- Upgraded `Azure.Identity` version to [1.10.3](https://www.nuget.org/packages/Azure.Identity/1.10.3) to address [ CVE-2023-36414](https://github.com/advisories/GHSA-5mfx-4wcx-rv27), [#2188](https://github.com/dotnet/SqlClient/pull/2188) +- Improved error messages on RemoteCertificate validation in manaded SNI [#2060](https://github.com/dotnet/SqlClient/pull/2060) + + +### Fixed + +- Fixed the issue with `AppContext` switches CPU useage [#2227](https://github.com/dotnet/SqlClient/pull/2227) +- Fixed the issue for validating server certificate when using Authentication option, but not encrypting on NetFX [#2224](https://github.com/dotnet/SqlClient/pull/2224) +- Ported deadlock problem for `Transaction` to NetFX [#2161](https://github.com/dotnet/SqlClient/pull/2161) +- Fixed the issue for SQL named instances on named pipes in manged SNI [#2141](https://github.com/dotnet/SqlClient/pull/2142) +- Fixed the issue for `LocalDb` in managed SNI [#2129](https://github.com/dotnet/SqlClient/pull/2129) +- Fixed `AccessViolationException` issue when using express user instance [#2101](https://github.com/dotnet/SqlClient/pull/2101) +- Fixed UDT query issue on Azure SQL Edge [#2099](https://github.com/dotnet/SqlClient/pull/2099) +- Fixed NetCore and Net Standard file version [#2093](https://github.com/dotnet/SqlClient/pull/2093) +- Fixed NetCore and Net Standard file version [#2093](https://github.com/dotnet/SqlClient/pull/2093) +- Various code improvements [#2091](https://github.com/dotnet/SqlClient/pull/2091), [#2098](https://github.com/dotnet/SqlClient/pull/2098), [#2121](https://github.com/dotnet/SqlClient/pull/2121), [#2122](https://github.com/dotnet/SqlClient/pull/2122), [#2132](https://github.com/dotnet/SqlClient/pull/2132), [#2136](https://github.com/dotnet/SqlClient/pull/2136), [#2144](https://github.com/dotnet/SqlClient/pull/2144), [#2147](https://github.com/dotnet/SqlClient/pull/2147), [#2157](https://github.com/dotnet/SqlClient/pull/2157), [#2164](https://github.com/dotnet/SqlClient/pull/2164), [#2166](https://github.com/dotnet/SqlClient/pull/2166), [#2168](https://github.com/dotnet/SqlClient/pull/2168), [#2186](https://github.com/dotnet/SqlClient/pull/2186), + +### SQLBatch API + +```csharp +using Microsoft.Data.SqlClient; + +class Program +{ + static void Main() + { + string str = "Data Source=(local);Initial Catalog=Northwind;" + + "Integrated Security=SSPI;Encrypt=False"; + RunBatch(str); + } + + static void RunBatch(string connString) + { + using var connection = new SqlConnection(connString); + connection.Open(); + + var batch = new SqlBatch(connection); + + const int count = 10; + const string parameterName = "parameter"; + for (int i = 0; i < count; i++) + { + var batchCommand = new SqlBatchCommand($"SELECT @{parameterName} as value"); + batchCommand.Parameters.Add(new SqlParameter(parameterName, i)); + batch.BatchCommands.Add(batchCommand); + } + + // Optionally Prepare + batch.Prepare(); + + var results = new List(count); + using (SqlDataReader reader = batch.ExecuteReader()) + { + do + { + while (reader.Read()) + { + results.Add(reader.GetFieldValue(0)); + } + } while (reader.NextResult()); + } + Console.WriteLine(string.Join(", ", results)); + } +} +``` \ No newline at end of file diff --git a/release-notes/5.2/5.2.0.md b/release-notes/5.2/5.2.0.md index 5d1675b7a3..107c74f214 100644 --- a/release-notes/5.2/5.2.0.md +++ b/release-notes/5.2/5.2.0.md @@ -1,5 +1,6 @@ | Release Date | Version | Notes | | :-- | :-- | :--: | +| 2023/07/20 | 5.2.0-preview4.xxxx | [relese notes](5.2.0-preview4.md) | | 2023/07/20 | 5.2.0-preview3.23201.1 | [relese notes](5.2.0-preview3.md) | | 2023/06/08 | 5.2.0-preview2.23159.1 | [relese notes](5.2.0-preview2.md) | | 2023/04/20 | 5.2.0-preview1.23109.1 | [release notes](5.2.0-preview1.md) | diff --git a/release-notes/5.2/README.md b/release-notes/5.2/README.md index 592b0a61ca..f6b81b8f49 100644 --- a/release-notes/5.2/README.md +++ b/release-notes/5.2/README.md @@ -4,6 +4,7 @@ The following Microsoft.Data.SqlClient 5.2 preview releases have been shipped: | Release Date | Version | Notes | | :-- | :-- | :--: | +| 2023/12/07 | 5.2.0-previewxxx | [release notes](5.2.0-preview4.md) | 2023/07/20 | 5.2.0-preview3.23201.1 | [relese notes](5.2.0-preview3.md) | | 2023/06/08 | 5.2.0-preview2.23159.1 | [release notes](5.2.0-preview2.md) | | 2023/04/20 | 5.2.0-preview1.23109.1 | [release notes](5.2.0-preview1.md) | From 2ee8e98a7dcabfde01b05bb49dd88a844217cec1 Mon Sep 17 00:00:00 2001 From: David Engel Date: Thu, 7 Dec 2023 15:19:36 -0800 Subject: [PATCH 2/8] Apply suggestions from code review --- CHANGELOG.md | 38 +++++++++++++---------------- release-notes/5.2/5.2.0-preview4.md | 37 +++++++++++++--------------- release-notes/5.2/5.2.0.md | 6 ++--- 3 files changed, 37 insertions(+), 44 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d0647588da..e5e9c9e651 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,34 +8,30 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Added -- Added `SQLBatch` public API supprot to NetCore [#1825](https://github.com/dotnet/SqlClient/pull/1825), [#2223](https://github.com/dotnet/SqlClient/pull/2223) -- Added WorkLoad Identity support [#2159](https://github.com/dotnet/SqlClient/pull/1825) -- Added Localization support to NetCore [#2210](https://github.com/dotnet/SqlClient/pull/2110) -- Added caching support for all `AppContext` switches [#227](https://github.com/dotnet/SqlClient/pull/2227) +- Added `SqlBatch` support on .NET 6+[#1825](https://github.com/dotnet/SqlClient/pull/1825), [#2223](https://github.com/dotnet/SqlClient/pull/2223) +- Added Workload Identity authentication support [#2159](https://github.com/dotnet/SqlClient/pull/2159) +- Added Localization support on .NET [#2210](https://github.com/dotnet/SqlClient/pull/2110) - Added support for Georgian collation [#2194](https://github.com/dotnet/SqlClient/pull/2194) -- Added support for Big Endian Systems [#2170](https://github.com/dotnet/SqlClient/pull/2170) - +- Added support for Big Endian systems [#2170](https://github.com/dotnet/SqlClient/pull/2170) ### Changed -- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET Core/Standard dependency) version to `v5.2.0-preview1.23340.1`. [#2257](https://github.com/dotnet/SqlClient/pull/2257) -- Improved CPU usage when `AppContext` switched are in use [#2227](https://github.com/dotnet/SqlClient/pull/2227) -- Upgraded `Azure.Identity` version to [1.10.3](https://www.nuget.org/packages/Azure.Identity/1.10.3) to address [ CVE-2023-36414](https://github.com/advisories/GHSA-5mfx-4wcx-rv27), [#2188](https://github.com/dotnet/SqlClient/pull/2188) -- Improved error messages on RemoteCertificate validation in manaded SNI [#2060](https://github.com/dotnet/SqlClient/pull/2060) - +- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET/.NET Standard dependency) version to `v5.2.0-preview1.23340.1`. [#2257](https://github.com/dotnet/SqlClient/pull/2257) +- Improved CPU usage when `AppContext` switches are in use [#2227](https://github.com/dotnet/SqlClient/pull/2227) +- Upgraded `Azure.Identity` dependency version to [1.10.3](https://www.nuget.org/packages/Azure.Identity/1.10.3) to address [CVE-2023-36414](https://github.com/advisories/GHSA-5mfx-4wcx-rv27), [#2188](https://github.com/dotnet/SqlClient/pull/2188) +- Improved error messages when validating server certificates in managed SNI (Linux/macOS) [#2060](https://github.com/dotnet/SqlClient/pull/2060) ### Fixed -- Fixed the issue with `AppContext` switches CPU useage [#2227](https://github.com/dotnet/SqlClient/pull/2227) -- Fixed the issue for validating server certificate when using Authentication option, but not encrypting on NetFX [#2224](https://github.com/dotnet/SqlClient/pull/2224) -- Ported deadlock problem for `Transaction` to NetFX [#2161](https://github.com/dotnet/SqlClient/pull/2161) -- Fixed the issue for SQL named instances on named pipes in manged SNI [#2141](https://github.com/dotnet/SqlClient/pull/2142) -- Fixed the issue for `LocalDb` in managed SNI [#2129](https://github.com/dotnet/SqlClient/pull/2129) -- Fixed `AccessViolationException` issue when using express user instance [#2101](https://github.com/dotnet/SqlClient/pull/2101) -- Fixed UDT query issue on Azure SQL Edge [#2099](https://github.com/dotnet/SqlClient/pull/2099) -- Fixed NetCore and Net Standard file version [#2093](https://github.com/dotnet/SqlClient/pull/2093) -- Fixed the issue on Linux SPN port number when using named instance and Kerberos authention [#2240](https://github.com/dotnet/SqlClient/pull/2240) -- Various code improvements [#2091](https://github.com/dotnet/SqlClient/pull/2091), [#2098](https://github.com/dotnet/SqlClient/pull/2098), [#2121](https://github.com/dotnet/SqlClient/pull/2121), [#2122](https://github.com/dotnet/SqlClient/pull/2122), [#2132](https://github.com/dotnet/SqlClient/pull/2132), [#2136](https://github.com/dotnet/SqlClient/pull/2136), [#2144](https://github.com/dotnet/SqlClient/pull/2144), [#2147](https://github.com/dotnet/SqlClient/pull/2147), [#2157](https://github.com/dotnet/SqlClient/pull/2157), [#2164](https://github.com/dotnet/SqlClient/pull/2164), [#2166](https://github.com/dotnet/SqlClient/pull/2166), [#2168](https://github.com/dotnet/SqlClient/pull/2168), [#2186](https://github.com/dotnet/SqlClient/pull/2186), +- Fixed an issue when using the Authentication option, but not encrypting on .NET Framework where the server certificate was being incorrectly validated [#2224](https://github.com/dotnet/SqlClient/pull/2224) +- Fixed a deadlock problem for distributed transactions when on .NET [#2161](https://github.com/dotnet/SqlClient/pull/2161) +- Fixed an issue with connecting to named instances on named pipes in managed SNI (Linux/macOS)[#2142](https://github.com/dotnet/SqlClient/pull/2142) +- Fixed an issue when connecting to an invalid LocalDB name using managed SNI [#2129](https://github.com/dotnet/SqlClient/pull/2129) +- Fixed an `AccessViolationException` when using a SQL Express user instance [#2101](https://github.com/dotnet/SqlClient/pull/2101) +- Fixed a metadata query issue when connecting to Azure SQL Edge [#2099](https://github.com/dotnet/SqlClient/pull/2099) +- Fixed file version information for .NET and .NET Standard binaries[#2093](https://github.com/dotnet/SqlClient/pull/2093) +- Fixed the SPN sent for a named instance when using Kerberos authentication on Linux/macOS [#2240](https://github.com/dotnet/SqlClient/pull/2240) +- Various code improvements [#2091](https://github.com/dotnet/SqlClient/pull/2091), [#2098](https://github.com/dotnet/SqlClient/pull/2098), [#2121](https://github.com/dotnet/SqlClient/pull/2121), [#2122](https://github.com/dotnet/SqlClient/pull/2122), [#2132](https://github.com/dotnet/SqlClient/pull/2132), [#2136](https://github.com/dotnet/SqlClient/pull/2136), [#2144](https://github.com/dotnet/SqlClient/pull/2144), [#2147](https://github.com/dotnet/SqlClient/pull/2147), [#2157](https://github.com/dotnet/SqlClient/pull/2157), [#2164](https://github.com/dotnet/SqlClient/pull/2164), [#2166](https://github.com/dotnet/SqlClient/pull/2166), [#2168](https://github.com/dotnet/SqlClient/pull/2168), [#2186](https://github.com/dotnet/SqlClient/pull/2186) This update brings the below changes over the previous release: diff --git a/release-notes/5.2/5.2.0-preview4.md b/release-notes/5.2/5.2.0-preview4.md index 38b31ff5ee..d2fa2c082e 100644 --- a/release-notes/5.2/5.2.0-preview4.md +++ b/release-notes/5.2/5.2.0-preview4.md @@ -6,33 +6,30 @@ This update brings the below changes over the previous release: ### Added -- Added `SQLBatch` public API supprot to NetCore [#1825](https://github.com/dotnet/SqlClient/pull/1825), [#2223](https://github.com/dotnet/SqlClient/pull/2223), [Read more](#sqlbatch-api) -- Added WorkLoad Identity support [#2159](https://github.com/dotnet/SqlClient/pull/1825) -- Added Localization support to NetCore [#2210](https://github.com/dotnet/SqlClient/pull/2110) -- Added caching support for all `AppContext` switches [#227](https://github.com/dotnet/SqlClient/pull/2227) +- Added `SqlBatch` support on .NET 6+[#1825](https://github.com/dotnet/SqlClient/pull/1825), [#2223](https://github.com/dotnet/SqlClient/pull/2223) +- Added Workload Identity authentication support [#2159](https://github.com/dotnet/SqlClient/pull/2159) +- Added Localization support on .NET [#2210](https://github.com/dotnet/SqlClient/pull/2110) - Added support for Georgian collation [#2194](https://github.com/dotnet/SqlClient/pull/2194) -- Added support for Big Endian Systems [#2170](https://github.com/dotnet/SqlClient/pull/2170) +- Added support for Big Endian systems [#2170](https://github.com/dotnet/SqlClient/pull/2170) ### Changed -- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET Core/Standard dependency) version to `v5.2.0-preview1.23340.1`. [#2257](https://github.com/dotnet/SqlClient/pull/2257) -- Improved CPU usage when `AppContext` switched are in use [#2227](https://github.com/dotnet/SqlClient/pull/2227) -- Upgraded `Azure.Identity` version to [1.10.3](https://www.nuget.org/packages/Azure.Identity/1.10.3) to address [ CVE-2023-36414](https://github.com/advisories/GHSA-5mfx-4wcx-rv27), [#2188](https://github.com/dotnet/SqlClient/pull/2188) -- Improved error messages on RemoteCertificate validation in manaded SNI [#2060](https://github.com/dotnet/SqlClient/pull/2060) - +- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET/.NET Standard dependency) version to `v5.2.0-preview1.23340.1`. [#2257](https://github.com/dotnet/SqlClient/pull/2257) +- Improved CPU usage when `AppContext` switches are in use [#2227](https://github.com/dotnet/SqlClient/pull/2227) +- Upgraded `Azure.Identity` dependency version to [1.10.3](https://www.nuget.org/packages/Azure.Identity/1.10.3) to address [CVE-2023-36414](https://github.com/advisories/GHSA-5mfx-4wcx-rv27), [#2188](https://github.com/dotnet/SqlClient/pull/2188) +- Improved error messages when validating server certificates in managed SNI (Linux/macOS) [#2060](https://github.com/dotnet/SqlClient/pull/2060) ### Fixed -- Fixed the issue with `AppContext` switches CPU useage [#2227](https://github.com/dotnet/SqlClient/pull/2227) -- Fixed the issue for validating server certificate when using Authentication option, but not encrypting on NetFX [#2224](https://github.com/dotnet/SqlClient/pull/2224) -- Ported deadlock problem for `Transaction` to NetFX [#2161](https://github.com/dotnet/SqlClient/pull/2161) -- Fixed the issue for SQL named instances on named pipes in manged SNI [#2141](https://github.com/dotnet/SqlClient/pull/2142) -- Fixed the issue for `LocalDb` in managed SNI [#2129](https://github.com/dotnet/SqlClient/pull/2129) -- Fixed `AccessViolationException` issue when using express user instance [#2101](https://github.com/dotnet/SqlClient/pull/2101) -- Fixed UDT query issue on Azure SQL Edge [#2099](https://github.com/dotnet/SqlClient/pull/2099) -- Fixed NetCore and Net Standard file version [#2093](https://github.com/dotnet/SqlClient/pull/2093) -- Fixed NetCore and Net Standard file version [#2093](https://github.com/dotnet/SqlClient/pull/2093) -- Various code improvements [#2091](https://github.com/dotnet/SqlClient/pull/2091), [#2098](https://github.com/dotnet/SqlClient/pull/2098), [#2121](https://github.com/dotnet/SqlClient/pull/2121), [#2122](https://github.com/dotnet/SqlClient/pull/2122), [#2132](https://github.com/dotnet/SqlClient/pull/2132), [#2136](https://github.com/dotnet/SqlClient/pull/2136), [#2144](https://github.com/dotnet/SqlClient/pull/2144), [#2147](https://github.com/dotnet/SqlClient/pull/2147), [#2157](https://github.com/dotnet/SqlClient/pull/2157), [#2164](https://github.com/dotnet/SqlClient/pull/2164), [#2166](https://github.com/dotnet/SqlClient/pull/2166), [#2168](https://github.com/dotnet/SqlClient/pull/2168), [#2186](https://github.com/dotnet/SqlClient/pull/2186), +- Fixed an issue when using the Authentication option, but not encrypting on .NET Framework where the server certificate was being incorrectly validated [#2224](https://github.com/dotnet/SqlClient/pull/2224) +- Fixed a deadlock problem for distributed transactions when on .NET [#2161](https://github.com/dotnet/SqlClient/pull/2161) +- Fixed an issue with connecting to named instances on named pipes in managed SNI (Linux/macOS)[#2142](https://github.com/dotnet/SqlClient/pull/2142) +- Fixed an issue when connecting to an invalid LocalDB name using managed SNI [#2129](https://github.com/dotnet/SqlClient/pull/2129) +- Fixed an `AccessViolationException` when using a SQL Express user instance [#2101](https://github.com/dotnet/SqlClient/pull/2101) +- Fixed a metadata query issue when connecting to Azure SQL Edge [#2099](https://github.com/dotnet/SqlClient/pull/2099) +- Fixed file version information for .NET and .NET Standard binaries[#2093](https://github.com/dotnet/SqlClient/pull/2093) +- Fixed the SPN sent for a named instance when using Kerberos authentication on Linux/macOS [#2240](https://github.com/dotnet/SqlClient/pull/2240) +- Various code improvements [#2091](https://github.com/dotnet/SqlClient/pull/2091), [#2098](https://github.com/dotnet/SqlClient/pull/2098), [#2121](https://github.com/dotnet/SqlClient/pull/2121), [#2122](https://github.com/dotnet/SqlClient/pull/2122), [#2132](https://github.com/dotnet/SqlClient/pull/2132), [#2136](https://github.com/dotnet/SqlClient/pull/2136), [#2144](https://github.com/dotnet/SqlClient/pull/2144), [#2147](https://github.com/dotnet/SqlClient/pull/2147), [#2157](https://github.com/dotnet/SqlClient/pull/2157), [#2164](https://github.com/dotnet/SqlClient/pull/2164), [#2166](https://github.com/dotnet/SqlClient/pull/2166), [#2168](https://github.com/dotnet/SqlClient/pull/2168), [#2186](https://github.com/dotnet/SqlClient/pull/2186) ### SQLBatch API diff --git a/release-notes/5.2/5.2.0.md b/release-notes/5.2/5.2.0.md index 107c74f214..0cee0d6bf6 100644 --- a/release-notes/5.2/5.2.0.md +++ b/release-notes/5.2/5.2.0.md @@ -1,6 +1,6 @@ | Release Date | Version | Notes | | :-- | :-- | :--: | -| 2023/07/20 | 5.2.0-preview4.xxxx | [relese notes](5.2.0-preview4.md) | -| 2023/07/20 | 5.2.0-preview3.23201.1 | [relese notes](5.2.0-preview3.md) | -| 2023/06/08 | 5.2.0-preview2.23159.1 | [relese notes](5.2.0-preview2.md) | +| 2023/12/07 | 5.2.0-preview4.xxxx | [release notes](5.2.0-preview4.md) | +| 2023/07/20 | 5.2.0-preview3.23201.1 | [release notes](5.2.0-preview3.md) | +| 2023/06/08 | 5.2.0-preview2.23159.1 | [release notes](5.2.0-preview2.md) | | 2023/04/20 | 5.2.0-preview1.23109.1 | [release notes](5.2.0-preview1.md) | From 9e7ab03ffb98b404e610a8ddbae6401598c6ec88 Mon Sep 17 00:00:00 2001 From: David Engel Date: Thu, 7 Dec 2023 15:22:38 -0800 Subject: [PATCH 3/8] Apply suggestions from code review --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5e9c9e651..cea07b08d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Added -- Added `SqlBatch` support on .NET 6+[#1825](https://github.com/dotnet/SqlClient/pull/1825), [#2223](https://github.com/dotnet/SqlClient/pull/2223) +- Added `SqlBatch` support on .NET 6+ [#1825](https://github.com/dotnet/SqlClient/pull/1825), [#2223](https://github.com/dotnet/SqlClient/pull/2223) - Added Workload Identity authentication support [#2159](https://github.com/dotnet/SqlClient/pull/2159) - Added Localization support on .NET [#2210](https://github.com/dotnet/SqlClient/pull/2110) - Added support for Georgian collation [#2194](https://github.com/dotnet/SqlClient/pull/2194) From b95941b111d2d2928e1d30b8b8ecaba19b140988 Mon Sep 17 00:00:00 2001 From: JRahnama Date: Fri, 8 Dec 2023 11:41:01 -0800 Subject: [PATCH 4/8] Final Release note --- CHANGELOG.md | 2 +- release-notes/5.2/5.2.0-preview4.md | 57 ++++++++++++++++++++++++++++- release-notes/5.2/README.md | 4 +- 3 files changed, 58 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cea07b08d9..2e820f7080 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/) -## [Preview Release 5.2.0-preview4.x] - 2023-12-07 +## [Preview Release 5.2.0-preview4.23342.2] - 2023-12-08 ### Added diff --git a/release-notes/5.2/5.2.0-preview4.md b/release-notes/5.2/5.2.0-preview4.md index d2fa2c082e..8de2e519db 100644 --- a/release-notes/5.2/5.2.0-preview4.md +++ b/release-notes/5.2/5.2.0-preview4.md @@ -1,6 +1,6 @@ # Release Notes -## [Preview Release 5.2.0-preview4.x] - 2023-12-07 +## [Preview Release 5.2.0-preview4.23342.2] - 2023-12-08 This update brings the below changes over the previous release: @@ -78,4 +78,57 @@ class Program Console.WriteLine(string.Join(", ", results)); } } -``` \ No newline at end of file +``` + +## Target Platform Support + +- .NET Framework 4.6.2+ (Windows x86, Windows x64) +- .NET 6.0+ (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 5.2.0-preview1.23340.1 +- Azure.Identity 1.10.3 +- Microsoft.Identity.Client 4.56.0 +- Microsoft.IdentityModel.JsonWebTokens 6.24.0 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.24.0 +- System.Buffers 4.5.1 +- System.Configuration.ConfigurationManager 6.0.1 +- System.Runtime.InteropServices.RuntimeInformation 4.3.0 +- System.Text.Encoding.Web 6.0.0 + +#### .NET + +- Microsoft.Data.SqlClient.SNI 5.2.0-preview1.23340.1 +- Azure.Identity 1.10.3 +- Microsoft.Identity.Client 4.56.0 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.24.0 +- Microsoft.IdentityModel.JsonWebTokens 6.24.0 +- Microsoft.SqlServer.Server 1.0.0 +- System.Configuration.ConfigurationManager 6.0.1 +- System.Diagnostics.DiagnosticSource 6.0.1 +- System.Runtime.Caching 6.0.0 +- System.Text.Encoding.CodePages 6.0.0 +- System.Text.Encodings.Web 6.0.0 + +#### .NET Standard + +- Microsoft.Data.SqlClient.SNI 5.2.0-preview1.23340.1 +- Azure.Identity 1.10.3 +- Microsoft.Identity.Client 4.56.0 +- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.24.0 +- Microsoft.IdentityModel.JsonWebTokens 6.24.0 +- Microsoft.SqlServer.Server 1.0.0 +- Microsoft.Win32.Registry 5.0.0 +- System.Buffers 4.5.1 +- System.Configuration.ConfigurationManager 6.0.1 +- System.Diagnostics.DiagnosticSource 6.0.1 +- System.Runtime.Caching 6.0.0 +- System.Text.Encoding.CodePages 6.0.0 +- System.Text.Encodings.Web 6.0.0 +- System.Runtime.Loader 4.3.0 +- System.Security.Cryptography.Cng 5.0.0 +- System.Security.Principal.Windows 5.0.0 diff --git a/release-notes/5.2/README.md b/release-notes/5.2/README.md index f6b81b8f49..5d825a4cd4 100644 --- a/release-notes/5.2/README.md +++ b/release-notes/5.2/README.md @@ -4,7 +4,7 @@ The following Microsoft.Data.SqlClient 5.2 preview releases have been shipped: | Release Date | Version | Notes | | :-- | :-- | :--: | -| 2023/12/07 | 5.2.0-previewxxx | [release notes](5.2.0-preview4.md) -| 2023/07/20 | 5.2.0-preview3.23201.1 | [relese notes](5.2.0-preview3.md) | +| 2023/12/08 | 5.2.0-preview4.23342.2 | [release notes](5.2.0-preview4.md) | +| 2023/07/20 | 5.2.0-preview3.23201.1 | [release notes](5.2.0-preview3.md) | | 2023/06/08 | 5.2.0-preview2.23159.1 | [release notes](5.2.0-preview2.md) | | 2023/04/20 | 5.2.0-preview1.23109.1 | [release notes](5.2.0-preview1.md) | From 961a7a1efb552985c83e3d85d201d405b608a3f4 Mon Sep 17 00:00:00 2001 From: JRahnama Date: Sat, 9 Dec 2023 09:03:39 -0800 Subject: [PATCH 5/8] commit --- release-notes/5.2/5.2.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-notes/5.2/5.2.0.md b/release-notes/5.2/5.2.0.md index 0cee0d6bf6..bee158f95c 100644 --- a/release-notes/5.2/5.2.0.md +++ b/release-notes/5.2/5.2.0.md @@ -1,6 +1,6 @@ | Release Date | Version | Notes | | :-- | :-- | :--: | -| 2023/12/07 | 5.2.0-preview4.xxxx | [release notes](5.2.0-preview4.md) | +| 2023/12/08 | 5.2.0-preview4.23342.2 | [release notes](5.2.0-preview4.md) | | 2023/07/20 | 5.2.0-preview3.23201.1 | [release notes](5.2.0-preview3.md) | | 2023/06/08 | 5.2.0-preview2.23159.1 | [release notes](5.2.0-preview2.md) | | 2023/04/20 | 5.2.0-preview1.23109.1 | [release notes](5.2.0-preview1.md) | From 234eba532a334ef67a58e995c022b60be2452533 Mon Sep 17 00:00:00 2001 From: JRahnama Date: Mon, 11 Dec 2023 16:00:17 -0800 Subject: [PATCH 6/8] Review comments --- CHANGELOG.md | 4 ++-- release-notes/5.2/5.2.0-preview4.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e820f7080..0ec9f5fde4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,14 +9,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Added - Added `SqlBatch` support on .NET 6+ [#1825](https://github.com/dotnet/SqlClient/pull/1825), [#2223](https://github.com/dotnet/SqlClient/pull/2223) -- Added Workload Identity authentication support [#2159](https://github.com/dotnet/SqlClient/pull/2159) +- Added Workload Identity authentication support [#2159](https://github.com/dotnet/SqlClient/pull/2159), [#2264](https://github.com/dotnet/SqlClient/pull/2264) - Added Localization support on .NET [#2210](https://github.com/dotnet/SqlClient/pull/2110) - Added support for Georgian collation [#2194](https://github.com/dotnet/SqlClient/pull/2194) - Added support for Big Endian systems [#2170](https://github.com/dotnet/SqlClient/pull/2170) ### Changed -- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET/.NET Standard dependency) version to `v5.2.0-preview1.23340.1`. [#2257](https://github.com/dotnet/SqlClient/pull/2257) +- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET/.NET Standard dependency) version to `v5.2.0-preview1.23340.1`. [#2257](https://github.com/dotnet/SqlClient/pull/2257), which includes removing dead code and addressing TSA warnings - Improved CPU usage when `AppContext` switches are in use [#2227](https://github.com/dotnet/SqlClient/pull/2227) - Upgraded `Azure.Identity` dependency version to [1.10.3](https://www.nuget.org/packages/Azure.Identity/1.10.3) to address [CVE-2023-36414](https://github.com/advisories/GHSA-5mfx-4wcx-rv27), [#2188](https://github.com/dotnet/SqlClient/pull/2188) - Improved error messages when validating server certificates in managed SNI (Linux/macOS) [#2060](https://github.com/dotnet/SqlClient/pull/2060) diff --git a/release-notes/5.2/5.2.0-preview4.md b/release-notes/5.2/5.2.0-preview4.md index 8de2e519db..ae348c90f2 100644 --- a/release-notes/5.2/5.2.0-preview4.md +++ b/release-notes/5.2/5.2.0-preview4.md @@ -7,14 +7,14 @@ This update brings the below changes over the previous release: ### Added - Added `SqlBatch` support on .NET 6+[#1825](https://github.com/dotnet/SqlClient/pull/1825), [#2223](https://github.com/dotnet/SqlClient/pull/2223) -- Added Workload Identity authentication support [#2159](https://github.com/dotnet/SqlClient/pull/2159) +- Added Workload Identity authentication support [#2159](https://github.com/dotnet/SqlClient/pull/2159), [#2264](https://github.com/dotnet/SqlClient/pull/2264) - Added Localization support on .NET [#2210](https://github.com/dotnet/SqlClient/pull/2110) - Added support for Georgian collation [#2194](https://github.com/dotnet/SqlClient/pull/2194) - Added support for Big Endian systems [#2170](https://github.com/dotnet/SqlClient/pull/2170) ### Changed -- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET/.NET Standard dependency) version to `v5.2.0-preview1.23340.1`. [#2257](https://github.com/dotnet/SqlClient/pull/2257) +- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET/.NET Standard dependency) version to `v5.2.0-preview1.23340.1`. [#2257](https://github.com/dotnet/SqlClient/pull/2257), which includes removing dead code and addressing TSA warnings - Improved CPU usage when `AppContext` switches are in use [#2227](https://github.com/dotnet/SqlClient/pull/2227) - Upgraded `Azure.Identity` dependency version to [1.10.3](https://www.nuget.org/packages/Azure.Identity/1.10.3) to address [CVE-2023-36414](https://github.com/advisories/GHSA-5mfx-4wcx-rv27), [#2188](https://github.com/dotnet/SqlClient/pull/2188) - Improved error messages when validating server certificates in managed SNI (Linux/macOS) [#2060](https://github.com/dotnet/SqlClient/pull/2060) From 3ffc2f0f3f8bf76fad2a5bc21a56a2b60750b331 Mon Sep 17 00:00:00 2001 From: Javad Date: Mon, 11 Dec 2023 16:01:29 -0800 Subject: [PATCH 7/8] Apply suggestions from code review Co-authored-by: DavoudEshtehari <61173489+DavoudEshtehari@users.noreply.github.com> --- CHANGELOG.md | 2 +- release-notes/5.2/5.2.0-preview4.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ec9f5fde4..af150891f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Fixed an issue when using the Authentication option, but not encrypting on .NET Framework where the server certificate was being incorrectly validated [#2224](https://github.com/dotnet/SqlClient/pull/2224) - Fixed a deadlock problem for distributed transactions when on .NET [#2161](https://github.com/dotnet/SqlClient/pull/2161) - Fixed an issue with connecting to named instances on named pipes in managed SNI (Linux/macOS)[#2142](https://github.com/dotnet/SqlClient/pull/2142) -- Fixed an issue when connecting to an invalid LocalDB name using managed SNI [#2129](https://github.com/dotnet/SqlClient/pull/2129) +- Fixed LocalDb connection issue with an invalid source using managed SNI [#2129](https://github.com/dotnet/SqlClient/pull/2129) - Fixed an `AccessViolationException` when using a SQL Express user instance [#2101](https://github.com/dotnet/SqlClient/pull/2101) - Fixed a metadata query issue when connecting to Azure SQL Edge [#2099](https://github.com/dotnet/SqlClient/pull/2099) - Fixed file version information for .NET and .NET Standard binaries[#2093](https://github.com/dotnet/SqlClient/pull/2093) diff --git a/release-notes/5.2/5.2.0-preview4.md b/release-notes/5.2/5.2.0-preview4.md index ae348c90f2..99855296a8 100644 --- a/release-notes/5.2/5.2.0-preview4.md +++ b/release-notes/5.2/5.2.0-preview4.md @@ -24,7 +24,7 @@ This update brings the below changes over the previous release: - Fixed an issue when using the Authentication option, but not encrypting on .NET Framework where the server certificate was being incorrectly validated [#2224](https://github.com/dotnet/SqlClient/pull/2224) - Fixed a deadlock problem for distributed transactions when on .NET [#2161](https://github.com/dotnet/SqlClient/pull/2161) - Fixed an issue with connecting to named instances on named pipes in managed SNI (Linux/macOS)[#2142](https://github.com/dotnet/SqlClient/pull/2142) -- Fixed an issue when connecting to an invalid LocalDB name using managed SNI [#2129](https://github.com/dotnet/SqlClient/pull/2129) +- Fixed LocalDb connection issue with an invalid source using managed SNI [#2129](https://github.com/dotnet/SqlClient/pull/2129) - Fixed an `AccessViolationException` when using a SQL Express user instance [#2101](https://github.com/dotnet/SqlClient/pull/2101) - Fixed a metadata query issue when connecting to Azure SQL Edge [#2099](https://github.com/dotnet/SqlClient/pull/2099) - Fixed file version information for .NET and .NET Standard binaries[#2093](https://github.com/dotnet/SqlClient/pull/2093) From 6d7bf34504ee89c7cb89b23c2e8a7c7dff30b595 Mon Sep 17 00:00:00 2001 From: David Engel Date: Mon, 11 Dec 2023 17:24:15 -0800 Subject: [PATCH 8/8] Apply suggestions from code review --- CHANGELOG.md | 4 ++-- release-notes/5.2/5.2.0-preview4.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af150891f3..863250a5f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Changed -- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET/.NET Standard dependency) version to `v5.2.0-preview1.23340.1`. [#2257](https://github.com/dotnet/SqlClient/pull/2257), which includes removing dead code and addressing TSA warnings +- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET/.NET Standard dependency) version to `v5.2.0-preview1.23340.1`. [#2257](https://github.com/dotnet/SqlClient/pull/2257), which includes removing dead code and addressing static analysis warnings - Improved CPU usage when `AppContext` switches are in use [#2227](https://github.com/dotnet/SqlClient/pull/2227) - Upgraded `Azure.Identity` dependency version to [1.10.3](https://www.nuget.org/packages/Azure.Identity/1.10.3) to address [CVE-2023-36414](https://github.com/advisories/GHSA-5mfx-4wcx-rv27), [#2188](https://github.com/dotnet/SqlClient/pull/2188) - Improved error messages when validating server certificates in managed SNI (Linux/macOS) [#2060](https://github.com/dotnet/SqlClient/pull/2060) @@ -26,7 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Fixed an issue when using the Authentication option, but not encrypting on .NET Framework where the server certificate was being incorrectly validated [#2224](https://github.com/dotnet/SqlClient/pull/2224) - Fixed a deadlock problem for distributed transactions when on .NET [#2161](https://github.com/dotnet/SqlClient/pull/2161) - Fixed an issue with connecting to named instances on named pipes in managed SNI (Linux/macOS)[#2142](https://github.com/dotnet/SqlClient/pull/2142) -- Fixed LocalDb connection issue with an invalid source using managed SNI [#2129](https://github.com/dotnet/SqlClient/pull/2129) +- Fixed LocalDb connection issue with an invalid source when using managed SNI [#2129](https://github.com/dotnet/SqlClient/pull/2129) - Fixed an `AccessViolationException` when using a SQL Express user instance [#2101](https://github.com/dotnet/SqlClient/pull/2101) - Fixed a metadata query issue when connecting to Azure SQL Edge [#2099](https://github.com/dotnet/SqlClient/pull/2099) - Fixed file version information for .NET and .NET Standard binaries[#2093](https://github.com/dotnet/SqlClient/pull/2093) diff --git a/release-notes/5.2/5.2.0-preview4.md b/release-notes/5.2/5.2.0-preview4.md index 99855296a8..ca24607e31 100644 --- a/release-notes/5.2/5.2.0-preview4.md +++ b/release-notes/5.2/5.2.0-preview4.md @@ -14,7 +14,7 @@ This update brings the below changes over the previous release: ### Changed -- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET/.NET Standard dependency) version to `v5.2.0-preview1.23340.1`. [#2257](https://github.com/dotnet/SqlClient/pull/2257), which includes removing dead code and addressing TSA warnings +- Updated `Microsoft.Data.SqlClient.SNI` (.NET Framework dependency) and `Microsoft.Data.SqlClient.SNI.runtime` (.NET/.NET Standard dependency) version to `v5.2.0-preview1.23340.1`. [#2257](https://github.com/dotnet/SqlClient/pull/2257), which includes removing dead code and addressing static analysis warnings - Improved CPU usage when `AppContext` switches are in use [#2227](https://github.com/dotnet/SqlClient/pull/2227) - Upgraded `Azure.Identity` dependency version to [1.10.3](https://www.nuget.org/packages/Azure.Identity/1.10.3) to address [CVE-2023-36414](https://github.com/advisories/GHSA-5mfx-4wcx-rv27), [#2188](https://github.com/dotnet/SqlClient/pull/2188) - Improved error messages when validating server certificates in managed SNI (Linux/macOS) [#2060](https://github.com/dotnet/SqlClient/pull/2060) @@ -24,7 +24,7 @@ This update brings the below changes over the previous release: - Fixed an issue when using the Authentication option, but not encrypting on .NET Framework where the server certificate was being incorrectly validated [#2224](https://github.com/dotnet/SqlClient/pull/2224) - Fixed a deadlock problem for distributed transactions when on .NET [#2161](https://github.com/dotnet/SqlClient/pull/2161) - Fixed an issue with connecting to named instances on named pipes in managed SNI (Linux/macOS)[#2142](https://github.com/dotnet/SqlClient/pull/2142) -- Fixed LocalDb connection issue with an invalid source using managed SNI [#2129](https://github.com/dotnet/SqlClient/pull/2129) +- Fixed LocalDb connection issue with an invalid source when using managed SNI [#2129](https://github.com/dotnet/SqlClient/pull/2129) - Fixed an `AccessViolationException` when using a SQL Express user instance [#2101](https://github.com/dotnet/SqlClient/pull/2101) - Fixed a metadata query issue when connecting to Azure SQL Edge [#2099](https://github.com/dotnet/SqlClient/pull/2099) - Fixed file version information for .NET and .NET Standard binaries[#2093](https://github.com/dotnet/SqlClient/pull/2093)