From fb1b3872a9188b3f26ba55a2737f89c2d66e4468 Mon Sep 17 00:00:00 2001 From: Anatoli Beliaev Date: Tue, 3 Jun 2025 12:37:26 -0700 Subject: [PATCH 1/4] 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 --- build.ps1 | 2 +- src/AzureFunctions.PowerShell.Durable.SDK.psd1 | 4 ++-- src/DurableEngine/DurableEngine.csproj | 4 ++-- src/DurableSDK/DurableSDK.csproj | 4 ++-- ...zureFunctions.PowerShell.Durable.SDK.E2E.csproj | 14 +++++++------- test/E2E/Start-E2ETest.ps1 | 7 ++++++- test/E2E/durableApp/extensions.csproj | 4 ++-- 7 files changed, 22 insertions(+), 17 deletions(-) diff --git a/build.ps1 b/build.ps1 index 74ae193..704fa05 100644 --- a/build.ps1 +++ b/build.ps1 @@ -22,7 +22,7 @@ $outputPath = $durableAppPath $sharedDependenciesPath = "$outputPath/Dependencies/" -$netCoreTFM = 'net6.0' +$netCoreTFM = 'net8.0' $publishPathSuffix = "bin/$Configuration/$netCoreTFM/publish" #region BUILD ARTIFACTS =========================================================================== diff --git a/src/AzureFunctions.PowerShell.Durable.SDK.psd1 b/src/AzureFunctions.PowerShell.Durable.SDK.psd1 index db2db43..3a80fc9 100644 --- a/src/AzureFunctions.PowerShell.Durable.SDK.psd1 +++ b/src/AzureFunctions.PowerShell.Durable.SDK.psd1 @@ -1,6 +1,6 @@ @{ # Version number of this module. - ModuleVersion = '1.1.0' + ModuleVersion = '2.0.0' # Supported PSEditions CompatiblePSEditions = @('Core') @@ -21,7 +21,7 @@ Description = 'Initial release of the Durable Functions SDK for PowerShell. This package is to be used exclusively with the Azure Functions PowerShell worker.' # Minimum version of the PowerShell engine required by this module - PowerShellVersion = '7.2' + PowerShellVersion = '7.4' # Type files (.ps1xml) to be loaded when importing this module # TypesToProcess = @() # TODO: use this for pretty-printing DF tasks diff --git a/src/DurableEngine/DurableEngine.csproj b/src/DurableEngine/DurableEngine.csproj index 340ac89..076c864 100644 --- a/src/DurableEngine/DurableEngine.csproj +++ b/src/DurableEngine/DurableEngine.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 DurableEngine Latest @@ -9,6 +9,6 @@ - + diff --git a/src/DurableSDK/DurableSDK.csproj b/src/DurableSDK/DurableSDK.csproj index ed4cd9f..bd6b810 100644 --- a/src/DurableSDK/DurableSDK.csproj +++ b/src/DurableSDK/DurableSDK.csproj @@ -1,13 +1,13 @@  - net6.0 + net8.0 AzureFunctions.PowerShell.Durable.SDK Latest - + diff --git a/test/E2E/AzureFunctions.PowerShell.Durable.SDK.E2E/AzureFunctions.PowerShell.Durable.SDK.E2E.csproj b/test/E2E/AzureFunctions.PowerShell.Durable.SDK.E2E/AzureFunctions.PowerShell.Durable.SDK.E2E.csproj index 64833e2..fad60d0 100644 --- a/test/E2E/AzureFunctions.PowerShell.Durable.SDK.E2E/AzureFunctions.PowerShell.Durable.SDK.E2E.csproj +++ b/test/E2E/AzureFunctions.PowerShell.Durable.SDK.E2E/AzureFunctions.PowerShell.Durable.SDK.E2E.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable @@ -9,15 +9,15 @@ - - - - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/test/E2E/Start-E2ETest.ps1 b/test/E2E/Start-E2ETest.ps1 index 2874389..ac5b646 100644 --- a/test/E2E/Start-E2ETest.ps1 +++ b/test/E2E/Start-E2ETest.ps1 @@ -58,8 +58,13 @@ function NewTaskHubName $sb.ToString() } +if ($UseCoreToolsBuildFromIntegrationTests.IsPresent) +{ + Write-Warning "UseCoreToolsBuildFromIntegrationTests switch is ignored" +} + $FUNC_RUNTIME_VERSION = '4' -$POWERSHELL_VERSION = '7.2' +$POWERSHELL_VERSION = '7.4' $FUNC_CMDLET_NAME = "func" $CORE_TOOLS_VERSION = '4.0.7317' diff --git a/test/E2E/durableApp/extensions.csproj b/test/E2E/durableApp/extensions.csproj index c6c5a1d..c86ed72 100644 --- a/test/E2E/durableApp/extensions.csproj +++ b/test/E2E/durableApp/extensions.csproj @@ -1,12 +1,12 @@ - net6.0 + net8.0 ** - + \ No newline at end of file From f11430ab77a035debb577d7cceb703e779b45f0a Mon Sep 17 00:00:00 2001 From: Anatoli Beliaev Date: Fri, 6 Jun 2025 15:53:12 -0700 Subject: [PATCH 2/4] Remove UseCoreToolsBuildFromIntegrationTests switch warning --- test/E2E/Start-E2ETest.ps1 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/E2E/Start-E2ETest.ps1 b/test/E2E/Start-E2ETest.ps1 index ac5b646..09cdc1d 100644 --- a/test/E2E/Start-E2ETest.ps1 +++ b/test/E2E/Start-E2ETest.ps1 @@ -58,11 +58,6 @@ function NewTaskHubName $sb.ToString() } -if ($UseCoreToolsBuildFromIntegrationTests.IsPresent) -{ - Write-Warning "UseCoreToolsBuildFromIntegrationTests switch is ignored" -} - $FUNC_RUNTIME_VERSION = '4' $POWERSHELL_VERSION = '7.4' $FUNC_CMDLET_NAME = "func" From 04d09e6b6355467449674d4a74506b792b5850a6 Mon Sep 17 00:00:00 2001 From: Anatoli Beliaev Date: Fri, 6 Jun 2025 19:28:04 -0700 Subject: [PATCH 3/4] Upgrade DurableTask.Client and DurableTask.Worker to version 1.11.0 --- src/DurableEngine/DurableEngine.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DurableEngine/DurableEngine.csproj b/src/DurableEngine/DurableEngine.csproj index 076c864..8cb2b32 100644 --- a/src/DurableEngine/DurableEngine.csproj +++ b/src/DurableEngine/DurableEngine.csproj @@ -7,8 +7,8 @@ - - + + From 4920e7051c40db3aab5dda791fca9939ef503028 Mon Sep 17 00:00:00 2001 From: Anatoli Beliaev Date: Mon, 9 Jun 2025 12:24:25 -0700 Subject: [PATCH 4/4] Update module description --- src/AzureFunctions.PowerShell.Durable.SDK.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AzureFunctions.PowerShell.Durable.SDK.psd1 b/src/AzureFunctions.PowerShell.Durable.SDK.psd1 index 3a80fc9..b27e910 100644 --- a/src/AzureFunctions.PowerShell.Durable.SDK.psd1 +++ b/src/AzureFunctions.PowerShell.Durable.SDK.psd1 @@ -18,7 +18,7 @@ Copyright = '(c) Microsoft Corporation. All rights reserved.' # Description of the functionality provided by this module - Description = 'Initial release of the Durable Functions SDK for PowerShell. This package is to be used exclusively with the Azure Functions PowerShell worker.' + Description = 'Durable Functions SDK for PowerShell. This package is to be used exclusively with the Azure Functions PowerShell worker.' # Minimum version of the PowerShell engine required by this module PowerShellVersion = '7.4'