github Azure/azure-sdk-for-js @azure/core-amqp_2.0.0-beta.1

latest releases: @azure/arm-guestconfiguration_1.0.0-beta.1, @azure/arm-selfhelp_2.0.0-beta.3, @azure/template_1.0.12-beta.3738128...
pre-release3 years ago

2.0.0-beta.1 (2020-11-03)

  • AmqpAnnotatedMessage interface that closely represents the AMQP annotated message from the AMQP spec has been added. New AmqpMessageHeaders and AmqpMessageProperties interfaces(properties with camelCasing) have been added in the place of re-exports from "rhea" library(properties with snake_casing).
    PR 12091

Breaking changes

  • satusDescription in CbsResponse which is the output for CbsClient.negotiateClaim() is renamed to statusDescription to fix the spelling error.
  • The CbsClient.negotiateClaim() method now takes the token string directly instead of the AccessToken object.

We are cleaning the public API surface by

  • removing exports that are either not used by either @azure/event-hubs and @azure/service-bus packages (which are the two main consumers of this package)
    • AsyncLockOptions
    • executePromisesSequentially
    • Func
    • getNewAsyncLock
    • isNode
    • randomNumberFromInterval
    • Timeout
  • moving the clases/methods/interfaces that are very specific to Event Hubs/Service Bus to their corresponding packages.
    • SharedKeyCredential
    • EventHubConnectionConfig
  • avoid re-exporting things from rhea-promise and @azure/core-auth
    • Dictionary
    • isAmqpError
    • Message
    • TokenCredential
    • isTokenCredential
    • AccessToken
  • removing all IotHub related artifacts. These existed to support the IotHub support we had in Event Hubs v2 which has since been removed in Event Hubs v5 for a better separation of concerns
    • IotHubConnectionConfig
    • IotHubConnectionStringModel
    • IotSharedKeyCredential
    • isIotHubConnectionString
  • removing all Event Hubs, Storage and Service Bus interfaces meant to be used with the parseConnectionString() method
    • ServiceBusConnectionStringModel
    • StorageConnectionStringModel
    • EventHubsConnectionStringModel

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

NewReleases is sending notifications on new releases.