|
| 1 | +# Release Notes |
| 2 | + |
| 3 | +## Microsoft.Data.SqlClient 4.0.0-preview2.21264.2 released 21 September 2021 |
| 4 | + |
| 5 | +This update brings the below changes over the previous release: |
| 6 | + |
| 7 | +### Breaking changes over preview release v4.0.0-preview1 |
| 8 | + |
| 9 | +- Removed `Configurable Retry Logic` safety switch. [#1254](https://github.com/dotnet/SqlClient/pull/1254) [Read more](#remove-configurable-retry-logic-safety-switch) |
| 10 | + |
| 11 | +### Added |
| 12 | + |
| 13 | +- Added support for `SqlFileStream` on Windows using .NET Standard 2.0 and above. [#1240](https://github.com/dotnet/SqlClient/pull/1240) |
| 14 | +- Added support for **localdb** `shared instance` using managed SNI. [#1237](https://github.com/dotnet/SqlClient/pull/1237) [Read more](#sqllocaldb-shared-instance-support) |
| 15 | + |
| 16 | +### Fixed |
| 17 | + |
| 18 | +- Fixed `.NET decimal` conversion from `SqlDecimal`. [#1179](https://github.com/dotnet/SqlClient/pull/1179) |
| 19 | +- Fixed `Event Source` changes on **TryBeginExecuteEvent** and **WriteEndExecuteEvent** to address the failure on other MS products such as OpenTelemetry and Application Insight. [#1258](https://github.com/dotnet/SqlClient/pull/1258) |
| 20 | +- Fixed command's async cancellation. [#956](https://github.com/dotnet/SqlClient/pull/956) |
| 21 | +- Fixed deadlock in transaction using .NET Framework. [#1242](https://github.com/dotnet/SqlClient/pull/1242) |
| 22 | +- Fixed unknown transaction state issues when prompting delegated transaction. [1216](https://github.com/dotnet/SqlClient/pull/1216) |
| 23 | + |
| 24 | +### Changed |
| 25 | + |
| 26 | +- Various code improvements [#1155](https://github.com/dotnet/SqlClient/pull/1155) [#1236](https://github.com/dotnet/SqlClient/pull/1236) [#1251](https://github.com/dotnet/SqlClient/pull/1251) [#1266](https://github.com/dotnet/SqlClient/pull/1266) |
| 27 | + |
| 28 | +### Remove configurable retry logic safety switch |
| 29 | + |
| 30 | +The App Context switch "Switch.Microsoft.Data.SqlClient.EnableRetryLogic" will no longer be required to use the configurable retry logic feature. The feature is now supported in production. The default behavior of the feature will continue to be a non-retry policy, which will need to be overridden by client applications to enable retries. |
| 31 | + |
| 32 | +### SqlLocalDb shared instance support |
| 33 | + |
| 34 | +SqlLocalDb shared instances are now supported when using Managed SNI. |
| 35 | + |
| 36 | +- Possible scenarios: |
| 37 | + - `(localdb)\.` (connects to default instance of SqlLocalDb) |
| 38 | + - `(localdb)\<named instance>` |
| 39 | + - `(localdb)\.\<shared instance name>` (*newly added support) |
| 40 | + |
| 41 | +## Target Platform Support |
| 42 | + |
| 43 | +- .NET Framework 4.6.1+ (Windows x86, Windows x64) |
| 44 | +- .NET Core 2.1+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS) |
| 45 | +- .NET Standard 2.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS) |
| 46 | + |
| 47 | +### Dependencies |
| 48 | + |
| 49 | +#### .NET Framework |
| 50 | + |
| 51 | +- Microsoft.Data.SqlClient.SNI 4.0.0-preview1.21232.1 |
| 52 | +- Azure.Identity 1.3.0 |
| 53 | +- Microsoft.Identity.Client 4.22.0 |
| 54 | +- Microsoft.IdentityModel.JsonWebTokens 6.8.0 |
| 55 | +- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 |
| 56 | +- System.Buffers 4.5.1 |
| 57 | +- System.Configuration.ConfigurationManager 5.0.0 |
| 58 | +- System.IO 4.3.0 |
| 59 | +- System.Runtime.InteropServices.RuntimeInformation 4.3.0 |
| 60 | +- System.Security.Cryptography.Algorithms 4.3.1 |
| 61 | +- System.Security.Cryptography.Primitives 4.3.0 |
| 62 | +- System.Text.Encodings.Web 4.7.2 |
| 63 | + |
| 64 | +#### .NET Core |
| 65 | + |
| 66 | +- Microsoft.Data.SqlClient.SNI.runtime 4.0.0-preview1.21232.1 |
| 67 | +- Azure.Identity 1.3.0 |
| 68 | +- Microsoft.Identity.Client 4.22.0 |
| 69 | +- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 |
| 70 | +- Microsoft.IdentityModel.JsonWebTokens 6.8.0 |
| 71 | +- Microsoft.Win32.Registry 5.0.0 |
| 72 | +- System.Buffers 4.5.1 |
| 73 | +- System.Configuration.ConfigurationManager 5.0.0 |
| 74 | +- System.Diagnostics.DiagnosticSource 5.0.0 |
| 75 | +- System.IO 4.3.0 |
| 76 | +- System.Runtime.Caching 5.0.0 |
| 77 | +- System.Text.Encoding.CodePages 5.0.0 |
| 78 | +- System.Text.Encodings.Web 4.7.2 |
| 79 | +- System.Resources.ResourceManager 4.3.0 |
| 80 | +- System.Security.Cryptography.Cng 5.0.0 |
| 81 | +- System.Security.Principal.Windows 5.0.0 |
| 82 | + |
| 83 | +#### .NET Standard |
| 84 | + |
| 85 | +- Microsoft.Data.SqlClient.SNI.runtime 4.0.0-preview1.21232.1 |
| 86 | +- Azure.Identity 1.3.0 |
| 87 | +- Microsoft.Identity.Client 4.22.0 |
| 88 | +- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 |
| 89 | +- Microsoft.IdentityModel.JsonWebTokens 6.8.0 |
| 90 | +- Microsoft.Win32.Registry 5.0.0 |
| 91 | +- System.Buffers 4.5.1 |
| 92 | +- System.Configuration.ConfigurationManager 5.0.0 |
| 93 | +- System.IO 4.3.0 |
| 94 | +- System.Runtime.Caching 5.0.0 |
| 95 | +- System.Text.Encoding.CodePages 5.0.0 |
| 96 | +- System.Text.Encodings.Web 4.7.2 |
| 97 | +- System.Resources.ResourceManager 4.3.0 |
| 98 | +- System.Runtime.Loader 4.3.0 |
| 99 | +- System.Security.Cryptography.Cng 5.0.0 |
| 100 | +- System.Security.Principal.Windows 5.0.0 |
0 commit comments