-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/dotnet/SqlClient into MSqlS…
…erverSep # Conflicts: # src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/Server/sqlser.cs
- Loading branch information
Showing
87 changed files
with
1,678 additions
and
1,586 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Release Notes | ||
|
||
## Microsoft.Data.SqlClient 4.0.1 released 17 January 2022 | ||
|
||
This update brings the below changes over the previous preview release: | ||
|
||
### Added | ||
|
||
- Added AppContext switch `SuppressInsecureTLSWarning` to allow suppression of TLS security warning when using `Encrypt=false` in the connection string. [#1457](https://github.com/dotnet/SqlClient/pull/1457) [Read more](#suppress-tls-security-warnings) | ||
|
||
### Fixed | ||
|
||
- Fixed Kerberos authentication failure when using .NET 6. [#1411](https://github.com/dotnet/SqlClient/pull/1411) | ||
- Fixed connection failure when using `SqlLocalDB` instance pipe name. [#1433](https://github.com/dotnet/SqlClient/pull/1433) | ||
- Fixed a failure when executing concurrent queries requiring enclaves. [#1451](https://github.com/dotnet/SqlClient/pull/1451) | ||
- Updated obsolete API calls targeting .NET 6. [#1401](https://github.com/dotnet/SqlClient/pull/1401) | ||
|
||
### Suppress TLS security warnings | ||
|
||
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. | ||
|
||
`Switch.Microsoft.Data.SqlClient.SuppressInsecureTLSWarning` | ||
|
||
## Target Platform Support | ||
|
||
- .NET Framework 4.6.1+ (Windows x86, Windows x64) | ||
- .NET Core 3.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 4.0.0 | ||
- Azure.Identity 1.3.0 | ||
- Microsoft.Identity.Client 4.22.0 | ||
- Microsoft.IdentityModel.JsonWebTokens 6.8.0 | ||
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
- System.Buffers 4.5.1 | ||
- System.Configuration.ConfigurationManager 5.0.0 | ||
- System.IO 4.3.0 | ||
- System.Runtime.InteropServices.RuntimeInformation 4.3.0 | ||
- System.Security.Cryptography.Algorithms 4.3.1 | ||
- System.Security.Cryptography.Primitives 4.3.0 | ||
- System.Text.Encodings.Web 4.7.2 | ||
|
||
#### .NET Core | ||
|
||
- Microsoft.Data.SqlClient.SNI.runtime 4.0.0 | ||
- Azure.Identity 1.3.0 | ||
- Microsoft.Identity.Client 4.22.0 | ||
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
- Microsoft.IdentityModel.JsonWebTokens 6.8.0 | ||
- Microsoft.Win32.Registry 5.0.0 | ||
- System.Buffers 4.5.1 | ||
- System.Configuration.ConfigurationManager 5.0.0 | ||
- System.Diagnostics.DiagnosticSource 5.0.0 | ||
- System.IO 4.3.0 | ||
- System.Runtime.Caching 5.0.0 | ||
- System.Text.Encoding.CodePages 5.0.0 | ||
- System.Text.Encodings.Web 4.7.2 | ||
- System.Resources.ResourceManager 4.3.0 | ||
- System.Security.Cryptography.Cng 5.0.0 | ||
- System.Security.Principal.Windows 5.0.0 | ||
|
||
#### .NET Standard | ||
|
||
- Microsoft.Data.SqlClient.SNI.runtime 4.0.0 | ||
- Azure.Identity 1.3.0 | ||
- Microsoft.Identity.Client 4.22.0 | ||
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
- Microsoft.IdentityModel.JsonWebTokens 6.8.0 | ||
- Microsoft.Win32.Registry 5.0.0 | ||
- System.Buffers 4.5.1 | ||
- System.Configuration.ConfigurationManager 5.0.0 | ||
- System.IO 4.3.0 | ||
- System.Runtime.Caching 5.0.0 | ||
- System.Text.Encoding.CodePages 5.0.0 | ||
- System.Text.Encodings.Web 4.7.2 | ||
- System.Resources.ResourceManager 4.3.0 | ||
- System.Runtime.Loader 4.3.0 | ||
- System.Security.Cryptography.Cng 5.0.0 | ||
- System.Security.Principal.Windows 5.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# editorconfig.org | ||
|
||
# top-most EditorConfig file | ||
root = false | ||
|
||
[*.cs] | ||
|
||
# IDE0090: Use 'new(...)' | ||
csharp_style_implicit_object_creation_when_type_is_apparent = false | ||
|
||
# IDE0063: Use simple 'using' statement | ||
csharp_prefer_simple_using_statement = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.