@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 +7 -10
- package/README.md +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/devTestLabsClient.js +1 -1
- package/dist-esm/src/devTestLabsClient.js.map +1 -1
- package/package.json +1 -1
- package/src/devTestLabsClient.ts +1 -1
- package/types/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
# Release History
|
|
2
|
+
|
|
3
|
+
## 4.0.0 (2021-12-22)
|
|
2
4
|
|
|
3
|
-
|
|
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
|
-
|
|
7
|
+
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
|
|
6
8
|
|
|
7
|
-
|
|
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
|
-
|
|
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
|
|
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/
|
|
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}`;
|