Skip to content

Commit

Permalink
Merge pull request #2022 from howdyai/410
Browse files Browse the repository at this point in the history
Version 4.10 WIP
  • Loading branch information
benbrown committed Aug 25, 2020
2 parents 62dc012 + 29ed10c commit 9365023
Show file tree
Hide file tree
Showing 45 changed files with 4,625 additions and 3,094 deletions.
13 changes: 13 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@

[Want to contribute? Read our guide!](https://github.com/howdyai/botkit/blob/master/CONTRIBUTING.md)

# 4.10.0

* Update dependencies to [Bot Framework 4.10.1](https://github.com/microsoft/botbuilder-js/releases/tag/4.10)
* Update some dev dependencies like lerna, eslint, etc.

* NEW: Additional support for Microsoft Teams! [Read all about it](packages/docs/core.md#ms-teams-extensions) or [see these new methods in action](packages/testbot/features/teams_features.js)
* Bot workers spawned from the default adapter now feature `bot.teams` which is an instance to the [TeamsInfo helper class](https://docs.microsoft.com/en-us/javascript/api/botbuilder/teamsinfo?view=botbuilder-ts-latest).
* Botkit now includes an optional middleware [TeamsInvokeMiddleware](packages/docs/reference/core.md#TeamsInvokeMiddleware) for handling "invoke" responses from Teams including task modules.
* Botkit now includes [bot.replyWithTaskInfo()](packages/docs/reference/core.md#replyWithTaskInfo) which can be used to respond to task module events. [Read more about Task Modules](https://docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/what-are-task-modules)

* FIX: Adjust mechanism for handling templates in channelData to avoid data loss. Thanks [@ashitikov](https://github.com/ashitikov) for the [pull request](https://github.com/howdyai/botkit/pull/1979)
* FIX: Botkit will now spawn the appropriate botworker if a custom adapter is passed in. Thanks to [@etiennellipse](https://github.com/etiennellipse) for [reporting this issue](https://github.com/howdyai/botkit/issues/1984)!

# 4.9.0

* Update dependencies to [Bot Framework 4.9](https://github.com/microsoft/botbuilder-js/releases/tag/4.9.0)
Expand Down
2,447 changes: 1,228 additions & 1,219 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.17.0",
"@typescript-eslint/parser": "^2.17.0",
"eslint": "^6.8.0",
"lerna": "^3.21.0",
"mocha": "^7.1.2",
"nyc": "^15.0.1",
"eslint": "^7.7.0",
"lerna": "^3.22.1",
"mocha": "^8.1.1",
"nyc": "^15.1.0",
"typescript": "^3.7.5"
}
}
4 changes: 4 additions & 0 deletions packages/botbuilder-adapter-facebook/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# botbuilder-adapter-facebook changelog

# 1.0.11

* Update dependencies to Botkit 4.10, Bot Framework 4.10

# 1.0.10

* Update dependencies to Botkit 4.9, Bot Framework 4.9
Expand Down
12 changes: 6 additions & 6 deletions packages/botbuilder-adapter-facebook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "botbuilder-adapter-facebook",
"version": "1.0.10",
"version": "1.0.11",
"description": "Connect Botkit or BotBuilder to Facebook Messenger",
"main": "lib/index.js",
"typings": "./lib/index.d.ts",
Expand Down Expand Up @@ -34,15 +34,15 @@
"url": "https://github.com/howdyai/botkit.git"
},
"dependencies": {
"botbuilder": "^4.9.0",
"botkit": "^4.9.0",
"botbuilder": "^4.10.1",
"botkit": "^4.10.0",
"debug": "^4.1.0"
},
"devDependencies": {
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.0",
"eslint": "^7.7.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/botbuilder-adapter-facebook/src/botworker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class FacebookBotWorker extends BotWorker {
* @param userId the PSID of a user the bot has previously interacted with
*/
public async startConversationWithUser(userId): Promise<void> {
return this.changeContext({
await this.changeContext({
channelId: 'facebook',
// @ts-ignore
conversation: { id: userId },
Expand Down
5 changes: 5 additions & 0 deletions packages/botbuilder-adapter-hangouts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# botbuilder-adapter-hangouts changelog


# 1.0.8

* Update dependencies to Botkit 4.10, Bot Framework 4.10

# 1.0.7

* Update dependencies to Botkit 4.9, Bot Framework 4.9
Expand Down
12 changes: 6 additions & 6 deletions packages/botbuilder-adapter-hangouts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "botbuilder-adapter-hangouts",
"version": "1.0.7",
"version": "1.0.8",
"description": "Connect Botkit or BotBuilder to Google Hangouts",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
Expand Down Expand Up @@ -34,16 +34,16 @@
"url": "https://github.com/howdyai/botkit.git"
},
"dependencies": {
"botbuilder": "^4.9.0",
"botbuilder": "^4.10.1",
"googleapis": "^34.0.0",
"botkit": "^4.9.0",
"botkit": "^4.10.0",
"debug": "^4.1.0"
},
"devDependencies": {
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.0",
"eslint": "^7.7.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1"
}
Expand Down
8 changes: 8 additions & 0 deletions packages/botbuilder-adapter-slack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# botbuilder-adapter-slack changelog


# 1.0.13

* Update dependencies to Botkit 4.10, Bot Framework 4.10
* Update @slack/web-api to 5.11.0


# 1.0.12

* Adjust startPrivateConversation to use converations.open instead of im.open


# 1.0.11

* Update dependencies to Botkit 4.9, Bot Framework 4.9
Expand Down

0 comments on commit 9365023

Please sign in to comment.