Skip to content

Commit 481e10a

Browse files
authored
[Messaging] Core package April 2025 release prep (Azure#49242)
The focus of these changes is to prepare the Event Hubs and Service bus core packages for the April 2025 release.
1 parent 2203779 commit 481e10a

File tree

4 files changed

+38
-12
lines changed

4 files changed

+38
-12
lines changed

sdk/eventhub/Azure.Messaging.EventHubs/CHANGELOG.md

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,48 @@
11
# Release History
22

3-
## 5.12.0-beta.3 (Unreleased)
3+
## 5.12.0 (2025-04-08)
4+
5+
### Acknowledgments
6+
7+
Thank you to our developer community members who helped to make the Event Hubs client libraries better with their contributions to this release:
8+
9+
- tovyhnal _([GitHub](https://github.com/tovyhnal))_
410

511
### Features Added
612

7-
### Breaking Changes
13+
- Support for the Event Hubs geographic data replication feature has been enabled. Checking for whether or not this feature is enabled for your namespace can be done by querying for Event Hub properties using `EventHubProducerClient` or `EventHubConsumerClient` and referencing the the `IsGeoReplicationEnabled` property of the result.
14+
15+
As part of this feature, the type of offset-related data has been changed from `long` to `string` to align with changes to the Event Hubs service API. To preserve backwards compatibility, the existing offset-related members have not been changed, and new members with names similar to `OffsetString` and string-based parameters for method overloads have been introduced.
16+
17+
The long-based offset members will continue to work for Event Hubs namespaces that do not have GeoDR replication enabled, but are discouraged for use and have been marked as obsolete.
18+
19+
Obsoleted properties:
20+
- `EventData.Offset`
21+
- `LastEnqueuedEventProperties.Offset`
22+
- `PartitionProperties.LastEnqueuedOffset`
823

24+
Obsoleted method overloads:
25+
- `EventPosition.FromOffset`
26+
- `EventHubsModelFactory.EventData`
27+
- `BlobCheckpointStore.UpdateCheckpointAsync`
28+
- `EventProcessorClient.UpdateCheckpointAsync`
29+
930
### Bugs Fixed
1031

32+
- Querying runtime data and other management operations will now correctly guards against the race condition where an AMQP link is in the process of closing as the operation attempts to use it. These errors will now properly be classified as retriable as they are for producer and consumer operations.
33+
34+
- Fixed an obscure edge case in the `EventHubBufferedProducer` client where an unlikely race condition when flushing/enqueuing events concurrently with disposing the producer could cause a semaphore to be released inappropriately. This error superseded the `TaskCanceledException` that should have been surfaced.
35+
1136
### Other Changes
1237

1338
- Enhanced retry logic to consider additional cases for web socket-based failures. In many cases, a `WebSocketException` is triggered which wraps a `SocketException` with the details for the specific network conditions. Retry decisions are now based on the internal exception, if present, to ensure retries are correctly applied.
1439

40+
- Added annotations to make the package compatible with trimming and native AOT compilation.
41+
42+
- Added Event Hub name to processor load balancing logs for additional context. _(A community contribution, courtesy of [tovyhnal](https://github.com/tovyhnal))_
43+
44+
- Updated the `Microsoft.Azure.Amqp` dependency to 2.6.9, which contains several bug fixes. _(see: [commits](https://github.com/Azure/azure-amqp/commits/hotfix/))_
45+
1546
## 5.12.0-beta.2 (2025-02-11)
1647

1748
### Acknowledgments
@@ -43,7 +74,7 @@ Thank you to our developer community members who helped to make the Event Hubs c
4374

4475
- Querying runtime data and other management operations will now correctly guards against the race condition where an AMQP link is in the process of closing as the operation attempts to use it. These errors will now properly be classified as retriable as they are for producer and consumer operations.
4576

46-
- Fixed an obscure edge case in the `EventHubBufferedProducer` client where an obscure race condition when flushing/enqueuing events concurrently with disposing the producer could cause a semaphore to be released inappropriately. This error superseded the `TaskCanceledException` that should have been surfaced.
77+
- Fixed an obscure edge case in the `EventHubBufferedProducer` client where an unlikely race condition when flushing/enqueuing events concurrently with disposing the producer could cause a semaphore to be released inappropriately. This error superseded the `TaskCanceledException` that should have been surfaced.
4778

4879
### Other Changes
4980

sdk/eventhub/Azure.Messaging.EventHubs/src/Azure.Messaging.EventHubs.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<Description>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 client library allows for both publishing and consuming events using Azure Event Hubs. For more information about Event Hubs, see https://azure.microsoft.com/en-us/services/event-hubs/</Description>
4-
<Version>5.12.0-beta.3</Version>
4+
<Version>5.12.0</Version>
55
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually. -->
6-
<ApiCompatVersion>5.11.4</ApiCompatVersion>
6+
<ApiCompatVersion>5.11.6</ApiCompatVersion>
77
<PackageTags>Azure;Event Hubs;EventHubs;.NET;AMQP;IoT;$(PackageCommonTags)</PackageTags>
88
<TargetFrameworks>$(RequiredTargetFrameworks)</TargetFrameworks>
99
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

sdk/servicebus/Azure.Messaging.ServiceBus/CHANGELOG.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
# Release History
22

3-
## 7.19.0-beta.1 (Unreleased)
3+
## 7.19.0 (2025-04-08)
44

55
### Features Added
66

77
- `ServiceBusClientOptions` now supports registering a callback delegate for participating in the validation of SSL certificates when connections are established. This delegate may override the built-in validation and allow or deny certificates based on application-specific logic.
88

9-
### Breaking Changes
10-
11-
### Bugs Fixed
12-
139
### Other Changes
1410

1511
- Added jitter to the lock renewal timer to reduce the likelihood of lock renewal collisions when using the `ServiceBusProcessor` or the `ServiceBusSessionProcessor`.

sdk/servicebus/Azure.Messaging.ServiceBus/src/Azure.Messaging.ServiceBus.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<Description>Azure Service Bus is a fully managed enterprise integration message broker. Service Bus can decouple applications and services. Service Bus offers a reliable and secure platform for asynchronous transfer of data and state. This client library allows for both sending and receiving messages using Azure Service Bus. For more information about Service Bus, see https://learn.microsoft.com/azure/service-bus-messaging/service-bus-messaging-overview</Description>
4-
<Version>7.19.0-beta.1</Version>
4+
<Version>7.19.0</Version>
55
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
66
<ApiCompatVersion>7.18.4</ApiCompatVersion>
77
<PackageTags>Azure;Service Bus;ServiceBus;.NET;AMQP;$(PackageCommonTags)</PackageTags>
88
<TargetFrameworks>$(RequiredTargetFrameworks)</TargetFrameworks>
99
<EnableBannedApiAnalyzers>false</EnableBannedApiAnalyzers>
1010
<NoWarn>
11-
<!-- TODO: Investigate and remove suppressions https://github.com/Azure/azure-sdk-for-net/issues/17154 -->
1211
$(NoWarn);CA2213
1312
</NoWarn>
1413
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

0 commit comments

Comments
 (0)