-
Notifications
You must be signed in to change notification settings - Fork 317
Release notes for MDS 5.1.8 #3752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
b0f4965
User Story 40114: Release activities for v5.1.8
paulmedynski 958fed9
User Story 40114: Release activities for v5.1.8
paulmedynski 8a319b1
User Story 40114: Release activities for v5.1.8
paulmedynski bb5cbd1
Updated dependencies based on what we actually use.
paulmedynski 76e17ee
Updated CHANGELOG to match release notes.
paulmedynski 95f92c0
Shamelessly stole Apoorv's BAG failover description from the 6.0.4 re…
paulmedynski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,126 @@ | ||
| # Release Notes | ||
|
|
||
| ## Microsoft.Data.SqlClient 5.1.8 - November 14, 2025 | ||
paulmedynski marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| This update brings the following changes since the [5.1.7](5.1.7.md) 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](https://github.com/dotnet/SqlClient/pull/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: | ||
|
|
||
| ```c# | ||
| 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](https://github.com/dotnet/SqlClient/pull/3617)) | ||
|
|
||
| ### Changed | ||
|
|
||
| - Modernized creation of `Microsoft.Identity.Client.PublicClientApplication` | ||
| instances to use its builder pattern. | ||
| ([#3367](https://github.com/dotnet/SqlClient/pull/3367)) | ||
| - Replaced use of undocumented .NET Framework internals when reading | ||
| `SqlDecimal` values. | ||
| ([#3465](https://github.com/dotnet/SqlClient/pull/3465)) | ||
| - Updated the following dependencies | ||
| ([#3754](https://github.com/dotnet/SqlClient/pull/3754)): | ||
| - Azure.Core 1.41.0 | ||
| (Avoids transitive [vulnerability](https://github.com/Azure/azure-sdk-for-net/issues/44817)) | ||
| - 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) | ||
|
|
||
| ## Dependencies | ||
paulmedynski marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ### .NET Framework | ||
|
|
||
| - Azure.Core 1.41.0 | ||
| - Azure.Identity 1.12.1 | ||
| - Microsoft.Data.SqlClient.SNI 5.1.2 | ||
| - Microsoft.Identity.Client 4.76.0 | ||
| - Microsoft.IdentityModel.JsonWebTokens 6.35.0 | ||
| - Microsoft.IdentityModel.Protocols.OpenIdConnect 6.35.0 | ||
| - System.Buffers 4.5.1 | ||
| - System.Text.Encoding.Web 6.0.1 | ||
| - System.Text.Json 6.0.11 | ||
|
|
||
| ### .NET 6.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.Configuration.ConfigurationManager 6.0.1 | ||
| - System.Diagnostics.DiagnosticSource 6.0.1 | ||
| - System.Runtime.Caching 6.0.0 | ||
| - System.Security.Permissions 6.0.0 | ||
| - System.Security.Principal.Windows 5.0.0 | ||
| - System.Text.Encoding.CodePages 6.0.0 | ||
| - System.Text.Encodings.Web 6.0.1 | ||
|
|
||
| ### .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 | ||
| - Microsoft.Win32.Registry 5.0.0 | ||
| - System.Buffers 4.5.1 | ||
| - System.Configuration.ConfigurationManager 6.0.1 | ||
| - 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 | ||
| - System.Text.Encoding.CodePages 6.0.0 | ||
| - System.Text.Encodings.Web 6.0.1 | ||
|
|
||
| ### .NET Standard 2.1 | ||
|
|
||
| - 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 | ||
| - Microsoft.Win32.Registry 5.0.0 | ||
| - System.Configuration.ConfigurationManager 6.0.1 | ||
| - 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 | ||
| - System.Text.Encoding.CodePages 6.0.0 | ||
| - System.Text.Encodings.Web 6.0.1 | ||
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.