github Azure/azure-sdk-for-js @azure/service-bus_7.0.0-preview.4

latest releases: @azure/core-rest-pipeline_1.16.0, @azure/core-amqp_4.2.2, @azure/communication-sms_1.2.0-beta.1...
pre-release3 years ago

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

  • Adds abortSignal support throughout Sender and non-session Receivers.
    PR 9233
    PR 9284
  • (Receiver|SessionReceiver).subscribe() now returns a closeable object which will stop new messages from arriving
    but still leave the receiver open so they can be settled via methods like complete().
    PR 9802
    PR 9849
  • Bug - Messages scheduled in parallel with the scheduleMessage method have the same sequence number in response.
    Fixed in PR 9503
  • Management api updates
    • Following return types are changed to improve the API surface.
      • [Create,Get,Update]QueueResponse as QueueResponse, DeleteQueueResponse as Response, GetQueueRuntimeInfoResponse as QueueRuntimeInfoResponse.
        Similarly for topics, subscriptions, and rules.
        PR 9432
    • OperationOptions has been added for all the methods under ServiceBusManagementClient, this adds support for abortSignal, requestOptions when creating and sending HTTP requests.
      PR 9654
    • Fixed the bug where one cannot set userProperties in a correlation filter while using the createRule() method. PR 9794

Breaking Changes

  • Standardized methods on senders and receivers to use the Messages suffix and deal with multiple messages rather than have dedicated methods to deal with a single message.
    PR 9678

  • Standardized methods that peek and receive a given number of messages to use a similar signature.
    PR 9798

  • Removed isReceivingMessages method on the Receiver as per discussions in Issue 9746
    PR 9875

  • Management api updates

    • Renamed createdOn, accessedOn and modifiedOn properties to createdAt, accessedAt and modifiedAt, updated the corresponding type from ISO-8601 timestamp string to the Date type in the responses for the runtimeInfo methods for Queue, Topic and Subscription.
      PR 9434
      PR 9807

    • The property top in the options passed to any of the methods that get information for multiple entities like getQueues or getQueuesRuntimeInfo is renamed to maxCount.
      PR 9664

    • The "update" methods (updateQueue, updateTopic, and updateSubscription) now require all properties on the given queue/topic/subscription object to be set even though only a subset of them are updatable. Therefore, the suggested flow is to use the "get" methods to get the queue/topic/subscription object, update as needed and then pass it to the "update" methods.
      PR 9751

      See update queue and update-topic for list of updatable properties.

Don't miss a new azure-sdk-for-js release

NewReleases is sending notifications on new releases.