chore(deps): update dependency microsoft.data.sqlclient to 7.1.0 - #473
Merged
Merged
Conversation
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.0Release Notes
dotnet/sqlclient (Microsoft.Data.SqlClient)
v7.1.0This update brings the following changes since the 7.1.0-preview2 release.
See the full release notes for detailed descriptions.
Added
Added four
virtualasynchronous counterparts to the synchronous methods onSqlColumnEncryptionKeyStoreProvider—DecryptColumnEncryptionKeyAsync,EncryptColumnEncryptionKeyAsync,SignColumnMasterKeyMetadataAsync, andVerifyColumnMasterKeyMetadataAsync— each accepting an optionalCancellationToken. The default implementations delegate to the existing synchronous methods, so existing custom providers are unaffected. These APIs are introduced for provider authors but are not consumed by the driver yet; a future release will enable their use from the driver's own asynchronous APIs.(#3673)
Implemented those four asynchronous APIs in
SqlColumnEncryptionAzureKeyVaultProvider, calling the Azure SDK's own asynchronous methods and flowing the suppliedCancellationToken. Concurrent cache misses for the same key are gated so a burst of callers issues a single Key Vault request. See the AKV release notes for theVerifyColumnMasterKeyMetadatasignature-validation behavior change and the 7.1 runtime requirement.(#4540)
Substantially expanded
ChannelDbConnectionPool(the opt-in pool behindSwitch.Microsoft.Data.SqlClient.UseConnectionPoolV2) to parity with the default pool: transaction support, broken-connection replacement, leaked-connection reclamation, background warmup and replenishment toMin Pool Size, idle pruning driven byConnection Idle Timeout, optional connection-creation rate limiting, and metrics/tracing parity. Default pooling behavior is unchanged.(#4395,
#4396,
#4429,
#4452,
#4463,
#4487,
#4504,
#4529)
Changed
The driver now builds a single cross-platform assembly. Package structure and contents are unchanged, and Windows-only native SNI types now trim cleanly on Linux and macOS.
(#4207,
#4465,
#4474)
Reduced managed allocations in the async read path by restoring reuse of
PacketDatanodes via a bounded free list onStateSnapshot. This applies to the default async read path and is not gated behind any AppContext switch.(#4536)
Operations no longer allocate a formatted trace string when
SqlClientEventSourcetracing is disabled, recovering a memory regression against the 6.1.6 baseline. Trace output with tracing enabled is unchanged.(#4528)
Updated centrally managed dependency versions for the
net9.0target framework to9.0.18, and addedSystem.Threading.RateLimitingto the packaged dependency metadata. Non-net9.0targets keep their existing8.0.xpins.(#4507)
Updated the
Microsoft.Data.SqlClient.SNIandMicrosoft.Data.SqlClient.SNI.runtimedependencies to7.1.0-preview3.26226.3.(#4564)
Bypassed SQL Graph column alias mapping in
SqlBulkCopywhen neither the source nor destination table contains graph pseudo-columns, recovering a bulk copy performance regression. Graph table bulk copy behavior is unchanged.(#4535)
Re-shipped
Microsoft.Data.SqlClient.Extensions.Azureas7.1.0-preview3, fixing Entra ID tenant parsing for multi-segment authorities. See release notes.Re-shipped
Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvideras7.1.0-preview3with new asynchronous key store provider APIs, andMicrosoft.Data.SqlClient.Extensions.AbstractionsandMicrosoft.Data.SqlClient.Internal.Loggingas7.1.0-preview3(version alignment only, no functional changes). See release notes for AKV, Abstractions, and Logging.Fixed
Fixed Always Encrypted VSM/HGS enclave attestation not verifying that the enclave public key used to establish the session matches the key committed to by the signed attestation report.
(#4532)
Fixed a
SqlConnectionFactorytimer that woke the process every 30 seconds for the lifetime of the application even when no connection pools existed, including withPooling=Falseand afterClearAllPools().(#4479)
Fixed connection pool performance counter defects affecting the default pool as well as pool V2.
active-soft-connectsandnumber-of-active-connectionscould go negative after a failed connection activation, and several gauges drifted upward permanently after a broken connection was replaced.(#4504)
Fixed
OverflowExceptionwhen sending largedecimalvalues as a parameter with explicitPrecisionandScale, which primarily affected Always Encrypted scenarios.(#4443)
Fixed a TDS stream error when passing a
DateOnlyvalue as a parameter withSqlDbType.Variant.(#4294)
Fixed
DateOnlyvalues written to asql_variantcolumn of a table-valued parameter being sent asdatetimeinstead ofdate, which also caused an overflow for values out ofdatetimerange.(#4439)
Fixed the
ServerCertificateconnection-string keyword not being honored when the platform reported no TLS policy errors, and made an unloadable certificate file fail closed instead of silently falling back to host-name validation.(#4445)
Fixed
SqlConnection.AccessTokenCallbacknot disabling Transparent Network IP Resolution by default, unlikeSqlConnection.AccessToken, along with a related connection pool key defect.(#4520)
Fixed several async entry points in
SqlBulkCopy,SqlDataReader, andSqlCommandthat captured fatal exceptions such asOutOfMemoryExceptioninto faultedTasks instead of letting them propagate.(#4437)
Fixed
Authentication=Active Directory Service Principal(and the other Entra ID flows) failing against endpoints that return a multi-segment authority such as the Dataverse / Dynamics 365 TDS endpoint; the tenant id is now taken from the first path segment of the STSURL authority instead of the last. Ships inMicrosoft.Data.SqlClient.Extensions.Azure.(#4521)
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 Mend Renovate CLI.