Skip to content

Commit 3318943

Browse files
authored
Upgraded Azure.Core to 1.37.0 (#24313)
* Upgraded Azure.Core to 1.37.0 * Merge Azure.Core of .net framework to .net standard * Update ChangeLog for modules affected
1 parent f538998 commit 3318943

File tree

16 files changed

+14
-7
lines changed

16 files changed

+14
-7
lines changed

src/Accounts/Accounts/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Upgraded Azure.Core to 1.37.0.
2223

2324
## Version 2.16.0
2425
* Added a preview feature to detect secrets and sensitive information from the output of Azure PowerShell cmdlets to prevent leakage. Enable it by `Set-AzConfig -DisplaySecretsWarning $true`. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844

src/Accounts/AssemblyLoading.Test/UnitTests/ConditionalAssemblyProviderTests.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ public class ConditionalAssemblyProviderTests
2525
{
2626
private const string NetFx = "netfx";
2727
private const string NetStandard20 = "netstandard2.0";
28-
private const string NetCoreApp21 = "netcoreapp2.1";
2928
private const string RootPath = "root";
3029

3130
[Fact]
@@ -43,7 +42,7 @@ public void CanGetAssembliesOnWindowsPowerShell()
4342
var assemblies = ConditionalAssemblyProvider.GetAssemblies();
4443

4544
Assert.True(assemblies.TryGetValue("Azure.Core", out var azureCore));
46-
Assert.Equal(GetExpectedAssemblyPath(NetFx, "Azure.Core"), azureCore.Path);
45+
Assert.Equal(GetExpectedAssemblyPath(NetStandard20, "Azure.Core"), azureCore.Path);
4746
Assert.True(assemblies.TryGetValue("Newtonsoft.Json", out var newtonsoftJson));
4847
Assert.Equal(GetExpectedAssemblyPath(NetFx, "Newtonsoft.Json"), newtonsoftJson.Path);
4948

@@ -66,7 +65,7 @@ public void CanGetAssembliesOnPowerShellCorePlus()
6665
var assemblies = ConditionalAssemblyProvider.GetAssemblies();
6766

6867
Assert.True(assemblies.TryGetValue("Azure.Core", out var azureCore));
69-
Assert.Equal(GetExpectedAssemblyPath(NetCoreApp21, "Azure.Core"), azureCore.Path);
68+
Assert.Equal(GetExpectedAssemblyPath(NetStandard20, "Azure.Core"), azureCore.Path);
7069

7170
Assert.False(assemblies.TryGetValue("Newtonsoft.Json", out _));
7271

src/Accounts/AssemblyLoading/ConditionalAssemblyProvider.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ public static void Initialize(string rootPath, IConditionalAssemblyContext conte
4242
// todo: add a tool to update assembly versions after replacing the assemblies. (Can it support newly introduced assemblies?)
4343
// todo: consider moving the list to a standalone config file
4444
#region AssemblyList
45-
CreateAssembly("netcoreapp2.1", "Azure.Core", "1.35.0.0").WithPowerShellCore(),
46-
45+
CreateAssembly("netstandard2.0", "Azure.Core", "1.37.0.0"),
4746
CreateAssembly("netstandard2.0", "Azure.Identity", "1.10.3.0"),
4847
CreateAssembly("netstandard2.0", "Azure.Identity.Broker", "1.0.0.0"),
4948
CreateAssembly("netstandard2.0", "Microsoft.Bcl.AsyncInterfaces", "1.0.0.0"),
@@ -64,7 +63,6 @@ public static void Initialize(string rootPath, IConditionalAssemblyContext conte
6463
CreateAssembly("netstandard2.0", "System.ServiceModel.Primitives", "4.7.0.0").WithWindowsPowerShell(),
6564
CreateAssembly("netstandard2.0", "System.Threading.Tasks.Extensions", "4.2.0.1").WithWindowsPowerShell(),
6665

67-
CreateAssembly("netfx", "Azure.Core", "1.35.0.0").WithWindowsPowerShell(),
6866
CreateAssembly("netfx", "Newtonsoft.Json", "13.0.0.0").WithWindowsPowerShell(),
6967
CreateAssembly("netfx", "System.Diagnostics.DiagnosticSource", "6.0.0.1").WithWindowsPowerShell(),
7068
CreateAssembly("netfx", "System.Numerics.Vectors", "4.1.4.0").WithWindowsPowerShell(),

src/CodeSigning/CodeSigning/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Upgraded Azure.Core to 1.37.0.
2122

2223
## Version 0.1.0
2324
* First preview release for module Az.CodeSigning

src/Compute/Compute/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
2121
-->
2222
## Upcoming Release
23+
* Upgraded Azure.Core to 1.37.0.
2324
* Az.Compute is updated to use the 2023-07-03 GalleryRP REST API calls.
2425

2526
## Version 7.1.2

src/ContainerRegistry/ContainerRegistry/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Upgraded Azure.Core to 1.37.0.
2122
* Fixed vulnerability https://github.com/advisories/GHSA-8g9c-28fc-mcx2
2223

2324
## Version 4.1.3

src/CosmosDB/CosmosDB/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Upgraded Azure.Core to 1.37.0.
2223

2324
## Version 1.14.1
2425
* Fixed validation issues in same-account collection/container/graph and database/table/Gremlin restores, affecting the following cmdlets:

src/KeyVault/KeyVault/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Upgraded Azure.Core to 1.37.0.
2122

2223
## Version 5.2.1
2324
* Supported `HsmPlatform` in `KeyAttributes`.

src/NetAppFiles/NetAppFiles/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Upgraded Azure.Core to 1.37.0.
2122

2223
## Version 0.15.1
2324
* Fixed some minor issues

src/PolicyInsights/PolicyInsights/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Upgraded Azure.Core to 1.37.0.
2122

2223
## Version 1.6.4
2324
* Upgraded Azure.Core to 1.35.0.

0 commit comments

Comments
 (0)