Skip to content

Bump Microsoft.Data.SqlClient to v7#547

Merged
phnx47 merged 1 commit intomainfrom
renovate/microsoft.data.sqlclient-7.x
Mar 18, 2026
Merged

Bump Microsoft.Data.SqlClient to v7#547
phnx47 merged 1 commit intomainfrom
renovate/microsoft.data.sqlclient-7.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Mar 17, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
Microsoft.Data.SqlClient (source) 6.1.47.0.0 age adoption passing confidence

Release Notes

dotnet/sqlclient (Microsoft.Data.SqlClient)

v7.0.0

This update brings the below changes over the previous preview release:

Also released as part of this milestone:

  • Released Microsoft.Data.SqlClient.Extensions.Abstractions 1.0.0-preview1.26064.3. See release notes.
  • Released Microsoft.Data.SqlClient.Extensions.Azure 1.0.0-preview1.26064.3. See release notes.
  • Released Microsoft.Data.SqlClient.Extensions.Logging 1.0.0-preview1.26064.3. See release notes.
  • Released Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider 7.0.0-preview1.26064.3. 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)

  • Introduced Microsoft.Data.SqlClient.Extensions.Abstractions and Microsoft.Data.SqlClient.Extensions.Logging packages to support the extensions model.
    (#​3626,
    #​3628,
    #​3967)

  • Updated UserAgent feature to use a pipe-delimited format.
    (#​3826)

  • Minor improvements to Managed SNI tracing.
    (#​3859)

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

  • Performance improvements:
    (#​3791,
    #​3772)

  • Codebase merge and cleanup:
    (#​3773,
    #​3818,
    #​3836,
    #​3810,
    #​3837,
    #​3963)

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)

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

  • Added new app context switch Switch.Microsoft.Data.SqlClient.EnableMultiSubnetFailoverByDefault to set MultiSubnetFailover=true by default in connection strings.
    (#​3841)

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

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

  • Fixed NullReferenceException in SqlDataAdapter when processing batch scenarios where certain SQL RPC calls may not include system parameters.
    (#​3857)

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

  • 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 an edge case in TdsParserStateObject.TryReadPlpBytes where zero-length reads returned null instead of an empty array.
    (#​3872)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 phnx47 as a code owner March 17, 2026 21:04
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.01%. Comparing base (17e5779) to head (7f6c98c).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #547   +/-   ##
=======================================
  Coverage   65.01%   65.01%           
=======================================
  Files          59       59           
  Lines        1941     1941           
  Branches      381      381           
=======================================
  Hits         1262     1262           
  Misses        568      568           
  Partials      111      111           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@phnx47 phnx47 merged commit 8311bbb into main Mar 18, 2026
7 checks passed
@phnx47 phnx47 deleted the renovate/microsoft.data.sqlclient-7.x branch March 18, 2026 01:25
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