Skip to content

[release/8.0]: Bump Microsoft.Data.SqlClient from 5.1.7 to 5.1.9#38525

Open
dependabot[bot] wants to merge 2 commits into
release/8.0from
dependabot/nuget/src/EFCore.SqlServer/release/8.0/Microsoft.Data.SqlClient-5.2.3
Open

[release/8.0]: Bump Microsoft.Data.SqlClient from 5.1.7 to 5.1.9#38525
dependabot[bot] wants to merge 2 commits into
release/8.0from
dependabot/nuget/src/EFCore.SqlServer/release/8.0/Microsoft.Data.SqlClient-5.2.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 29, 2026

Copy link
Copy Markdown
Contributor

Updated Microsoft.Data.SqlClient from 5.1.7 to 5.1.9.

Release notes

Sourced from Microsoft.Data.SqlClient's releases.

5.1.9

This update brings the following changes since the 5.1.8 release:

Changed

  • Use Environment.TickCount for SqlStatistics execution timing. (#​3831)
  • Updated dependencies (#​3838):
    • .NET Standard 2.0:
      • Microsoft.Win32.Registry - Removed
      • System.Buffers 4.5.1 -> 4.6.1
      • System.IdentityModel.Tokens.Jwt 6.35.0 - Added
      • System.Text.Encodings.Web - Removed
    • .NET Standard 2.1:
      • Microsoft.Win32.Registry - Removed
      • System.IdentityModel.Tokens.Jwt 6.35.0 - Added
      • System.Text.Encodings.Web - Removed
    • .NET Framework 4.6.2:
      • System.Buffers 4.5.1 -> 4.6.1
      • System.IdentityModel.Tokens.Jwt 6.35.0 - Added
      • System.Text.Encodings.Web - Removed
      • System.Text.Json - Removed
    • .NET 6.0:
      • System.Diagnostics.DiagnosticSource - Removed
      • System.IdentityModel.Tokens.Jwt 6.35.0 - Added
      • System.Text.Encodings.Web - Removed

Target Platform Support

  • .NET Framework 4.6.2+ (Windows x86, Windows x64)
  • .NET 6.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)
  • .NET Standard 2.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)

Dependencies

.NET Standard 2.0

  • Azure.Core 1.41.0
  • Azure.Identity 1.12.1
  • Microsoft.Data.SqlClient.SNI.runtime 5.1.2
  • Microsoft.Identity.Client 4.76.0
  • Microsoft.IdentityModel.JsonWebTokens 6.35.0
  • Microsoft.IdentityModel.Protocols.OpenIdConnect 6.35.0
  • Microsoft.SqlServer.Server 1.0.0
  • System.Buffers 4.6.1
  • System.Configuration.ConfigurationManager 6.0.1
  • System.IdentityModel.Tokens.Jwt 6.35.0
  • System.Runtime.Caching 6.0.0
  • System.Runtime.Loader 4.3.0
  • System.Security.Cryptography.Cng 5.0.0
  • System.Security.Permissions 6.0.0
  • System.Security.Principal.Windows 5.0.0
    ... (truncated)

5.1.8

This update brings the following changes since the 5.1.7 release:

Added

App Context Switch for Ignoring Server-Provided Failover Partner

What Changed:

  • A new app context switch Switch.Microsoft.Data.SqlClient.IgnoreServerProvidedFailoverPartner was 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 #​3704.

Who Benefits:

  • Applications connecting to SQL Server BAGs using TCP and custom ports, especially where the server's provided partner name lacks the protocol, host, or port. This avoids connection failures when the server-provided partner is incompatible or incomplete.
  • Teams who manage availability groups and rely on client-side control of failover behavior in heterogeneous networking environments.

Impact:

  • If your environment might be affected (i.e., you operate a BAG with custom ports, or have experienced failures after failover), you can enable the new switch in your application:
AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.IgnoreServerProvidedFailoverPartner", true);
  • Then, ensure your connection string includes your preferred failover partner (with correct tcp:host,port) so that the client uses that instead of the server's suggestion.
  • Without enabling this, by default, the client continues to prefer the server-provided partner, maintaining backwards compatibility.

Fixed

  • Fixed a bulk copy bug that incorrectly prepended a UTF-8 Byte-Order-Marker when processing row data. (#​3617)

Changed

  • Modernized creation of Microsoft.Identity.Client.PublicClientApplication instances to use its builder pattern. (#​3367)
  • Replaced use of undocumented .NET Framework internals when reading SqlDecimal values. (#​3465)
  • Updated the following dependencies (#​3754):
    • Azure.Core 1.41.0 (Avoids transitive vulnerability)
    • Azure.Identity 1.12.1
    • Microsoft.Identity.Client 4.76.0

Target Platform Support

  • .NET Framework 4.6.2+ (Windows x86, Windows x64)
  • .NET 6.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)
  • .NET Standard 2.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS)

DependenciesExpand commentComment on line R58ResolvedCode has comments. Press enter to view.

.NET Framework

  • Azure.Core 1.41.0
    ... (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 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)

---
updated-dependencies:
- dependency-name: Microsoft.Data.SqlClient
  dependency-version: 5.2.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@ErikEJ

ErikEJ commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

5.2 series is not LTS

@AndriySvyryd AndriySvyryd changed the title [release/8.0]: Bump Microsoft.Data.SqlClient from 5.1.7 to 5.2.3 [release/8.0]: Bump Microsoft.Data.SqlClient from 5.1.7 to 5.1.9 Jun 30, 2026
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.

2 participants