Skip to content

Commit 207c0f3

Browse files
Remove pinned Azure packages (#1185)
* Remove pinned Azure packages * undo changes to unrelated packages
1 parent dd8e853 commit 207c0f3

10 files changed

+166
-202
lines changed

Directory.Packages.props

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,5 @@
3232
<PackageVersion Include="xRetry" Version="1.9.0" />
3333
<PackageVersion Include="xunit" Version="2.9.3" />
3434
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
35-
36-
<!-- Packages below this line result in a major version bump of dependencies, which can cause conflicts with the host.
37-
Any such updates should only happen with a major version bump of the SQL extension, or by :
38-
1. Verifying with the core Azure Functions host team that there will not be any issues
39-
2. Running the bundle dependency test and verifying it passes
40-
-->
41-
<PackageVersion Include="Azure.Core" Version="1.41.0"/> <!-- Pin version to address security issue, should be removed once Azure.Identity is updated to latest -->
42-
<PackageVersion Include="Azure.Identity" Version="1.12.1"/>
4335
</ItemGroup>
4436
</Project>

performance/packages.lock.json

Lines changed: 34 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,35 @@
2020
"System.Management": "5.0.0"
2121
}
2222
},
23+
"Azure.Core": {
24+
"type": "Transitive",
25+
"resolved": "1.41.0",
26+
"contentHash": "7OO8rPCVSvXj2IQET3NkRf8hU2ZDCCvCIUhlrE089qkLNpNfWufJnBwHRKLAOWF3bhKBGJS/9hPBgjJ8kupUIg==",
27+
"dependencies": {
28+
"Microsoft.Bcl.AsyncInterfaces": "1.1.1",
29+
"System.ClientModel": "1.0.0",
30+
"System.Diagnostics.DiagnosticSource": "6.0.1",
31+
"System.Memory.Data": "1.0.2",
32+
"System.Numerics.Vectors": "4.5.0",
33+
"System.Text.Encodings.Web": "4.7.2",
34+
"System.Text.Json": "4.7.2",
35+
"System.Threading.Tasks.Extensions": "4.5.4"
36+
}
37+
},
38+
"Azure.Identity": {
39+
"type": "Transitive",
40+
"resolved": "1.11.4",
41+
"contentHash": "Sf4BoE6Q3jTgFkgBkx7qztYOFELBCo+wQgpYDwal/qJ1unBH73ywPztIJKXBXORRzAeNijsuxhk94h0TIMvfYg==",
42+
"dependencies": {
43+
"Azure.Core": "1.38.0",
44+
"Microsoft.Identity.Client": "4.61.3",
45+
"Microsoft.Identity.Client.Extensions.Msal": "4.61.3",
46+
"System.Memory": "4.5.4",
47+
"System.Security.Cryptography.ProtectedData": "4.7.0",
48+
"System.Text.Json": "4.7.2",
49+
"System.Threading.Tasks.Extensions": "4.5.4"
50+
}
51+
},
2352
"Azure.Storage.Blobs": {
2453
"type": "Transitive",
2554
"resolved": "12.21.1",
@@ -564,19 +593,19 @@
564593
},
565594
"Microsoft.Identity.Client": {
566595
"type": "Transitive",
567-
"resolved": "4.65.0",
568-
"contentHash": "RV35ZcJ5/P7n+Zu6J3wmtiDdK6MW5h6EpZ0ojjB9sMwNhGHEJCv829cb3kZ4PZ664llYFv8sbUITWWGvBTqv0Q==",
596+
"resolved": "4.61.3",
597+
"contentHash": "naJo/Qm35Caaoxp5utcw+R8eU8ZtLz2ALh8S+gkekOYQ1oazfCQMWVT4NJ/FnHzdIJlm8dMz0oMpMGCabx5odA==",
569598
"dependencies": {
570599
"Microsoft.IdentityModel.Abstractions": "6.35.0",
571600
"System.Diagnostics.DiagnosticSource": "6.0.1"
572601
}
573602
},
574603
"Microsoft.Identity.Client.Extensions.Msal": {
575604
"type": "Transitive",
576-
"resolved": "4.65.0",
577-
"contentHash": "JIOBFMAyVSqGWP4dNoST+A9BRJMGC8m73BNbR1oKA8nUjGyR8Fd4eOOME/VDrd26I5JWU4RtmWqpt20lpp2r5w==",
605+
"resolved": "4.61.3",
606+
"contentHash": "PWnJcznrSGr25MN8ajlc2XIDW4zCFu0U6FkpaNLEWLgd1NgFCp5uDY3mqLDgM8zCN8hqj8yo5wHYfLB2HjcdGw==",
578607
"dependencies": {
579-
"Microsoft.Identity.Client": "4.65.0",
608+
"Microsoft.Identity.Client": "4.61.3",
580609
"System.Security.Cryptography.ProtectedData": "4.5.0"
581610
}
582611
},
@@ -1783,8 +1812,6 @@
17831812
"microsoft.azure.webjobs.extensions.sql": {
17841813
"type": "Project",
17851814
"dependencies": {
1786-
"Azure.Core": "[1.41.0, )",
1787-
"Azure.Identity": "[1.12.1, )",
17881815
"Microsoft.ApplicationInsights": "[2.23.0, )",
17891816
"Microsoft.AspNetCore.Http": "[2.2.2, )",
17901817
"Microsoft.Azure.WebJobs": "[3.0.41, )",
@@ -1798,8 +1825,6 @@
17981825
"microsoft.azure.webjobs.extensions.sql.samples": {
17991826
"type": "Project",
18001827
"dependencies": {
1801-
"Azure.Core": "[1.41.0, )",
1802-
"Azure.Identity": "[1.12.1, )",
18031828
"Microsoft.AspNetCore.Http": "[2.2.2, )",
18041829
"Microsoft.Azure.WebJobs.Extensions.Sql": "[99.99.99, )",
18051830
"Microsoft.Azure.WebJobs.Extensions.Storage": "[5.3.2, )",
@@ -1810,8 +1835,6 @@
18101835
"microsoft.azure.webjobs.extensions.sql.tests": {
18111836
"type": "Project",
18121837
"dependencies": {
1813-
"Azure.Core": "[1.41.0, )",
1814-
"Azure.Identity": "[1.12.1, )",
18151838
"Microsoft.AspNetCore.Http": "[2.2.2, )",
18161839
"Microsoft.Azure.Functions.Extensions": "[1.1.0, )",
18171840
"Microsoft.Azure.WebJobs.Extensions.Sql": "[99.99.99, )",
@@ -1828,37 +1851,6 @@
18281851
"xunit.runner.visualstudio": "[2.8.2, )"
18291852
}
18301853
},
1831-
"Azure.Core": {
1832-
"type": "CentralTransitive",
1833-
"requested": "[1.41.0, )",
1834-
"resolved": "1.41.0",
1835-
"contentHash": "7OO8rPCVSvXj2IQET3NkRf8hU2ZDCCvCIUhlrE089qkLNpNfWufJnBwHRKLAOWF3bhKBGJS/9hPBgjJ8kupUIg==",
1836-
"dependencies": {
1837-
"Microsoft.Bcl.AsyncInterfaces": "1.1.1",
1838-
"System.ClientModel": "1.0.0",
1839-
"System.Diagnostics.DiagnosticSource": "6.0.1",
1840-
"System.Memory.Data": "1.0.2",
1841-
"System.Numerics.Vectors": "4.5.0",
1842-
"System.Text.Encodings.Web": "4.7.2",
1843-
"System.Text.Json": "4.7.2",
1844-
"System.Threading.Tasks.Extensions": "4.5.4"
1845-
}
1846-
},
1847-
"Azure.Identity": {
1848-
"type": "CentralTransitive",
1849-
"requested": "[1.12.1, )",
1850-
"resolved": "1.12.1",
1851-
"contentHash": "7j7ksn+1X2swW2DDDEEywK5wxuYImzMIXnunZTB83E3mwzBbyHOob1hO1wOG5fMZYTGe/+9gyc/qurcozaSm1A==",
1852-
"dependencies": {
1853-
"Azure.Core": "1.40.0",
1854-
"Microsoft.Identity.Client": "4.65.0",
1855-
"Microsoft.Identity.Client.Extensions.Msal": "4.65.0",
1856-
"System.Memory": "4.5.4",
1857-
"System.Security.Cryptography.ProtectedData": "4.7.0",
1858-
"System.Text.Json": "4.7.2",
1859-
"System.Threading.Tasks.Extensions": "4.5.4"
1860-
}
1861-
},
18621854
"Microsoft.ApplicationInsights": {
18631855
"type": "CentralTransitive",
18641856
"requested": "[2.23.0, )",

samples/samples-csharp/Microsoft.Azure.WebJobs.Extensions.Sql.Samples.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Azure.Core" />
9-
<PackageReference Include="Azure.Identity" />
108
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Storage" />
119
<PackageReference Include="Microsoft.NET.Sdk.Functions"/>
1210
<PackageReference Include="Newtonsoft.Json" />

samples/samples-csharp/packages.lock.json

Lines changed: 34 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,6 @@
22
"version": 2,
33
"dependencies": {
44
"net6.0": {
5-
"Azure.Core": {
6-
"type": "Direct",
7-
"requested": "[1.41.0, )",
8-
"resolved": "1.41.0",
9-
"contentHash": "7OO8rPCVSvXj2IQET3NkRf8hU2ZDCCvCIUhlrE089qkLNpNfWufJnBwHRKLAOWF3bhKBGJS/9hPBgjJ8kupUIg==",
10-
"dependencies": {
11-
"Microsoft.Bcl.AsyncInterfaces": "1.1.1",
12-
"System.ClientModel": "1.0.0",
13-
"System.Diagnostics.DiagnosticSource": "6.0.1",
14-
"System.Memory.Data": "1.0.2",
15-
"System.Numerics.Vectors": "4.5.0",
16-
"System.Text.Encodings.Web": "4.7.2",
17-
"System.Text.Json": "4.7.2",
18-
"System.Threading.Tasks.Extensions": "4.5.4"
19-
}
20-
},
21-
"Azure.Identity": {
22-
"type": "Direct",
23-
"requested": "[1.12.1, )",
24-
"resolved": "1.12.1",
25-
"contentHash": "7j7ksn+1X2swW2DDDEEywK5wxuYImzMIXnunZTB83E3mwzBbyHOob1hO1wOG5fMZYTGe/+9gyc/qurcozaSm1A==",
26-
"dependencies": {
27-
"Azure.Core": "1.40.0",
28-
"Microsoft.Identity.Client": "4.65.0",
29-
"Microsoft.Identity.Client.Extensions.Msal": "4.65.0",
30-
"System.Memory": "4.5.4",
31-
"System.Security.Cryptography.ProtectedData": "4.7.0",
32-
"System.Text.Json": "4.7.2",
33-
"System.Threading.Tasks.Extensions": "4.5.4"
34-
}
35-
},
365
"Microsoft.AspNetCore.Http": {
376
"type": "Direct",
387
"requested": "[2.2.2, )",
@@ -79,6 +48,35 @@
7948
"resolved": "13.0.3",
8049
"contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ=="
8150
},
51+
"Azure.Core": {
52+
"type": "Transitive",
53+
"resolved": "1.41.0",
54+
"contentHash": "7OO8rPCVSvXj2IQET3NkRf8hU2ZDCCvCIUhlrE089qkLNpNfWufJnBwHRKLAOWF3bhKBGJS/9hPBgjJ8kupUIg==",
55+
"dependencies": {
56+
"Microsoft.Bcl.AsyncInterfaces": "1.1.1",
57+
"System.ClientModel": "1.0.0",
58+
"System.Diagnostics.DiagnosticSource": "6.0.1",
59+
"System.Memory.Data": "1.0.2",
60+
"System.Numerics.Vectors": "4.5.0",
61+
"System.Text.Encodings.Web": "4.7.2",
62+
"System.Text.Json": "4.7.2",
63+
"System.Threading.Tasks.Extensions": "4.5.4"
64+
}
65+
},
66+
"Azure.Identity": {
67+
"type": "Transitive",
68+
"resolved": "1.11.4",
69+
"contentHash": "Sf4BoE6Q3jTgFkgBkx7qztYOFELBCo+wQgpYDwal/qJ1unBH73ywPztIJKXBXORRzAeNijsuxhk94h0TIMvfYg==",
70+
"dependencies": {
71+
"Azure.Core": "1.38.0",
72+
"Microsoft.Identity.Client": "4.61.3",
73+
"Microsoft.Identity.Client.Extensions.Msal": "4.61.3",
74+
"System.Memory": "4.5.4",
75+
"System.Security.Cryptography.ProtectedData": "4.7.0",
76+
"System.Text.Json": "4.7.2",
77+
"System.Threading.Tasks.Extensions": "4.5.4"
78+
}
79+
},
8280
"Azure.Storage.Blobs": {
8381
"type": "Transitive",
8482
"resolved": "12.21.1",
@@ -544,19 +542,19 @@
544542
},
545543
"Microsoft.Identity.Client": {
546544
"type": "Transitive",
547-
"resolved": "4.65.0",
548-
"contentHash": "RV35ZcJ5/P7n+Zu6J3wmtiDdK6MW5h6EpZ0ojjB9sMwNhGHEJCv829cb3kZ4PZ664llYFv8sbUITWWGvBTqv0Q==",
545+
"resolved": "4.61.3",
546+
"contentHash": "naJo/Qm35Caaoxp5utcw+R8eU8ZtLz2ALh8S+gkekOYQ1oazfCQMWVT4NJ/FnHzdIJlm8dMz0oMpMGCabx5odA==",
549547
"dependencies": {
550548
"Microsoft.IdentityModel.Abstractions": "6.35.0",
551549
"System.Diagnostics.DiagnosticSource": "6.0.1"
552550
}
553551
},
554552
"Microsoft.Identity.Client.Extensions.Msal": {
555553
"type": "Transitive",
556-
"resolved": "4.65.0",
557-
"contentHash": "JIOBFMAyVSqGWP4dNoST+A9BRJMGC8m73BNbR1oKA8nUjGyR8Fd4eOOME/VDrd26I5JWU4RtmWqpt20lpp2r5w==",
554+
"resolved": "4.61.3",
555+
"contentHash": "PWnJcznrSGr25MN8ajlc2XIDW4zCFu0U6FkpaNLEWLgd1NgFCp5uDY3mqLDgM8zCN8hqj8yo5wHYfLB2HjcdGw==",
558556
"dependencies": {
559-
"Microsoft.Identity.Client": "4.65.0",
557+
"Microsoft.Identity.Client": "4.61.3",
560558
"System.Security.Cryptography.ProtectedData": "4.5.0"
561559
}
562560
},
@@ -1657,8 +1655,6 @@
16571655
"microsoft.azure.webjobs.extensions.sql": {
16581656
"type": "Project",
16591657
"dependencies": {
1660-
"Azure.Core": "[1.41.0, )",
1661-
"Azure.Identity": "[1.12.1, )",
16621658
"Microsoft.ApplicationInsights": "[2.23.0, )",
16631659
"Microsoft.AspNetCore.Http": "[2.2.2, )",
16641660
"Microsoft.Azure.WebJobs": "[3.0.41, )",

samples/samples-outofproc/packages.lock.json

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,21 @@
8585
"resolved": "13.0.3",
8686
"contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ=="
8787
},
88+
"Azure.Core": {
89+
"type": "Transitive",
90+
"resolved": "1.41.0",
91+
"contentHash": "7OO8rPCVSvXj2IQET3NkRf8hU2ZDCCvCIUhlrE089qkLNpNfWufJnBwHRKLAOWF3bhKBGJS/9hPBgjJ8kupUIg==",
92+
"dependencies": {
93+
"Microsoft.Bcl.AsyncInterfaces": "1.1.1",
94+
"System.ClientModel": "1.0.0",
95+
"System.Diagnostics.DiagnosticSource": "6.0.1",
96+
"System.Memory.Data": "1.0.2",
97+
"System.Numerics.Vectors": "4.5.0",
98+
"System.Text.Encodings.Web": "4.7.2",
99+
"System.Text.Json": "4.7.2",
100+
"System.Threading.Tasks.Extensions": "4.5.4"
101+
}
102+
},
88103
"Azure.Storage.Common": {
89104
"type": "Transitive",
90105
"resolved": "12.18.1",
@@ -566,22 +581,6 @@
566581
"Microsoft.Azure.Functions.Worker.Extensions.Abstractions": "[1.3.0, )"
567582
}
568583
},
569-
"Azure.Core": {
570-
"type": "CentralTransitive",
571-
"requested": "[1.41.0, )",
572-
"resolved": "1.41.0",
573-
"contentHash": "7OO8rPCVSvXj2IQET3NkRf8hU2ZDCCvCIUhlrE089qkLNpNfWufJnBwHRKLAOWF3bhKBGJS/9hPBgjJ8kupUIg==",
574-
"dependencies": {
575-
"Microsoft.Bcl.AsyncInterfaces": "1.1.1",
576-
"System.ClientModel": "1.0.0",
577-
"System.Diagnostics.DiagnosticSource": "6.0.1",
578-
"System.Memory.Data": "1.0.2",
579-
"System.Numerics.Vectors": "4.5.0",
580-
"System.Text.Encodings.Web": "4.7.2",
581-
"System.Text.Json": "4.7.2",
582-
"System.Threading.Tasks.Extensions": "4.5.4"
583-
}
584-
},
585584
"Microsoft.Azure.Functions.Worker.Extensions.Abstractions": {
586585
"type": "CentralTransitive",
587586
"requested": "[1.3.0, )",

src/Microsoft.Azure.WebJobs.Extensions.Sql.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
</PropertyGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="Azure.Core" />
19-
<PackageReference Include="Azure.Identity" />
2018
<PackageReference Include="Microsoft.ApplicationInsights" />
2119
<PackageReference Include="Microsoft.Azure.WebJobs" />
2220
<PackageReference Include="Microsoft.Data.SqlClient" />

0 commit comments

Comments
 (0)