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

latest releases: @azure/template_1.0.12-beta.3738128, @azure-tools/test-utils_1.0.0, @azure/arm-compute_21.6.0...
pre-release3 years ago

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

New features:

  • Support using the SharedAccessSignature from the connection string.
    PR 10951
  • Added a new field amqpAnnotatedMessage to the received message which will hold the received
    message in its raw form, complete with all parts of the message as per the AMQP spec.
  • Added ServiceBusAdministrationClient.ruleExists()
  • Options to create a queue and topic now support enableExpress boolean property. enableExpress indicates whether Express Entities are enabled on a queue or topic. An express queue holds a message in memory temporarily before writing it to persistent storage.
    PR 10984

Breaking Changes

API changes

  • SessionReceiver.sessionLockedUntilUtc is readonly and never undefined.
    PR 10625

  • ServiceBusClient.createDeadLetterReceiver() has been absorbed into createReceiver().
    To create a dead letter receiver:

    // this same method will work with subscriptions as well.
    serviceBusClient.createReceiver(<queue>, {
      subQueue: "deadLetter"
    });

Renames

  • The ServiceBusManagementClient has been renamed to ServiceBusAdministrationClient. See
    Issue 11012 for more details.
  • Sender, Receivers and the ReceivedMessage interfaces are now prefixed with ServiceBus: ServiceBusSender, ServiceBusReceiver, ServiceBusSessionReceiver, ServiceBusReceivedMessage and ServiceBusReceivedMessageWithLock.
  • Lock duration fields for receivers have been renamed to apply to message locks and session locks:
    • maxMessageAutoRenewLockDurationInMs to maxAutoRenewLockDurationInMs
    • autoRenewLockDurationInMs -> maxAutoRenewLockDurationInMs
  • SessionReceiver.{get,set}State has been renamed to SessionReceiver.{get,set}SessionState
  • Administration API:
    • Property defaultMessageTtl renamed to defaultMessageTimeToLive (Wherever applicable)
    • updatedAt renamed to modifiedAt
    • ServiceBusManagementClientOptions for ServiceBusManagementClient is replaced by PipelineOptions from @azure/core-http
    • AuthorizationRule.accessRights type has been changed to be a string union with the available rights.

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

NewReleases is sending notifications on new releases.