|
| 1 | +# Release Notes |
| 2 | + |
| 3 | +## Microsoft.Data.SqlClient 4.0.1 released 14 January 2022 |
| 4 | + |
| 5 | +This update brings the below changes over the previous preview release: |
| 6 | + |
| 7 | +### Added |
| 8 | + |
| 9 | +- AppContext switch `SuppressInsecureTLSWarning` is added to make users to be able to supress TLS security warning while `Encrypt=false` on connection string. [#1457](https://github.com/dotnet/SqlClient/pull/1457) [Read more](#suppress-tls-security-warnings) |
| 10 | + |
| 11 | +### Bug Fixes |
| 12 | + |
| 13 | +- Fixed the issue with Kerberos authentication using .NET 6. [#1411](https://github.com/dotnet/SqlClient/pull/1411) |
| 14 | +- Fixed the issue with `SqlLocalDB` instance pipe name. [#1433](https://github.com/dotnet/SqlClient/pull/1433) |
| 15 | +- Fixed the issue with enclave providers not being thread safe. [#1451](https://github.com/dotnet/SqlClient/pull/1451) |
| 16 | +- Updated obsolete API calls in NET6. [#1401](https://github.com/dotnet/SqlClient/pull/1401) |
| 17 | + |
| 18 | +### Suppress TLS security warnings |
| 19 | + |
| 20 | +When connecting to a SQL Server, if a protocol lower than TLS 1.2 is negotiated, a security warning is printed out to the console. This warning can be suppressed by enabling the following `AppContext` switch on the application startup while `Encrypt` is set to `false` on connection string. |
| 21 | + |
| 22 | +`Switch.Microsoft.Data.SqlClient.SuppressInsecureTLSWarning` |
| 23 | + |
| 24 | +## Target Platform Support |
| 25 | + |
| 26 | +- .NET Framework 4.6.1+ (Windows x86, Windows x64) |
| 27 | +- .NET Core 3.1+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS) |
| 28 | +- .NET Standard 2.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS) |
| 29 | + |
| 30 | +### Dependencies |
| 31 | + |
| 32 | +#### .NET Framework |
| 33 | + |
| 34 | +- Microsoft.Data.SqlClient.SNI 4.0.0 |
| 35 | +- Azure.Identity 1.3.0 |
| 36 | +- Microsoft.Identity.Client 4.22.0 |
| 37 | +- Microsoft.IdentityModel.JsonWebTokens 6.8.0 |
| 38 | +- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 |
| 39 | +- System.Buffers 4.5.1 |
| 40 | +- System.Configuration.ConfigurationManager 5.0.0 |
| 41 | +- System.IO 4.3.0 |
| 42 | +- System.Runtime.InteropServices.RuntimeInformation 4.3.0 |
| 43 | +- System.Security.Cryptography.Algorithms 4.3.1 |
| 44 | +- System.Security.Cryptography.Primitives 4.3.0 |
| 45 | +- System.Text.Encodings.Web 4.7.2 |
| 46 | + |
| 47 | +#### .NET Core |
| 48 | + |
| 49 | +- Microsoft.Data.SqlClient.SNI.runtime 4.0.0 |
| 50 | +- Azure.Identity 1.3.0 |
| 51 | +- Microsoft.Identity.Client 4.22.0 |
| 52 | +- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 |
| 53 | +- Microsoft.IdentityModel.JsonWebTokens 6.8.0 |
| 54 | +- Microsoft.Win32.Registry 5.0.0 |
| 55 | +- System.Buffers 4.5.1 |
| 56 | +- System.Configuration.ConfigurationManager 5.0.0 |
| 57 | +- System.Diagnostics.DiagnosticSource 5.0.0 |
| 58 | +- System.IO 4.3.0 |
| 59 | +- System.Runtime.Caching 5.0.0 |
| 60 | +- System.Text.Encoding.CodePages 5.0.0 |
| 61 | +- System.Text.Encodings.Web 4.7.2 |
| 62 | +- System.Resources.ResourceManager 4.3.0 |
| 63 | +- System.Security.Cryptography.Cng 5.0.0 |
| 64 | +- System.Security.Principal.Windows 5.0.0 |
| 65 | + |
| 66 | +#### .NET Standard |
| 67 | + |
| 68 | +- Microsoft.Data.SqlClient.SNI.runtime 4.0.0 |
| 69 | +- Azure.Identity 1.3.0 |
| 70 | +- Microsoft.Identity.Client 4.22.0 |
| 71 | +- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 |
| 72 | +- Microsoft.IdentityModel.JsonWebTokens 6.8.0 |
| 73 | +- Microsoft.Win32.Registry 5.0.0 |
| 74 | +- System.Buffers 4.5.1 |
| 75 | +- System.Configuration.ConfigurationManager 5.0.0 |
| 76 | +- System.IO 4.3.0 |
| 77 | +- System.Runtime.Caching 5.0.0 |
| 78 | +- System.Text.Encoding.CodePages 5.0.0 |
| 79 | +- System.Text.Encodings.Web 4.7.2 |
| 80 | +- System.Resources.ResourceManager 4.3.0 |
| 81 | +- System.Runtime.Loader 4.3.0 |
| 82 | +- System.Security.Cryptography.Cng 5.0.0 |
| 83 | +- System.Security.Principal.Windows 5.0.0 |
0 commit comments