@azure/arm-devtestlabs 4.0.0-beta.1 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,14 +1,11 @@
1
- ## 4.0.0-beta.1 (2021-12-02)
1
+ # Release History
2
+
3
+ ## 4.0.0 (2021-12-22)
2
4
 
3
- This is the first preview for the new version of the `@azure/arm-devtestlabs` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services.
5
+ The package of @azure/arm-devtestlabs is using our next generation design principles since version 4.0.0, which contains breaking changes.
4
6
 
5
- 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](https://devblogs.microsoft.com/azure-sdk/state-of-the-azure-sdk-2021/).
7
+ To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
6
8
 
7
- 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.
9
+ To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
8
10
 
9
- **Noteworthy changes and features**
10
- - Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice.
11
- - Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
12
- - 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.
13
- - 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`.
14
- - The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6.
11
+ To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
package/README.md CHANGED
@@ -6,7 +6,7 @@ The DevTest Labs Client.
6
6
 
7
7
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/devtestlabs/arm-devtestlabs) |
8
8
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-devtestlabs) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-devtestlabs?view=azure-node-preview) |
9
+ [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-devtestlabs) |
10
10
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
11
 
12
12
  ## Getting started
package/dist/index.js CHANGED
@@ -14077,7 +14077,7 @@ class DevTestLabsClient extends coreClient.ServiceClient {
14077
14077
  requestContentType: "application/json; charset=utf-8",
14078
14078
  credential: credentials
14079
14079
  };
14080
- const packageDetails = `azsdk-js-arm-devtestlabs/1.0.0-beta.1`;
14080
+ const packageDetails = `azsdk-js-arm-devtestlabs/4.0.0`;
14081
14081
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
14082
14082
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
14083
14083
  : `${packageDetails}`;