Update dependency Azure.Messaging.ServiceBus to 7.21.0 - #1228
Open
dependencyupdates[bot] wants to merge 1 commit into
Open
dependencyupdates[bot] wants to merge 1 commit into
dependencyupdates[bot] wants to merge 1 commit into
Conversation
dependencyupdates
Bot
force-pushed
the
renovate/azure.messaging.servicebus-7.x
branch
from
September 25, 2026 03:29
9849b16 to
63fc2f8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.20.1→7.21.0Release Notes
Azure/azure-sdk-for-net (Azure.Messaging.ServiceBus)
v7.21.0Compare Source
7.21.0 (2026-10-06)
Features Added
SqlFilterCountandCorrelationFilterCountproperties toTopicRuntimeProperties, exposing the total number of SQL filters and correlation filters across all of a topic's subscriptions. These are populated byGetTopicRuntimePropertiesAsyncandGetTopicsRuntimePropertiesAsync.ServiceBusAdministrationClientOptions.ServiceVersion.V2024_05and made it the default service version. The topic filter counts above are served by the2024-05service API version, so the administration client now sendsapi-version=2024-05by default.GetMessageSessionsAsyncoverloads onServiceBusClientfor queues and subscriptions. The no-filter overload returns the IDs of sessions that have active messages or session state, and thesessionStateUpdatedAfteroverload returns session IDs whose session state was updated after the specified timestamp. Implements thecom.microsoft:get-message-sessionsAMQP management operation. (#58761)ServiceBusSessionReceiver, allowing a session to be cooperatively taken over by another receiver. SetServiceBusSessionReceiverOptions.EnableNonExclusiveSessionto accept a session non-exclusively, then read the token fromServiceBusSessionReceiver.SessionLockTokenand pass it asServiceBusSessionReceiverOptions.SessionLockToken = Guid.Parse(token)to take that session over.ServiceBusSessionReceiver.IsSessionExclusivereports the mode the session was established under. Dispositions for a non-exclusive session are routed over the management link so that settlement keeps working across a takeover, which lowers settlement throughput compared to an exclusive session. This applies toServiceBusSessionReceiveronly;ServiceBusSessionProcessorcontinues to lock sessions exclusively. Accepting a session withEnableNonExclusiveSessionset throwsNotSupportedExceptionwhen the endpoint declines it, either by refusing the request outright or by accepting it without assigning a lock token, which is how a caller detects whether the feature is available for a namespace. An endpoint that declines in some other way surfaces the exception its own error maps to. (#60060)Bugs Fixed
Fixed retry classification for web socket failures with nested causes. On modern .NET, a transient network failure during a web socket connection attempt surfaces as a
WebSocketExceptionthat wraps anHttpRequestException, which wraps the meaningfulIOExceptionorSocketException. The retry policy previously inspected only one level of nesting and treated these failures as terminal. The policy now unwraps nested wrapper exceptions to a bounded depth, so transient failures such as a connection reset use the configured retries. Terminal socket failures, such as host-not-found and host-unreachable, are not retried at any supported depth. A host-unreachable failure on an established connection is now terminal. Earlier versions retried it. (#61868)Fixed a bug where canceling
ServiceBusReceiver.CloseAsyncleft the receiver unable to close its own links. The receiver was marked as closed, and its set of locked messages disposed, before the cancellation was observed, so every later call toCloseAsyncreturned immediately without doing any work and the links stayed open until the owningServiceBusClientwas disposed. The receiver is now left open and closable when a close does not complete, so the operation can be retried. (#59309)Other Changes
ServiceBusAdministrationClientservice version is now2024-05(previously2021-05). Existing operations are unaffected in behavior; the change is required to surface the new topic filter count properties.v7.20.2Compare Source
7.20.2 (2026-07-08)
Acknowledgments
Thank you to our developer community members who helped to make the Service Bus client library better with their contributions to this release:
Bugs Fixed
Fixed a bug where
ServiceBusAdministrationClientoperations (such asGetQueueAsync,GetTopicAsync,QueueExistsAsync, andTopicExistsAsync) threw aServiceBusExceptionwrapping anArgumentException("Value cannot be empty or contain only white-space characters") when an entity had a shared access authorization rule whose key values were masked (returned empty) by the service for callers lacking thelistkeys/actionpermission. The deserialization path now accepts empty key values, and creatingCreateQueueOptions/CreateTopicOptionsfrom the returned properties no longer throws, matching the behavior of the other Azure Service Bus SDKs. (#60469)Fixed a bug in the
ServiceBusProcessorwhere terminal errors (such as DNS resolution failures) caused a tight retry loop with no delay between attempts, potentially overwhelming logs and consuming excessive resources. (#54572)Fixed a race condition in
AmqpSenderwhere concurrent calls toCreateMessageBatchAsyncduring initial AMQP link creation could observe an inconsistentMaxBatchSize, causing a spuriousArgumentOutOfRangeException. (#56301)The sender now reads the
com.microsoft:max-message-batch-sizevendor property from the AMQP link to correctly limit batch size on Premium large-message entities, wheremax-message-sizecan be up to 100 MB but the batch limit is 1 MB. The 4,500 message count cap on batches has been removed as the service does not enforce a count limit. (#44914)Other Changes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
Commands to ignore dependencies
You can trigger dependency actions by commenting on this PR:
@particularbot ignore this major version@particularbot ignore this minor version@particularbot ignore this dependency