Skip to content

Commit

Permalink
Update Event Hubs extension (#2330)
Browse files Browse the repository at this point in the history
  • Loading branch information
satvu authored Mar 5, 2024
1 parent 48a78e3 commit 99b8852
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions extensions/Worker.Extensions.EventHubs/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
- My change description (#PR/#issue)
-->

### Microsoft.Azure.Functions.Worker.Extensions.EventHubs 6.1.0
### Microsoft.Azure.Functions.Worker.Extensions.EventHubs 6.2.0

- Updating `Microsoft.Azure.WebJobs.Extensions.EventHubs` reference to 6.0.2
- Updating `Microsoft.Extensions.Azure` reference to 1.7.1
- Updating `Azure.Messaging.EventHubs` reference to 5.10.0
- Updating `Microsoft.Azure.WebJobs.Extensions.EventHubs` reference to 6.2.0
- This update includes a fix to prevent potential data loss from occurring when shutting down Function retries.
- Updating `Microsoft.Extensions.Azure` reference to 1.7.2
- Updating `Azure.Messaging.EventHubs` reference to 5.11.1
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
using System.Runtime.CompilerServices;
using Microsoft.Azure.Functions.Worker.Extensions.Abstractions;

[assembly: ExtensionInformation("Microsoft.Azure.WebJobs.Extensions.EventHubs", "6.0.2")]
[assembly: ExtensionInformation("Microsoft.Azure.WebJobs.Extensions.EventHubs", "6.2.0")]
[assembly: InternalsVisibleTo("Microsoft.Azure.Functions.Worker.Extensions.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001005148be37ac1d9f58bd40a2e472c9d380d635b6048278f7d47480b08c928858f0f7fe17a6e4ce98da0e7a7f0b8c308aecd9e9b02d7e9680a5b5b75ac7773cec096fbbc64aebd429e77cb5f89a569a79b28e9c76426783f624b6b70327eb37341eb498a2c3918af97c4860db6cdca4732787150841e395a29cfacb959c1fd971c1")]
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Azure" Version="1.7.1" />
<PackageReference Include="Azure.Messaging.EventHubs" Version="5.10.0" />
<PackageReference Include="Microsoft.Extensions.Azure" Version="1.7.2" />
<PackageReference Include="Azure.Messaging.EventHubs" Version="5.11.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ public void CardinalityManyFunctions(string functionName, string entryPoint, boo
b => ValidateTrigger(b, cardinalityMany));

AssertDictionary(extensions, new Dictionary<string, string>(){
{ "Microsoft.Azure.WebJobs.Extensions.EventHubs", "6.0.2" }
{ "Microsoft.Azure.WebJobs.Extensions.EventHubs", "6.2.0" }
});

void ValidateTrigger(ExpandoObject b, bool many)
Expand Down Expand Up @@ -1031,7 +1031,7 @@ public void EventHubs_SDKTypeBindings()

AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.EventHubs", "6.0.2" },
{ "Microsoft.Azure.WebJobs.Extensions.EventHubs", "6.2.0" },
});

var eventHubTriggerFunction = functions.Single(p => p.Name == nameof(SDKTypeBindings_EventHubs.EventHubTriggerFunction));
Expand Down

0 comments on commit 99b8852

Please sign in to comment.