Skip to content

Commit ec6c22a

Browse files
authored
Upgrade dependencies (PowerShell 7.4 SDK, .NET 8, and more) (#87)
Resolves #79
1 parent d94e2e4 commit ec6c22a

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $outputPath = $durableAppPath
2222

2323
$sharedDependenciesPath = "$outputPath/Dependencies/"
2424

25-
$netCoreTFM = 'net6.0'
25+
$netCoreTFM = 'net8.0'
2626
$publishPathSuffix = "bin/$Configuration/$netCoreTFM/publish"
2727

2828
#region BUILD ARTIFACTS ===========================================================================

src/AzureFunctions.PowerShell.Durable.SDK.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@{
22
# Version number of this module.
3-
ModuleVersion = '1.1.0'
3+
ModuleVersion = '2.0.0'
44

55
# Supported PSEditions
66
CompatiblePSEditions = @('Core')
@@ -18,10 +18,10 @@
1818
Copyright = '(c) Microsoft Corporation. All rights reserved.'
1919

2020
# Description of the functionality provided by this module
21-
Description = 'Initial release of the Durable Functions SDK for PowerShell. This package is to be used exclusively with the Azure Functions PowerShell worker.'
21+
Description = 'Durable Functions SDK for PowerShell. This package is to be used exclusively with the Azure Functions PowerShell worker.'
2222

2323
# Minimum version of the PowerShell engine required by this module
24-
PowerShellVersion = '7.2'
24+
PowerShellVersion = '7.4'
2525

2626
# Type files (.ps1xml) to be loaded when importing this module
2727
# TypesToProcess = @() # TODO: use this for pretty-printing DF tasks
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>DurableEngine</AssemblyName>
66
<LangVersion>Latest</LangVersion>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.DurableTask.Client" Version="1.10.0" />
11-
<PackageReference Include="Microsoft.DurableTask.Worker" Version="1.10.0" />
12-
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.1" PrivateAssets="all" />
10+
<PackageReference Include="Microsoft.DurableTask.Client" Version="1.11.0" />
11+
<PackageReference Include="Microsoft.DurableTask.Worker" Version="1.11.0" />
12+
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.10" PrivateAssets="all" />
1313
</ItemGroup>
1414
</Project>

src/DurableSDK/DurableSDK.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AssemblyName>AzureFunctions.PowerShell.Durable.SDK</AssemblyName>
66
<LangVersion>Latest</LangVersion>
77
</PropertyGroup>
88

99
<ItemGroup>
1010
<ProjectReference Include="..\DurableEngine\DurableEngine.csproj" />
11-
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.1" PrivateAssets="all" />
11+
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.10" PrivateAssets="all" />
1212
</ItemGroup>
1313
</Project>

test/E2E/AzureFunctions.PowerShell.Durable.SDK.E2E/AzureFunctions.PowerShell.Durable.SDK.E2E.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

88
<IsPackable>false</IsPackable>
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Azure.Storage.Queues" Version="12.14.0" />
13-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
14-
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
15-
<PackageReference Include="xunit" Version="2.4.2" />
16-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
12+
<PackageReference Include="Azure.Storage.Queues" Version="12.22.0" />
13+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
14+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
15+
<PackageReference Include="xunit" Version="2.9.3" />
16+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.0">
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
<PrivateAssets>all</PrivateAssets>
1919
</PackageReference>
20-
<PackageReference Include="coverlet.collector" Version="3.1.2">
20+
<PackageReference Include="coverlet.collector" Version="6.0.4">
2121
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2222
<PrivateAssets>all</PrivateAssets>
2323
</PackageReference>

test/E2E/Start-E2ETest.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function NewTaskHubName
5959
}
6060

6161
$FUNC_RUNTIME_VERSION = '4'
62-
$POWERSHELL_VERSION = '7.2'
62+
$POWERSHELL_VERSION = '7.4'
6363
$FUNC_CMDLET_NAME = "func"
6464
$CORE_TOOLS_VERSION = '4.0.7317'
6565

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net6.0</TargetFramework>
3+
<TargetFramework>net8.0</TargetFramework>
44
<WarningsAsErrors></WarningsAsErrors>
55
<DefaultItemExcludes>**</DefaultItemExcludes>
66
</PropertyGroup>
77
<ItemGroup>
88
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.DurableTask" Version="3.1.0" />
9-
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Storage" Version="5.1.1" />
9+
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Storage" Version="5.3.4" />
1010
<PackageReference Include="Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator" Version="4.0.1" />
1111
</ItemGroup>
1212
</Project>

0 commit comments

Comments
 (0)