Skip to content

Commit fb1b387

Browse files
committed
Upgrade PowerShell version to 7.4 in E2E test script
Upgrade to PowerShell SDK 7.4.10 and .NET 8 Upgrade target framework to .NET 8 in build script Bump module version to 2.0.0 and update minimum PowerShell version to 7.4 Upgrade Microsoft.DurableTask.Client and Microsoft.DurableTask.Worker Update package references in E2E test project Update package references in the E2E test app Add warning for ignored UseCoreToolsBuildFromIntegrationTests switch
1 parent d94e2e4 commit fb1b387

File tree

7 files changed

+22
-17
lines changed

7 files changed

+22
-17
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: 2 additions & 2 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')
@@ -21,7 +21,7 @@
2121
Description = 'Initial release of the 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: 2 additions & 2 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>
1010
<PackageReference Include="Microsoft.DurableTask.Client" Version="1.10.0" />
1111
<PackageReference Include="Microsoft.DurableTask.Worker" Version="1.10.0" />
12-
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.1" PrivateAssets="all" />
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: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,13 @@ function NewTaskHubName
5858
$sb.ToString()
5959
}
6060

61+
if ($UseCoreToolsBuildFromIntegrationTests.IsPresent)
62+
{
63+
Write-Warning "UseCoreToolsBuildFromIntegrationTests switch is ignored"
64+
}
65+
6166
$FUNC_RUNTIME_VERSION = '4'
62-
$POWERSHELL_VERSION = '7.2'
67+
$POWERSHELL_VERSION = '7.4'
6368
$FUNC_CMDLET_NAME = "func"
6469
$CORE_TOOLS_VERSION = '4.0.7317'
6570

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)