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/plugin-proposal-class-properties@7.7.4`
- `@babel/plugin-proposal-object-rest-spread@7.7.4`
- `@babel/plugin-transform-runtime@7.7.6`
- `@babel/preset-env@7.7.6`
- `@babel/preset-react@7.7.4`
- `@babel/preset-typescript@7.7.4`
- `@babel/runtime@7.7.6`
- `core-js@3.5.0`
- `coveralls@3.0.9`
- `husky@3.1.0`
- `jest-image-snapshot@2.11.1`
- `lerna@3.19.0`
- `lint-staged@9.5.0`
- Other packages
- `@babel/cli@7.7.5`
- `@babel/core@7.7.5`
- `@babel/plugin-proposal-class-properties@7.7.4`
- `@babel/plugin-proposal-object-rest-spread@7.7.4`
- `@babel/plugin-transform-runtime@7.7.6`
- `@babel/preset-env@7.7.6`
- `@babel/preset-react@7.7.4`
- `@babel/preset-typescript@7.7.4`
- `@types/node@12.12.18`
- `@types/react@16.8.25`
- `@typescript-eslint/eslint-plugin@2.12.0`
- `@typescript-eslint/parser@2.12.0`
- `copy-webpack-plugin@5.1.1`
- `eslint-plugin-react-hooks@2.3.0`
- `eslint-plugin-react@7.17.0`
- `eslint@6.7.2`
- `http-proxy-middleware@0.20.0`
- `terser-webpack-plugin@2.3.0`
- `typescript@3.7.3`
- `webpack@4.41.3`
- Production dependencies
- `core`
- `math-random@1.0.4`
- `bundle`
- `@babel/runtime@7.7.6`
- `core-js@3.5.0`
- `sanitize-html@1.20.0`
- `component`
- `sanitize-html@1.20.1`
- `embed`
- `@babel/runtime@7.7.6`
- `core-js@3.5.0`

### 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