Update dependency Microsoft.Data.SqlClient to 7.0.2#36
Open
dependencyupdates[bot] wants to merge 1 commit into
Open
Update dependency Microsoft.Data.SqlClient to 7.0.2#36dependencyupdates[bot] wants to merge 1 commit into
dependencyupdates[bot] wants to merge 1 commit into
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.1→7.0.2Release Notes
dotnet/sqlclient (Microsoft.Data.SqlClient)
v7.0.2This update brings the following changes since the 7.1.0-preview1 release.
See the full release notes for detailed descriptions.
Added
Added
SqlConnection.GetSchemaAsyncoverloads mirroring the existing synchronous shapes.(#3005)
Added SQL Graph column-alias support (
$node_id,$edge_id,$from_id,$to_id) as destination columns inSqlBulkCopy.(#3677)
SqlBatchCommand.CommandBehavior(a driver-specific property that existed since batching was introduced but was previously ignored) is now honored duringSqlBatchexecution, andSqlBatch.ExecuteReadernow respects theCommandBehaviorvalue passed to it.(#4125)
Added a
Connection Idle Timeoutconnection-string keyword and matchingSqlConnectionStringBuilder.IdleTimeoutproperty to evict idle pooled connections (default300seconds;0disables). Enforcement is opt-in viaSwitch.Microsoft.Data.SqlClient.UseLegacyIdleTimeoutBehavior=false; the default preserves the historical pooling behavior. When enabled, idle-timeout enforcement applies to the existing connection pool as well.(#4295)
Changed
The
Connect Timeoutbudget can now be propagated through pool acquisition via a sharedTimeoutTimer, so time spent waiting in the pool is deducted from the overall timeout. Enforcement is opt-in viaSwitch.Microsoft.Data.SqlClient.UseOverallConnectTimeoutForPoolWait=true; the default (false) preserves the historical behavior where pool waits do not count againstConnect Timeout. Adds a dependency onMicrosoft.Bcl.TimeProvider.(#4270)
Hardened
SqlConnectioninternal state transitions withInterlocked.CompareExchangeguards.(#4267)
Removed legacy connection-options inheritance from internal APIs and simplified
TryOpenConnection/TryReplaceConnection/ pool interfaces.(#4235,
#4237,
#4261,
#4415)
Added the SQL Server 2025
jsondata type to theDataTypesschema table returned bySqlConnection.GetSchema.(#3858)
Added async generic helpers to reduce sync/async duplication.
(#4334)
Use hardcoded LCID mappings when decoding strings.
(#4212)
Reduced allocations by skipping lock acquisition on
SqlErrorCollectioncounters when no errors exist, and by avoiding stack-trace materialization on expectednull-return paths.(#4099,
#4102,
#4157)
Improved accuracy of
EnclaveDiffieHellmanInfo.Size.(#4346)
SqlVector<float>now serializes and deserializes multibyte values as little-endian explicitly.(#3861)
Updated the bundled .NET 10 SDK to
10.0.300.(#4287)
Re-shipped
Microsoft.Data.SqlClient.Extensions.Azureas7.1.0-preview2, adding Windows Account Manager (WAM) broker support for Entra ID authentication on Windows. See release notes.Re-shipped
Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider,Microsoft.Data.SqlClient.Extensions.Abstractions, andMicrosoft.Data.SqlClient.Internal.Loggingas7.1.0-preview2(version alignment only, no functional changes). See release notes for AKV, Abstractions, and Logging.Fixed
Fixed a
NullReferenceExceptioninSqlCommand.Cancel()when the active connection has already been torn down.(#4372)
Fixed Always Encrypted column master key signature verification incorrectly reusing cached results after a prior verification failure.
(#4339)
Fixed missing bounds checks on TDS token and feature-extension-acknowledgment data lengths that could allow a spoofing server to trigger unbounded allocations.
(#4340)
Fixed
SqlBulkCopyfailing in least-privilege environments.(#4306)
Fixed Always Encrypted reads of
CekMdVersionandEkValueCountto align with the TDS specification.(#4240)
Fixed
LoginWithFailoverto validate parser state before continuing.(#4140)
Fixed the SPN used during login to use the resolved port instead of the instance name when
Protocol=NoneorProtocol=Admin.(#4180)
Fixed a race in
SqlConnection.TryOpenInnerthat could surface asInvalidCastException; the same race now returns a deterministicInvalidOperationException.(#4179)
Fixed several
CancellationTokenSourceleaks acrossSqlDataReader,SqlConnectionreconnect,SqlCommandreconnect timeout, and sequential-stream helpers.(#4009)
Fixed server certificate documentation.
(#4408)
Removed
TypeSystem.SQLServer2000enum value and theType System Version=SQL Server 2000connection-string value. Connection strings that specify this value now throwArgumentExceptionwhen the connection is opened. Supported values areLatest,SQL Server 2005,SQL Server 2008, andSQL Server 2012.(#4015)
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