From 5518057b5cb2a94c4bba395890c79e4cb7bf67aa Mon Sep 17 00:00:00 2001 From: Andy Staples Date: Mon, 27 Oct 2025 10:53:22 -0600 Subject: [PATCH 1/3] Update durable .NET templates --- src/Cli/func/Helpers/DotnetHelpers.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Cli/func/Helpers/DotnetHelpers.cs b/src/Cli/func/Helpers/DotnetHelpers.cs index 217b69d0c..08621c778 100644 --- a/src/Cli/func/Helpers/DotnetHelpers.cs +++ b/src/Cli/func/Helpers/DotnetHelpers.cs @@ -195,6 +195,9 @@ internal static IEnumerable GetTemplates(WorkerRuntime workerRuntime) "DaprPublishOutputBinding", "DaprServiceInvocationTrigger", "DaprTopicTrigger", + "DurableFunctionsOrchestration", + "DurableFunctionsEntityClass", + "DurableFunctionsEntityFunction" }; } @@ -207,6 +210,8 @@ internal static IEnumerable GetTemplates(WorkerRuntime workerRuntime) "KafkaTrigger", "KafkaOutput", "DurableFunctionsOrchestration", + "DurableFunctionsEntityClass", + "DurableFunctionsEntityFunction", "SendGrid", "EventHubTrigger", "ServiceBusQueueTrigger", From 0580d33284a8377a18f23483575ef05d80411147 Mon Sep 17 00:00:00 2001 From: Andy Staples Date: Mon, 27 Oct 2025 10:57:30 -0600 Subject: [PATCH 2/3] Update release_notes.md --- release_notes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/release_notes.md b/release_notes.md index 60c836b2f..4f335e6ef 100644 --- a/release_notes.md +++ b/release_notes.md @@ -10,3 +10,4 @@ - Add Dockerfile for python 3.13 local build environment (#4611) - Add support for Python 3.14 (#4668) - Implement preview feature to apply host configuration profiles on 'func init' command (#4675) +- Add updated Durable .NET templates (#4692) From f820bf18a7bc9f188d1e19e7d6dd1b8fe5f66777 Mon Sep 17 00:00:00 2001 From: Andy Staples Date: Tue, 28 Oct 2025 10:17:29 -0600 Subject: [PATCH 3/3] Update tests --- test/Cli/Func.UnitTests/HelperTests/DotnetHelpersTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Cli/Func.UnitTests/HelperTests/DotnetHelpersTests.cs b/test/Cli/Func.UnitTests/HelperTests/DotnetHelpersTests.cs index 7f7a3e282..625e26c79 100644 --- a/test/Cli/Func.UnitTests/HelperTests/DotnetHelpersTests.cs +++ b/test/Cli/Func.UnitTests/HelperTests/DotnetHelpersTests.cs @@ -27,8 +27,8 @@ public void GetTemplateShortName_ReturnsExpectedShortName(string input, string e } [Theory] - [InlineData(WorkerRuntime.Dotnet, 18)] - [InlineData(WorkerRuntime.DotnetIsolated, 13)] + [InlineData(WorkerRuntime.Dotnet, 20)] + [InlineData(WorkerRuntime.DotnetIsolated, 16)] public void GetTemplates_ReturnsExpectedTemplates(WorkerRuntime runtime, int expectedCount) { var templates = DotnetHelpers.GetTemplates(runtime);