github Azure/azure-sdk-for-js @azure/arm-webpubsub_0.1.0-beta.1

latest releases: @azure/communication-sms_1.2.0-beta.1, @azure-tools/test-utils_1.0.0, @azure/template_1.0.12-beta.3750356...
pre-release2 years ago

0.1.0-beta.1 (2021-07-27)

This is the first preview for the new version of the @azure/arm-webpubsub package that follows the new guidelines for TypeScript SDKs for Azure services.

While this package remains auto generated, the SDK generator itself has undergone changes to comply with the above guidelines in order to generate packages that are idiomatic to the JavaScript/TypeScript ecosystem and consistent with other packages for Azure services. For more on this, please see State of the Azure SDK 2021.

Please note that this version has breaking changes, all of which were made after careful consideration during the authoring of the guidelines and user studies.

Noteworthy changes and features

  • Authentication: The packages @azure/ms-rest-nodeauth or @azure/ms-rest-browserauth are no longer supported. Use package @azure/identity instead. Select a credential from Azure Identity examples based on the authentication method of your choice.
  • Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
  • List operations now return an iterable result that follows the PagedAsyncIterableIterator interface as opposed to the previous model where you had to make a new request using the link to the next page.
  • Long running operations i.e. the Lro related object returned by methods whose names started with begin, now uses pollUntilDone to check whether the request is finished, instead of pollUntilFinished. To get the final result, use the corresponding method that will have the suffix AndWait.
  • The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6.

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

NewReleases is sending notifications on new releases.