Bump Microsoft.Data.SqlClient from 5.0.1 to 5.1.3 #492
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated Microsoft.Data.SqlClient from 5.0.1 to 5.1.3.
Release notes
Sourced from Microsoft.Data.SqlClient's releases.
5.1.3
[Stable release 5.1.3] - 2024-01-09
Fixed
For summary of all changes over v5.1.2, refer to 5.1.3.md
5.1.2
[Stable release 5.1.2] - 2023-10-26
Fixed
SqlConnectionStringBuilderproperty indexer issue. #2018SqlConnectionEncryptOptiontype conversion by introducing theSqlConnectionEncryptOptionConverterattribute when using appsettings.json files. #2057OpenAsync. #1983Changed
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version to5.1.1. #2123For summary of all changes over v5.1.1, refer to 5.1.2.md
5.1.1
[Stable release 5.1.1] - 2023-03-28
Fixed
TransactionScopeconnection issue whenEnlistisenabled,Poolingisdisabled, andNetwork Connection Typeis set toRedirect. #1967AcquireTokenSilent. #1966SqlCommand.ExecuteReaderAsync. #1965NullReferenceExceptioninGetBytesAsync. #1964For summary of all changes over v5.1.0, refer to 5.1.1.md
5.1.0
Breaking changes
Added
DateOnlyandTimeOnlyforSqlParametervalue andGetFieldValue. #1813ServerCertificatesetting forEncrypt=MandatoryorEncrypt=Strict. #1822Fixed
DisposableTemporaryOnStackstruct. #1818ReadAsync()behavior to register Cancellation token action before streaming results. #1781NullReferenceExceptionwhen assigningnulltoSqlConnectionStringBuilder.Encrypt. #1778HostNameInCertificateproperty in .NET Framework Reference Project. #1776Changed
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version to5.1.0. #1889 which includes fix for AppDomain crash in issue #1418, TLS 1.3 Support, removal of ARM32 binaries, and support for theServerCertificateoption. #1822 Read moreSwitch.Microsoft.Data.SqlClient.EnableSecureProtocolsByOS) by adding support for TLS 1.3. #1824SqlConnectionEncryptOptionstring parser to public. #1771ExecuteNonQueryAsyncto use async context object. #1692For summary of all changes over v5.0, refer to 5.1.0.md
5.1.0-preview2.22314.2
[Preview Release 5.1.0-preview2.22314.2] - 2022-11-10
This update brings the below changes over the previous release:
Breaking changes over preview release v5.1.0-preview1
Added
DateOnlyandTimeOnlyforSqlParametervalue andGetFieldValue. #1813ServerCertificatesupport forEncrypt=MandatoryorEncrypt=Strict. #1822Fixed
DisposableTemporaryOnStackstruct. #1818Changed
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version to5.1.0-preview2.22311.2. #1831 which includes the fix for the TLS 1.3 timeout and double handshake issue, removal of ARM32 binaries, and support for theServerCertificateoption. #1822Switch.Microsoft.Data.SqlClient.EnableSecureProtocolsByOS) by adding support for TLS 1.3. #1824For detailed release notes, refer to 5.1.0-preview2.md
5.1.0-preview1.22279.3
[Preview Release 5.1.0-preview1.22279.3] - 2022-10-19
This update brings the below changes over the stable release v5.0.0:
Fixed
ReadAsync()behavior to register Cancellation token action before streaming results. #1781NullReferenceExceptionwhen assigningnulltoSqlConnectionStringBuilder.Encrypt. #1778HostNameInCertificateproperty in .NET Framework Reference Project. #1776Changed
Microsoft.Data.SqlClient.SNI(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime(.NET Core/Standard dependency) version to5.1.0-preview1.22278.1. #1787 which includes TLS 1.3 Support and fix for AppDomain crash in issue #1418SqlConnectionEncryptOptionstring parser to public. #1771ExecuteNonQueryAsyncto use async context object. #1692Known issues
Encrypt=Strictwith TLS v1.3, the TLS handshake occurs twice on initial connection on .NET Framework due to a timeout during the TLS handshake and a retry helper re-establishes the connection; however, on .NET Core, it will throw aSystem.ComponentModel.Win32Exception (258): The wait operation timed out.and is being investigated. If you're using Microsoft.Data.SqlClient with .NET Core on Windows 11, you will need to enable the managed SNI on Windows context switch using following statementAppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.UseManagedNetworkingOnWindows", true);to use TLS v1.3 or disabling TLS 1.3 from the registry by assigning0to the followingHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Client\Enabledregistry key and it'll use TLS v1.2 for the connection. This will be fixed in a future release.For detailed release notes, refer to 5.1.0-preview1.md
5.0.2
[Stable release 5.0.2] - 2023-03-31
Fixed
DisposableTemporaryOnStackstruct. #1980TransactionScopeconnection issue whenEnlistisenabled,Poolingisdisabled, andNetwork Connection Typeis set toRedirect. #1978SqlCommand.ExecuteReaderAsync. #1976For summary of all changes over v5.0.1, refer to 5.0.2.md
Commits viewable in compare view.
You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.