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 intocreateReceiver()
.
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 toServiceBusAdministrationClient
. See
Issue 11012 for more details. - Sender, Receivers and the ReceivedMessage interfaces are now prefixed with
ServiceBus
:ServiceBusSender
,ServiceBusReceiver
,ServiceBusSessionReceiver
,ServiceBusReceivedMessage
andServiceBusReceivedMessageWithLock
. - Lock duration fields for receivers have been renamed to apply to message locks and session locks:
maxMessageAutoRenewLockDurationInMs
tomaxAutoRenewLockDurationInMs
autoRenewLockDurationInMs
->maxAutoRenewLockDurationInMs
SessionReceiver.{get,set}State
has been renamed toSessionReceiver.{get,set}SessionState
- Administration API:
- Property
defaultMessageTtl
renamed todefaultMessageTimeToLive
(Wherever applicable) updatedAt
renamed tomodifiedAt
ServiceBusManagementClientOptions
forServiceBusManagementClient
is replaced byPipelineOptions
from@azure/core-http
AuthorizationRule.accessRights
type has been changed to be a string union with the available rights.
- Property