Bump Microsoft.Data.SqlClient from 6.1.4 to 7.0.0#124
Open
dependabot[bot] wants to merge 1 commit intomainfrom
Open
Bump Microsoft.Data.SqlClient from 6.1.4 to 7.0.0#124dependabot[bot] wants to merge 1 commit intomainfrom
dependabot[bot] wants to merge 1 commit intomainfrom
Conversation
--- updated-dependencies: - dependency-name: Microsoft.Data.SqlClient dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Review by RecurseML
🔍 Review performed on 3bf8610..c396ddb
✨ No bugs found, your code is sparkling clean
✅ Files analyzed, no issues (1)
• Directory.Packages.props
There was a problem hiding this comment.
1 issue found across 1 file
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="Directory.Packages.props">
<violation number="1" location="Directory.Packages.props:21">
P1: This major-version bump drops Entra/Azure authentication support unless you also add the new `Microsoft.Data.SqlClient.Extensions.Azure` package. Existing consumers using `Authentication=Active Directory ...` connection strings will regress at runtime.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
|
|
||
| <!-- Database Providers --> | ||
| <PackageVersion Include="Microsoft.Data.SqlClient" Version="6.1.4" /> | ||
| <PackageVersion Include="Microsoft.Data.SqlClient" Version="7.0.0" /> |
There was a problem hiding this comment.
P1: This major-version bump drops Entra/Azure authentication support unless you also add the new Microsoft.Data.SqlClient.Extensions.Azure package. Existing consumers using Authentication=Active Directory ... connection strings will regress at runtime.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At Directory.Packages.props, line 21:
<comment>This major-version bump drops Entra/Azure authentication support unless you also add the new `Microsoft.Data.SqlClient.Extensions.Azure` package. Existing consumers using `Authentication=Active Directory ...` connection strings will regress at runtime.</comment>
<file context>
@@ -18,7 +18,7 @@
<!-- Database Providers -->
- <PackageVersion Include="Microsoft.Data.SqlClient" Version="6.1.4" />
+ <PackageVersion Include="Microsoft.Data.SqlClient" Version="7.0.0" />
<PackageVersion Include="Microsoft.Data.Sqlite" Version="10.0.5" />
<PackageVersion Include="MySqlConnector" Version="2.5.0" />
</file context>
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.
Updated Microsoft.Data.SqlClient from 6.1.4 to 7.0.0.
Release notes
Sourced from Microsoft.Data.SqlClient's releases.
7.0.0-preview4
Changed
Azure Dependencies Removed from Core Package
What Changed:
Microsoft.Data.SqlClientpackage no longer depends onAzure.Core,Azure.Identity, or their transitive dependencies (e.g.,Microsoft.Identity.Client,Microsoft.Web.WebView2). Azure Active Directory / Entra authentication functionality (ActiveDirectoryAuthenticationProviderand related types) has been extracted into a newMicrosoft.Data.SqlClient.Extensions.Azurepackage that can be installed separately when needed. (#1108, #3680, #3902, #3904, #3908, #3917, #3982, #3978, #3986)Microsoft.Data.SqlClient.Extensions.Abstractions(shared types between the core driver and extensions) andMicrosoft.Data.SqlClient.Extensions.Logging(shared ETW tracing infrastructure). (#3626, #3628, #3967)Who Benefits:
Azure.Core,Azure.Identity,Microsoft.Identity.Client, andMicrosoft.Web.WebView2) even for applications that only needed basic SQL Server connectivity. This was the most upvoted open issue in the repository (#1108).Impact:
ActiveDirectoryPassword,ActiveDirectoryInteractive,ActiveDirectoryDefault, etc.) must now install theMicrosoft.Data.SqlClient.Extensions.AzureNuGet package separately. No code changes are required beyond adding the package reference.Added
Expose SSPI Context Provider as Public API
What Changed:
SspiContextProviderabstract class and a publicSspiContextProviderproperty onSqlConnection, allowing applications to supply a custom SSPI context provider for integrated authentication. This enables custom Kerberos ticket negotiation and NTLM username/password authentication scenarios that the driver does not natively support. (#2253, #2494)Who Benefits:
Impact:
SspiContextProvideronSqlConnectionbefore opening the connection. The provider handles the authentication token exchange during integrated authentication. This is an additive API — existing authentication behavior is unchanged when no custom provider is set. See SspiContextProvider_CustomProvider.cs for a sample implementation.SspiContextProvideris a part of the connection pool key. Care should be taken when using this property to ensure the implementation returns a stable identity per resource.Expose Default Transient Error List
What Changed:
SqlConfigurableRetryFactory.BaselineTransientErrorsstatic property (returns aReadOnlyCollection<int>), making it easier to extend the set of transient errors without copy-pasting from the repository source. (#3903)Who Benefits:
Impact:
... (truncated)
7.0.0-preview3
Preview Release 7.0.0-preview3.25342.7 - December 8, 2025
Added
Support for .NET 10
What Changed:
(#3686)
Who Benefits:
Impact:
Enable SqlClientDiagnosticListener in SqlCommand on .NET Framework
What Changed:
(#3658)
Who Benefits:
Impact:
Enable User Agent Extension
What Changed:
(#3606)
Who Benefits:
Impact:
Switch.Microsoft.Data.SqlClient.EnableUserAgentapp context switch is enabled, the driver sends more detailed user agent strings. This switch is disabled by default. This change will assist with troubleshooting and quantifying driver usage by version and operating system.Fixed
... (truncated)
7.0.0-preview2
This update brings the following changes since the 7.0.0-preview1 release:
Bug Fixes
CreatePerformanceCounters(#3623)Added
App Context Switch for Ignoring Server-Provided Failover Partner
What Changed:
Switch.Microsoft.Data.SqlClient.IgnoreServerProvidedFailoverPartnerwas introduced to let the client ignore server-provided failover partner info in Basic Availability Groups (BAGs). When the switch is enabled, only the failover partner specified in the connection string is used; server-supplied partner values are skipped. This context switch was introduced in PR #3625.Who Benefits:
Impact:
tcp:host,port) so that the client uses that instead of the server's suggestion.Other Additions
Changed
Deprecation of
SqlAuthenticationMethod.ActiveDirectoryPasswordWhat Changed:
SqlAuthenticationMethod.ActiveDirectoryPasswordis now marked as[Obsolete]. This change occurred in PR #3671Who benefits:
... (truncated)
7.0.0-preview1
Changes Since 6.1.0
This update brings the following changes since the 6.1.0 release:
Breaking Changes
Constrained Execution Regionerror handling blocks and associatedSqlConnectioncleanup which may affect how potentially-broken connections are expunged from the pool. (#3535)Bug Fixes
Added
SqlColumnEncryptionCertificateStoreProvidernow works on Windows, Linux, and macOS. (#3014)Changed
Updated
SqlVector.Nullto return a nullableSqlVectorinstance in the reference API to match the implementation. (#3521)Performance improvements for all built-in
SqlColumnEncryptionKeyStoreProviderimplementations. (#3554)Various test improvements. (#3456, #2968, #3458, #3494, #3559, #3575)
Codebase merge project and related cleanup. (#3436, #3434, #3448, #3454, #3462, #3435, #3492, #3473, #3469, #3394, #3493, #3593)
Documentation improvements. (#3490)
Updated
Azure.Identitydependency to v1.14.2. (#3538)Changes Since 6.0.2
This update brings the following changes since the 6.0.2 release. Changes already noted above are omitted:
Additions
Added dedicated SQL Server vector datatype support
What Changed:
Who Benefits:
Impact:
... (truncated)
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Summary by cubic
Upgrade
Microsoft.Data.SqlClientfrom 6.1.4 to 7.0.0. The core driver is lighter and no longer brings in Azure dependencies; apps using Entra/Azure AD auth must add the new extension.Microsoft.Data.SqlClient.Extensions.Azure.ActiveDirectoryPasswordis now obsolete. Move toActiveDirectoryDefault,ManagedIdentity, or interactive/device code flows.Written for commit c396ddb. Summary will update on new commits.
High-level PR Summary
This PR updates the
Microsoft.Data.SqlClientdependency from version 6.1.4 to 7.0.0, which introduces several significant changes including the removal of Azure dependencies from the core package (now requiring a separateMicrosoft.Data.SqlClient.Extensions.Azurepackage for Azure AD authentication), new APIs for custom SSPI context providers and transient error handling, support for .NET 10, SQL Server vector datatype optimizations, and the deprecation ofActiveDirectoryPasswordauthentication method. This is a major version bump that may require applications using Azure AD authentication to install an additional NuGet package.⏱️ Estimated Review Time: 5-15 minutes
💡 Review Order Suggestion
Directory.Packages.props