forked from dotnet/SqlClient
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dotnet:main' into Initial-branch-pk-#1
- Loading branch information
Showing
62 changed files
with
2,018 additions
and
2,471 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# Release Notes | ||
|
||
## Microsoft.Data.SqlClient 2.1.4 released 20 September 2021 | ||
|
||
This update brings the below changes over the previous stable release: | ||
|
||
### Fixed | ||
|
||
- Fixed issue with connection encryption to ensure connections fail when encryption is required. [#1232](https://github.com/dotnet/SqlClient/pull/1232) [Read more](#ensure-connections-fail-when-encryption-is-required) | ||
- Fixed issue where connection goes to unusable state. [#1239](https://github.com/dotnet/SqlClient/pull/1239) | ||
|
||
### 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) | ||
|
||
### Ensure connections fail when encryption is required | ||
|
||
In scenarios where client encryption libraries were disabled or unavailable, it was possible for unencrypted connections to be made when Encrypt was set to true or the server required encryption. | ||
|
||
### Dependencies | ||
|
||
#### .NET Framework | ||
|
||
- Microsoft.Data.SqlClient.SNI 2.1.1 | ||
- Microsoft.Identity.Client 4.21.1 | ||
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
- Microsoft.IdentityModel.JsonWebTokens 6.8.0 | ||
|
||
#### .NET Core 2.1 | ||
|
||
- Microsoft.Data.SqlClient.SNI.runtime 2.1.1 | ||
- 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.21.1 | ||
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
- Microsoft.IdentityModel.JsonWebTokens 6.8.0 | ||
|
||
#### .NET Core 3.1 | ||
|
||
- Microsoft.Data.SqlClient.SNI.runtime 2.1.1 | ||
- 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.21.1 | ||
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
- Microsoft.IdentityModel.JsonWebTokens 6.8.0 | ||
|
||
#### .NET Standard 2.0 | ||
|
||
- Microsoft.Data.SqlClient.SNI.runtime 2.1.1 | ||
- 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 | ||
- System.Runtime.Caching 4.7.0 | ||
- Microsoft.Identity.Client 4.21.1 | ||
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
- Microsoft.IdentityModel.JsonWebTokens 6.8.0 | ||
|
||
#### .NET Standard 2.1 | ||
|
||
- Microsoft.Data.SqlClient.SNI.runtime 2.1.1 | ||
- 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 | ||
- System.Runtime.Caching 4.7.0 | ||
- Microsoft.Identity.Client 4.21.1 | ||
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
- Microsoft.IdentityModel.JsonWebTokens 6.8.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,87 @@ | ||
# Release Notes | ||
|
||
## Microsoft.Data.SqlClient 3.0.1 released 24 September 2021 | ||
|
||
This update brings the below changes over the previous stable release: | ||
|
||
### Fixed | ||
|
||
- Fixed async thread blocking issues on `SqlConnection.Open()` for active directory authentication modes. [#1270](https://github.com/dotnet/SqlClient/pull/1270) | ||
- Fixed unknown transaction state issues when prompting delegated transaction. [1247](https://github.com/dotnet/SqlClient/pull/1247) | ||
- Fixed issue with connection encryption to ensure connections fail when encryption is required. [#1233](https://github.com/dotnet/SqlClient/pull/1233) [Read more](#ensure-connections-fail-when-encryption-is-required) | ||
- Fixed bug with `LegacyRowVersionNullBehavior` App Context switch. [#1246](https://github.com/dotnet/SqlClient/pull/1246) | ||
- Fixed recursive calls to `RetryLogicProvider` when calling `SqlCommand.ExecuteScalarAsync`. [#1245](https://github.com/dotnet/SqlClient/pull/1245) | ||
- Fixed async deadlock scenarios in web contexts with configurable retry logic provider. [#1245](https://github.com/dotnet/SqlClient/pull/1245) | ||
- Fixed deadlock in transaction using .NET Framework. [#1243](https://github.com/dotnet/SqlClient/pull/1243) | ||
- Fixed issue where connection goes to unusable state. [#1238](https://github.com/dotnet/SqlClient/pull/1238) | ||
|
||
### Ensure connections fail when encryption is required | ||
|
||
In scenarios where client encryption libraries were disabled or unavailable, it was possible for unencrypted connections to be made when Encrypt was set to true or the server required encryption. | ||
|
||
### Target Platform Support | ||
|
||
- .NET Framework 4.6.1+ (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.1.1 | ||
- Microsoft.Identity.Client 4.21.1 | ||
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
- Microsoft.IdentityModel.JsonWebTokens 6.8.0 | ||
|
||
#### .NET Core 2.1 | ||
|
||
- Microsoft.Data.SqlClient.SNI.runtime 2.1.1 | ||
- 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.21.1 | ||
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
- Microsoft.IdentityModel.JsonWebTokens 6.8.0 | ||
|
||
#### .NET Core 3.1 | ||
|
||
- Microsoft.Data.SqlClient.SNI.runtime 2.1.1 | ||
- 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.21.1 | ||
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
- Microsoft.IdentityModel.JsonWebTokens 6.8.0 | ||
|
||
#### .NET Standard 2.0 | ||
|
||
- Microsoft.Data.SqlClient.SNI.runtime 2.1.1 | ||
- 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 | ||
- System.Runtime.Caching 4.7.0 | ||
- Microsoft.Identity.Client 4.21.1 | ||
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
- Microsoft.IdentityModel.JsonWebTokens 6.8.0 | ||
|
||
#### .NET Standard 2.1 | ||
|
||
- Microsoft.Data.SqlClient.SNI.runtime 2.1.1 | ||
- 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 | ||
- System.Runtime.Caching 4.7.0 | ||
- Microsoft.Identity.Client 4.21.1 | ||
- Microsoft.IdentityModel.Protocols.OpenIdConnect 6.8.0 | ||
- Microsoft.IdentityModel.JsonWebTokens 6.8.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,100 @@ | ||
# Release Notes | ||
|
||
## Microsoft.Data.SqlClient 4.0.0-preview2.21264.2 released 21 September 2021 | ||
|
||
This update brings the below changes over the previous release: | ||
|
||
### Breaking changes over preview release v4.0.0-preview1 | ||
|
||
- Removed `Configurable Retry Logic` safety switch. [#1254](https://github.com/dotnet/SqlClient/pull/1254) [Read more](#remove-configurable-retry-logic-safety-switch) | ||
|
||
### Added | ||
|
||
- Added support for `SqlFileStream` on Windows using .NET Standard 2.0 and above. [#1240](https://github.com/dotnet/SqlClient/pull/1240) | ||
- Added support for **localdb** `shared instance` using managed SNI. [#1237](https://github.com/dotnet/SqlClient/pull/1237) [Read more](#sqllocaldb-shared-instance-support) | ||
|
||
### Fixed | ||
|
||
- Fixed `.NET decimal` conversion from `SqlDecimal`. [#1179](https://github.com/dotnet/SqlClient/pull/1179) | ||
- 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) | ||
- Fixed command's async cancellation. [#956](https://github.com/dotnet/SqlClient/pull/956) | ||
- Fixed deadlock in transaction using .NET Framework. [#1242](https://github.com/dotnet/SqlClient/pull/1242) | ||
- Fixed unknown transaction state issues when prompting delegated transaction. [1216](https://github.com/dotnet/SqlClient/pull/1216) | ||
|
||
### Changed | ||
|
||
- 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) | ||
|
||
### Remove configurable retry logic safety switch | ||
|
||
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. | ||
|
||
### SqlLocalDb shared instance support | ||
|
||
SqlLocalDb shared instances are now supported when using Managed SNI. | ||
|
||
- Possible scenarios: | ||
- `(localdb)\.` (connects to default instance of SqlLocalDb) | ||
- `(localdb)\<named instance>` | ||
- `(localdb)\.\<shared instance name>` (*newly added support) | ||
|
||
## Target Platform Support | ||
|
||
- .NET Framework 4.6.1+ (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 4.0.0-preview1.21232.1 | ||
- 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-preview1.21232.1 | ||
- 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-preview1.21232.1 | ||
- 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 |
Oops, something went wrong.