Skip to content

Bump Microsoft.Data.SqlClient from 6.1.3 to 6.1.4#103

Merged
jas88 merged 1 commit intomainfrom
dependabot/nuget/main/Microsoft.Data.SqlClient-6.1.4
Jan 18, 2026
Merged

Bump Microsoft.Data.SqlClient from 6.1.3 to 6.1.4#103
jas88 merged 1 commit intomainfrom
dependabot/nuget/main/Microsoft.Data.SqlClient-6.1.4

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 15, 2026

Updated Microsoft.Data.SqlClient from 6.1.3 to 6.1.4.

Release notes

Sourced from Microsoft.Data.SqlClient's releases.

6.1.4

This update brings the following changes since the 6.1.3 release:

Fixed

  • Fixed NullReferenceException issue with SqlDataAdapter when processing batch scenarios where certain SQL RPC calls may not include system parameters.
    (#​3877)
  • Fixed connection pooling issue where extra connection deactivation was causing active connection counts to go negative.
    (#​3776)

Added

AppContext Switch for enabling MultiSubnetFailover

What Changed:

  • Added new AppContext switch Switch.Microsoft.Data.SqlClient.EnableMultiSubnetFailoverByDefault to set MultiSubnetFailover=true by default in connection string.
    (#​3851)

Who Benefits:

  • Applications that need MultiSubnetFailover enabled globally without modifying connection strings.

Impact:

  • Applications can now enable MultiSubnetFailover globally using one of the following methods:
// In application code
AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.EnableMultiSubnetFailoverByDefault", true);
// In runtimeconfig.json
{
  "configProperties": {
    "Switch.Microsoft.Data.SqlClient.EnableMultiSubnetFailoverByDefault": true
  }
}
<!-- In App.Config -->
<runtime>
  <AppContextSwitchOverrides value="Switch.Microsoft.Data.SqlClient.EnableMultiSubnetFailoverByDefault=true" />
</runtime>

Changed

  • Optimized SqlStatistics execution timing by using Environment.TickCount instead of more expensive timing mechanisms.
    ... (truncated)

Commits viewable in compare view.

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

High-level PR Summary

This PR updates the Microsoft.Data.SqlClient package dependency from version 6.1.3 to 6.1.4. The update includes bug fixes for SqlDataAdapter NullReferenceException and connection pooling issues, adds an AppContext switch for enabling MultiSubnetFailover by default, and optimizes SqlStatistics execution timing.

⏱️ Estimated Review Time: 5-15 minutes

💡 Review Order Suggestion
Order File Path
1 Directory.Packages.props

Need help? Join our Discord


Summary by cubic

Upgrade Microsoft.Data.SqlClient to 6.1.4 to pick up important bug fixes and an optional MultiSubnetFailover switch. No app code changes required.

  • Bug Fixes

    • Fixes NullReferenceException in SqlDataAdapter for certain batch RPC calls without system parameters.
    • Fixes pooling bug where extra deactivation could make active connection counts go negative.
  • New Features

    • Adds an AppContext switch to enable MultiSubnetFailover by default (opt-in).

Written for commit 67d2009. Summary will update on new commits.

@dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Jan 15, 2026
Copy link

@recurseml recurseml bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review by RecurseML

🔍 Review performed on c283ac5..68113af

✨ No bugs found, your code is sparkling clean

✅ Files analyzed, no issues (1)

Directory.Packages.props

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@dependabot dependabot bot force-pushed the dependabot/nuget/main/Microsoft.Data.SqlClient-6.1.4 branch 2 times, most recently from 8dbeb2e to bf4a990 Compare January 18, 2026 19:44
---
updated-dependencies:
- dependency-name: Microsoft.Data.SqlClient
  dependency-version: 6.1.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/nuget/main/Microsoft.Data.SqlClient-6.1.4 branch from bf4a990 to 67d2009 Compare January 18, 2026 20:03
@sonarqubecloud
Copy link

@jas88 jas88 enabled auto-merge (rebase) January 18, 2026 20:11
@jas88 jas88 merged commit d4dcd3e into main Jan 18, 2026
5 checks passed
@jas88 jas88 deleted the dependabot/nuget/main/Microsoft.Data.SqlClient-6.1.4 branch January 18, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant