@azure/arm-cognitiveservices 7.0.0-alpha.20211202.3 → 7.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,16 +1,11 @@
1
1
  # Release History
2
2
 
3
- ## 7.0.0-beta.1 (2021-12-02)
3
+ ## 7.0.0 (2021-12-20)
4
4
 
5
- This is the first preview for the new version of the `@azure/arm-cognitiveservices` 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-cognitiveservices is using our next generation design principles since version 7.0.0, which contains breaking changes.
6
6
 
7
- 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).
8
8
 
9
- 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).
10
10
 
11
- **Noteworthy changes and features**
12
- - 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.
13
- - Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
14
- - 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.
15
- - 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`.
16
- - 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 @@ Cognitive Services Management Client
6
6
 
7
7
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/arm-cognitiveservices) |
8
8
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-cognitiveservices) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-cognitiveservices?view=azure-node-preview) |
9
+ [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-cognitiveservices) |
10
10
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
11
 
12
12
  ## Getting started
package/dist/index.js CHANGED
@@ -4696,7 +4696,7 @@ class CognitiveServicesManagementClient extends coreClient.ServiceClient {
4696
4696
  requestContentType: "application/json; charset=utf-8",
4697
4697
  credential: credentials
4698
4698
  };
4699
- const packageDetails = `azsdk-js-arm-cognitiveservices/7.0.0-beta.1`;
4699
+ const packageDetails = `azsdk-js-arm-cognitiveservices/7.0.0`;
4700
4700
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
4701
4701
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
4702
4702
  : `${packageDetails}`;