Skip to content

Latest commit

 

History

History
125 lines (100 loc) · 6.48 KB

File metadata and controls

125 lines (100 loc) · 6.48 KB

Release History

7.0.0-preview.8 (2020-10-06)

Added

  • Added AcceptSessionAsync that accepts a specific session based on session ID.

Breaking Changes

  • Renamed ViaQueueOrTopicName to TransactionQueueOrTopicName.
  • Renamed ViaPartitionKey to TransactionPartitionKey.
  • Renamed ViaEntityPath to TransactionEntityPath.
  • Renamed Proxy to WebProxy.
  • Made MaxReceiveWaitTime in ServiceBusProcessorOptions and ServiceBusSessionProcessorOptions internal.
  • Renamed CreateSessionReceiverAsync to AcceptNextSessionAsync.
  • Removed SessionId from ServiceBusClientOptions in favor of AcceptSessionAsync.

7.0.0-preview.7 (2020-09-10)

Added

  • Added AmqpMessage property on ServiceBusMessage and ServiceBusReceivedMessage that gives full access to underlying AMQP details.
  • Added explicit Close methods on ServiceBusReceiver, ServiceBusSessionReceiver, ServiceBusSender, ServiceBusProcessor, and ServiceBusSessionProcessor.

Breaking Changes

  • Renamed ServiceBusManagementClient to ServiceBusAdministrationClient.
  • Renamed ServiceBusManagementClientOptions to ServiceBusAdministrationClientOptions.
  • Renamed IsDisposed to IsClosed on ServiceBusSender, ServiceBusReceiver, and ServiceBusSessionReceiver.
  • Made ServiceBusProcessor and ServiceBusSessionProcessor implement IAsyncDisposable
  • Removed public constructors for QueueProperties and RuleProperties.
  • Added version parameter to ServiceBusAdministrationClientOptions constructor.
  • Removed CreateDeadLetterReceiver methods in favor of new SubQueue property on ServiceBusReceiverOptions.
  • Made EntityNameFormatter internal.
  • Made settlement methods on ProcessMessageEventArgs and ProcessSessionMessageEventArgs virtual for mocking.
  • Made all Create methods on ServiceBusClient virtual for mocking.

7.0.0-preview.6 (2020-08-18)

Fixed

  • Bug in TaskExtensions.EnsureCompleted method that causes it to unconditionally throw an exception in the environments with synchronization context

7.0.0-preview.5 (2020-08-11)

Acknowledgements

Thank you to our developer community members who helped to make the Service Bus client library better with their contributions and design input for this release:

Added

  • Added MaxConcurrentCallsPerSession option to ServiceBusSessionProcessor

Breaking Changes

  • Change MaxConcurrentCalls to MaxConcurrentSessions in ServiceBusSessionProcessor.
  • Replace (Queue|Topic|Subscription|Rule)Description with (Queue|Topic|Subscription|Rule)Properties.
  • Add Create(Queue|Topic|Subscription|Rule)Options for creating entities.
  • Replace (Queue|Topic|Subscription)RuntimeInfo with (Queue|Topic|Subscription)RuntimeProperties.
  • Remove MessageCountDetails and move the properties directly into the RuntimeProperties types.

7.0.0-preview.4 (2020-07-07)

Acknowledgements

Thank you to our developer community members who helped to make the Service Bus client library better with their contributions and design input for this release:

Added

  • Add IAsyncEnumerable Receive overload
  • Add batch schedule/cancel schedule messages

Breaking Changes

  • Remove use of "Batch" in Peek/Receive methods.
  • Add Message/Messages suffix to Peek/Send/Receive/Abandon/Defer/Complete/DeadLetter methods.
  • Rename ServiceBusSender.CreateBatch to ServiceBusSender.CreateMessageBatch
  • Rename CreateBatchOptions to CreateMessageBatchOptions
  • Rename ServiceBusMessageBatch.TryAdd to ServiceBusMessageBatch.TryAddMessage
  • Change output list type from IList to IReadOnlyList
  • Removed ServiceBusException.FailureReason.ClientClosed in favor of throwing ObjectDisposedException

7.0.0-preview.3 (2020-06-08)

Acknowledgements

Thank you to our developer community members who helped to make the Service Bus client library better with their contributions and design input for this release:

Added

  • Add the ServiceBusManagementClient for CRUD operations on a namespace
  • Add constructor for ServiceBusMessage taking a string
  • Use the BinaryData type for ServiceBusMessage.Body
  • Add diagnostic tracing

Breaking Changes

  • Introduce ServiceBusSessionReceiverOptions/ServiceBusSessionProcessorOptions for creating ServiceBusSessionReceiver/ServiceBusSessionProcessor
  • Make ServiceBusReceivedMessage.Properties IReadOnlyDictionary rather than IDictionary

7.0.0-preview.2 (2020-05-04)

Acknowledgements

Thank you to our developer community members who helped to make the Service Bus client library better with their contributions and design input for this release:

Added

  • Allow specifying a list of named sessions when using ServiceBusSessionProcessor
  • Transactions/Send via support
  • Add SessionInitializingAsync/SessionClosingAsync events in ServiceBusSessionProcessor
  • Do not attempt to autocomplete messages with the processor if the user settled the message in their callback
  • Add SendAsync overload accepting an IEnumerable of ServiceBusMessage
  • Various performance improvements
    (A community contribution, courtesy of danielmarbach)
  • Improve the way exception stack traces are captured
    (A community contribution, courtesy of danielmarbach)

Breaking Changes

  • Change from using a static factory method for creating a sendable message from a received message to instead using a constructor
    (A community contribution, courtesy of danielmarbach)
  • CreateSessionProcessor parameter sessionId renamed to sessionIds (also changed from string to params string array).
  • Remove cancellation token from CreateProcessor and CreateSessionProcessor
    (A community contribution, courtesy of danielmarbach)
  • Rename SendBatchAsync to SendAsync
  • Add SenderOptions parameter to CreateSender method.

7.0.0-preview.1 (2020-04-07)

  • Initial preview for new version of Service Bus library.
  • Includes sending/receiving/settling messages from queues/topics and session support.