Update dependency Microsoft.Data.SqlClient to v5 #3115
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.
This PR contains the following updates:
3.1.5
->5.2.2
Release Notes
dotnet/sqlclient (Microsoft.Data.SqlClient)
v5.2.2
Fixed
AcquireTokenAsync
timeout handling for edge cases inActiveDirectoryAuthenticationProvider
. #2650Socket.Connect
in managed SNI. #2779AssemblyAttributes
in obj folder causing NET 8.0 assembly to appear in NET 6.0 dll. #2789ArgumentNullException
onSqlDataRecord.GetValue
when using user-defined data type on .NET. #2816SqlDataReader
against an encrypted column. #2817Changed
Azure.Identity
version from 1.11.3 to 1.11.4 #2648 to address CVE-2024-35255.Microsoft.Identity.Client
version from 4.60.0 to 4.61.3 #2648 to address CVE-2024-35255.TokenCredential
objects to take advantage of token caching. #2775v5.2.1
This update brings the below changes over the previous release:
Changed
Azure.Identity
version from 1.10.3 to 1.11.3 #2492, #2528Microsoft.Identity.Client
version from 4.56.0 to 4.60.3 #2492Fixed
SqlConnection.FireInfoMessageEventOnUserErrors
when set to true throws an exception #2505DATETIMEOFFSET(n)
in a TVP ifn
is 1, 2, 3, or 4 #2506OpenAsync
#2507SqlConnection.Clone()
to includeAccessTokenCallback
#2527v5.2.0
Added
AccessTokenCallBack
API toSqlConnection
. #1260SqlBatch
support on .NET 6+ #1825, #2223,#2371, #2373SqlDiagnosticListener
on .NET Standard. #1931RowsCopied64
toSqlBulkCopy
. #2004SuperSocketNetLib
registry option for Encrypt on .NET on Windows. #2047Changed
TdsParser
. #1544Microsoft.Identity.Client
version from 4.47.2 to 4.53.0. #2031, #2055ignoreSniOpenTimeout
in open connection process on Windows. #2067StringComparison
operations. #2068AppContext
switches are in use #2227Azure.Identity
dependency version to 1.10.3 to address CVE-2023-36414, #2189Microsoft.Data.SqlClient.SNI
(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime
(.NET/.NET Standard dependency) version tov5.2.0
. #2363, which includes removing dead code and addressing static analysis warningsFixed
SqlConnectionStringBuilder
property indexer not supporting non-string values. #2018SqlDataAdapter.Fill
and configurable retry logic issue on .NET Framework. #2084SqlConnectionEncryptOption
type conversion by introducing theSqlConnectionEncryptOptionConverter
attribute when using appsettings.json files. #2057AccessViolationException
when using a SQL Express user instance #2101v5.1.6
Fixed
OpenAsync
. #1983 #2508AcquireTokenAsync
timeout handling for edge cases inActiveDirectoryAuthenticationProvider
. #2706SqlDataReader
against an encrypted column. #2618 #2818Changed
Azure.Identity
version from 1.11.3 to 1.11.4 [#2649] (https://github.com/dotnet/SqlClient/pull/2649) [#2529] (https://github.com/dotnet/SqlClient/pull/2529) to address CVE-2024-35255.Microsoft.Identity.Client
version from 4.60.0 to 4.61.3 [#2649] (https://github.com/dotnet/SqlClient/pull/2649) [#2529] (https://github.com/dotnet/SqlClient/pull/2529) to address CVE-2024-35255.TokenCredential
objects to take advantage of token caching. #2776v5.1.5
This update brings the below changes over the previous release:
Fixed
Changed
v5.1.4
This update brings the below changes over the previous release:
Fixed
Changed
Azure.Identity
dependency version to 1.10.3 to address CVE-2023-36414.v5.1.3
This update brings the below changes over the previous release:
Fixed
v5.1.2
This update brings the below changes over the previous release:
Fixed
SqlConnectionStringBuilder
property indexer issue. #2018SqlConnectionEncryptOption
type conversion by introducing theSqlConnectionEncryptOptionConverter
attribute 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
. #2123v5.1.1
This update brings the below changes over the previous release:
Fixed
TransactionScope
connection issue whenEnlist
isenabled
,Pooling
isdisabled
, andNetwork Connection Type
is set toRedirect
. #1967AcquireTokenSilent
. #1966SqlCommand.ExecuteReaderAsync
. #1965NullReferenceException
inGetBytesAsync
. #1964v5.1.0
This update brings the below changes over the previous release:
Fixed
Changed
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 theServerCertificate
option.v5.0.2
Fixed
DisposableTemporaryOnStack
struct. #1980TransactionScope
connection issue whenEnlist
isenabled
,Pooling
isdisabled
, andNetwork Connection Type
is set toRedirect
. #1978SqlCommand.ExecuteReaderAsync
. #1976v5.0.1
Fixed
HostNameInCertificate
connection string property in .NET Framework. #1782null
toSqlConnectionStringBuilder.Encrypt
. #1784ReadAsync()
behavior to register Cancellation token action before streaming results. #1785Changed
Microsoft.Data.SqlClient.SNI
(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime
(.NET Core/Standard dependency) version to5.0.1
#1795, which includes the fix for AppDomain crash introducing in issue #1418.v5.0.0
This update brings the below changes over the previous release:
Added
TDS 8
. To use TDS 8, users should specifyEncrypt=Strict
in the connection string. #1608TDS 8
version for TDSLogin. #1657Fixed
FailoverPartner
key on SQL servers with availability group configured. #1614EncryptionOptions
. #1672Microsoft.SqlServer.Server
netcore project package reference. #1654Changed
AuthProviderInfo
struct to be matched the changes in native SNI forTDS 8
server certificate validation. #1680TDS 8
on managed code. #1678Microsoft.Data.SqlClient.SNI
(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime
(.NET Core/Standard dependency) version to5.0.0
. #1680v4.1.1
Fixed
v4.1.0
Added
None
forVBS
enclave types. This protocol will allow users to forgo enclave attestation for VBS enclaves. #1419 #1425v4.0.6
Fixed
Changed
v4.0.5
Fixed
v4.0.4
Fixed
v4.0.3
Fixed
SqlCommand.ExecuteReaderAsync
.#1987v4.0.2
Fixed
v4.0.1
Added
Added AppContext switch
SuppressInsecureTLSWarning
to allow suppression of TLS security warning when usingEncrypt=false
in the connection string. #1457Fixed
SqlLocalDB
instance pipe name. #1433v4.0.0
Added
SqlClientLogger
class to .NET Core refs and missingSqlClientLogger.LogWarning
method in .NET Framework refs #1392Changed
SqlNotificationInfo
value is received from SQL Server #1378Microsoft.Data.SqlClient.SNI
(.NET Framework dependency) andMicrosoft.Data.SqlClient.SNI.runtime
(.NET Core/Standard dependency) version tov4.0.0
#1391v3.1.7
Fixed
AcquireTokenAsync
timeout handling for edge cases inActiveDirectoryAuthenticationProvider
. #2709Microsoft.Data.SqlClient
assembly. #2789Changed
v3.1.6
Fixed
AcquireTokenAsync
timeout handling for edge cases inActiveDirectoryAuthenticationProvider
. #2709Changed
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.