|
| 1 | +# Release Notes |
| 2 | + |
| 3 | +## Stable Release 6.1.4 - 2026-01-15 |
| 4 | + |
| 5 | +This update brings the following changes since the [6.1.3](6.1.3.md) release: |
| 6 | + |
| 7 | +### Fixed |
| 8 | + |
| 9 | +- Fixed NullReferenceException issue with `SqlDataAdapter` when processing batch scenarios where certain SQL RPC calls may not include system parameters. |
| 10 | + ([#3877](https://github.com/dotnet/SqlClient/pull/3877)) |
| 11 | +- Fixed connection pooling issue where extra connection deactivation was causing active connection counts to go negative. |
| 12 | + ([#3776](https://github.com/dotnet/SqlClient/pull/3776)) |
| 13 | + |
| 14 | +### Added |
| 15 | + |
| 16 | +#### AppContext Switch for enabling MultiSubnetFailover |
| 17 | + |
| 18 | +*What Changed:* |
| 19 | + |
| 20 | +- Added new AppContext switch `Switch.Microsoft.Data.SqlClient.EnableMultiSubnetFailoverByDefault` to set `MultiSubnetFailover=true` by default in connection string. |
| 21 | + ([#3851](https://github.com/dotnet/SqlClient/pull/3851)) |
| 22 | + |
| 23 | +*Who Benefits:* |
| 24 | + |
| 25 | +- Applications that need MultiSubnetFailover enabled globally without modifying connection strings. |
| 26 | + |
| 27 | +*Impact:* |
| 28 | + |
| 29 | +- Applications can now enable MultiSubnetFailover globally using one of the following methods: |
| 30 | + |
| 31 | +```c# |
| 32 | +// In application code |
| 33 | +AppContext.SetSwitch("Switch.Microsoft.Data.SqlClient.EnableMultiSubnetFailoverByDefault", true); |
| 34 | +``` |
| 35 | + |
| 36 | +```json |
| 37 | +// In runtimeconfig.json |
| 38 | +{ |
| 39 | + "configProperties": { |
| 40 | + "Switch.Microsoft.Data.SqlClient.EnableMultiSubnetFailoverByDefault": true |
| 41 | + } |
| 42 | +} |
| 43 | +``` |
| 44 | + |
| 45 | +```xml |
| 46 | +<!-- In App.Config --> |
| 47 | +<runtime> |
| 48 | + <AppContextSwitchOverrides value="Switch.Microsoft.Data.SqlClient.EnableMultiSubnetFailoverByDefault=true" /> |
| 49 | +</runtime> |
| 50 | +``` |
| 51 | + |
| 52 | +### Changed |
| 53 | + |
| 54 | +- Optimized `SqlStatistics` execution timing by using `Environment.TickCount` instead of more expensive timing mechanisms. |
| 55 | + ([#3830](https://github.com/dotnet/SqlClient/pull/3830)) |
| 56 | +- Updated dependencies ([#3843](https://github.com/dotnet/SqlClient/pull/3843)): |
| 57 | + - .NET Framework 4.6.2: |
| 58 | + - Azure.Core 1.47.1 -> 1.50.0 |
| 59 | + - Azure.Identity 1.14.2 -> 1.17.1 |
| 60 | + - Microsoft.Identity.Client 4.80.0 - Added |
| 61 | + - System.Buffers 4.5.1 -> 4.6.1 |
| 62 | + - System.Diagnostics.DiagnosticSource 8.0.1 - Added |
| 63 | + - System.IdentityModel.Tokens.Jwt 7.7.1 - Added |
| 64 | + - System.Memory 4.6.3 - Added |
| 65 | + - System.Text.Json 8.0.5 -> 8.0.6 |
| 66 | + - System.Text.RegularExpressions 4.3.1 - Added |
| 67 | + - Microsoft.Bcl.Cryptography - Removed |
| 68 | + - System.Text.Encodings.Web - Removed |
| 69 | + - .NET 8.0: |
| 70 | + - Azure.Core 1.47.1 -> 1.50.0 |
| 71 | + - Azure.Identity 1.14.2 -> 1.17.1 |
| 72 | + - Microsoft.Identity.Client 4.80.0 - Added |
| 73 | + - System.Diagnostics.DiagnosticSource 8.0.1 - Added |
| 74 | + - System.IdentityModel.Tokens.Jwt 7.7.1 - Added |
| 75 | + - Microsoft.Bcl.Cryptography - Removed |
| 76 | + - System.Text.Json - Removed |
| 77 | + - .NET 9.0: |
| 78 | + - Azure.Core 1.47.1 -> 1.50.0 |
| 79 | + - Azure.Identity 1.14.2 -> 1.17.1 |
| 80 | + - Microsoft.Extensions.Caching.Memory 9.0.4 -> 9.0.11 |
| 81 | + - Microsoft.Identity.Client 4.80.0 - Added |
| 82 | + - System.Configuration.ConfigurationManager 9.0.4 -> 9.0.11 |
| 83 | + - System.Diagnostics.DiagnosticSource 9.0.11 - Added |
| 84 | + - System.IdentityModel.Tokens.Jwt 7.7.1 - Added |
| 85 | + - System.Security.Cryptography.Pkcs 9.0.4 -> 9.0.11 |
| 86 | + - Microsoft.Bcl.Cryptography - Removed |
| 87 | + - System.Text.Json - Removed |
| 88 | + - .NET Standard 2.0: |
| 89 | + - Azure.Core 1.47.1 -> 1.50.0 |
| 90 | + - Azure.Identity 1.14.2 -> 1.17.1 |
| 91 | + - Microsoft.Extensions.Caching.Memory 9.0.4 -> 8.0.1 |
| 92 | + - Microsoft.Identity.Client 4.80.0 - Added |
| 93 | + - System.Configuration.ConfigurationManager 9.0.4 -> 8.0.1 |
| 94 | + - System.Diagnostics.DiagnosticSource 8.0.1 - Added |
| 95 | + - System.IdentityModel.Tokens.Jwt 7.7.1 - Added |
| 96 | + - System.Security.Cryptography.Pkcs 9.0.4 -> 8.0.1 |
| 97 | + - System.Text.Json 9.0.5 -> 8.0.6 |
| 98 | + - Microsoft.Bcl.Cryptography - Removed |
| 99 | + |
| 100 | +## Target Platform Support |
| 101 | + |
| 102 | +- .NET Framework 4.6.2+ (Windows x86, Windows x64, Windows ARM64) |
| 103 | +- .NET 8.0+ (Windows x86, Windows x64, Windows ARM64, Linux, macOS) |
| 104 | +- .NET Standard 2.0+ (Windows x86, Windows x64, Windows ARM64, Linux, macOS) |
| 105 | + |
| 106 | +### Dependencies |
| 107 | + |
| 108 | +#### .NET Framework 4.6.2 |
| 109 | + |
| 110 | +- Azure.Core 1.50.0 |
| 111 | +- Azure.Identity 1.17.1 |
| 112 | +- Microsoft.Data.SqlClient.SNI 6.0.2 |
| 113 | +- Microsoft.Extensions.Caching.Memory 8.0.1 |
| 114 | +- Microsoft.Identity.Client 4.80.0 |
| 115 | +- Microsoft.IdentityModel.JsonWebTokens 7.7.1 |
| 116 | +- Microsoft.IdentityModel.Protocols.OpenIdConnect 7.7.1 |
| 117 | +- System.Buffers 4.6.1 |
| 118 | +- System.Data.Common 4.3.0 |
| 119 | +- System.Diagnostics.DiagnosticSource 8.0.1 |
| 120 | +- System.IdentityModel.Tokens.Jwt 7.7.1 |
| 121 | +- System.Memory 4.6.3 |
| 122 | +- System.Security.Cryptography.Pkcs 8.0.1 |
| 123 | +- System.Text.Json 8.0.6 |
| 124 | +- System.Text.RegularExpressions 4.3.1 |
| 125 | + |
| 126 | +#### .NET 8.0 |
| 127 | + |
| 128 | +- Azure.Core 1.50.0 |
| 129 | +- Azure.Identity 1.17.1 |
| 130 | +- Microsoft.Data.SqlClient.SNI.runtime 6.0.2 |
| 131 | +- Microsoft.Extensions.Caching.Memory 8.0.1 |
| 132 | +- Microsoft.Identity.Client 4.80.0 |
| 133 | +- Microsoft.IdentityModel.JsonWebTokens 7.7.1 |
| 134 | +- Microsoft.IdentityModel.Protocols.OpenIdConnect 7.7.1 |
| 135 | +- Microsoft.SqlServer.Server 1.0.0 |
| 136 | +- System.Configuration.ConfigurationManager 8.0.1 |
| 137 | +- System.Diagnostics.DiagnosticSource 8.0.1 |
| 138 | +- System.IdentityModel.Tokens.Jwt 7.7.1 |
| 139 | +- System.Security.Cryptography.Pkcs 8.0.1 |
| 140 | + |
| 141 | +#### .NET 9.0 |
| 142 | + |
| 143 | +- Azure.Core 1.50.0 |
| 144 | +- Azure.Identity 1.17.1 |
| 145 | +- Microsoft.Data.SqlClient.SNI.runtime 6.0.2 |
| 146 | +- Microsoft.Extensions.Caching.Memory 9.0.11 |
| 147 | +- Microsoft.Identity.Client 4.80.0 |
| 148 | +- Microsoft.IdentityModel.JsonWebTokens 7.7.1 |
| 149 | +- Microsoft.IdentityModel.Protocols.OpenIdConnect 7.7.1 |
| 150 | +- Microsoft.SqlServer.Server 1.0.0 |
| 151 | +- System.Configuration.ConfigurationManager 9.0.11 |
| 152 | +- System.Diagnostics.DiagnosticSource 9.0.11 |
| 153 | +- System.IdentityModel.Tokens.Jwt 7.7.1 |
| 154 | +- System.Security.Cryptography.Pkcs 9.0.11 |
| 155 | + |
| 156 | +#### .NET Standard 2.0 |
| 157 | + |
| 158 | +- Azure.Core 1.50.0 |
| 159 | +- Azure.Identity 1.17.1 |
| 160 | +- Microsoft.Data.SqlClient.SNI.runtime 6.0.2 |
| 161 | +- Microsoft.Extensions.Caching.Memory 8.0.1 |
| 162 | +- Microsoft.Identity.Client 4.80.0 |
| 163 | +- Microsoft.IdentityModel.JsonWebTokens 7.7.1 |
| 164 | +- Microsoft.IdentityModel.Protocols.OpenIdConnect 7.7.1 |
| 165 | +- Microsoft.SqlServer.Server 1.0.0 |
| 166 | +- System.Configuration.ConfigurationManager 8.0.1 |
| 167 | +- System.Diagnostics.DiagnosticSource 8.0.1 |
| 168 | +- System.IdentityModel.Tokens.Jwt 7.7.1 |
| 169 | +- System.Security.Cryptography.Pkcs 8.0.1 |
| 170 | +- System.Text.Json 8.0.6 |
0 commit comments