diff --git a/extensions/Worker.Extensions.Http.AspNetCore/src/Coordinator/DefaultHttpCoordinator.cs b/extensions/Worker.Extensions.Http.AspNetCore/src/Coordinator/DefaultHttpCoordinator.cs index 85a2d3958..cbe542cdf 100644 --- a/extensions/Worker.Extensions.Http.AspNetCore/src/Coordinator/DefaultHttpCoordinator.cs +++ b/extensions/Worker.Extensions.Http.AspNetCore/src/Coordinator/DefaultHttpCoordinator.cs @@ -24,7 +24,7 @@ public DefaultHttpCoordinator(ExtensionTrace extensionTrace) _logger = extensionTrace; } - public Task SetHttpContextAsync(string invocationId, HttpContext context) + public async Task SetHttpContextAsync(string invocationId, HttpContext context) { var contextRef = _contextReferenceList.GetOrAdd(invocationId, static id => new ContextReference(id)); contextRef.HttpContextValueSource.SetResult(context); @@ -33,7 +33,7 @@ public Task SetHttpContextAsync(string invocationId, HttpContex try { - return contextRef.FunctionContextValueSource.Task.WaitAsync(TimeSpan.FromSeconds(FunctionContextTimeoutInSeconds)); + return await contextRef.FunctionContextValueSource.Task.WaitAsync(TimeSpan.FromSeconds(FunctionContextTimeoutInSeconds)); } catch (TimeoutException e) { diff --git a/extensions/Worker.Extensions.Http.AspNetCore/src/Worker.Extensions.Http.AspNetCore.csproj b/extensions/Worker.Extensions.Http.AspNetCore/src/Worker.Extensions.Http.AspNetCore.csproj index f40062bc1..6ecd2aef6 100644 --- a/extensions/Worker.Extensions.Http.AspNetCore/src/Worker.Extensions.Http.AspNetCore.csproj +++ b/extensions/Worker.Extensions.Http.AspNetCore/src/Worker.Extensions.Http.AspNetCore.csproj @@ -6,7 +6,7 @@ ASP.NET Core extensions for .NET isolated functions - 1.3.2 + 1.3.3 net6.0 diff --git a/sdk/Sdk/ExtensionsCsprojGenerator.cs b/sdk/Sdk/ExtensionsCsprojGenerator.cs index c08f92677..b8ba95584 100644 --- a/sdk/Sdk/ExtensionsCsprojGenerator.cs +++ b/sdk/Sdk/ExtensionsCsprojGenerator.cs @@ -79,6 +79,7 @@ internal string GetCsProjContent() Release Microsoft.Azure.Functions.Worker.Extensions true + false diff --git a/sdk/Sdk/Sdk.csproj b/sdk/Sdk/Sdk.csproj index 95742edb5..3927acaf3 100644 --- a/sdk/Sdk/Sdk.csproj +++ b/sdk/Sdk/Sdk.csproj @@ -1,8 +1,8 @@  - 17 - 4 + 18 + 0 netstandard2.0;net472 Microsoft.Azure.Functions.Worker.Sdk This package provides development time support for the Azure Functions .NET Worker. diff --git a/sdk/release_notes.md b/sdk/release_notes.md index c5c879672..26d086c51 100644 --- a/sdk/release_notes.md +++ b/sdk/release_notes.md @@ -4,16 +4,14 @@ - My change description (#PR/#issue) --> -### Microsoft.Azure.Functions.Worker.Sdk +### Microsoft.Azure.Functions.Worker.Sdk 1.18.0 - Fix incorrect function version in build message (#2606) - +- Fix inner build failures when central package management is enabled (#2689) - Add support to publish a Function App (Flex Consumption) with `ZipDeploy` (#2688) - Add `'UseBlobContainerDeploy'` property to identify when to use `OneDeploy` publish API endpoint (`"/api/publish"`) - Enhance `ZipDeploy` deployment status logging by appending the `'status_message'` (when defined) to the output messages -- - ### Microsoft.Azure.Functions.Worker.Sdk.Generators -- +- \ No newline at end of file diff --git a/test/FunctionMetadataGeneratorTests/ExtensionsCsProjGeneratorTests.cs b/test/FunctionMetadataGeneratorTests/ExtensionsCsProjGeneratorTests.cs index ce06d4e86..6576e99d7 100644 --- a/test/FunctionMetadataGeneratorTests/ExtensionsCsProjGeneratorTests.cs +++ b/test/FunctionMetadataGeneratorTests/ExtensionsCsProjGeneratorTests.cs @@ -86,6 +86,7 @@ private static string ExpectedCsProjV3() Release Microsoft.Azure.Functions.Worker.Extensions true + false @@ -113,6 +114,7 @@ private static string ExpectedCsProjV4() Release Microsoft.Azure.Functions.Worker.Extensions true + false