Skip to content

Commit 77ce169

Browse files
author
SDKAuto
committed
CodeGen from PR 16882 in Azure/azure-rest-api-specs
Merge d2959ed2308f3f04c11c443ffe290a7a14cd90c4 into 85d11472e0e6d69603edb824b40f5fee71e87d2d
1 parent f72c53b commit 77ce169

29 files changed

+561
-1852
lines changed
Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,11 @@
1-
## Release History
1+
# Release History
2+
3+
## 4.0.0-beta.2 (2021-12-09)
24

3-
### 4.0.0-beta.2 (Unreleased)
5+
The package of @azure/arm-botservice is using our next generation design principles since version 4.0.0-beta.2, which contains breaking changes.
46

5-
#### Features Added
7+
To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).
68

7-
#### Breaking Changes
9+
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
810

9-
#### Bugs Fixed
10-
11-
#### Other Changes
12-
13-
### 4.0.0-beta.1 (2021-11-23)
14-
15-
This is the first preview for the new version of the `@azure/arm-botservice` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services.
16-
17-
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/).
18-
19-
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.
20-
21-
**Noteworthy changes and features**
22-
- 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.
23-
- Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
24-
- 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.
25-
- 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`.
26-
- 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).

sdk/botservice/arm-botservice/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Azure Bot Service is a platform for creating smart conversational agents.
66

77
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/botservice/arm-botservice) |
88
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-botservice) |
9-
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-botservice?view=azure-node-preview) |
9+
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-botservice) |
1010
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
1111

1212
## Getting started
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"commit": "b81af692dbb8395672116d85805cbc9ad1432f3b",
2+
"commit": "892aa6e4d8ec4f7ada876f38687ad303a4c25396",
33
"readme": "specification/botservice/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/botservice/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.15.20211116.1",
4+
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/botservice/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211130.1",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"use": "@autorest/typescript@6.0.0-alpha.15.20211116.1"
6+
"use": "@autorest/typescript@6.0.0-alpha.16.20211130.1"
77
}

sdk/botservice/arm-botservice/package.json

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for AzureBotService.",
66
"version": "4.0.0-beta.2",
7-
"engines": {
8-
"node": ">=12.0.0"
9-
},
7+
"engines": { "node": ">=12.0.0" },
108
"dependencies": {
119
"@azure/core-lro": "^2.2.0",
1210
"@azure/abort-controller": "^1.0.0",
@@ -16,13 +14,7 @@
1614
"@azure/core-rest-pipeline": "^1.1.0",
1715
"tslib": "^2.2.0"
1816
},
19-
"keywords": [
20-
"node",
21-
"azure",
22-
"typescript",
23-
"browser",
24-
"isomorphic"
25-
],
17+
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
2618
"license": "MIT",
2719
"main": "./dist/index.js",
2820
"module": "./dist-esm/src/index.js",
@@ -49,9 +41,7 @@
4941
"type": "git",
5042
"url": "https://github.com/Azure/azure-sdk-for-js.git"
5143
},
52-
"bugs": {
53-
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
54-
},
44+
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
5545
"files": [
5646
"dist/**/*.js",
5747
"dist/**/*.js.map",

sdk/botservice/arm-botservice/recordings/node/botservice_test/recording_bots_create_test.js

Lines changed: 0 additions & 143 deletions
This file was deleted.

0 commit comments

Comments
 (0)