From 3e78960d1baf24da455673bf5c7c12195727887d Mon Sep 17 00:00:00 2001 From: Fabio Cavalcante Date: Fri, 14 Jun 2024 11:34:14 -0700 Subject: [PATCH] Updating Service Bus extension dependencies --- extensions/Worker.Extensions.ServiceBus/release_notes.md | 5 +++-- .../src/Properties/AssemblyInfo.cs | 2 +- .../src/Worker.Extensions.ServiceBus.csproj | 8 ++++---- .../FunctionMetadataGeneratorTests.cs | 5 ++++- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/extensions/Worker.Extensions.ServiceBus/release_notes.md b/extensions/Worker.Extensions.ServiceBus/release_notes.md index aeba67dd4..d19b7c430 100644 --- a/extensions/Worker.Extensions.ServiceBus/release_notes.md +++ b/extensions/Worker.Extensions.ServiceBus/release_notes.md @@ -4,6 +4,7 @@ - My change description (#PR/#issue) --> -### Microsoft.Azure.Functions.Worker.Extensions.ServiceBus +### Microsoft.Azure.Functions.Worker.Extensions.ServiceBus 5.20.0 -- +- Updated dependencies +- Updated WebJobs extension reference to 5.16.1 diff --git a/extensions/Worker.Extensions.ServiceBus/src/Properties/AssemblyInfo.cs b/extensions/Worker.Extensions.ServiceBus/src/Properties/AssemblyInfo.cs index 25c129db3..b04c03f1e 100644 --- a/extensions/Worker.Extensions.ServiceBus/src/Properties/AssemblyInfo.cs +++ b/extensions/Worker.Extensions.ServiceBus/src/Properties/AssemblyInfo.cs @@ -4,5 +4,5 @@ using System.Runtime.CompilerServices; using Microsoft.Azure.Functions.Worker.Extensions.Abstractions; -[assembly: ExtensionInformation("Microsoft.Azure.WebJobs.Extensions.ServiceBus", "5.16.0")] +[assembly: ExtensionInformation("Microsoft.Azure.WebJobs.Extensions.ServiceBus", "5.16.1")] [assembly: InternalsVisibleTo("Microsoft.Azure.Functions.Worker.Extensions.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001005148be37ac1d9f58bd40a2e472c9d380d635b6048278f7d47480b08c928858f0f7fe17a6e4ce98da0e7a7f0b8c308aecd9e9b02d7e9680a5b5b75ac7773cec096fbbc64aebd429e77cb5f89a569a79b28e9c76426783f624b6b70327eb37341eb498a2c3918af97c4860db6cdca4732787150841e395a29cfacb959c1fd971c1")] diff --git a/extensions/Worker.Extensions.ServiceBus/src/Worker.Extensions.ServiceBus.csproj b/extensions/Worker.Extensions.ServiceBus/src/Worker.Extensions.ServiceBus.csproj index 84c07e7c4..94293ecc2 100644 --- a/extensions/Worker.Extensions.ServiceBus/src/Worker.Extensions.ServiceBus.csproj +++ b/extensions/Worker.Extensions.ServiceBus/src/Worker.Extensions.ServiceBus.csproj @@ -6,7 +6,7 @@ Azure Service Bus extensions for .NET isolated functions - 5.19.0 + 5.20.0 false @@ -17,9 +17,9 @@ - - - + + + diff --git a/test/FunctionMetadataGeneratorTests/FunctionMetadataGeneratorTests.cs b/test/FunctionMetadataGeneratorTests/FunctionMetadataGeneratorTests.cs index 86c6d19fb..3f5d78efe 100644 --- a/test/FunctionMetadataGeneratorTests/FunctionMetadataGeneratorTests.cs +++ b/test/FunctionMetadataGeneratorTests/FunctionMetadataGeneratorTests.cs @@ -20,6 +20,7 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.Functions.Tests; using Microsoft.Azure.Functions.Worker; +using Microsoft.Azure.Functions.Worker.Extensions.Abstractions; using Microsoft.Azure.Functions.Worker.Http; using Microsoft.Azure.Functions.Worker.Sdk; using Mono.Cecil; @@ -1154,9 +1155,11 @@ public void ServiceBus_SDKTypeBindings() Assert.Equal(2, functions.Count()); + var extensionReference = typeof(ServiceBusExtensionStartup).Assembly.GetCustomAttribute(); + AssertDictionary(extensions, new Dictionary { - { "Microsoft.Azure.WebJobs.Extensions.ServiceBus", "5.16.0" }, + { "Microsoft.Azure.WebJobs.Extensions.ServiceBus", extensionReference.ExtensionVersion }, }); var serviceBusTriggerFunction = functions.Single(p => p.Name == nameof(SDKTypeBindings_ServiceBus.ServiceBusTriggerFunction));