Skip to content

chore(deps): update dependency microsoft.data.sqlclient to v7#119

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-microsoft-packages
Open

chore(deps): update dependency microsoft.data.sqlclient to v7#119
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-microsoft-packages

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 23, 2026

This PR contains the following updates:

Package Change Age Confidence
Microsoft.Data.SqlClient (source) 6.1.47.0.0 age confidence

Release Notes

dotnet/sqlclient (Microsoft.Data.SqlClient)

v7.0.0

This section summarizes all changes across the 7.0 preview cycle for users upgrading from the latest 6.1 stable release.
See the full release notes for detailed descriptions.

Also released as part of this milestone:

  • Released Microsoft.Data.SqlClient.Extensions.Abstractions 1.0.0. See release notes.
  • Released Microsoft.Data.SqlClient.Extensions.Azure 1.0.0. See release notes.
  • Released Microsoft.Data.SqlClient.Internal.Logging 1.0.0. See release notes.
  • Released Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider 7.0.0. See release notes.
Changed
  • Breaking: Removed Azure dependencies from the core package. Entra ID authentication (ActiveDirectoryAuthenticationProvider and related types) has been extracted into a new Microsoft.Data.SqlClient.Extensions.Azure package. The core Microsoft.Data.SqlClient package no longer depends on Azure.Core, Azure.Identity, or their transitive dependencies. Applications using Entra ID authentication must now install Microsoft.Data.SqlClient.Extensions.Azure separately.
    (#​1108,
    #​3680,
    #​3902,
    #​3904,
    #​3908,
    #​3917,
    #​3982,
    #​3978,
    #​3986)

  • Two additional packages were introduced to support this separation: Microsoft.Data.SqlClient.Extensions.Abstractions (shared types between the core driver and extensions) and Microsoft.Data.SqlClient.Internal.Logging (shared ETW tracing infrastructure).
    (#​3626,
    #​3628,
    #​3967,
    #​4038)

  • Deprecated SqlAuthenticationMethod.ActiveDirectoryPassword (ROPC flow). The method is now marked [Obsolete] and will generate compiler warnings. Migrate to ActiveDirectoryInteractive, ActiveDirectoryServicePrincipal, ActiveDirectoryManagedIdentity, or ActiveDirectoryDefault.
    (#​3671)

  • Reverted public visibility of internal interop enums (IoControlCodeAccess and IoControlTransferType) that were accidentally made public during the project merge.
    (#​3900)

  • Removed Constrained Execution Region error handling blocks and associated SqlConnection cleanup.
    (#​3535)

  • Performance improvements across SqlStatistics timing, Always Encrypted scenarios, and connection opening:
    (#​3609,
    #​3612,
    #​3732,
    #​3660,
    #​3791,
    #​3772,
    #​3554)

  • Allow SqlBulkCopy to operate on hidden columns.
    (#​3590)

  • Updated UserAgent feature to use a pipe-delimited format, replacing the previous JSON format.
    (#​3826)

  • Minor improvements to Managed SNI tracing to capture continuation events and errors.
    (#​3859)

Added
  • Added SspiContextProvider abstract class and SqlConnection.SspiContextProvider property, enabling custom SSPI authentication for scenarios like cross-domain Kerberos negotiation and NTLM username/password authentication.
    (#​2253,
    #​2494)

  • Continued refinement of packet multiplexing with bug fixes and stability improvements, plus new app context switches for opt-in control.
    (#​3534,
    #​3537,
    #​3605)

  • Added support for enhanced routing, a TDS feature that allows the server to redirect connections to a specific server and database during login, enabling Azure SQL Hyperscale read replica load balancing.
    (#​3641,
    #​3969,
    #​3970,
    #​3973)

  • Updated pipelines and test suites to compile the driver using the .NET 10 SDK.
    (#​3686)

  • Added SqlConfigurableRetryFactory.BaselineTransientErrors static property exposing the default transient error codes list as a ReadOnlyCollection<int>.
    (#​3903)

  • Added app context switch Switch.Microsoft.Data.SqlClient.EnableMultiSubnetFailoverByDefault to set MultiSubnetFailover=true globally without modifying connection strings.
    (#​3841)

  • Added app context switch Switch.Microsoft.Data.SqlClient.IgnoreServerProvidedFailoverPartner to let the client ignore server-provided failover partner info in Basic Availability Groups.
    (#​3625)

  • Enabled SqlClientDiagnosticListener for SqlCommand on .NET Framework, closing a long-standing observability gap where diagnostic events were previously only available on .NET Core.
    (#​3658)

  • Brought the 15 strongly-typed diagnostic event classes in the Microsoft.Data.SqlClient.Diagnostics namespace (e.g., SqlClientCommandBefore, SqlClientConnectionOpenAfter, SqlClientTransactionCommitError) to .NET Framework as part of the codebase merge. These types were originally introduced for .NET Core in 6.0.
    (#​3493)

  • Enabled User Agent Feature Extension (opt-in via Switch.Microsoft.Data.SqlClient.EnableUserAgent).
    (#​3606)

  • Added actionable error message when Entra ID authentication methods are used without the Microsoft.Data.SqlClient.Extensions.Azure package installed.
    (#​3962,
    #​4046)

Fixed
  • Fixed a connection performance regression where SPN generation was triggered for non-integrated authentication modes (e.g., SQL authentication) on the native SNI path.
    (#​3929)

  • Fixed ExecuteScalar to propagate errors when the server sends data followed by an error token.
    (#​3912)

  • Fixed NullReferenceException in SqlDataAdapter when processing batch scenarios.
    (#​3857)

  • Fixed reading of multiple app context switches from a single AppContextSwitchOverrides configuration field.
    (#​3960)

  • Fixed an edge case in TdsParserStateObject.TryReadPlpBytes where zero-length reads returned null instead of an empty array.
    (#​3872)

  • Fixed issue where extra connection deactivation was occurring.
    (#​3758)

  • Fixed debug assertion in connection pool (no impact to production code).
    (#​3587)

  • Prevented uninitialized performance counters escaping CreatePerformanceCounters.
    (#​3623)

  • Fixed SetProvider to return immediately if user-defined authentication provider found.
    (#​3620)

  • Fixed connection pool concurrency issue.
    (#​3632)


Configuration

📅 Schedule: Branch creation - "before 8am on monday" in timezone UTC, Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from steingran as a code owner March 23, 2026 00:35
@codecov
Copy link

codecov bot commented Mar 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.27%. Comparing base (9e5bcf6) to head (2c5a980).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #119      +/-   ##
==========================================
+ Coverage   74.78%   75.27%   +0.49%     
==========================================
  Files          36       36              
  Lines        2237     2237              
  Branches      293      293              
==========================================
+ Hits         1673     1684      +11     
+ Misses        452      443       -9     
+ Partials      112      110       -2     

see 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9e5bcf6...2c5a980. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant