From 5f1aceffdfabbde2738632d791595d7e31550ff7 Mon Sep 17 00:00:00 2001 From: "dependencyupdates[bot]" <218638057+dependencyupdates[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 15:57:28 +0000 Subject: [PATCH 1/2] Update dependency NServiceBus to 10.2.0-alpha.8 --- .../NServiceBus.AzureFunctions.Common.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NServiceBus.AzureFunctions.Common/NServiceBus.AzureFunctions.Common.csproj b/src/NServiceBus.AzureFunctions.Common/NServiceBus.AzureFunctions.Common.csproj index a2e0253..b964981 100644 --- a/src/NServiceBus.AzureFunctions.Common/NServiceBus.AzureFunctions.Common.csproj +++ b/src/NServiceBus.AzureFunctions.Common/NServiceBus.AzureFunctions.Common.csproj @@ -8,7 +8,7 @@ - + From 99eb61207143477594ce5364c1ac0fbe9b65323b Mon Sep 17 00:00:00 2001 From: Matt Mercurio Date: Thu, 7 May 2026 12:05:26 -0500 Subject: [PATCH 2/2] Fix tests to use ErrorContext.Headers instead of obsolete Message --- src/NServiceBus.AzureFunctions.Tests/MessageProcessorTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NServiceBus.AzureFunctions.Tests/MessageProcessorTests.cs b/src/NServiceBus.AzureFunctions.Tests/MessageProcessorTests.cs index 3d2a548..2a2cc20 100644 --- a/src/NServiceBus.AzureFunctions.Tests/MessageProcessorTests.cs +++ b/src/NServiceBus.AzureFunctions.Tests/MessageProcessorTests.cs @@ -358,7 +358,7 @@ public async Task Should_not_propagate_header_mutations_from_on_message_to_on_er } ); - var headers = result.ErrorContext!.Message.Headers; + var headers = result.ErrorContext!.Headers; using (Assert.EnterMultipleScope()) { Assert.That(headers.ContainsKey(originalHeaderKey), Is.True, "Original header should still exist in onError"); @@ -502,4 +502,4 @@ class FakeBaseReceiver : IMessageReceiver public string Id => string.Empty; public string ReceiveAddress => "TestEndpoint"; } -} \ No newline at end of file +}