Skip to content

Commit 3972714

Browse files
Bump Microsoft.Data.SqlClient from 6.1.2 to 6.1.3 (#2867)
Updated [Microsoft.Data.SqlClient](https://github.com/dotnet/sqlclient) from 6.1.2 to 6.1.3. <details> <summary>Release notes</summary> _Sourced from [Microsoft.Data.SqlClient's releases](https://github.com/dotnet/sqlclient/releases)._ ## 6.1.3 This update includes the following changes since the [6.1.2](https://github.com/dotnet/SqlClient/blob/main/release-notes/6.1/6.1.2.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 [#​3702](dotnet/SqlClient#3702). *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 an issue to ensure reliable metrics initialization during startup, preventing missed telemetry when EventSource is enabled early. ([#​3718](dotnet/SqlClient#3718)) ## Target Platform Support - .NET Framework 4.6.2+ (Windows ARM64, Windows x86, Windows x64) - .NET 8.0+ (Windows x86, Windows x64, Windows ARM64, Windows ARM, Linux, macOS) ### Dependencies #### .NET Framework 4.6.2+ - Azure.Core 1.47.1 - Azure.Identity 1.14.2 - Microsoft.Bcl.Cryptography 8.0.0 - Microsoft.Data.SqlClient.SNI 6.0.2 - Microsoft.Extensions.Caching.Memory 8.0.1 - Microsoft.IdentityModel.JsonWebTokens 7.7.1 - Microsoft.IdentityModel.Protocols.OpenIdConnect 7.7.1 - System.Buffers 4.5.1 - System.Data.Common 4.3.0 - System.Security.Cryptography.Pkcs 8.0.1 - System.Text.Encodings.Web 8.0.0 ... (truncated) Commits viewable in [compare view](dotnet/SqlClient@v6.1.2...v6.1.3). </details> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.Data.SqlClient&package-manager=nuget&previous-version=6.1.2&new-version=6.1.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 7fa8a8f commit 3972714

File tree

21 files changed

+80
-80
lines changed

21 files changed

+80
-80
lines changed

TeachingRecordSystem/Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<PackageVersion Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="9.0.10" />
4444
<PackageVersion Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="9.0.10" />
4545
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.10" />
46-
<PackageVersion Include="Microsoft.Data.SqlClient" Version="6.1.2" />
46+
<PackageVersion Include="Microsoft.Data.SqlClient" Version="6.1.3" />
4747
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.10" />
4848
<PackageVersion Include="Microsoft.EntityFrameworkCore.InMemory" Version="9.0.10" />
4949
<PackageVersion Include="Microsoft.EntityFrameworkCore.Relational" Version="9.0.10" />

TeachingRecordSystem/src/TeachingRecordSystem.Api/packages.lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2115,7 +2115,7 @@
21152115
"Hangfire.NetCore": "[1.8.22, )",
21162116
"Hangfire.PostgreSql": "[1.20.12, )",
21172117
"IdentityModel": "[6.2.0, )",
2118-
"Microsoft.Data.SqlClient": "[6.1.2, )",
2118+
"Microsoft.Data.SqlClient": "[6.1.3, )",
21192119
"Microsoft.EntityFrameworkCore.Relational": "[9.0.10, )",
21202120
"Microsoft.Extensions.Azure": "[1.13.0, )",
21212121
"Microsoft.Extensions.Configuration.Abstractions": "[9.0.10, )",
@@ -2374,9 +2374,9 @@
23742374
},
23752375
"Microsoft.Data.SqlClient": {
23762376
"type": "CentralTransitive",
2377-
"requested": "[6.1.2, )",
2378-
"resolved": "6.1.2",
2379-
"contentHash": "q0GxRC0fgwfZgU14pU34ro0MW7Gs8S6NDmKCcEqymvZljT8UQa633BbEmk/Rb5upNF9NHZ3/jVm7zLiWbM8uTA==",
2377+
"requested": "[6.1.3, )",
2378+
"resolved": "6.1.3",
2379+
"contentHash": "ys/z8Tx8074CDU20EilNvBRJuJdwKSthpHkzUpt3JghnjB6GjbZusoOcCtNbhPCCWsEJqN8bxaT7HnS3UZuUDQ==",
23802380
"dependencies": {
23812381
"Azure.Core": "1.47.1",
23822382
"Azure.Identity": "1.14.2",

TeachingRecordSystem/src/TeachingRecordSystem.AuthorizeAccess/packages.lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2400,7 +2400,7 @@
24002400
"Hangfire.NetCore": "[1.8.22, )",
24012401
"Hangfire.PostgreSql": "[1.20.12, )",
24022402
"IdentityModel": "[6.2.0, )",
2403-
"Microsoft.Data.SqlClient": "[6.1.2, )",
2403+
"Microsoft.Data.SqlClient": "[6.1.3, )",
24042404
"Microsoft.EntityFrameworkCore.Relational": "[9.0.10, )",
24052405
"Microsoft.Extensions.Azure": "[1.13.0, )",
24062406
"Microsoft.Extensions.Configuration.Abstractions": "[9.0.10, )",
@@ -2659,9 +2659,9 @@
26592659
},
26602660
"Microsoft.Data.SqlClient": {
26612661
"type": "CentralTransitive",
2662-
"requested": "[6.1.2, )",
2663-
"resolved": "6.1.2",
2664-
"contentHash": "q0GxRC0fgwfZgU14pU34ro0MW7Gs8S6NDmKCcEqymvZljT8UQa633BbEmk/Rb5upNF9NHZ3/jVm7zLiWbM8uTA==",
2662+
"requested": "[6.1.3, )",
2663+
"resolved": "6.1.3",
2664+
"contentHash": "ys/z8Tx8074CDU20EilNvBRJuJdwKSthpHkzUpt3JghnjB6GjbZusoOcCtNbhPCCWsEJqN8bxaT7HnS3UZuUDQ==",
26652665
"dependencies": {
26662666
"Azure.Core": "1.47.1",
26672667
"Azure.Identity": "1.14.2",

TeachingRecordSystem/src/TeachingRecordSystem.Cli/packages.lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1871,7 +1871,7 @@
18711871
"Hangfire.NetCore": "[1.8.22, )",
18721872
"Hangfire.PostgreSql": "[1.20.12, )",
18731873
"IdentityModel": "[6.2.0, )",
1874-
"Microsoft.Data.SqlClient": "[6.1.2, )",
1874+
"Microsoft.Data.SqlClient": "[6.1.3, )",
18751875
"Microsoft.EntityFrameworkCore.Relational": "[9.0.10, )",
18761876
"Microsoft.Extensions.Azure": "[1.13.0, )",
18771877
"Microsoft.Extensions.Configuration.Abstractions": "[9.0.10, )",
@@ -2056,9 +2056,9 @@
20562056
},
20572057
"Microsoft.Data.SqlClient": {
20582058
"type": "CentralTransitive",
2059-
"requested": "[6.1.2, )",
2060-
"resolved": "6.1.2",
2061-
"contentHash": "q0GxRC0fgwfZgU14pU34ro0MW7Gs8S6NDmKCcEqymvZljT8UQa633BbEmk/Rb5upNF9NHZ3/jVm7zLiWbM8uTA==",
2059+
"requested": "[6.1.3, )",
2060+
"resolved": "6.1.3",
2061+
"contentHash": "ys/z8Tx8074CDU20EilNvBRJuJdwKSthpHkzUpt3JghnjB6GjbZusoOcCtNbhPCCWsEJqN8bxaT7HnS3UZuUDQ==",
20622062
"dependencies": {
20632063
"Azure.Core": "1.47.1",
20642064
"Azure.Identity": "1.14.2",

TeachingRecordSystem/src/TeachingRecordSystem.Core/packages.lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@
152152
},
153153
"Microsoft.Data.SqlClient": {
154154
"type": "Direct",
155-
"requested": "[6.1.2, )",
156-
"resolved": "6.1.2",
157-
"contentHash": "q0GxRC0fgwfZgU14pU34ro0MW7Gs8S6NDmKCcEqymvZljT8UQa633BbEmk/Rb5upNF9NHZ3/jVm7zLiWbM8uTA==",
155+
"requested": "[6.1.3, )",
156+
"resolved": "6.1.3",
157+
"contentHash": "ys/z8Tx8074CDU20EilNvBRJuJdwKSthpHkzUpt3JghnjB6GjbZusoOcCtNbhPCCWsEJqN8bxaT7HnS3UZuUDQ==",
158158
"dependencies": {
159159
"Azure.Core": "1.47.1",
160160
"Azure.Identity": "1.14.2",

TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/packages.lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2340,7 +2340,7 @@
23402340
"Hangfire.NetCore": "[1.8.22, )",
23412341
"Hangfire.PostgreSql": "[1.20.12, )",
23422342
"IdentityModel": "[6.2.0, )",
2343-
"Microsoft.Data.SqlClient": "[6.1.2, )",
2343+
"Microsoft.Data.SqlClient": "[6.1.3, )",
23442344
"Microsoft.EntityFrameworkCore.Relational": "[9.0.10, )",
23452345
"Microsoft.Extensions.Azure": "[1.13.0, )",
23462346
"Microsoft.Extensions.Configuration.Abstractions": "[9.0.10, )",
@@ -2589,9 +2589,9 @@
25892589
},
25902590
"Microsoft.Data.SqlClient": {
25912591
"type": "CentralTransitive",
2592-
"requested": "[6.1.2, )",
2593-
"resolved": "6.1.2",
2594-
"contentHash": "q0GxRC0fgwfZgU14pU34ro0MW7Gs8S6NDmKCcEqymvZljT8UQa633BbEmk/Rb5upNF9NHZ3/jVm7zLiWbM8uTA==",
2592+
"requested": "[6.1.3, )",
2593+
"resolved": "6.1.3",
2594+
"contentHash": "ys/z8Tx8074CDU20EilNvBRJuJdwKSthpHkzUpt3JghnjB6GjbZusoOcCtNbhPCCWsEJqN8bxaT7HnS3UZuUDQ==",
25952595
"dependencies": {
25962596
"Azure.Core": "1.47.1",
25972597
"Azure.Identity": "1.14.2",

TeachingRecordSystem/src/TeachingRecordSystem.WebCommon/packages.lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2065,7 +2065,7 @@
20652065
"Hangfire.NetCore": "[1.8.22, )",
20662066
"Hangfire.PostgreSql": "[1.20.12, )",
20672067
"IdentityModel": "[6.2.0, )",
2068-
"Microsoft.Data.SqlClient": "[6.1.2, )",
2068+
"Microsoft.Data.SqlClient": "[6.1.3, )",
20692069
"Microsoft.EntityFrameworkCore.Relational": "[9.0.10, )",
20702070
"Microsoft.Extensions.Azure": "[1.13.0, )",
20712071
"Microsoft.Extensions.Configuration.Abstractions": "[9.0.10, )",
@@ -2250,9 +2250,9 @@
22502250
},
22512251
"Microsoft.Data.SqlClient": {
22522252
"type": "CentralTransitive",
2253-
"requested": "[6.1.2, )",
2254-
"resolved": "6.1.2",
2255-
"contentHash": "q0GxRC0fgwfZgU14pU34ro0MW7Gs8S6NDmKCcEqymvZljT8UQa633BbEmk/Rb5upNF9NHZ3/jVm7zLiWbM8uTA==",
2253+
"requested": "[6.1.3, )",
2254+
"resolved": "6.1.3",
2255+
"contentHash": "ys/z8Tx8074CDU20EilNvBRJuJdwKSthpHkzUpt3JghnjB6GjbZusoOcCtNbhPCCWsEJqN8bxaT7HnS3UZuUDQ==",
22562256
"dependencies": {
22572257
"Azure.Core": "1.47.1",
22582258
"Azure.Identity": "1.14.2",

TeachingRecordSystem/src/TeachingRecordSystem.Worker/packages.lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1910,7 +1910,7 @@
19101910
"Hangfire.NetCore": "[1.8.22, )",
19111911
"Hangfire.PostgreSql": "[1.20.12, )",
19121912
"IdentityModel": "[6.2.0, )",
1913-
"Microsoft.Data.SqlClient": "[6.1.2, )",
1913+
"Microsoft.Data.SqlClient": "[6.1.3, )",
19141914
"Microsoft.EntityFrameworkCore.Relational": "[9.0.10, )",
19151915
"Microsoft.Extensions.Azure": "[1.13.0, )",
19161916
"Microsoft.Extensions.Configuration.Abstractions": "[9.0.10, )",
@@ -2095,9 +2095,9 @@
20952095
},
20962096
"Microsoft.Data.SqlClient": {
20972097
"type": "CentralTransitive",
2098-
"requested": "[6.1.2, )",
2099-
"resolved": "6.1.2",
2100-
"contentHash": "q0GxRC0fgwfZgU14pU34ro0MW7Gs8S6NDmKCcEqymvZljT8UQa633BbEmk/Rb5upNF9NHZ3/jVm7zLiWbM8uTA==",
2098+
"requested": "[6.1.3, )",
2099+
"resolved": "6.1.3",
2100+
"contentHash": "ys/z8Tx8074CDU20EilNvBRJuJdwKSthpHkzUpt3JghnjB6GjbZusoOcCtNbhPCCWsEJqN8bxaT7HnS3UZuUDQ==",
21012101
"dependencies": {
21022102
"Azure.Core": "1.47.1",
21032103
"Azure.Identity": "1.14.2",

TeachingRecordSystem/tests/TeachingRecordSystem.Api.IntegrationTests/packages.lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2113,7 +2113,7 @@
21132113
"Hangfire.NetCore": "[1.8.22, )",
21142114
"Hangfire.PostgreSql": "[1.20.12, )",
21152115
"IdentityModel": "[6.2.0, )",
2116-
"Microsoft.Data.SqlClient": "[6.1.2, )",
2116+
"Microsoft.Data.SqlClient": "[6.1.3, )",
21172117
"Microsoft.EntityFrameworkCore.Relational": "[9.0.10, )",
21182118
"Microsoft.Extensions.Azure": "[1.13.0, )",
21192119
"Microsoft.Extensions.Configuration.Abstractions": "[9.0.10, )",
@@ -2427,9 +2427,9 @@
24272427
},
24282428
"Microsoft.Data.SqlClient": {
24292429
"type": "CentralTransitive",
2430-
"requested": "[6.1.2, )",
2431-
"resolved": "6.1.2",
2432-
"contentHash": "q0GxRC0fgwfZgU14pU34ro0MW7Gs8S6NDmKCcEqymvZljT8UQa633BbEmk/Rb5upNF9NHZ3/jVm7zLiWbM8uTA==",
2430+
"requested": "[6.1.3, )",
2431+
"resolved": "6.1.3",
2432+
"contentHash": "ys/z8Tx8074CDU20EilNvBRJuJdwKSthpHkzUpt3JghnjB6GjbZusoOcCtNbhPCCWsEJqN8bxaT7HnS3UZuUDQ==",
24332433
"dependencies": {
24342434
"Azure.Core": "1.47.1",
24352435
"Azure.Identity": "1.14.2",

TeachingRecordSystem/tests/TeachingRecordSystem.Api.UnitTests/packages.lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2087,7 +2087,7 @@
20872087
"Hangfire.NetCore": "[1.8.22, )",
20882088
"Hangfire.PostgreSql": "[1.20.12, )",
20892089
"IdentityModel": "[6.2.0, )",
2090-
"Microsoft.Data.SqlClient": "[6.1.2, )",
2090+
"Microsoft.Data.SqlClient": "[6.1.3, )",
20912091
"Microsoft.EntityFrameworkCore.Relational": "[9.0.10, )",
20922092
"Microsoft.Extensions.Azure": "[1.13.0, )",
20932093
"Microsoft.Extensions.Configuration.Abstractions": "[9.0.10, )",
@@ -2411,9 +2411,9 @@
24112411
},
24122412
"Microsoft.Data.SqlClient": {
24132413
"type": "CentralTransitive",
2414-
"requested": "[6.1.2, )",
2415-
"resolved": "6.1.2",
2416-
"contentHash": "q0GxRC0fgwfZgU14pU34ro0MW7Gs8S6NDmKCcEqymvZljT8UQa633BbEmk/Rb5upNF9NHZ3/jVm7zLiWbM8uTA==",
2414+
"requested": "[6.1.3, )",
2415+
"resolved": "6.1.3",
2416+
"contentHash": "ys/z8Tx8074CDU20EilNvBRJuJdwKSthpHkzUpt3JghnjB6GjbZusoOcCtNbhPCCWsEJqN8bxaT7HnS3UZuUDQ==",
24172417
"dependencies": {
24182418
"Azure.Core": "1.47.1",
24192419
"Azure.Identity": "1.14.2",

0 commit comments

Comments
 (0)