Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.7.1 post release package bumps #2740

Merged
merged 7 commits into from
Dec 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 59 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,64 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Added

### Fixed

- Fixes [#2611](https://github.com/microsoft/BotFramework-WebChat/issues/2611). Fix sample 21: hooks errors, by [@corinagum](https://github.com/corinagum) in PR [#2740](https://github.com/microsoft/BotFramework-WebChat/pull/2740)

### Changed

- Bumped all dependencies to latest versions, by [@corinagum](https://github.com/corinagum) in PR [#2740](https://github.com/microsoft/BotFramework-WebChat/pull/2740)
- Development dependencies
- Root package
- `@babel/[email protected]`
- `@babel/[email protected]`
- `@babel/[email protected]`
- `@babel/[email protected]`
- `@babel/[email protected]`
- `@babel/[email protected]`
- `@babel/[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`
- Other packages
- `@babel/[email protected]`
- `@babel/[email protected]`
- `@babel/[email protected]`
- `@babel/[email protected]`
- `@babel/[email protected]`
- `@babel/[email protected]`
- `@babel/[email protected]`
- `@babel/[email protected]`
- `@types/[email protected]`
- `@types/[email protected]`
- `@typescript-eslint/[email protected]`
- `@typescript-eslint/[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`
- Production dependencies
- `core`
- `[email protected]`
- `bundle`
- `@babel/[email protected]`
- `[email protected]`
- `[email protected]`
- `component`
- `[email protected]`
- `embed`
- `@babel/[email protected]`
- `[email protected]`

### Samples

- Bump samples to Web Chat 4.7.0, by [@compulim](https://github.com/compulim) in PR [#2726](https://github.com/Microsoft/BotFramework-WebChat/issues/2726)
Expand All @@ -30,7 +88,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Changed

- Moved `core-js` from dev dependencies to dependencies in `botframework-directlinespeech-sdk` package, by [@tonyanziano](https://github.com/tonyanziano), in PR [#2727](https://github.com/microsoft/BotFramework-WebChat/pull/2727)
- Moved `core-js` from dev dependencies to dependencies in `botframework-directlinespeech-sdk` package, by [@tonyanziano](https://github.com/tonyanziano), in PR [#2727](https://github.com/microsoft/BotFramework-WebChat/pull/2727)

## [4.7.0] - 2019-12-12

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-selenium
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://github.com/SeleniumHQ/docker-selenium
# https://hub.docker.com/r/selenium/standalone-chrome/tags/

FROM selenium/standalone-chrome:3.141.59-xenon
FROM selenium/standalone-chrome:3.141.59-yttrium

ADD __tests__/setup/local ~/Downloads
13 changes: 8 additions & 5 deletions __tests__/hooks/useMarkActivityAsSpoken.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ test('calling markActivityAsSpoken should stop synthesize', async () => {

const [activities] = await pageObjects.runHook('useActivities');

await pageObjects.executePromiseScript(activity => {
return window.WebChatTest.runHook('useMarkActivityAsSpoken').then(markActivityAsSpoken => {
markActivityAsSpoken(activity);
});
}, activities.find(({ from: { role }, speak }) => role === 'bot' && speak));
await pageObjects.executePromiseScript(
activity => {
return window.WebChatTest.runHook('useMarkActivityAsSpoken').then(markActivityAsSpoken => {
markActivityAsSpoken(activity);
});
},
activities.find(({ from: { role }, speak }) => role === 'bot' && speak)
);

const [activitiesAfterMark] = await pageObjects.runHook('useActivities');

Expand Down
5 changes: 4 additions & 1 deletion __tests__/setup/pageObjects/executePromiseScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ export default async function executePromiseScript(driver, fn, ...args) {
(fn, args, callback) => {
eval(`(${fn})`)
.apply(null, args)
.then(result => callback({ result }), error => callback({ error }));
.then(
result => callback({ result }),
error => callback({ error })
);
},
fn + '',
args
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lerna": "3.15.0",
"lerna": "3.19.0",
"packages": [
"packages/*",
"samples/12.customization-minimizable-web-chat",
Expand Down
Loading