From 8a40b85afbe1158282bb1950cbfd0a734ac2e347 Mon Sep 17 00:00:00 2001 From: Jesse Squire Date: Mon, 12 Feb 2024 10:37:51 -0500 Subject: [PATCH 1/3] [Event Hubs] Processor Release Prep: Feb 2024 The focus of these changes is to prepare the Event Hubs Processor and Functions extension packages for the February, 2024 release. --- eng/Packages.Data.props | 4 ++-- .../Azure.Messaging.EventHubs.Processor/CHANGELOG.md | 9 ++++++--- .../src/Azure.Messaging.EventHubs.Processor.csproj | 2 +- sdk/eventhub/Azure.Messaging.EventHubs/CHANGELOG.md | 2 +- .../CHANGELOG.md | 6 +----- .../Microsoft.Azure.WebJobs.Extensions.EventHubs.csproj | 2 +- 6 files changed, 12 insertions(+), 13 deletions(-) diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 664f2c09c1a46..ee9a6d1e9d12b 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -113,7 +113,7 @@ - + @@ -224,7 +224,7 @@ - + diff --git a/sdk/eventhub/Azure.Messaging.EventHubs.Processor/CHANGELOG.md b/sdk/eventhub/Azure.Messaging.EventHubs.Processor/CHANGELOG.md index 9bd316e452137..72f079c08ff77 100755 --- a/sdk/eventhub/Azure.Messaging.EventHubs.Processor/CHANGELOG.md +++ b/sdk/eventhub/Azure.Messaging.EventHubs.Processor/CHANGELOG.md @@ -1,17 +1,20 @@ # Release History -## 5.11.0-beta.1 (Unreleased) +## 5.11.0 (2024-02-13) + +### Acknowledgments Thank you to our developer community members who helped to make the Event Hubs client libraries better with their contributions to this release: - Dave Trainer _([GitHub](https://github.com/davetrainer))_ ### Features Added + - Added a `CheckpointPosition` struct to use when updating a checkpoint. The specified position indicates that an event processor should begin reading from the next event. Added new `UpdateCheckpointAsync` overloads to `EventProcessorClient` and `BlobCheckpointStore` that accept the `CheckpointPosition` struct instead of individual values for offset and sequence number. ### Breaking Changes -- The type of several existing values in the `EventData.SystemProperties` collection have been changed so that they are properly represented as .NET string types. Previously, the underlying AMQP types were unintentionally returned, forcing callers to call `ToString()` to read the value. +- The type of several existing values in the `EventData.SystemProperties` collection have been changed so that they are properly represented as .NET string types. Previously, the underlying AMQP types were unintentionally returned, forcing callers to call `ToString()` to read the value. This is a behavioral breaking change that will impacts only those callers who were explicitly casting system property values to `AmqpAddress` or `AmqpMessageId` before calling `ToString()`. The affected system properties are: - MessageId @@ -19,7 +22,7 @@ Thank you to our developer community members who helped to make the Event Hubs c - To - ReplyTo -- The base implementations of both `UpdateCheckpointAsync` method overloads in `PluggableCheckpointStoreEventProcessor` and `EventProcessor` now choose sequence number over offset when writing a checkpoint and both values are provided. Previously, writing a checkpoint prioritized offset over sequence number. There is no difference in behavior for normal usage scenarios. +- The base implementations of both `UpdateCheckpointAsync` method overloads in `PluggableCheckpointStoreEventProcessor` and `EventProcessor` now choose sequence number over offset when writing a checkpoint and both values are provided. Previously, writing a checkpoint prioritized offset over sequence number. **There is no difference in behavior for normal usage scenarios.** ### Bugs Fixed diff --git a/sdk/eventhub/Azure.Messaging.EventHubs.Processor/src/Azure.Messaging.EventHubs.Processor.csproj b/sdk/eventhub/Azure.Messaging.EventHubs.Processor/src/Azure.Messaging.EventHubs.Processor.csproj index 3b0b29cfc69b0..5da8697af79e8 100644 --- a/sdk/eventhub/Azure.Messaging.EventHubs.Processor/src/Azure.Messaging.EventHubs.Processor.csproj +++ b/sdk/eventhub/Azure.Messaging.EventHubs.Processor/src/Azure.Messaging.EventHubs.Processor.csproj @@ -1,7 +1,7 @@ Azure Event Hubs is a highly scalable publish-subscribe service that can ingest millions of events per second and stream them to multiple consumers. This library extends its Event Processor with durable storage for checkpoint information using Azure Blob storage. For more information about Event Hubs, see https://azure.microsoft.com/en-us/services/event-hubs/ - 5.11.0-beta.1 + 5.11.0 5.10.0 Azure;Event Hubs;EventHubs;.NET;Event Processor;EventProcessor;$(PackageCommonTags) diff --git a/sdk/eventhub/Azure.Messaging.EventHubs/CHANGELOG.md b/sdk/eventhub/Azure.Messaging.EventHubs/CHANGELOG.md index a7e27629db28c..7ac8ed149c7f7 100755 --- a/sdk/eventhub/Azure.Messaging.EventHubs/CHANGELOG.md +++ b/sdk/eventhub/Azure.Messaging.EventHubs/CHANGELOG.md @@ -16,7 +16,7 @@ - To - ReplyTo -- The base implementations of both `UpdateCheckpointAsync` method overloads in `PluggableCheckpointStoreEventProcessor` and `EventProcessor` now choose sequence number over offset when writing a checkpoint and both values are provided. Previously, writing a checkpoint prioritized offset over sequence number. There is no behavioral change for those using the official checkpoint store implementations. +- The base implementations of both `UpdateCheckpointAsync` method overloads in `PluggableCheckpointStoreEventProcessor` and `EventProcessor` now choose sequence number over offset when writing a checkpoint and both values are provided. Previously, writing a checkpoint prioritized offset over sequence number. **There is no behavioral change for those using the official checkpoint store implementations.** ### Bugs Fixed diff --git a/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/CHANGELOG.md b/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/CHANGELOG.md index b179a088a0623..cc9ba8e63eca6 100644 --- a/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/CHANGELOG.md +++ b/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/CHANGELOG.md @@ -1,10 +1,6 @@ # Release History -## 6.1.0-beta.1 (Unreleased) - -### Features Added - -### Breaking Changes +## 6.1.0 (2024-02-13) ### Bugs Fixed diff --git a/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Microsoft.Azure.WebJobs.Extensions.EventHubs.csproj b/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Microsoft.Azure.WebJobs.Extensions.EventHubs.csproj index c879e23ddacf0..e776dfca6158c 100644 --- a/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Microsoft.Azure.WebJobs.Extensions.EventHubs.csproj +++ b/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Microsoft.Azure.WebJobs.Extensions.EventHubs.csproj @@ -3,7 +3,7 @@ netstandard2.0 Microsoft Azure WebJobs SDK EventHubs Extension - 6.1.0-beta.1 + 6.1.0 6.0.2 $(NoWarn);AZC0001;CS1591;SA1636 From e8cd746db11213468fd0995dae93ad2e076519b5 Mon Sep 17 00:00:00 2001 From: Jesse Squire Date: Mon, 12 Feb 2024 10:55:09 -0500 Subject: [PATCH 2/3] Restoring package references --- .../src/Azure.Messaging.EventHubs.Processor.csproj | 7 +------ .../Microsoft.Azure.WebJobs.Extensions.EventHubs.csproj | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/sdk/eventhub/Azure.Messaging.EventHubs.Processor/src/Azure.Messaging.EventHubs.Processor.csproj b/sdk/eventhub/Azure.Messaging.EventHubs.Processor/src/Azure.Messaging.EventHubs.Processor.csproj index 5da8697af79e8..4906db40f951e 100644 --- a/sdk/eventhub/Azure.Messaging.EventHubs.Processor/src/Azure.Messaging.EventHubs.Processor.csproj +++ b/sdk/eventhub/Azure.Messaging.EventHubs.Processor/src/Azure.Messaging.EventHubs.Processor.csproj @@ -14,7 +14,7 @@ - + @@ -24,11 +24,6 @@ - - - - - diff --git a/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Microsoft.Azure.WebJobs.Extensions.EventHubs.csproj b/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Microsoft.Azure.WebJobs.Extensions.EventHubs.csproj index e776dfca6158c..8d26311a789da 100644 --- a/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Microsoft.Azure.WebJobs.Extensions.EventHubs.csproj +++ b/sdk/eventhub/Microsoft.Azure.WebJobs.Extensions.EventHubs/src/Microsoft.Azure.WebJobs.Extensions.EventHubs.csproj @@ -12,17 +12,12 @@ - + - - - - - From d8fcaea7b3ddf81d409472ee93b70691e2cec767 Mon Sep 17 00:00:00 2001 From: Jesse Squire Date: Tue, 13 Feb 2024 14:43:21 -0500 Subject: [PATCH 3/3] Update eng/Packages.Data.props --- eng/Packages.Data.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index ee9a6d1e9d12b..51acba12e8f91 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -224,7 +224,7 @@ - +