Repository navigation
Update dependency Microsoft.Data.SqlClient to 7.1.2 - #56
Merged
Merged
Conversation
dependencyupdates
Bot
force-pushed
the
renovate/microsoft.data.sqlclient-7.x
branch
from
September 30, 2026 03:33
1737fac to
247cfbb
Compare
dependencyupdates
Bot
force-pushed
the
renovate/microsoft.data.sqlclient-7.x
branch
from
October 13, 2026 15:48
247cfbb to
df13b76
Compare
dependencyupdates
Bot
force-pushed
the
renovate/microsoft.data.sqlclient-7.x
branch
2 times, most recently
from
November 11, 2026 15:41
c9de72a to
774149d
Compare
dependencyupdates
Bot
force-pushed
the
renovate/microsoft.data.sqlclient-7.x
branch
from
November 13, 2026 03:22
774149d to
4d90227
Compare
bording
approved these changes
Nov 17, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
7.0.3→7.1.2Release Notes
dotnet/sqlclient (Microsoft.Data.SqlClient)
v7.1.2This servicing release includes the following changes since 7.1.1.
The driver and its four companion packages use version
7.1.2and retainAssemblyVersion 7.0.0.0.Changed
Updated dependency minimums to address
CVE-2026-84008:
System.Security.Cryptography.Pkcsis now8.0.2for net462, net8.0, and netstandard2.0.For net9.0,
Microsoft.Bcl.Cryptography,Microsoft.Extensions.Caching.Memory,System.Configuration.ConfigurationManager,System.Security.Cryptography.Pkcs, andSystem.Threading.RateLimitingare now9.0.21.(#4842,
#4862)
Added user-agent Driver Properties bits for the configured
Switch.Microsoft.Data.SqlClient.UseCompatibilityAsyncBehaviour(0x2) andSwitch.Microsoft.Data.SqlClient.UseCompatibilityProcessSni(0x4) settings.These report configured values independently of the parser's effective override;
async behavior and switch defaults are unchanged.
(#4912)
Fixed
Fixed managed SNI certificate validation to enforce an explicitly configured
HostNameInCertificate, even when the certificate matches the connection's server name.When hostname validation is required, the configured name is the expected name;
a mismatch now fails the TLS handshake. Certificate-chain checks and explicit
ServerCertificatematching are unchanged. (net8.0/net9.0 only, managed SNI)(#4907)
Isolated Always Encrypted enclave-session cache entries by attestation protocol so a session
established under one protocol cannot be reused by a connection requesting another.
(#4866)
Fixed unobserved receive-continuation exceptions when a managed SNI connection is closed
while Multiple Active Result Sets (MARS) is still receiving. Pending reads are notified
through the existing network-error path, and receive packets are released correctly.
(net8.0/net9.0 only, managed SNI)
(#4679,
#4951)
Fixed
SqlDataReader.HasRowsincorrectly returningfalsewhen multiple informationalmessages precede the first row. The first row remains available to
Read/ReadAsync,and existing informational-message delivery timing is preserved.
(#4900)
Fixed statistics timer bookkeeping throwing
InvalidOperationExceptionwith"Nullable object must have a value" when a concurrent timer release clears its timestamp.
This can affect statistics-enabled or diagnostic-instrumented operations; it does not
make concurrent use of a connection or MARS thread-safe.
(#4778,
#4895)
Fixed corrupted
nvarchartext fromSqlDataReader.GetTextReaderwithCommandBehavior.SequentialAccesson big-endian platforms. Decoding now preserves thesource bytes, partial-read offsets, and raw UTF-16 code units.
(#4961)
Fixed
SqlConnection.Open/OpenAsyncthrowingIndexOutOfRangeExceptionfor malformedPRELOGIN option offsets or lengths. Invalid headers, option sizes, and total response sizes
now produce the existing corrupted-stream parsing error. Nonconforming server or proxy
responses that previously escaped these checks are rejected.
(#4977)
Fixed malformed row, alternate-result, and authentication responses being processed without
their required metadata or authentication state. These responses now produce a corrupted-stream
parsing error and invalidate the physical connection so it cannot return to the pool.
Valid SQL Server result processing is unchanged.
(#4983)
Fixed eager initialization of Windows native SNI on non-Windows platforms, preventing
TypeInitializationException/DllNotFoundExceptionwhen managed networking is selected.(net8.0/net9.0 on Unix only)
(#4770)
Companion packages
with actionable Windows WAM missing-parent-window guidance for windowless hosts.
Microsoft.Data.SqlClient.Extensions.Abstractions 7.1.2,
and Microsoft.Data.SqlClient.Internal.Logging 7.1.2
for version alignment only, with no functional or API changes.
v7.1.1Fixed
Fixed an
ArgumentExceptionwhen sending zero-valueddecimalorSqlDecimalparameters whose precision equals their scale. Nonzero precision validation and support for large decimal values are unchanged.(#4715, #4721, #4732)
Fixed connection pool V2 handing out pooled connections with expired or nearly expired access tokens. This affects only applications that opt in to connection pool V2.
(#4734, #4739)
Fixed connection opens failing when
ClearPoolorClearAllPoolsraces with an in-flight open. Requests already admitted to the cleared pool can finish, and connections returned to the retired pool are discarded rather than reused.(#4714, #4718, #4740)
Companion packages
Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider,Microsoft.Data.SqlClient.Extensions.Azure,Microsoft.Data.SqlClient.Extensions.Abstractions, andMicrosoft.Data.SqlClient.Internal.Logging7.1.1 with no functional or API changes. See the release notes.v7.1.0General availability of Microsoft.Data.SqlClient 7.1. The sections below list the changes since 7.1.0-preview3. See the 7.1.0 release notes for the cumulative list of changes since the 7.0.3 stable release.
Added
RegisteredApplicationenum and a matchingSqlConnection.RegisteredApplicationproperty that let a library or tool identify itself to SQL Server through version 2 of the TDS USERAGENT feature extension. The payload also carries a new driver-owned 64-bit Driver Properties flag field; bit 0 reports whether connection pool V2 is enabled for the process. Application identity is client-supplied telemetry and must never be used for authorization or any other security decision. The value must be set beforeOpen/OpenAsyncand is not part of the connection pool key.(#3201, #4632)
Changed
SqlConnectionStringBuilder.TransparentNetworkIPResolutionis now marked[Obsolete], directing callers toMultiSubnetFailover. There is no runtime behavior change: connection string defaults are untouched and no new AppContext switches were introduced. The only visible effect is aCS0618build warning for code that references the property.(#4494, #4576)
Unified the exception message raised when conflicting token-based and SSPI authentication properties are set on the same
SqlConnection, and documented the complete set of properties that conflict withAccessToken.(#4629)
Documentation corrections for
SqlDataRecord,SqlMetaData, and the LCID 1033 locale name.(#1805,
#4440,
#4646)
Updated
Microsoft.Data.SqlClient.SNIandMicrosoft.Data.SqlClient.SNI.runtimeto v7.1.0 (was v7.1.0-preview3.26226.3).(#4698)
Fixed
Fixed a pooled connection being returned to the pool in a broken state after a
TransactionScoperollback — for example, when distributed transaction promotion fails on .NET 8+ where implicit distributed transactions are disabled by default. Connection reset now preserves the transaction when the pooled connection is either a delegated transaction root or enlisted in a transaction.(#4001, #4557)
Fixed
GetSchema("DataTypes")never reporting the SQL Server 2025jsontype against Azure SQL. The decision now uses thejsonsupport flag negotiated through the TDSFEATUREEXTACKtoken instead of a server version string comparison.(#4592, #4682)
Fixed a malformed UNC pipe path being composed for IPv6 literal server names over Named Pipes in managed SNI, which could trigger an access violation inside LSASS on Windows and force a reboot. IPv6 literals are now transcribed to their
.ipv6-literal.netform. (net8.0/net9.0 only)(#4523, #4558)
Fixed configurable retry logic installing a permanent, process-wide assembly-resolution handler that could interfere with unrelated assembly loading. The handler is now installed only while an explicitly configured custom retry provider is resolved and constructed, and probes
AppContext.BaseDirectoryinstead of the current working directory. (net8.0/net9.0 only)(#2214, #4547)
Fixed open/close throughput regressions in the opt-in connection pool V2 (
Switch.Microsoft.Data.SqlClient.UseConnectionPoolV2). The default pool is unaffected.(#4543)
Companion packages
Microsoft.Data.SqlClient.Extensions.Azure7.1.0 with an internal Entra ID authority parsing clarification and no behavior change. See release notes.Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider,Microsoft.Data.SqlClient.Extensions.Abstractions, andMicrosoft.Data.SqlClient.Internal.Logging7.1.0 with no functional or API changes since preview3. See the Azure Key Vault provider, Abstractions, and Logging release notes.v7.0.4This servicing release includes the following changes since 7.0.3.
The driver and its four companion packages use version
7.0.4and retainAssemblyVersion 7.0.0.0.Changed
Updated dependency minimums to address
CVE-2026-84008:
System.Security.Cryptography.Pkcsis now8.0.2for net462, net8.0, and netstandard2.0.For net9.0,
Microsoft.Bcl.Cryptography,Microsoft.Extensions.Caching.Memory,System.Configuration.ConfigurationManager, andSystem.Security.Cryptography.Pkcsare now
9.0.21.(#4869)
Updated user-agent telemetry to the v2 payload, with an application ID field fixed at
0and a Driver Properties field. New bits report the configured
Switch.Microsoft.Data.SqlClient.UseCompatibilityAsyncBehaviour(0x2) andSwitch.Microsoft.Data.SqlClient.UseCompatibilityProcessSni(0x4) settings independentlyof the parser's effective override. Async behavior and switch defaults are unchanged;
this does not add a registered-application API to 7.0.
(#4913)
Fixed
Fixed managed SNI certificate validation to enforce an explicitly configured
HostNameInCertificate, even when the certificate matches the connection's server name.When hostname validation is required, the configured name is the expected name;
a mismatch now fails the TLS handshake. Certificate-chain checks and explicit
ServerCertificatematching are unchanged. (net8.0/net9.0 only, managed SNI)(#4908)
Isolated Always Encrypted enclave-session cache entries by attestation protocol so a session
established under one protocol cannot be reused by a connection requesting another.
(#4867)
Fixed unobserved receive-continuation exceptions when a managed SNI connection is closed
while Multiple Active Result Sets (MARS) is still receiving. Pending reads are notified
through the existing network-error path, and receive packets are released correctly.
(net8.0/net9.0 only, managed SNI)
(#4679,
#4950)
Fixed
SqlDataReader.HasRowsincorrectly returningfalsewhen multiple informationalmessages precede the first row. The first row remains available to
Read/ReadAsync,and existing informational-message delivery timing is preserved.
(#4899)
Fixed statistics timer bookkeeping throwing
InvalidOperationExceptionwith"Nullable object must have a value" when a concurrent timer release clears its timestamp.
This can affect statistics-enabled or diagnostic-instrumented operations; it does not
make concurrent use of a connection or MARS thread-safe.
(#4778,
#4897)
Fixed corrupted
nvarchartext fromSqlDataReader.GetTextReaderwithCommandBehavior.SequentialAccesson big-endian platforms. Decoding now preserves thesource bytes, partial-read offsets, and raw UTF-16 code units.
(#4962)
Fixed
SqlConnection.Open/OpenAsyncthrowingIndexOutOfRangeExceptionfor malformedPRELOGIN option offsets or lengths. Invalid headers, option sizes, and total response sizes
now produce the existing corrupted-stream parsing error. Nonconforming server or proxy
responses that previously escaped these checks are rejected.
(#4978)
Fixed malformed row, alternate-result, and authentication responses being processed without
their required metadata or authentication state. These responses now produce a corrupted-stream
parsing error and invalidate the physical connection so it cannot return to the pool.
Valid SQL Server result processing is unchanged.
(#4982)
Companion packages
with actionable Windows WAM missing-parent-window guidance for windowless hosts.
Microsoft.Data.SqlClient.Extensions.Abstractions 7.0.4,
and Microsoft.Data.SqlClient.Internal.Logging 7.0.4
for version alignment only, with no functional or API changes.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
Commands to ignore dependencies
You can trigger dependency actions by commenting on this PR:
@particularbot ignore this major version@particularbot ignore this minor version@particularbot ignore this dependency