From b37fb4a362fadd6772943c5ce945b71259679fea Mon Sep 17 00:00:00 2001 From: Corina <14900841+corinagum@users.noreply.github.com> Date: Fri, 29 Jan 2021 12:50:33 -0800 Subject: [PATCH 1/8] Update no screen reader for custom activity middleware --- docs/ACCESSIBILITY.md | 20 ++++++- packages/api/src/hooks/Composer.js | 54 +++++++++++-------- .../src/hooks/middleware/applyMiddleware.js | 14 +++-- .../AdaptiveCardAttachment.js | 18 ++++++- ...vicesSpeechServicesPonyfillFactory.spec.js | 1 + packages/bundle/webpack.config.js | 20 +++++-- .../CardAction/createCoreMiddleware.js | 7 ++- 7 files changed, 97 insertions(+), 37 deletions(-) diff --git a/docs/ACCESSIBILITY.md b/docs/ACCESSIBILITY.md index 848c0f65de..3e8b9f020c 100644 --- a/docs/ACCESSIBILITY.md +++ b/docs/ACCESSIBILITY.md @@ -187,7 +187,7 @@ To make the live region more consistent across browsers and easier to control, w - 0-100 ms: Chrome and TalkBack on Android may miss some of the activities - The development team settled on using one second after some experimentation -## Do and don't +## Do's and don't ### Do @@ -211,6 +211,22 @@ To make the live region more consistent across browsers and easier to control, w - It is okay to disable all buttons, as long as the answer will be read by the screen reader - Related to [#3135](https://github.com/microsoft/BotFramework-WebChat/issues/3135) - Don't move focus when an activity arrives (or asynchronously) - - Screen reader reading will be interrupted when focus change + - Screen reader reading will be interrupted when focus changes - Only change focus synchronous to user gesture - Related to [#3135](https://github.com/microsoft/BotFramework-WebChat/issues/3135) + +# Screen reader renderer for custom activities and attachments + +Web Chat render components are accompanied by a screen reader renderer to maximize accessibility. In the case of custom components, the bot/Web Chat developer will need to implement a screen reader renderer for the equivalent custom visual component. + +![image: Console warning: "No renderer for attachment for screen reader of type "application/mnd.microsoft.card.adaptive"](https://user-images.githubusercontent.com/14900841/106323546-6f47ed80-622c-11eb-96d7-de6f72818525.png) + +The Web Chat team **DOES NOT** recommend disabling warning messages regarding screen readers and accessibility. However, if the developer decides to suppress these messages, it can be done by adding the following code to `attachmentForScreenReaderMiddleware` in the `Composer` props. + +```js +const attachmentForScreenReaderMiddleware = () => next => (...args) => { + return false; +}; +``` + +This will prevent the screen reader renderer warning from appearing in the browser console. diff --git a/packages/api/src/hooks/Composer.js b/packages/api/src/hooks/Composer.js index 94fb0d1070..e760b533ce 100644 --- a/packages/api/src/hooks/Composer.js +++ b/packages/api/src/hooks/Composer.js @@ -92,10 +92,11 @@ function createCardActionContext({ cardActionMiddleware, directLine, dispatch }) const { value } = cardAction; if (directLine.getSessionId) { - // TODO: [P3] We should change this one to async/await. - // This is the first place in this project to use async. - // Thus, we need to add @babel/plugin-transform-runtime and @babel/runtime. - + /** + * @todo TODO: [P3] We should change this one to async/await. + * This is the first place in this project to use async. + * Thus, we need to add @babel/plugin-transform-runtime and @babel/runtime. + */ return observableToPromise(directLine.getSessionId()).then( sessionId => `${value}${encodeURIComponent(`&code_challenge=${sessionId}`)}` ); @@ -211,7 +212,9 @@ const Composer = ({ ); return () => { - // TODO: [P3] disconnect() is an async call (pending -> fulfilled), we need to wait, or change it to reconnect() + /** + * @todo TODO: [P3] disconnect() is an async call (pending -> fulfilled), we need to wait, or change it to reconnect() + */ dispatch(disconnect()); }; }, [dispatch, directLine, userID, username]); @@ -319,12 +322,17 @@ const Composer = ({ 'attachment for screen reader', { strict: true }, ...singleToArray(attachmentForScreenReaderMiddleware), - () => () => ({ attachment }) => () => { + () => () => ({ attachment }) => { if (attachment) { - throw new Error(`No renderer for attachment for screen reader of type "${attachment.contentType}"`); - } else { - throw new Error('No attachment to render'); + console.warn(`No renderer for attachment for screen reader of type "${attachment.contentType}"`); + return false; } + return () => { + /** + * @todo TODO: [P4] Might be able to throw without returning a function -- investigate and possibly fix + */ + throw new Error('No attachment to render'); + }; } )({}), [attachmentForScreenReaderMiddleware] @@ -403,17 +411,18 @@ const Composer = ({ ); }, [typingIndicatorMiddleware, typingIndicatorRenderer]); - // This is a heavy function, and it is expected to be only called when there is a need to recreate business logic, e.g. - // - User ID changed, causing all send* functions to be updated - // - send - - // TODO: [P3] We should think about if we allow the user to change onSendBoxValueChanged/sendBoxValue, e.g. - // 1. Turns text into UPPERCASE - // 2. Filter out profanity - - // TODO: [P4] Revisit all members of context - // This context should consist of members that are not in the Redux store - // i.e. members that are not interested in other types of UIs + /** + * + * This is a heavy function, and it is expected to be only called when there is a need to recreate business logic, e.g. + * - User ID changed, causing all send* functions to be updated + * - send + * @todo TODO: [P3] We should think about if we allow the user to change onSendBoxValueChanged/sendBoxValue, e.g. + * 1. Turns text into UPPERCASE + * 2. Filter out profanity + * @todo TODO: [P4] Revisit all members of context + * This context should consist of members that are not in the Redux store + * i.e. members that are not interested in other types of UIs + */ const context = useMemo( () => ({ ...cardActionContext, @@ -526,11 +535,12 @@ ComposeWithStore.propTypes = { export default ComposeWithStore; -// TODO: [P3] We should consider moving some data from Redux store to props +/** +// @todo TODO: [P3] We should consider moving some data from Redux store to props // Although we use `connectToWebChat` to hide the details of accessor of Redux store, // we should clean up the responsibility between Context and Redux store // We should decide which data is needed for React but not in other environment such as CLI/VSCode - + */ Composer.defaultProps = { activityMiddleware: undefined, activityRenderer: undefined, diff --git a/packages/api/src/hooks/middleware/applyMiddleware.js b/packages/api/src/hooks/middleware/applyMiddleware.js index d3abeaa2dd..091bf7b62f 100644 --- a/packages/api/src/hooks/middleware/applyMiddleware.js +++ b/packages/api/src/hooks/middleware/applyMiddleware.js @@ -10,17 +10,21 @@ export default function applyMiddleware(type, ...middleware) { throw new Error(`reached terminator of ${type}`); }); } - +/** + * + * @param {string} type Required. String equivalent of type of container to be rendered. + * @param { strict = false } - Used to enforce new middleware format which cooperates with new activity grouping. + * @see See {@link https://github.com/microsoft/BotFramework-WebChat/blob/master/CHANGELOG.md#4100---2020-08-18} and {@link https://github.com/microsoft/BotFramework-WebChat/pull/3365} for middleware breaking changes. + * @param {middleware[]} middleware list of middleware to be applied. + * 'createRendererArgs' is "what to render"; for example, an activity. + * @returns Returns a function if there is a renderer *committed* to render OR returns false if nothing should be rendered. + */ export function forRenderer(type, { strict = false } = {}, ...middleware) { return (...setupArgs) => { const runMiddleware = concatMiddleware(...middleware)(...setupArgs)(() => ( )); - // The createRendererArgs is "what to render", for example, activity. - // The function should return with only one of the two results: - // - Returns a function if there is a renderer *committed* to render; - // - Returns false if nothing should be rendered. return (...createRendererArgs) => { try { const render = runMiddleware(...createRendererArgs); diff --git a/packages/bundle/src/adaptiveCards/AttachmentForScreenReader/AdaptiveCardAttachment.js b/packages/bundle/src/adaptiveCards/AttachmentForScreenReader/AdaptiveCardAttachment.js index 1320a2a7f1..daee2ad8a8 100644 --- a/packages/bundle/src/adaptiveCards/AttachmentForScreenReader/AdaptiveCardAttachment.js +++ b/packages/bundle/src/adaptiveCards/AttachmentForScreenReader/AdaptiveCardAttachment.js @@ -1,3 +1,5 @@ +/* eslint-disable react/no-array-index-key */ +/* eslint-disable react/forbid-dom-props */ import { hooks } from 'botframework-webchat-component'; import PropTypes from 'prop-types'; import React, { useMemo } from 'react'; @@ -50,8 +52,9 @@ AdaptiveCardChoiceSetInput.propTypes = { value: PropTypes.any }) ), + defaultValue: PropTypes.any, value: PropTypes.any - }) + }).isRequired }; const AdaptiveCardAttachment = ({ content }) => { @@ -93,7 +96,18 @@ const AdaptiveCardAttachment = ({ content }) => { }); return inputs; - }, [card]); + }, [ + ChoiceSetInput, + DateInput, + NumberInput, + OpenUrlAction, + ShowCardAction, + SubmitAction, + TextInput, + TimeInput, + ToggleInput, + card + ]); const cardLabel = localize('ATTACHMENT_CARD', card.speak || '', '', ''); diff --git a/packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.spec.js b/packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.spec.js index fc474c8111..a22b2687e0 100644 --- a/packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.spec.js +++ b/packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.spec.js @@ -1,3 +1,4 @@ +/* eslint-disable no-global-assign */ let consoleWarns; let createCognitiveServicesSpeechServicesPonyfillFactory; let createPonyfill; diff --git a/packages/bundle/webpack.config.js b/packages/bundle/webpack.config.js index d59ab25b92..268e0d5c7e 100644 --- a/packages/bundle/webpack.config.js +++ b/packages/bundle/webpack.config.js @@ -38,11 +38,23 @@ let config = { ], resolve: { alias: { - 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/Audio/AudioConfig': resolve(__dirname, 'node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/Audio/AudioConfig.js'), + 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/Audio/AudioConfig': resolve( + __dirname, + 'node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/Audio/AudioConfig.js' + ), // TODO: [P1] #3575 Remove the following line when bumping to Speech SDK 1.14.0 or higher - 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.browser/MicAudioSource': resolve(__dirname, 'node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.browser/MicAudioSource.js'), - 'microsoft-cognitiveservices-speech-sdk/distrib/lib/microsoft.cognitiveservices.speech.sdk': resolve(__dirname, 'node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/microsoft.cognitiveservices.speech.sdk.js'), - 'microsoft-cognitiveservices-speech-sdk': resolve(__dirname, 'node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/microsoft.cognitiveservices.speech.sdk.js'), + 'microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.browser/MicAudioSource': resolve( + __dirname, + 'node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.browser/MicAudioSource.js' + ), + 'microsoft-cognitiveservices-speech-sdk/distrib/lib/microsoft.cognitiveservices.speech.sdk': resolve( + __dirname, + 'node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/microsoft.cognitiveservices.speech.sdk.js' + ), + 'microsoft-cognitiveservices-speech-sdk': resolve( + __dirname, + 'node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/microsoft.cognitiveservices.speech.sdk.js' + ), react: resolve(__dirname, 'node_modules/isomorphic-react/dist/react.js'), 'react-dom': resolve(__dirname, 'node_modules/isomorphic-react-dom/dist/react-dom.js') }, diff --git a/packages/component/src/Middleware/CardAction/createCoreMiddleware.js b/packages/component/src/Middleware/CardAction/createCoreMiddleware.js index a7f9e561d4..e9054da0b2 100644 --- a/packages/component/src/Middleware/CardAction/createCoreMiddleware.js +++ b/packages/component/src/Middleware/CardAction/createCoreMiddleware.js @@ -61,9 +61,12 @@ export default function createDefaultCardActionMiddleware() { break; case 'signin': { - // TODO: [P3] We should prime the URL into the OAuthCard directly, instead of calling getSessionId on-demand - // This is to eliminate the delay between window.open() and location.href call + /** + * @todo TODO: [P3] We should prime the URL into the OAuthCard directly, instead of calling getSessionId on-demand + * This is to eliminate the delay between window.open() and location.href call + */ + // eslint-disable-next-line wrap-iife (async function () { const popup = window.open(); const url = await getSignInUrl(); From 414e3228f1b6f04bbb48b507c979d0732e2fe4cb Mon Sep 17 00:00:00 2001 From: Corina <14900841+corinagum@users.noreply.github.com> Date: Fri, 29 Jan 2021 12:52:40 -0800 Subject: [PATCH 2/8] Update CHANGELOG.md --- CHANGELOG.md | 2015 +++++++++++++++++++++++++------------------------- 1 file changed, 1008 insertions(+), 1007 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 015a6a21db..1422795781 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,257 +24,258 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added -- Resolves [#2745](https://github.com/microsoft/BotFramework-WebChat/issues/2745). Added new `inline` layout to suggested actions, by [@compulim](https://github.com/compulim) in PR [#3641](https://github.com/microsoft/BotFramework-WebChat/pull/3641) -- Added new style options to customize auto-scroll, by [@compulim](https://github.com/compulim) in PR [#3653](https://github.com/microsoft/BotFramework-WebChat/pull/3653) - - Set `autoScrollSnapOnActivity` to `true` to pause auto-scroll after more than one activity is shown, or a number to pause after X number of activities - - Set `autoScrollSnapOnPage` to `true` to pause auto-scroll when a page is filled, or a number between `0` and `1` to pause after % of page is filled - - Set `autoScrollSnapOnActivityOffset` and `autoScrollSnapOnPageOffset` to a number (in pixels) to overscroll/underscroll after the pause -- Supports multiple transcripts in a single composition, by [@compulim](https://github.com/compulim) in PR [#3653](https://github.com/microsoft/BotFramework-WebChat/pull/3653) -- Resolves [#3368](https://github.com/microsoft/BotFramework-WebChat/issues/3368). Added new `sendBoxButtonAlignment` for button alignment in multi-line text mode, by [@compulim](https://github.com/compulim) in PR [#3668](https://github.com/microsoft/BotFramework-WebChat/pull/3668) +- Resolves [#2745](https://github.com/microsoft/BotFramework-WebChat/issues/2745). Added new `inline` layout to suggested actions, by [@compulim](https://github.com/compulim) in PR [#3641](https://github.com/microsoft/BotFramework-WebChat/pull/3641) +- Added new style options to customize auto-scroll, by [@compulim](https://github.com/compulim) in PR [#3653](https://github.com/microsoft/BotFramework-WebChat/pull/3653) + - Set `autoScrollSnapOnActivity` to `true` to pause auto-scroll after more than one activity is shown, or a number to pause after X number of activities + - Set `autoScrollSnapOnPage` to `true` to pause auto-scroll when a page is filled, or a number between `0` and `1` to pause after % of page is filled + - Set `autoScrollSnapOnActivityOffset` and `autoScrollSnapOnPageOffset` to a number (in pixels) to overscroll/underscroll after the pause +- Supports multiple transcripts in a single composition, by [@compulim](https://github.com/compulim) in PR [#3653](https://github.com/microsoft/BotFramework-WebChat/pull/3653) +- Resolves [#3368](https://github.com/microsoft/BotFramework-WebChat/issues/3368). Added new `sendBoxButtonAlignment` for button alignment in multi-line text mode, by [@compulim](https://github.com/compulim) in PR [#3668](https://github.com/microsoft/BotFramework-WebChat/pull/3668) ### Fixed -- Fixes [#3278](https://github.com/microsoft/BotFramework-WebChat/issues/3278). Update `HOOKS.md` verbiage, by [@corinagum](https://github.com/corinagum) in PR [#3564](https://github.com/microsoft/BotFramework-WebChat/pull/3564) -- Fixes [#3534](https://github.com/microsoft/BotFramework-WebChat/issues/3534). Remove 2020 deprecations, by [@corinagum](https://github.com/corinagum) in PR [#3564](https://github.com/microsoft/BotFramework-WebChat/pull/3564) -- Fixes [#3561](https://github.com/microsoft/BotFramework-WebChat/issues/3561). Remove MyGet mentions from samples, by [@corinagum](https://github.com/corinagum) in PR [#3564](https://github.com/microsoft/BotFramework-WebChat/pull/3564) -- Fixes [#3537](https://github.com/microsoft/BotFramework-WebChat/issues/3537). Fix some carousels improperly using aria-roledescription, by [@corinagum](https://github.com/corinagum) in PR [#3599](https://github.com/microsoft/BotFramework-WebChat/pull/3599) -- Fixes [#3483](https://github.com/microsoft/BotFramework-WebChat/issues/3483). IE11 anchors fixed to open securely without 'noreferrer' or 'noopener', by [@corinagum](https://github.com/corinagum) in PR [#3607](https://github.com/microsoft/BotFramework-WebChat/pull/3607) -- Fixes [#3565](https://github.com/microsoft/BotFramework-WebChat/issues/3565). Allow strikethrough `` on sanitize markdown, by [@corinagum](https://github.com/corinagum) in PR [#3646](https://github.com/microsoft/BotFramework-WebChat/pull/3646) -- Fixes [#3672](https://github.com/microsoft/BotFramework-WebChat/issues/3672). Center the icon of send box buttons vertically and horizontally, by [@compulim](https://github.com/compulim) in PR [#3673](https://github.com/microsoft/BotFramework-WebChat/pull/3673) -- Fixes [#3683](https://github.com/microsoft/BotFramework-WebChat/issues/3683). Activities should be acknowledged when user scrolls to bottom, by [@compulim](https://github.com/compulim) in PR [#3684](https://github.com/microsoft/BotFramework-WebChat/pull/3684) +- Fixes [#3278](https://github.com/microsoft/BotFramework-WebChat/issues/3278). Update `HOOKS.md` verbiage, by [@corinagum](https://github.com/corinagum) in PR [#3564](https://github.com/microsoft/BotFramework-WebChat/pull/3564) +- Fixes [#3534](https://github.com/microsoft/BotFramework-WebChat/issues/3534). Remove 2020 deprecations, by [@corinagum](https://github.com/corinagum) in PR [#3564](https://github.com/microsoft/BotFramework-WebChat/pull/3564) +- Fixes [#3561](https://github.com/microsoft/BotFramework-WebChat/issues/3561). Remove MyGet mentions from samples, by [@corinagum](https://github.com/corinagum) in PR [#3564](https://github.com/microsoft/BotFramework-WebChat/pull/3564) +- Fixes [#3537](https://github.com/microsoft/BotFramework-WebChat/issues/3537). Fix some carousels improperly using aria-roledescription, by [@corinagum](https://github.com/corinagum) in PR [#3599](https://github.com/microsoft/BotFramework-WebChat/pull/3599) +- Fixes [#3483](https://github.com/microsoft/BotFramework-WebChat/issues/3483). IE11 anchors fixed to open securely without 'noreferrer' or 'noopener', by [@corinagum](https://github.com/corinagum) in PR [#3607](https://github.com/microsoft/BotFramework-WebChat/pull/3607) +- Fixes [#3565](https://github.com/microsoft/BotFramework-WebChat/issues/3565). Allow strikethrough `` on sanitize markdown, by [@corinagum](https://github.com/corinagum) in PR [#3646](https://github.com/microsoft/BotFramework-WebChat/pull/3646) +- Fixes [#3672](https://github.com/microsoft/BotFramework-WebChat/issues/3672). Center the icon of send box buttons vertically and horizontally, by [@compulim](https://github.com/compulim) in PR [#3673](https://github.com/microsoft/BotFramework-WebChat/pull/3673) +- Fixes [#3683](https://github.com/microsoft/BotFramework-WebChat/issues/3683). Activities should be acknowledged when user scrolls to bottom, by [@compulim](https://github.com/compulim) in PR [#3684](https://github.com/microsoft/BotFramework-WebChat/pull/3684) +- Fixes [#3625](https://github.com/microsoft/BotFramework-WebChat/issues/3625). Update 'no screen reader for custom activity middleware' warning and add screen reader renderer documentation to `ACCESSIBILITY.md`, by [@corinagum](https://github.com/corinagum) in PR [#XXX](https://github.com/microsoft/BotFramework-WebChat/pull/XXX) ### Changed -- Bumped all dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#3594](https://github.com/microsoft/BotFramework-WebChat/pull/3594) - - Development dependencies - - [`@babel/cli@7.12.1`](https://npmjs.com/package/@babel/cli) - - [`@babel/core@7.12.3`](https://npmjs.com/package/@babel/core) - - [`@babel/plugin-proposal-class-properties@7.12.1`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) - - [`@babel/plugin-proposal-object-rest-spread@7.12.1`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) - - [`@babel/plugin-transform-runtime@7.12.1`](https://npmjs.com/package/@babel/plugin-transform-runtime) - - [`@babel/preset-env@7.12.1`](https://npmjs.com/package/@babel/preset-env) - - [`@babel/preset-react@7.12.5`](https://npmjs.com/package/@babel/preset-react) - - [`@babel/preset-typescript@7.12.1`](https://npmjs.com/package/@babel/preset-typescript) - - [`@babel/runtime@7.12.5`](https://npmjs.com/package/@babel/runtime) - - [`@types/node@14.14.6`](https://npmjs.com/package/@types/node) - - [`@types/react@16.9.55`](https://npmjs.com/package/@types/react) - - [`@typescript-eslint/eslint-plugin@4.6.1`](https://npmjs.com/package/@typescript-eslint/eslint-plugin) - - [`@typescript-eslint/parser@4.6.1`](https://npmjs.com/package/@typescript-eslint/parser) - - [`babel-jest@26.6.3`](https://npmjs.com/package/babel-jest) - - [`eslint-plugin-prettier@3.1.4`](https://npmjs.com/package/eslint-plugin-prettier) - - [`eslint-plugin-react-hooks@4.2.0`](https://npmjs.com/package/eslint-plugin-react-hooks) - - [`eslint-plugin-react@7.21.5`](https://npmjs.com/package/eslint-plugin-react) - - [`eslint@7.12.1`](https://npmjs.com/package/eslint) - - [`husky@4.3.0`](https://npmjs.com/package/husky) - - [`jest-image-snapshot@4.2.0`](https://npmjs.com/package/jest-image-snapshot) - - [`jest-junit@12.0.0`](https://npmjs.com/package/jest-junit) - - [`jest-trx-results-processor@2.2.0`](https://npmjs.com/package/jest-trx-results-processor) - - [`jest@26.6.3`](https://npmjs.com/package/jest) - - [`lint-staged@10.5.1`](https://npmjs.com/package/lint-staged) - - [`lolex@6.0.0`](https://npmjs.com/package/lolex) - - [`node-dev@6.2.0`](https://npmjs.com/package/node-dev) - - [`node-fetch@2.6.1`](https://npmjs.com/package/node-fetch) - - [`prettier@2.1.2`](https://npmjs.com/package/prettier) - - [`source-map-loader@1.1.2`](https://npmjs.com/package/source-map-loader) - - [`terser-webpack-plugin@4.2.3`](https://npmjs.com/package/terser-webpack-plugin) - - [`typescript@4.0.5`](https://npmjs.com/package/typescript) - - [`webpack-cli@4.2.0`](https://npmjs.com/package/webpack-cli) - - [`webpack-stats-plugin@1.0.2`](https://npmjs.com/package/webpack-stats-plugin) - - [`webpack@4.44.2`](https://npmjs.com/package/webpack) - - Production dependencies - - [`@babel/runtime@7.12.5`](https://npmjs.com/package/@babel/runtime) - - [`globalize@1.6.0`](https://npmjs.com/package/globalize) - - [`markdown-it@12.0.2`](https://npmjs.com/package/markdown-it) - - [`react-redux@7.2.2`](https://npmjs.com/package/react-redux) - - [`redux@4.0.5`](https://npmjs.com/package/redux) - - [`sanitize-html@2.1.2`](https://npmjs.com/package/sanitize-html) - - [`whatwg-fetch@3.4.1`](https://npmjs.com/package/whatwg-fetch) -- [#3392](https://github.com/microsoft/BotFramework-WebChat/issues/3392) Bumped Adaptive Cards to the 2.5.0, by [@corinagum](https://github.com/corinagum) in PR [#3630](https://github.com/microsoft/BotFramework-WebChat/pull/3630) -- Fixes [#3618](https://github.com/microsoft/BotFramework-WebChat/issues/3618). Fix AC anchors being disabled when AC is obsolete, by [@corinagum](https://github.com/johndoe) in PR [#3687](https://github.com/microsoft/BotFramework-WebChat/pull/3687) +- Bumped all dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#3594](https://github.com/microsoft/BotFramework-WebChat/pull/3594) + - Development dependencies + - [`@babel/cli@7.12.1`](https://npmjs.com/package/@babel/cli) + - [`@babel/core@7.12.3`](https://npmjs.com/package/@babel/core) + - [`@babel/plugin-proposal-class-properties@7.12.1`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) + - [`@babel/plugin-proposal-object-rest-spread@7.12.1`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) + - [`@babel/plugin-transform-runtime@7.12.1`](https://npmjs.com/package/@babel/plugin-transform-runtime) + - [`@babel/preset-env@7.12.1`](https://npmjs.com/package/@babel/preset-env) + - [`@babel/preset-react@7.12.5`](https://npmjs.com/package/@babel/preset-react) + - [`@babel/preset-typescript@7.12.1`](https://npmjs.com/package/@babel/preset-typescript) + - [`@babel/runtime@7.12.5`](https://npmjs.com/package/@babel/runtime) + - [`@types/node@14.14.6`](https://npmjs.com/package/@types/node) + - [`@types/react@16.9.55`](https://npmjs.com/package/@types/react) + - [`@typescript-eslint/eslint-plugin@4.6.1`](https://npmjs.com/package/@typescript-eslint/eslint-plugin) + - [`@typescript-eslint/parser@4.6.1`](https://npmjs.com/package/@typescript-eslint/parser) + - [`babel-jest@26.6.3`](https://npmjs.com/package/babel-jest) + - [`eslint-plugin-prettier@3.1.4`](https://npmjs.com/package/eslint-plugin-prettier) + - [`eslint-plugin-react-hooks@4.2.0`](https://npmjs.com/package/eslint-plugin-react-hooks) + - [`eslint-plugin-react@7.21.5`](https://npmjs.com/package/eslint-plugin-react) + - [`eslint@7.12.1`](https://npmjs.com/package/eslint) + - [`husky@4.3.0`](https://npmjs.com/package/husky) + - [`jest-image-snapshot@4.2.0`](https://npmjs.com/package/jest-image-snapshot) + - [`jest-junit@12.0.0`](https://npmjs.com/package/jest-junit) + - [`jest-trx-results-processor@2.2.0`](https://npmjs.com/package/jest-trx-results-processor) + - [`jest@26.6.3`](https://npmjs.com/package/jest) + - [`lint-staged@10.5.1`](https://npmjs.com/package/lint-staged) + - [`lolex@6.0.0`](https://npmjs.com/package/lolex) + - [`node-dev@6.2.0`](https://npmjs.com/package/node-dev) + - [`node-fetch@2.6.1`](https://npmjs.com/package/node-fetch) + - [`prettier@2.1.2`](https://npmjs.com/package/prettier) + - [`source-map-loader@1.1.2`](https://npmjs.com/package/source-map-loader) + - [`terser-webpack-plugin@4.2.3`](https://npmjs.com/package/terser-webpack-plugin) + - [`typescript@4.0.5`](https://npmjs.com/package/typescript) + - [`webpack-cli@4.2.0`](https://npmjs.com/package/webpack-cli) + - [`webpack-stats-plugin@1.0.2`](https://npmjs.com/package/webpack-stats-plugin) + - [`webpack@4.44.2`](https://npmjs.com/package/webpack) + - Production dependencies + - [`@babel/runtime@7.12.5`](https://npmjs.com/package/@babel/runtime) + - [`globalize@1.6.0`](https://npmjs.com/package/globalize) + - [`markdown-it@12.0.2`](https://npmjs.com/package/markdown-it) + - [`react-redux@7.2.2`](https://npmjs.com/package/react-redux) + - [`redux@4.0.5`](https://npmjs.com/package/redux) + - [`sanitize-html@2.1.2`](https://npmjs.com/package/sanitize-html) + - [`whatwg-fetch@3.4.1`](https://npmjs.com/package/whatwg-fetch) +- [#3392](https://github.com/microsoft/BotFramework-WebChat/issues/3392) Bumped Adaptive Cards to the 2.5.0, by [@corinagum](https://github.com/corinagum) in PR [#3630](https://github.com/microsoft/BotFramework-WebChat/pull/3630) +- Fixes [#3618](https://github.com/microsoft/BotFramework-WebChat/issues/3618). Fix AC anchors being disabled when AC is obsolete, by [@corinagum](https://github.com/johndoe) in PR [#3687](https://github.com/microsoft/BotFramework-WebChat/pull/3687) ### Samples -- Fixes [#3473](https://github.com/microsoft/BotFramework-WebChat/issues/3473). Fix samples using activityMiddleware (from 4.10.0 breaking changes), by [@corinagum](https://github.com/corinagum) in PR [#3601](https://github.com/microsoft/BotFramework-WebChat/pull/3601) -- Fixes [#3434](https://github.com/microsoft/BotFramework-WebChat/issues/3434). Dispatched event, postBack, or messageBack + activityMiddleware causes fatal error, by [@amal-khalaf](https://github.com/amal-khalaf) in PR [#3671](https://github.com/microsoft/BotFramework-WebChat/pull/3671) -- Fixes [#3582](https://github.com/microsoft/BotFramework-WebChat/issues/3582). Fix Disable Adaptive Cards sample, by [@corinagum](https://github.com/corinagum) in PR [#3687](https://github.com/microsoft/BotFramework-WebChat/pull/3687) +- Fixes [#3473](https://github.com/microsoft/BotFramework-WebChat/issues/3473). Fix samples using activityMiddleware (from 4.10.0 breaking changes), by [@corinagum](https://github.com/corinagum) in PR [#3601](https://github.com/microsoft/BotFramework-WebChat/pull/3601) +- Fixes [#3582](https://github.com/microsoft/BotFramework-WebChat/issues/3582). Fix Disable Adaptive Cards sample, by [@corinagum](https://github.com/corinagum) in PR [#3687](https://github.com/microsoft/BotFramework-WebChat/pull/3687) +- Fixes [#3434](https://github.com/microsoft/BotFramework-WebChat/issues/3434). Dispatched event, postBack, or messageBack + activityMiddleware causes fatal error, by [@amal-khalaf](https://github.com/amal-khalaf) in PR [#3671](https://github.com/microsoft/BotFramework-WebChat/pull/3671) ## [4.11.0] - 2020-11-04 ### Added -- Resolves [#3281](https://github.com/microsoft/BotFramework-WebChat/issues/3281). Added documentation on speech permissions for Cordova apps on Android, by [@corinagum](https://github.com/corinagum), in PR [#3508](https://github.com/microsoft/BotFramework-WebChat/pull/3508) -- Resolves [#3316](https://github.com/microsoft/BotFramework-WebChat/issues/3316). Refactored platform-neutral APIs into the new `api` package, to be reused on React Native component, in PR [#3543](https://github.com/microsoft/BotFramework-WebChat/pull/3543) by [@compulim](https://github.com/compulim) - - The new layering is `core` -> `api` -> `component` (HTML-only) -> `bundle` - - Includes composition mode, platform-neutral React hooks, and localization resources - - Most hooks are available in the new `api` package. Some hooks are only available on the existing `component` package, due to their platform dependency or coupling with visual components. For example, Web Worker, 2D canvas, `useMicrophoneButton*` are not available on the `api` package - - Most implementations of middleware are only available in `component` package due to their coupling with visual components or platform features. Some implementations, (e.g. card action middleware and activity grouping middleware) are available on `api` package. For example: - - Carousel layout and stacked layout is only available on `component` package due to their coupling with their respective visual components - - For card action middleware, `imBack`, `messageBack` and `postBack` actions are available on `api` package, but `call`, `openUrl` and other platform-dependent actions are only available on `component` package - - `activityMiddleware`, `attachmentMiddleware`, etc, now support arrays for multiple middleware -- Resolves [#3535](https://github.com/microsoft/BotFramework-WebChat/issues/3535). Add Technical Support Guide for guidance on troubleshooting information and navigating the Web Chat repository, by [@corinagum](https://github.com/corinagum), in PR [#3645](https://github.com/microsoft/BotFramework-WebChat/pull/3645) +- Resolves [#3281](https://github.com/microsoft/BotFramework-WebChat/issues/3281). Added documentation on speech permissions for Cordova apps on Android, by [@corinagum](https://github.com/corinagum), in PR [#3508](https://github.com/microsoft/BotFramework-WebChat/pull/3508) +- Resolves [#3316](https://github.com/microsoft/BotFramework-WebChat/issues/3316). Refactored platform-neutral APIs into the new `api` package, to be reused on React Native component, in PR [#3543](https://github.com/microsoft/BotFramework-WebChat/pull/3543) by [@compulim](https://github.com/compulim) + - The new layering is `core` -> `api` -> `component` (HTML-only) -> `bundle` + - Includes composition mode, platform-neutral React hooks, and localization resources + - Most hooks are available in the new `api` package. Some hooks are only available on the existing `component` package, due to their platform dependency or coupling with visual components. For example, Web Worker, 2D canvas, `useMicrophoneButton*` are not available on the `api` package + - Most implementations of middleware are only available in `component` package due to their coupling with visual components or platform features. Some implementations, (e.g. card action middleware and activity grouping middleware) are available on `api` package. For example: + - Carousel layout and stacked layout is only available on `component` package due to their coupling with their respective visual components + - For card action middleware, `imBack`, `messageBack` and `postBack` actions are available on `api` package, but `call`, `openUrl` and other platform-dependent actions are only available on `component` package + - `activityMiddleware`, `attachmentMiddleware`, etc, now support arrays for multiple middleware +- Resolves [#3535](https://github.com/microsoft/BotFramework-WebChat/issues/3535). Add Technical Support Guide for guidance on troubleshooting information and navigating the Web Chat repository, by [@corinagum](https://github.com/corinagum), in PR [#3645](https://github.com/microsoft/BotFramework-WebChat/pull/3645) ### Fixed -- Fixes [#3489](https://github.com/microsoft/BotFramework-WebChat/issues/3489). [Accessibility]: Fix AT saying 'Bot undefined said', by [@corinagum](https://github.com/corinagum) in PR [#3524](https://github.com/microsoft/BotFramework-WebChat/pull/3524) -- Fixes [#3547](https://github.com/microsoft/BotFramework-WebChat/issues/3547). [Accessibility]: Add attachment middleware for screen reader, by [@compulim](https://github.com/compulim) in PR [#3548](https://github.com/microsoft/BotFramework-WebChat/pull/3548) -- Fixes [#3371](https://github.com/microsoft/BotFramework-WebChat/issues/3371). [Accessibility]: Add alt property for image in HeroCards, by [@corinagum](https://github.com/corinagum) in PR [#3541](https://github.com/microsoft/BotFramework-WebChat/pull/3541) -- Fixes [#3310](https://github.com/microsoft/BotFramework-WebChat/issues/3310). Add quantity, tap and text field to ReceiptCards, by [@corinagum](https://github.com/corinagum) in PR [#3541](https://github.com/microsoft/BotFramework-WebChat/pull/3541) -- Fixes [#3514](https://github.com/microsoft/BotFramework-WebChat/issues/3514). Fix PoliCheck language errors, by [@corinagum](https://github.com/corinagum) in PR [#3545](https://github.com/microsoft/BotFramework-WebChat/pull/3545) -- Fixes [#3537](https://github.com/microsoft/BotFramework-WebChat/issues/3537). [Accessibility]: Ensure `aria-roledescription` is only used on elements with implicit/explicit role based off of [WAI ARIA role attributes](https://www.w3.org/WAI/PF/aria/roles), by [@corinagum](https://github.com/corinagum) in PR [#3551](https://github.com/microsoft/BotFramework-WebChat/pull/3551), [#3583](https://github.com/microsoft/BotFramework-WebChat/pull/3583), and [#3587](https://github.com/microsoft/BotFramework-WebChat/pull/3587) -- Fixes [#3431](https://github.com/microsoft/BotFramework-WebChat/issues/3431). Activities should not be delayed due to missing activity of type "typing", by [@compulim](https://github.com/compulim) in PR [#3554](https://github.com/microsoft/BotFramework-WebChat/pull/3554) -- Fixes [#3574](https://github.com/microsoft/BotFramework-WebChat/issues/3574). Creates workaround for Cognitive Services Speech SDK 1.13.1 regarding removed support of macOS/iOS, by [@compulim](https://github.com/compulim) in PR [#3576](https://github.com/microsoft/BotFramework-WebChat/pull/3576) -- Fixes [#3570](https://github.com/microsoft/BotFramework-WebChat/issues/3570). Adaptive Card `speak` property should be narrated by screen reader, by [@compulim](https://github.com/compulim) in PR [#3573](https://github.com/microsoft/BotFramework-WebChat/pull/3573) and PR [#3584](https://github.com/microsoft/BotFramework-WebChat/pull/3584) -- Fixes [#3571](https://github.com/microsoft/BotFramework-WebChat/issues/3571). Error box should be hidden for Adaptive Card renderer when running in production mode, by [@compulim](https://github.com/compulim) in PR [#3573](https://github.com/microsoft/BotFramework-WebChat/pull/3573) +- Fixes [#3489](https://github.com/microsoft/BotFramework-WebChat/issues/3489). [Accessibility]: Fix AT saying 'Bot undefined said', by [@corinagum](https://github.com/corinagum) in PR [#3524](https://github.com/microsoft/BotFramework-WebChat/pull/3524) +- Fixes [#3547](https://github.com/microsoft/BotFramework-WebChat/issues/3547). [Accessibility]: Add attachment middleware for screen reader, by [@compulim](https://github.com/compulim) in PR [#3548](https://github.com/microsoft/BotFramework-WebChat/pull/3548) +- Fixes [#3371](https://github.com/microsoft/BotFramework-WebChat/issues/3371). [Accessibility]: Add alt property for image in HeroCards, by [@corinagum](https://github.com/corinagum) in PR [#3541](https://github.com/microsoft/BotFramework-WebChat/pull/3541) +- Fixes [#3310](https://github.com/microsoft/BotFramework-WebChat/issues/3310). Add quantity, tap and text field to ReceiptCards, by [@corinagum](https://github.com/corinagum) in PR [#3541](https://github.com/microsoft/BotFramework-WebChat/pull/3541) +- Fixes [#3514](https://github.com/microsoft/BotFramework-WebChat/issues/3514). Fix PoliCheck language errors, by [@corinagum](https://github.com/corinagum) in PR [#3545](https://github.com/microsoft/BotFramework-WebChat/pull/3545) +- Fixes [#3537](https://github.com/microsoft/BotFramework-WebChat/issues/3537). [Accessibility]: Ensure `aria-roledescription` is only used on elements with implicit/explicit role based off of [WAI ARIA role attributes](https://www.w3.org/WAI/PF/aria/roles), by [@corinagum](https://github.com/corinagum) in PR [#3551](https://github.com/microsoft/BotFramework-WebChat/pull/3551), [#3583](https://github.com/microsoft/BotFramework-WebChat/pull/3583), and [#3587](https://github.com/microsoft/BotFramework-WebChat/pull/3587) +- Fixes [#3431](https://github.com/microsoft/BotFramework-WebChat/issues/3431). Activities should not be delayed due to missing activity of type "typing", by [@compulim](https://github.com/compulim) in PR [#3554](https://github.com/microsoft/BotFramework-WebChat/pull/3554) +- Fixes [#3574](https://github.com/microsoft/BotFramework-WebChat/issues/3574). Creates workaround for Cognitive Services Speech SDK 1.13.1 regarding removed support of macOS/iOS, by [@compulim](https://github.com/compulim) in PR [#3576](https://github.com/microsoft/BotFramework-WebChat/pull/3576) +- Fixes [#3570](https://github.com/microsoft/BotFramework-WebChat/issues/3570). Adaptive Card `speak` property should be narrated by screen reader, by [@compulim](https://github.com/compulim) in PR [#3573](https://github.com/microsoft/BotFramework-WebChat/pull/3573) and PR [#3584](https://github.com/microsoft/BotFramework-WebChat/pull/3584) +- Fixes [#3571](https://github.com/microsoft/BotFramework-WebChat/issues/3571). Error box should be hidden for Adaptive Card renderer when running in production mode, by [@compulim](https://github.com/compulim) in PR [#3573](https://github.com/microsoft/BotFramework-WebChat/pull/3573) ### Changed -- Bumped development dependency [`node-fetch@2.6.1`](https://npmjs.com/package/node-fetch) in PR [#3467](https://github.com/microsoft/BotFramework-WebChat/pull/3467) by [@dependabot](https://github.com/dependabot) -- Bumped Cognitive Services Speech SDK to 1.13.1, by [@compulim](https://github.com/compulim) in PR [#3432](https://github.com/microsoft/BotFramework-WebChat/pull/3432) - - [`microsoft-cognitiveservices-speech-sdk@1.13.1`](https://npmjs.com/package/microsoft-cognitiveservices-speech-sdk) +- Bumped development dependency [`node-fetch@2.6.1`](https://npmjs.com/package/node-fetch) in PR [#3467](https://github.com/microsoft/BotFramework-WebChat/pull/3467) by [@dependabot](https://github.com/dependabot) +- Bumped Cognitive Services Speech SDK to 1.13.1, by [@compulim](https://github.com/compulim) in PR [#3432](https://github.com/microsoft/BotFramework-WebChat/pull/3432) + - [`microsoft-cognitiveservices-speech-sdk@1.13.1`](https://npmjs.com/package/microsoft-cognitiveservices-speech-sdk) ### Samples -- Fixes [#3526](https://github.com/microsoft/BotFramework-WebChat/issues/3526). Add info on composition mode in sample 06.d, by [@corinagum](https://github.com/corinagum) in PR [#3541](https://github.com/microsoft/BotFramework-WebChat/pull/3541) +- Fixes [#3526](https://github.com/microsoft/BotFramework-WebChat/issues/3526). Add info on composition mode in sample 06.d, by [@corinagum](https://github.com/corinagum) in PR [#3541](https://github.com/microsoft/BotFramework-WebChat/pull/3541) ## [4.10.1] - 2020-09-09 ### Breaking changes -- To support Content Security Policy, [`glamor`](https://npmjs.com/package/glamor) is being replaced by [`create-emotion`](https://npmjs.com/package/create-emotion). The CSS hash and rule name is being prefixed with `webchat--css` with a random value. +- To support Content Security Policy, [`glamor`](https://npmjs.com/package/glamor) is being replaced by [`create-emotion`](https://npmjs.com/package/create-emotion). The CSS hash and rule name is being prefixed with `webchat--css` with a random value. ### Fixed -- Fixes [#3431](https://github.com/microsoft/BotFramework-WebChat/issues/3431). Removed delay of first activity with `replyToId` pointing to a missing activity, by [@compulim](https://github.com/compulim) in PR [#3450](https://github.com/microsoft/BotFramework-WebChat/pull/3450) -- Fixes [#3439](https://github.com/microsoft/BotFramework-WebChat/issues/3439). Use consistent return type in default CardActionContext.getSignInUrl(), by [@stevengum](https://github.com/stevengum) in PR [#3459](https://github.com/microsoft/BotFramework-WebChat/pull/3459) -- Fixes [#3444](https://github.com/microsoft/BotFramework-WebChat/issues/3444). Make suggested actions container height styleOption flexible, by [@corinagum](https://github.com/corinagum) in PR [#3456](https://github.com/microsoft/BotFramework-WebChat/pull/3456) +- Fixes [#3431](https://github.com/microsoft/BotFramework-WebChat/issues/3431). Removed delay of first activity with `replyToId` pointing to a missing activity, by [@compulim](https://github.com/compulim) in PR [#3450](https://github.com/microsoft/BotFramework-WebChat/pull/3450) +- Fixes [#3439](https://github.com/microsoft/BotFramework-WebChat/issues/3439). Use consistent return type in default CardActionContext.getSignInUrl(), by [@stevengum](https://github.com/stevengum) in PR [#3459](https://github.com/microsoft/BotFramework-WebChat/pull/3459) +- Fixes [#3444](https://github.com/microsoft/BotFramework-WebChat/issues/3444). Make suggested actions container height styleOption flexible, by [@corinagum](https://github.com/corinagum) in PR [#3456](https://github.com/microsoft/BotFramework-WebChat/pull/3456) ### Changed -- Bumped [`botframework-directlinejs@0.13.1`](https://npmjs.com/package/botframework-directlinejs), by [@compulim](https://github.com/compulim) in PR [#3461](https://github.com/microsoft/BotFramework-WebChat/pull/3461) -- Support Content Security Policy, in PR [#3443](https://github.com/microsoft/BotFramework-WebChat/pull/3443) by [@compulim](https://github.com/compulim) - - Moved from [`glamor@2.20.40`](https://npmjs.com/package/glamor) to [`create-emotion@10.0.27`](https://npmjs.com/package/create-emotion) - - Inlined assets are now using `blob:` scheme, instead of `data:` scheme - - Detect Web Worker support by loading a dummy Web Worker, instead of checking `window.MessagePort` and `window.Worker` - - Data URI used in image of attachments will be converted to URL with scheme of `blob:` - - Bumped dependencies - - [`react-film@3.0.0`](https://npmjs.com/package/react-film) - - [`react-scroll-to-bottom@4.0.0`](https://npmjs.com/package/react-scroll-to-bottom) -- Bumped all dependencies to the latest versions, by [@corinagum](https://github.com/corinagum) in PR [#3380](https://github.com/microsoft/BotFramework-WebChat/pull/3380), [#3442](https://github.com/microsoft/BotFramework-WebChat/pull/3442) - - Development dependencies - - Root package - - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) - - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) - - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) - - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) - - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) - - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) - - [`@babel/runtime@7.11.2`](https://npmjs.com/package/@babel/runtime) - - [`babel-jest@26.4.0`](https://npmjs.com/package/babel-jest) - - [`concurrently@5.3.0`](https://npmjs.com/package/concurrently) - - [`core-js@3.6.5`](https://npmjs.com/package/core-js) - - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) - - [`husky@4.2.5`](https://npmjs.com/package/husky) - - [`jest@26.2.2`](https://npmjs.com/package/jest) - - [`jest-image-snapshot@4.1.0`](https://npmjs.com/package/jest-image-snapshot) - - [`jest-junit@11.1.0`](https://npmjs.com/package/jest-junit) - - [`jest-trx-results-processor@2.0.3`](https://npmjs.com/package/jest-trx-results-processor) - - [`lerna@3.22.1`](https://npmjs.com/package/lerna) - - [`lint-staged@10.2.13`](https://npmjs.com/package/lint-staged) - - [`prettier@2.0.5`](https://npmjs.com/package/prettier) - - [`serve@11.3.2`](https://npmjs.com/package/serve) - - [`serve-handler@6.1.3`](https://npmjs.com/package/serve-handler) - - Removed unused package [`@azure/storage-blob@12.1.0`](https://npmjs.com/package/@azure/storage-blob) - - Other packages - - [`@babel/cli@7.10.5`](https://npmjs.com/package/@babel/cli) - - [`@babel/core@7.11.0`](https://npmjs.com/package/@babel/core) - - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) - - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) - - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) - - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) - - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) - - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) - - [`@types/node@14.6.0`](https://npmjs.com/package/@types/node) - - [`@types/react@16.9.47`](https://npmjs.com/package/@types/react) - - [`@typescript-eslint/eslint-plugin@3.10.1`](https://npmjs.com/package/@typescript-eslint/eslint-plugin) - - [`@typescript-eslint/parser@3.10.1`](https://npmjs.com/package/@typescript-eslint/parser) - - [`babel-jest@26.2.2`](https://npmjs.com/package/babel-jest) - - [`concurrently@5.3.0`](https://npmjs.com/package/concurrently) - - [`copy-webpack-plugin@6.0.3`](https://npmjs.com/package/copy-webpack-plugin) - - [`core-js@3.6.5`](https://npmjs.com/package/core-js) - - [`cross-env@7.0.2`](https://npmjs.com/package/cross-env) - - [`css-loader@4.2.0`](https://npmjs.com/package/css-loader) - - [`eslint-plugin-prettier@3.1.4`](https://npmjs.com/package/eslint-plugin-prettier) - - [`eslint-plugin-react-hooks@4.1.0`](https://npmjs.com/package/eslint-plugin-react-hooks) - - [`eslint-plugin-react@7.20.6`](https://npmjs.com/package/eslint-plugin-react) - - [`eslint@7.7.0`](https://npmjs.com/package/eslint) - - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) - - [`globalize-compiler@1.1.1`](https://npmjs.com/package/globalize-compiler) - - [`html-webpack-plugin@4.3.0`](https://npmjs.com/package/html-webpack-plugin) - - [`http-proxy-middleware@1.0.5`](https://npmjs.com/package/http-proxy-middleware) - - [`jest@26.2.2`](https://npmjs.com/package/jest) - - [`node-dev@5.2.0`](https://npmjs.com/package/node-dev) - - [`prettier@2.1.1`](https://npmjs.com/package/prettier) - - [`pug@3.0.0`](https://npmjs.com/package/pug) - - [`serve@11.3.2`](https://npmjs.com/package/serve) - - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) - - [`source-map-loader@1.0.2`](https://npmjs.com/package/source-map-loader) - - [`terser-webpack-plugin@4.1.0`](https://npmjs.com/package/terser-webpack-plugin) - - [`typescript@4.0.2`](https://npmjs.com/package/typescript) - - [`webpack-cli@3.3.12`](https://npmjs.com/package/webpack-cli) - - [`webpack-stats-plugin@0.3.2`](https://npmjs.com/package/webpack-stats-plugin) - - [`webpack@4.44.1`](https://npmjs.com/package/webpack) - - Production dependencies - - [`@babel/plugin-proposal-async-generator-functions@7.10.5`](https://npmjs.com/package/@babel/plugin-proposal-async-generator-functions) - - [`@babel/runtime@7.11.2`](https://npmjs.com/package/@babel/runtime) - - [`@babel/standalone@7.11.0`](https://npmjs.com/package/@babel/standalone) - - [`abort-controller-es5@1.2.0`](https://npmjs.com/package/abort-controller-es5) - - [`botframework-directlinejs@0.13.0`](https://npmjs.com/package/botframework-directlinejs) - - [`core-js@3.6.5`](https://npmjs.com/package/core-js) - - [`event-iterator@2.0.0`](https://npmjs.com/package/event-iterator) - - [`event-target-shim-es5@1.2.0`](https://npmjs.com/package/event-target-shim-es5) - - [`expect@25.5.0`](https://npmjs.com/package/expect) - - [`globalize@1.5.0`](https://npmjs.com/package/globalize) - - [`markdown-it-attrs-es5@1.2.0`](https://npmjs.com/package/markdown-it-attrs-es5) - - [`markdown-it-attrs@3.0.3`](https://npmjs.com/package/markdown-it-attrs) - - [`markdown-it@11.0.0`](https://npmjs.com/package/markdown-it) - - [`math-random@2.0.1`](https://npmjs.com/package/math-random) - - [`memoize-one@5.1.1`](https://npmjs.com/package/memoize-one) - - [`mime@2.4.6`](https://npmjs.com/package/mime) - - [`on-error-resume-next@1.1.0`](https://npmjs.com/package/on-error-resume-next) - - [`p-defer@3.0.0`](https://npmjs.com/package/p-defer) - - [`p-defer-es5@1.2.1`](https://npmjs.com/package/p-defer-es5) - - [`react-say@2.0.2-master.ee7cd76`](https://npmjs.com/package/react-say) - - [`react-scroll-to-bottom@3.0.1-master.9e2b9d8`](https://npmjs.com/package/react-scroll-to-bottom) - - [`sanitize-html@1.27.4`](https://npmjs.com/package/sanitize-html) - - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) - - [`url-search-params-polyfill@8.1.0`](https://npmjs.com/package/url-search-params-polyfill) - - [`web-speech-cognitive-services@7.0.2-master.6004e4b`](https://npmjs.com/package/web-speech-cognitive-services) - - [`whatwg-fetch@3.4.0`](https://npmjs.com/package/whatwg-fetch) +- Bumped [`botframework-directlinejs@0.13.1`](https://npmjs.com/package/botframework-directlinejs), by [@compulim](https://github.com/compulim) in PR [#3461](https://github.com/microsoft/BotFramework-WebChat/pull/3461) +- Support Content Security Policy, in PR [#3443](https://github.com/microsoft/BotFramework-WebChat/pull/3443) by [@compulim](https://github.com/compulim) + - Moved from [`glamor@2.20.40`](https://npmjs.com/package/glamor) to [`create-emotion@10.0.27`](https://npmjs.com/package/create-emotion) + - Inlined assets are now using `blob:` scheme, instead of `data:` scheme + - Detect Web Worker support by loading a dummy Web Worker, instead of checking `window.MessagePort` and `window.Worker` + - Data URI used in image of attachments will be converted to URL with scheme of `blob:` + - Bumped dependencies + - [`react-film@3.0.0`](https://npmjs.com/package/react-film) + - [`react-scroll-to-bottom@4.0.0`](https://npmjs.com/package/react-scroll-to-bottom) +- Bumped all dependencies to the latest versions, by [@corinagum](https://github.com/corinagum) in PR [#3380](https://github.com/microsoft/BotFramework-WebChat/pull/3380), [#3442](https://github.com/microsoft/BotFramework-WebChat/pull/3442) + - Development dependencies + - Root package + - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) + - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) + - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) + - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) + - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) + - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) + - [`@babel/runtime@7.11.2`](https://npmjs.com/package/@babel/runtime) + - [`babel-jest@26.4.0`](https://npmjs.com/package/babel-jest) + - [`concurrently@5.3.0`](https://npmjs.com/package/concurrently) + - [`core-js@3.6.5`](https://npmjs.com/package/core-js) + - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) + - [`husky@4.2.5`](https://npmjs.com/package/husky) + - [`jest@26.2.2`](https://npmjs.com/package/jest) + - [`jest-image-snapshot@4.1.0`](https://npmjs.com/package/jest-image-snapshot) + - [`jest-junit@11.1.0`](https://npmjs.com/package/jest-junit) + - [`jest-trx-results-processor@2.0.3`](https://npmjs.com/package/jest-trx-results-processor) + - [`lerna@3.22.1`](https://npmjs.com/package/lerna) + - [`lint-staged@10.2.13`](https://npmjs.com/package/lint-staged) + - [`prettier@2.0.5`](https://npmjs.com/package/prettier) + - [`serve@11.3.2`](https://npmjs.com/package/serve) + - [`serve-handler@6.1.3`](https://npmjs.com/package/serve-handler) + - Removed unused package [`@azure/storage-blob@12.1.0`](https://npmjs.com/package/@azure/storage-blob) + - Other packages + - [`@babel/cli@7.10.5`](https://npmjs.com/package/@babel/cli) + - [`@babel/core@7.11.0`](https://npmjs.com/package/@babel/core) + - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) + - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) + - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) + - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) + - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) + - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) + - [`@types/node@14.6.0`](https://npmjs.com/package/@types/node) + - [`@types/react@16.9.47`](https://npmjs.com/package/@types/react) + - [`@typescript-eslint/eslint-plugin@3.10.1`](https://npmjs.com/package/@typescript-eslint/eslint-plugin) + - [`@typescript-eslint/parser@3.10.1`](https://npmjs.com/package/@typescript-eslint/parser) + - [`babel-jest@26.2.2`](https://npmjs.com/package/babel-jest) + - [`concurrently@5.3.0`](https://npmjs.com/package/concurrently) + - [`copy-webpack-plugin@6.0.3`](https://npmjs.com/package/copy-webpack-plugin) + - [`core-js@3.6.5`](https://npmjs.com/package/core-js) + - [`cross-env@7.0.2`](https://npmjs.com/package/cross-env) + - [`css-loader@4.2.0`](https://npmjs.com/package/css-loader) + - [`eslint-plugin-prettier@3.1.4`](https://npmjs.com/package/eslint-plugin-prettier) + - [`eslint-plugin-react-hooks@4.1.0`](https://npmjs.com/package/eslint-plugin-react-hooks) + - [`eslint-plugin-react@7.20.6`](https://npmjs.com/package/eslint-plugin-react) + - [`eslint@7.7.0`](https://npmjs.com/package/eslint) + - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) + - [`globalize-compiler@1.1.1`](https://npmjs.com/package/globalize-compiler) + - [`html-webpack-plugin@4.3.0`](https://npmjs.com/package/html-webpack-plugin) + - [`http-proxy-middleware@1.0.5`](https://npmjs.com/package/http-proxy-middleware) + - [`jest@26.2.2`](https://npmjs.com/package/jest) + - [`node-dev@5.2.0`](https://npmjs.com/package/node-dev) + - [`prettier@2.1.1`](https://npmjs.com/package/prettier) + - [`pug@3.0.0`](https://npmjs.com/package/pug) + - [`serve@11.3.2`](https://npmjs.com/package/serve) + - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) + - [`source-map-loader@1.0.2`](https://npmjs.com/package/source-map-loader) + - [`terser-webpack-plugin@4.1.0`](https://npmjs.com/package/terser-webpack-plugin) + - [`typescript@4.0.2`](https://npmjs.com/package/typescript) + - [`webpack-cli@3.3.12`](https://npmjs.com/package/webpack-cli) + - [`webpack-stats-plugin@0.3.2`](https://npmjs.com/package/webpack-stats-plugin) + - [`webpack@4.44.1`](https://npmjs.com/package/webpack) + - Production dependencies + - [`@babel/plugin-proposal-async-generator-functions@7.10.5`](https://npmjs.com/package/@babel/plugin-proposal-async-generator-functions) + - [`@babel/runtime@7.11.2`](https://npmjs.com/package/@babel/runtime) + - [`@babel/standalone@7.11.0`](https://npmjs.com/package/@babel/standalone) + - [`abort-controller-es5@1.2.0`](https://npmjs.com/package/abort-controller-es5) + - [`botframework-directlinejs@0.13.0`](https://npmjs.com/package/botframework-directlinejs) + - [`core-js@3.6.5`](https://npmjs.com/package/core-js) + - [`event-iterator@2.0.0`](https://npmjs.com/package/event-iterator) + - [`event-target-shim-es5@1.2.0`](https://npmjs.com/package/event-target-shim-es5) + - [`expect@25.5.0`](https://npmjs.com/package/expect) + - [`globalize@1.5.0`](https://npmjs.com/package/globalize) + - [`markdown-it-attrs-es5@1.2.0`](https://npmjs.com/package/markdown-it-attrs-es5) + - [`markdown-it-attrs@3.0.3`](https://npmjs.com/package/markdown-it-attrs) + - [`markdown-it@11.0.0`](https://npmjs.com/package/markdown-it) + - [`math-random@2.0.1`](https://npmjs.com/package/math-random) + - [`memoize-one@5.1.1`](https://npmjs.com/package/memoize-one) + - [`mime@2.4.6`](https://npmjs.com/package/mime) + - [`on-error-resume-next@1.1.0`](https://npmjs.com/package/on-error-resume-next) + - [`p-defer@3.0.0`](https://npmjs.com/package/p-defer) + - [`p-defer-es5@1.2.1`](https://npmjs.com/package/p-defer-es5) + - [`react-say@2.0.2-master.ee7cd76`](https://npmjs.com/package/react-say) + - [`react-scroll-to-bottom@3.0.1-master.9e2b9d8`](https://npmjs.com/package/react-scroll-to-bottom) + - [`sanitize-html@1.27.4`](https://npmjs.com/package/sanitize-html) + - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) + - [`url-search-params-polyfill@8.1.0`](https://npmjs.com/package/url-search-params-polyfill) + - [`web-speech-cognitive-services@7.0.2-master.6004e4b`](https://npmjs.com/package/web-speech-cognitive-services) + - [`whatwg-fetch@3.4.0`](https://npmjs.com/package/whatwg-fetch) ### Samples -- Added Content Security Policy sample, by [@compulim](https://github.com/compulim), in PR [#3443](https://github.com/microsoft/BotFramework-WebChat/pull/3443) -- Update `create-react-app`-based samples to resolve `p-defer` as peer dependency, by [@compulim](https://github.com/compulim), in PR [#3457](https://github.com/microsoft/BotFramework-WebChat/pull/3457) -- Bump [`encoding@0.1.13`](https://npmjs.com/package/encoding) in [`06.recomposing-ui/c.smart-display`](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/06.recomposing-ui/c.smart-display), by [@compulim](https://github.com/compulim), in PR [#3458](https://github.com/microsoft/BotFramework-WebChat/pull/3458) +- Added Content Security Policy sample, by [@compulim](https://github.com/compulim), in PR [#3443](https://github.com/microsoft/BotFramework-WebChat/pull/3443) +- Update `create-react-app`-based samples to resolve `p-defer` as peer dependency, by [@compulim](https://github.com/compulim), in PR [#3457](https://github.com/microsoft/BotFramework-WebChat/pull/3457) +- Bump [`encoding@0.1.13`](https://npmjs.com/package/encoding) in [`06.recomposing-ui/c.smart-display`](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/06.recomposing-ui/c.smart-display), by [@compulim](https://github.com/compulim), in PR [#3458](https://github.com/microsoft/BotFramework-WebChat/pull/3458) ## [4.10.0] - 2020-08-18 ### Breaking changes -- Due to the complexity, we are no longer exposing `` and ``. Please use `` to render the transcript instead. -- With the new activity grouping feature: - - Customized avatar cannot be wider than `styleOptions.avatarSize`. If you want to show a wider avatar, please increase `styleOptions.avatarSize`. - - If customized avatar is rendering `false`, bubble will still be padded to leave a gutter for the empty customized avatar. To hide gutter, please set `styleOptions.botAvatarInitials` and `styleOptions.userAvatarInitials` to falsy. -- Default bubble nub offset is set to `0`, previously `"bottom"` (or `-0`) - - Previously, we put the bubble nub at the bottom while keeping the avatar on top. This is not consistent in the new layout. -- By default, we will group avatar per status group. - - If you want to switch back to previous behaviors, please set `styleOptions.showAvatarInGroup` to `true`. -- Default `botAvatarInitials` and `userAvatarInitials` is changed to `undefined`, from `""` (empty string) - - When the initials is `undefined`, no gutter space will be reserved for the avatar. - - When the initials is `""` (empty string), gutter space will be reserved, but not avatar will be shown. -- [`useRenderActivity`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#userenderactivity) hook is being deprecated, in favor of the new [`useCreateActivityRenderer`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#usecreateactivityrenderer) hook. -- [`useRenderActivityStatus`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#userenderactivitystatus) hook is being deprecated, in favor of the new [`useCreateActivityStatusRenderer`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#usecreateactivitystatusrenderer) hook. -- [`useRenderAvatar`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#userenderavatar) hook is being deprecated, in favor of the new [`useCreateAvatarRenderer`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#usecreateavatarrenderer) hook. +- Due to the complexity, we are no longer exposing `` and ``. Please use `` to render the transcript instead. +- With the new activity grouping feature: + - Customized avatar cannot be wider than `styleOptions.avatarSize`. If you want to show a wider avatar, please increase `styleOptions.avatarSize`. + - If customized avatar is rendering `false`, bubble will still be padded to leave a gutter for the empty customized avatar. To hide gutter, please set `styleOptions.botAvatarInitials` and `styleOptions.userAvatarInitials` to falsy. +- Default bubble nub offset is set to `0`, previously `"bottom"` (or `-0`) + - Previously, we put the bubble nub at the bottom while keeping the avatar on top. This is not consistent in the new layout. +- By default, we will group avatar per status group. + - If you want to switch back to previous behaviors, please set `styleOptions.showAvatarInGroup` to `true`. +- Default `botAvatarInitials` and `userAvatarInitials` is changed to `undefined`, from `""` (empty string) + - When the initials is `undefined`, no gutter space will be reserved for the avatar. + - When the initials is `""` (empty string), gutter space will be reserved, but not avatar will be shown. +- [`useRenderActivity`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#userenderactivity) hook is being deprecated, in favor of the new [`useCreateActivityRenderer`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#usecreateactivityrenderer) hook. +- [`useRenderActivityStatus`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#userenderactivitystatus) hook is being deprecated, in favor of the new [`useCreateActivityStatusRenderer`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#usecreateactivitystatusrenderer) hook. +- [`useRenderAvatar`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#userenderavatar) hook is being deprecated, in favor of the new [`useCreateAvatarRenderer`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#usecreateavatarrenderer) hook. #### Change in general middleware design @@ -361,993 +362,993 @@ It should check the result from downstream middleware. If it is falsy, it should ### Changed -- Bumped all dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#3380](https://github.com/microsoft/BotFramework-WebChat/pull/3380), [#3388](https://github.com/microsoft/BotFramework-WebChat/pull/3388), and [#3418](https://github.com/microsoft/BotFramework-WebChat/pull/3418) - - Development dependencies - - Root package - - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) - - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) - - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) - - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) - - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) - - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) - - [`@babel/runtime@7.11.0`](https://npmjs.com/package/@babel/runtime) - - [`babel-jest@26.2.2`](https://npmjs.com/package/babel-jest) - - [`concurrently@5.2.0`](https://npmjs.com/package/concurrently) - - [`core-js@3.6.5`](https://npmjs.com/package/core-js) - - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) - - [`husky@4.2.5`](https://npmjs.com/package/husky) - - [`jest@26.2.2`](https://npmjs.com/package/jest) - - [`jest-image-snapshot@4.1.0`](https://npmjs.com/package/jest-image-snapshot) - - [`jest-junit@11.1.0`](https://npmjs.com/package/jest-junit) - - [`jest-trx-results-processor@2.0.3`](https://npmjs.com/package/jest-trx-results-processor) - - [`lerna@3.22.1`](https://npmjs.com/package/lerna) - - [`lint-staged@10.2.11`](https://npmjs.com/package/lint-staged) - - [`prettier@2.0.5`](https://npmjs.com/package/prettier) - - [`serve@11.3.2`](https://npmjs.com/package/serve) - - [`serve-handler@6.1.3`](https://npmjs.com/package/serve-handler) - - Removed unused package [`@azure/storage-blob@12.1.0`](https://npmjs.com/package/@azure/storage-blob) - - Other packages - - [`@babel/cli@7.10.5`](https://npmjs.com/package/@babel/cli) - - [`@babel/core@7.11.0`](https://npmjs.com/package/@babel/core) - - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) - - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) - - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) - - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) - - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) - - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) - - [`@types/node@14.0.27`](https://npmjs.com/package/@types/node) - - [`@typescript-eslint/eslint-plugin@3.8.0`](https://npmjs.com/package/@typescript-eslint/eslint-plugin) - - [`@typescript-eslint/parser@3.8.0`](https://npmjs.com/package/@typescript-eslint/parser) - - [`babel-jest@26.2.2`](https://npmjs.com/package/babel-jest) - - [`concurrently@5.2.0`](https://npmjs.com/package/concurrently) - - [`copy-webpack-plugin@6.0.3`](https://npmjs.com/package/copy-webpack-plugin) - - [`core-js@3.6.5`](https://npmjs.com/package/core-js) - - [`cross-env@7.0.2`](https://npmjs.com/package/cross-env) - - [`css-loader@4.2.0`](https://npmjs.com/package/css-loader) - - [`eslint-plugin-prettier@3.1.4`](https://npmjs.com/package/eslint-plugin-prettier) - - [`eslint-plugin-react-hooks@4.0.8`](https://npmjs.com/package/eslint-plugin-react-hooks) - - [`eslint-plugin-react@7.20.5`](https://npmjs.com/package/eslint-plugin-react) - - [`eslint@7.6.0`](https://npmjs.com/package/eslint) - - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) - - [`globalize-compiler@1.1.1`](https://npmjs.com/package/globalize-compiler) - - [`html-webpack-plugin@4.3.0`](https://npmjs.com/package/html-webpack-plugin) - - [`http-proxy-middleware@1.0.5`](https://npmjs.com/package/http-proxy-middleware) - - [`jest@26.2.2`](https://npmjs.com/package/jest) - - [`node-dev@5.1.0`](https://npmjs.com/package/node-dev) - - [`prettier@2.0.5`](https://npmjs.com/package/prettier) - - [`pug@3.0.0`](https://npmjs.com/package/pug) - - [`serve@11.3.2`](https://npmjs.com/package/serve) - - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) - - [`source-map-loader@1.0.1`](https://npmjs.com/package/source-map-loader) - - [`terser-webpack-plugin@3.1.0`](https://npmjs.com/package/terser-webpack-plugin) - - [`typescript@3.9.7`](https://npmjs.com/package/typescript) - - [`webpack-cli@3.3.12`](https://npmjs.com/package/webpack-cli) - - [`webpack-stats-plugin@0.3.2`](https://npmjs.com/package/webpack-stats-plugin) - - [`webpack@4.44.1`](https://npmjs.com/package/webpack) - - Production dependencies - - [`@babel/plugin-proposal-async-generator-functions@7.10.5`](https://npmjs.com/package/@babel/plugin-proposal-async-generator-functions) - - [`@babel/runtime@7.11.0`](https://npmjs.com/package/@babel/runtime) - - [`@babel/standalone@7.11.0`](https://npmjs.com/package/@babel/standalone) - - [`abort-controller-es5@1.2.0`](https://npmjs.com/package/abort-controller-es5) - - [`botframework-directlinejs@0.13.0`](https://npmjs.com/package/botframework-directlinejs) - - [`core-js@3.6.5`](https://npmjs.com/package/core-js) - - [`event-iterator@2.0.0`](https://npmjs.com/package/event-iterator) - - [`event-target-shim-es5@1.2.0`](https://npmjs.com/package/event-target-shim-es5) - - [`expect@25.5.0`](https://npmjs.com/package/expect) - - [`globalize@1.5.0`](https://npmjs.com/package/globalize) - - [`markdown-it-attrs-es5@1.2.0`](https://npmjs.com/package/markdown-it-attrs-es5) - - [`markdown-it-attrs@3.0.3`](https://npmjs.com/package/markdown-it-attrs) - - [`markdown-it@11.0.0`](https://npmjs.com/package/markdown-it) - - [`math-random@2.0.0`](https://npmjs.com/package/math-random) - - [`memoize-one@5.1.1`](https://npmjs.com/package/memoize-one) - - [`on-error-resume-next@1.1.0`](https://npmjs.com/package/on-error-resume-next) - - [`p-defer-es5@1.2.1`](https://npmjs.com/package/p-defer-es5) - - [`react-say@2.0.1`](https://npmjs.com/package/react-say) - - [`sanitize-html@1.27.2`](https://npmjs.com/package/sanitize-html) - - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) - - [`url-search-params-polyfill@8.1.0`](https://npmjs.com/package/url-search-params-polyfill) - - [`web-speech-cognitive-services@7.0.1`](https://npmjs.com/package/web-speech-cognitive-services) - - [`whatwg-fetch@3.2.0`](https://npmjs.com/package/whatwg-fetch) +- Bumped all dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#3380](https://github.com/microsoft/BotFramework-WebChat/pull/3380), [#3388](https://github.com/microsoft/BotFramework-WebChat/pull/3388), and [#3418](https://github.com/microsoft/BotFramework-WebChat/pull/3418) + - Development dependencies + - Root package + - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) + - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) + - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) + - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) + - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) + - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) + - [`@babel/runtime@7.11.0`](https://npmjs.com/package/@babel/runtime) + - [`babel-jest@26.2.2`](https://npmjs.com/package/babel-jest) + - [`concurrently@5.2.0`](https://npmjs.com/package/concurrently) + - [`core-js@3.6.5`](https://npmjs.com/package/core-js) + - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) + - [`husky@4.2.5`](https://npmjs.com/package/husky) + - [`jest@26.2.2`](https://npmjs.com/package/jest) + - [`jest-image-snapshot@4.1.0`](https://npmjs.com/package/jest-image-snapshot) + - [`jest-junit@11.1.0`](https://npmjs.com/package/jest-junit) + - [`jest-trx-results-processor@2.0.3`](https://npmjs.com/package/jest-trx-results-processor) + - [`lerna@3.22.1`](https://npmjs.com/package/lerna) + - [`lint-staged@10.2.11`](https://npmjs.com/package/lint-staged) + - [`prettier@2.0.5`](https://npmjs.com/package/prettier) + - [`serve@11.3.2`](https://npmjs.com/package/serve) + - [`serve-handler@6.1.3`](https://npmjs.com/package/serve-handler) + - Removed unused package [`@azure/storage-blob@12.1.0`](https://npmjs.com/package/@azure/storage-blob) + - Other packages + - [`@babel/cli@7.10.5`](https://npmjs.com/package/@babel/cli) + - [`@babel/core@7.11.0`](https://npmjs.com/package/@babel/core) + - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) + - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) + - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) + - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) + - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) + - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) + - [`@types/node@14.0.27`](https://npmjs.com/package/@types/node) + - [`@typescript-eslint/eslint-plugin@3.8.0`](https://npmjs.com/package/@typescript-eslint/eslint-plugin) + - [`@typescript-eslint/parser@3.8.0`](https://npmjs.com/package/@typescript-eslint/parser) + - [`babel-jest@26.2.2`](https://npmjs.com/package/babel-jest) + - [`concurrently@5.2.0`](https://npmjs.com/package/concurrently) + - [`copy-webpack-plugin@6.0.3`](https://npmjs.com/package/copy-webpack-plugin) + - [`core-js@3.6.5`](https://npmjs.com/package/core-js) + - [`cross-env@7.0.2`](https://npmjs.com/package/cross-env) + - [`css-loader@4.2.0`](https://npmjs.com/package/css-loader) + - [`eslint-plugin-prettier@3.1.4`](https://npmjs.com/package/eslint-plugin-prettier) + - [`eslint-plugin-react-hooks@4.0.8`](https://npmjs.com/package/eslint-plugin-react-hooks) + - [`eslint-plugin-react@7.20.5`](https://npmjs.com/package/eslint-plugin-react) + - [`eslint@7.6.0`](https://npmjs.com/package/eslint) + - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) + - [`globalize-compiler@1.1.1`](https://npmjs.com/package/globalize-compiler) + - [`html-webpack-plugin@4.3.0`](https://npmjs.com/package/html-webpack-plugin) + - [`http-proxy-middleware@1.0.5`](https://npmjs.com/package/http-proxy-middleware) + - [`jest@26.2.2`](https://npmjs.com/package/jest) + - [`node-dev@5.1.0`](https://npmjs.com/package/node-dev) + - [`prettier@2.0.5`](https://npmjs.com/package/prettier) + - [`pug@3.0.0`](https://npmjs.com/package/pug) + - [`serve@11.3.2`](https://npmjs.com/package/serve) + - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) + - [`source-map-loader@1.0.1`](https://npmjs.com/package/source-map-loader) + - [`terser-webpack-plugin@3.1.0`](https://npmjs.com/package/terser-webpack-plugin) + - [`typescript@3.9.7`](https://npmjs.com/package/typescript) + - [`webpack-cli@3.3.12`](https://npmjs.com/package/webpack-cli) + - [`webpack-stats-plugin@0.3.2`](https://npmjs.com/package/webpack-stats-plugin) + - [`webpack@4.44.1`](https://npmjs.com/package/webpack) + - Production dependencies + - [`@babel/plugin-proposal-async-generator-functions@7.10.5`](https://npmjs.com/package/@babel/plugin-proposal-async-generator-functions) + - [`@babel/runtime@7.11.0`](https://npmjs.com/package/@babel/runtime) + - [`@babel/standalone@7.11.0`](https://npmjs.com/package/@babel/standalone) + - [`abort-controller-es5@1.2.0`](https://npmjs.com/package/abort-controller-es5) + - [`botframework-directlinejs@0.13.0`](https://npmjs.com/package/botframework-directlinejs) + - [`core-js@3.6.5`](https://npmjs.com/package/core-js) + - [`event-iterator@2.0.0`](https://npmjs.com/package/event-iterator) + - [`event-target-shim-es5@1.2.0`](https://npmjs.com/package/event-target-shim-es5) + - [`expect@25.5.0`](https://npmjs.com/package/expect) + - [`globalize@1.5.0`](https://npmjs.com/package/globalize) + - [`markdown-it-attrs-es5@1.2.0`](https://npmjs.com/package/markdown-it-attrs-es5) + - [`markdown-it-attrs@3.0.3`](https://npmjs.com/package/markdown-it-attrs) + - [`markdown-it@11.0.0`](https://npmjs.com/package/markdown-it) + - [`math-random@2.0.0`](https://npmjs.com/package/math-random) + - [`memoize-one@5.1.1`](https://npmjs.com/package/memoize-one) + - [`on-error-resume-next@1.1.0`](https://npmjs.com/package/on-error-resume-next) + - [`p-defer-es5@1.2.1`](https://npmjs.com/package/p-defer-es5) + - [`react-say@2.0.1`](https://npmjs.com/package/react-say) + - [`sanitize-html@1.27.2`](https://npmjs.com/package/sanitize-html) + - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) + - [`url-search-params-polyfill@8.1.0`](https://npmjs.com/package/url-search-params-polyfill) + - [`web-speech-cognitive-services@7.0.1`](https://npmjs.com/package/web-speech-cognitive-services) + - [`whatwg-fetch@3.2.0`](https://npmjs.com/package/whatwg-fetch) ### Added -- Resolves [#3250](https://github.com/microsoft/BotFramework-WebChat/issues/3250). Added activity grouping feature, by [@compulim](https://github.com/compulim), in PR [#3365](https://github.com/microsoft/BotFramework-WebChat/pull/3365) -- Resolves [#3354](https://github.com/microsoft/BotFramework-WebChat/issues/3354). Added access key (ALT + SHIFT + A for Windows and CTRL + OPTION + A for Mac) to suggested actions, by [@compulim](https://github.com/compulim), in PR [#3367](https://github.com/microsoft/BotFramework-WebChat/pull/3367) -- Resolves [#3247](https://github.com/microsoft/BotFramework-WebChat/issues/3247). Support activity ID on `useObserveScrollPosition` and `useScrollTo` hook, by [@compulim](https://github.com/compulim), in PR [#3372](https://github.com/microsoft/BotFramework-WebChat/pull/3372) -- Added support for [Redux DevTools](https://github.com/zalmoxisus/redux-devtools-extension), by [@tpdewolf](https://github.com/tpdewolf) and [@compulim](https://github.com/compulim), in PR [#3277](https://github.com/microsoft/BotFramework-WebChat/pull/3277) -- Resolves [#3249](https://github.com/microsoft/BotFramework-WebChat/issues/3249). Convert typed emoticons into Emoji, by [@corinagum](https://github.com/corinagum) and [@compulim](https://github.com/compulim), in PR [#3405](https://github.com/microsoft/BotFramework-WebChat/pull/3405) +- Resolves [#3250](https://github.com/microsoft/BotFramework-WebChat/issues/3250). Added activity grouping feature, by [@compulim](https://github.com/compulim), in PR [#3365](https://github.com/microsoft/BotFramework-WebChat/pull/3365) +- Resolves [#3354](https://github.com/microsoft/BotFramework-WebChat/issues/3354). Added access key (ALT + SHIFT + A for Windows and CTRL + OPTION + A for Mac) to suggested actions, by [@compulim](https://github.com/compulim), in PR [#3367](https://github.com/microsoft/BotFramework-WebChat/pull/3367) +- Resolves [#3247](https://github.com/microsoft/BotFramework-WebChat/issues/3247). Support activity ID on `useObserveScrollPosition` and `useScrollTo` hook, by [@compulim](https://github.com/compulim), in PR [#3372](https://github.com/microsoft/BotFramework-WebChat/pull/3372) +- Added support for [Redux DevTools](https://github.com/zalmoxisus/redux-devtools-extension), by [@tpdewolf](https://github.com/tpdewolf) and [@compulim](https://github.com/compulim), in PR [#3277](https://github.com/microsoft/BotFramework-WebChat/pull/3277) +- Resolves [#3249](https://github.com/microsoft/BotFramework-WebChat/issues/3249). Convert typed emoticons into Emoji, by [@corinagum](https://github.com/corinagum) and [@compulim](https://github.com/compulim), in PR [#3405](https://github.com/microsoft/BotFramework-WebChat/pull/3405) ### Fixed -- Fixes [#2675](https://github.com/microsoft/BotFramework-WebChat/issues/2675). Added alt text to images in suggested actions, by [@compulim](https://github.com/compulim) in PR [#3375](https://github.com/microsoft/BotFramework-WebChat/pull/3375) -- Fixes [#3383](https://github.com/microsoft/BotFramework-WebChat/issues/3383). Fixed notification toast should not break when most fields are `undefined`, by [@compulim](https://github.com/compulim) in PR [#3384](https://github.com/microsoft/BotFramework-WebChat/issues/3384) +- Fixes [#2675](https://github.com/microsoft/BotFramework-WebChat/issues/2675). Added alt text to images in suggested actions, by [@compulim](https://github.com/compulim) in PR [#3375](https://github.com/microsoft/BotFramework-WebChat/pull/3375) +- Fixes [#3383](https://github.com/microsoft/BotFramework-WebChat/issues/3383). Fixed notification toast should not break when most fields are `undefined`, by [@compulim](https://github.com/compulim) in PR [#3384](https://github.com/microsoft/BotFramework-WebChat/issues/3384) ### Samples -- Fixes [#2828](https://github.com/microsoft.com/BotFramework-WebChat/issues/2828). Updated [`04.api/h.clear-after-idle` sample](https://microsoft.github.io/BotFramework-WebChat/04.api/h.clear-after-idle/), by [@compulim](https://github.com/compulim), in PR [#3376](https://github.com/microsoft/BotFramework-WebChat/pull/3376) -- Added custom Emoji set sample, by [@corinagum](https://github.com/corinagum), in PR [#3405](https://github.com/microsoft/BotFramework-WebChat/pull/3405) +- Fixes [#2828](https://github.com/microsoft.com/BotFramework-WebChat/issues/2828). Updated [`04.api/h.clear-after-idle` sample](https://microsoft.github.io/BotFramework-WebChat/04.api/h.clear-after-idle/), by [@compulim](https://github.com/compulim), in PR [#3376](https://github.com/microsoft/BotFramework-WebChat/pull/3376) +- Added custom Emoji set sample, by [@corinagum](https://github.com/corinagum), in PR [#3405](https://github.com/microsoft/BotFramework-WebChat/pull/3405) ## [4.9.2] - 2020-07-14 ### Added -- Resolves [#3182](https://github.com/microsoft/BotFramework-WebChat/issues/3182). Added stacked suggested actions height properties, by [@corinagum](https://github.com/corinagum), in PR [#3235](https://github.com/microsoft/BotFramework-WebChat/pull/3235) -- Localized strings in Cantonese (`yue`), by [@compulim](https://github.com/compulim), in PR [#3289](https://github.com/microsoft/BotFramework-WebChat/pull/3289) +- Resolves [#3182](https://github.com/microsoft/BotFramework-WebChat/issues/3182). Added stacked suggested actions height properties, by [@corinagum](https://github.com/corinagum), in PR [#3235](https://github.com/microsoft/BotFramework-WebChat/pull/3235) +- Localized strings in Cantonese (`yue`), by [@compulim](https://github.com/compulim), in PR [#3289](https://github.com/microsoft/BotFramework-WebChat/pull/3289) ### Fixed -- Fixes [#3265](https://github.com/microsoft/BotFramework-WebChat/issues/3265). Fix styling specificity regression on microphone button, by [@corinagum](https://github.com/corinagum) in PR [#3276](https://github.com/microsoft/BotFramework-WebChat/pull/3276) -- Fixes [#3279](https://github.com/microsoft/BotFramework-WebChat/issues/3279). Fix relative timestamp errored out when showing a time before yesterday, by [@compulim](https://github.com/compulim) in PR [#3282](https://github.com/microsoft/BotFramework-WebChat/pull/3282) -- Fixes [#3236](https://github.com/microsoft/BotFramework-WebChat/issues/3236), by [@compulim](https://github.com/compulim) in PR [#3287](https://github.com/microsoft/BotFramework-WebChat/pull/3287) - - Isolated screen reader only live region for incoming activities and added a new `` component - - Removed screen reader text for activities outside of live region, including ``, ``, ``, and `` - - Updated some accessibility texts - - Rectified activities render order by delaying activities with `replyToId` that reference an activity which is not ACK-ed, for up to 5 seconds - - Disabled widgets will have `tabindex="-1"` set, instead of `disabled` attribute - - Remove `tabindex="-1"` from Adaptive Cards container - - Hide activities of type `invoke` -- Fixes [#3294](https://github.com/microsoft/BotFramework-WebChat/issues/3294). Fix blank screen on missing middlewares, by [@compulim](https://github.com/compulim) in PR [#3295](https://github.com/microsoft/BotFramework-WebChat/pull/3295) -- Fixes [#3297](https://github.com/microsoft/BotFramework-WebChat/issues/3297). Fix `className` prop is not honored in ``, by [@compulim](https://github.com/compulim) in PR [#3300](https://github.com/microsoft/BotFramework-WebChat/pull/3300) +- Fixes [#3265](https://github.com/microsoft/BotFramework-WebChat/issues/3265). Fix styling specificity regression on microphone button, by [@corinagum](https://github.com/corinagum) in PR [#3276](https://github.com/microsoft/BotFramework-WebChat/pull/3276) +- Fixes [#3279](https://github.com/microsoft/BotFramework-WebChat/issues/3279). Fix relative timestamp errored out when showing a time before yesterday, by [@compulim](https://github.com/compulim) in PR [#3282](https://github.com/microsoft/BotFramework-WebChat/pull/3282) +- Fixes [#3236](https://github.com/microsoft/BotFramework-WebChat/issues/3236), by [@compulim](https://github.com/compulim) in PR [#3287](https://github.com/microsoft/BotFramework-WebChat/pull/3287) + - Isolated screen reader only live region for incoming activities and added a new `` component + - Removed screen reader text for activities outside of live region, including ``, ``, ``, and `` + - Updated some accessibility texts + - Rectified activities render order by delaying activities with `replyToId` that reference an activity which is not ACK-ed, for up to 5 seconds + - Disabled widgets will have `tabindex="-1"` set, instead of `disabled` attribute + - Remove `tabindex="-1"` from Adaptive Cards container + - Hide activities of type `invoke` +- Fixes [#3294](https://github.com/microsoft/BotFramework-WebChat/issues/3294). Fix blank screen on missing middlewares, by [@compulim](https://github.com/compulim) in PR [#3295](https://github.com/microsoft/BotFramework-WebChat/pull/3295) +- Fixes [#3297](https://github.com/microsoft/BotFramework-WebChat/issues/3297). Fix `className` prop is not honored in ``, by [@compulim](https://github.com/compulim) in PR [#3300](https://github.com/microsoft/BotFramework-WebChat/pull/3300) ### Samples -- Resolves [#3218](https://github.com/microsoft/BotFramework-WebChat/issues/3218) and [#2811](https://github.com/microsoft/BotFramework-WebChat/issues/2811). Adds documentation on reconnecting to a conversation in minimizable sample, by [@corinagum](https://github.com/corinagum), in PR [#3239](https://github.com/microsoft/BotFramework-WebChat/pull/3239) -- Resolves [#2939](https://github.com/microsoft/BotFramework-WebChat/issues/2939). Sample for activity grouping, by [@compulim](https://github.com/compulim), in PR [#3415](https://github.com/microsoft/BotFramework-WebChat/pull/3415) +- Resolves [#3218](https://github.com/microsoft/BotFramework-WebChat/issues/3218) and [#2811](https://github.com/microsoft/BotFramework-WebChat/issues/2811). Adds documentation on reconnecting to a conversation in minimizable sample, by [@corinagum](https://github.com/corinagum), in PR [#3239](https://github.com/microsoft/BotFramework-WebChat/pull/3239) +- Resolves [#2939](https://github.com/microsoft/BotFramework-WebChat/issues/2939). Sample for activity grouping, by [@compulim](https://github.com/compulim), in PR [#3415](https://github.com/microsoft/BotFramework-WebChat/pull/3415) ### [4.9.1] - 2020-06-09 ### Breaking changes -- Affecting Adaptive Cards, legacy cards and suggested actions - - For `openUrl` card action, we are now allow-listing the URL scheme using the same allow list from the default Markdown + sanitize engine, which includes `data`, `http`, `https`, `ftp`, `mailto`, `sip`, and `tel` - - To allow-list a different set of URL schemes, please implement the card action middleware to override this behavior +- Affecting Adaptive Cards, legacy cards and suggested actions + - For `openUrl` card action, we are now allow-listing the URL scheme using the same allow list from the default Markdown + sanitize engine, which includes `data`, `http`, `https`, `ftp`, `mailto`, `sip`, and `tel` + - To allow-list a different set of URL schemes, please implement the card action middleware to override this behavior ### Added -- Resolves [#3205](https://github.com/microsoft/BotFramework-WebChat/issues/3205). Added Direct Line App Service Extension protocol, by [@compulim](https://github.com/compulim) in PR [#3206](https://github.com/microsoft/BotFramework-WebChat/pull/3206) -- Resolves [#3225](https://github.com/microsoft/BotFramework-WebChat/issues/3225). Support allowed scheme with `openUrl` card action, by [@compulim](https://github.com/compulim) in PR [#3226](https://github.com/microsoft/BotFramework-WebChat/pull/3226) -- Resolves [#3252](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added `useObserveScrollPosition` and `useScrollTo` hooks, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) -- Resolves [#3271](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added composition mode, which splits up `` into `` and ``, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) +- Resolves [#3205](https://github.com/microsoft/BotFramework-WebChat/issues/3205). Added Direct Line App Service Extension protocol, by [@compulim](https://github.com/compulim) in PR [#3206](https://github.com/microsoft/BotFramework-WebChat/pull/3206) +- Resolves [#3225](https://github.com/microsoft/BotFramework-WebChat/issues/3225). Support allowed scheme with `openUrl` card action, by [@compulim](https://github.com/compulim) in PR [#3226](https://github.com/microsoft/BotFramework-WebChat/pull/3226) +- Resolves [#3252](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added `useObserveScrollPosition` and `useScrollTo` hooks, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) +- Resolves [#3271](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added composition mode, which splits up `` into `` and ``, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) ### Fixed -- Fixes [#1340](https://github.com/microsoft/BotFramework-WebChat/issues/1340). Card container should not be focusable if they do not have `tapAction`, by [@compulim](https://github.com/compulim) in PR [#3193](https://github.com/microsoft/BotFramework-WebChat/pull/3193) -- Fixed [#3196](https://github.com/microsoft/BotFramework-WebChat/issues/3196). Cards with `tapAction` should be executable by ENTER or SPACEBAR key, by [@compulim](https://github.com/compulim) in PR [#3197](https://github.com/microsoft/BotFramework-WebChat/pull/3197) -- Fixed [#3203](https://github.com/microsoft/BotFramework-WebChat/issues/3203). "New messages" button should be narrated by assistive technology, by [@compulim](https://github.com/compulim) in PR [#3204](https://github.com/microsoft/BotFramework-WebChat/pull/3204) -- Fixed [#3217](https://github.com/microsoft/BotFramework-WebChat/issues/3217). Make sure `rel="noopener noreferrer` is not sanitized, by [@compulim](https://github.com/compulim) in PR [#3220](https://github.com/microsoft/BotFramework-WebChat/pull/3220) -- Fixed [#3223](https://github.com/microsoft/BotFramework-WebChat/issues/3223). Tap an `openUrl` card action should open URL in a new tab with `noopener noreferrer` set, by [@compulim](https://github.com/compulim) in PR [#3224](https://github.com/microsoft/BotFramework-WebChat/pull/3224) +- Fixes [#1340](https://github.com/microsoft/BotFramework-WebChat/issues/1340). Card container should not be focusable if they do not have `tapAction`, by [@compulim](https://github.com/compulim) in PR [#3193](https://github.com/microsoft/BotFramework-WebChat/pull/3193) +- Fixed [#3196](https://github.com/microsoft/BotFramework-WebChat/issues/3196). Cards with `tapAction` should be executable by ENTER or SPACEBAR key, by [@compulim](https://github.com/compulim) in PR [#3197](https://github.com/microsoft/BotFramework-WebChat/pull/3197) +- Fixed [#3203](https://github.com/microsoft/BotFramework-WebChat/issues/3203). "New messages" button should be narrated by assistive technology, by [@compulim](https://github.com/compulim) in PR [#3204](https://github.com/microsoft/BotFramework-WebChat/pull/3204) +- Fixed [#3217](https://github.com/microsoft/BotFramework-WebChat/issues/3217). Make sure `rel="noopener noreferrer` is not sanitized, by [@compulim](https://github.com/compulim) in PR [#3220](https://github.com/microsoft/BotFramework-WebChat/pull/3220) +- Fixed [#3223](https://github.com/microsoft/BotFramework-WebChat/issues/3223). Tap an `openUrl` card action should open URL in a new tab with `noopener noreferrer` set, by [@compulim](https://github.com/compulim) in PR [#3224](https://github.com/microsoft/BotFramework-WebChat/pull/3224) ### Changed -- Bumped Adaptive Cards dependencies, by [@compulim](https://github.com/compulim) in PR [#3193](https://github.com/microsoft/BotFramework-WebChat/pull/3193) - - [`adaptivecards@1.2.6`](https://npmjs.com/package/adaptivecards) -- Bumped dependencies due to [a bug in Babel and Node.js](https://github.com/nodejs/node/issues/32852), by [@compulim](https://github.com/compulim) in PR [#3177](https://github.com/microsoft/BotFramework-WebChat/pull/3177) - - Development dependencies - - [`@babel/preset-env@7.10.0`](https://npmjs.com/package/@babel/preset-env) - - Production dependencies - - [`abort-controller-es5@1.1.0`](https://npmjs.com/package/abort-controller-es5) - - [`event-target-shim-es5@1.1.0`](https://npmjs.com/package/event-target-shim-es5) - - [`markdown-it-attrs-es5@1.1.0`](https://npmjs.com/package/markdown-it-attrs-es5) - - [`p-defer-es5@1.1.0`](https://npmjs.com/package/p-defer-es5) - - [`web-speech-cognitive-services@7.0.0`](https://npmjs.com/package/web-speech-cognitive-services) -- Updated localization strings for Estonian (Estonia) (`et-EE`), by [@LiweiMa](https://github.com/LiweiMa) in PR [#3183](https://github.com/microsoft/BotFramework-WebChat/pull/3183) -- Bumped [`botframework-directlinejs@0.12.0`](https://npmjs.com/package/botframework-directlinejs), by [@compulim](https://github.com/compulim) in PR [#3206](https://github.com/microsoft/BotFramework-WebChat/pull/3206) +- Bumped Adaptive Cards dependencies, by [@compulim](https://github.com/compulim) in PR [#3193](https://github.com/microsoft/BotFramework-WebChat/pull/3193) + - [`adaptivecards@1.2.6`](https://npmjs.com/package/adaptivecards) +- Bumped dependencies due to [a bug in Babel and Node.js](https://github.com/nodejs/node/issues/32852), by [@compulim](https://github.com/compulim) in PR [#3177](https://github.com/microsoft/BotFramework-WebChat/pull/3177) + - Development dependencies + - [`@babel/preset-env@7.10.0`](https://npmjs.com/package/@babel/preset-env) + - Production dependencies + - [`abort-controller-es5@1.1.0`](https://npmjs.com/package/abort-controller-es5) + - [`event-target-shim-es5@1.1.0`](https://npmjs.com/package/event-target-shim-es5) + - [`markdown-it-attrs-es5@1.1.0`](https://npmjs.com/package/markdown-it-attrs-es5) + - [`p-defer-es5@1.1.0`](https://npmjs.com/package/p-defer-es5) + - [`web-speech-cognitive-services@7.0.0`](https://npmjs.com/package/web-speech-cognitive-services) +- Updated localization strings for Estonian (Estonia) (`et-EE`), by [@LiweiMa](https://github.com/LiweiMa) in PR [#3183](https://github.com/microsoft/BotFramework-WebChat/pull/3183) +- Bumped [`botframework-directlinejs@0.12.0`](https://npmjs.com/package/botframework-directlinejs), by [@compulim](https://github.com/compulim) in PR [#3206](https://github.com/microsoft/BotFramework-WebChat/pull/3206) ### Samples -- Resolves [#3205](https://github.com/microsoft/BotFramework-WebChat/issues/3205). Added [Direct Line App Service Extension chat adapter](https://microsoft.github.io/BotFramework-WebChat/01.getting-started/i.protocol-direct-line-app-service-extension) sample, by [@compulim](https://github.com/compulim) in PR [#3206](https://github.com/microsoft/BotFramework-WebChat/pull/3206) -- Resolves [#3271](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added [enable composition mode](https://microsoft.github.io/BotFramework-WebChat/04.api/m.enable-composition-mode) sample, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) -- Resolves [#3252](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added [save and restore scroll position](https://microsoft.github.io/BotFramework-WebChat/04.api/n.save-restore-scroll-position) sample, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) -- Resolves [#3271](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Updated [post activity event](https://microsoft.github.io/BotFramework-WebChat/04.api/d.post-activity-event) sample to use composition mode, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) +- Resolves [#3205](https://github.com/microsoft/BotFramework-WebChat/issues/3205). Added [Direct Line App Service Extension chat adapter](https://microsoft.github.io/BotFramework-WebChat/01.getting-started/i.protocol-direct-line-app-service-extension) sample, by [@compulim](https://github.com/compulim) in PR [#3206](https://github.com/microsoft/BotFramework-WebChat/pull/3206) +- Resolves [#3271](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added [enable composition mode](https://microsoft.github.io/BotFramework-WebChat/04.api/m.enable-composition-mode) sample, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) +- Resolves [#3252](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added [save and restore scroll position](https://microsoft.github.io/BotFramework-WebChat/04.api/n.save-restore-scroll-position) sample, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) +- Resolves [#3271](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Updated [post activity event](https://microsoft.github.io/BotFramework-WebChat/04.api/d.post-activity-event) sample to use composition mode, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) ## [4.9.0] - 2020-05-11 ### Added -- Resolves [#2897](https://github.com/microsoft/BotFramework-WebChat/issues/2897). Moved from JUnit to VSTest reporter with file attachments, by [@compulim](https://github.com/compulim) in PR [#2990](https://github.com/microsoft/BotFramework-WebChat/pull/2990) -- Added `aria-label` attribute support for default Markdown engine, by [@patniko](https://github.com/patniko) in PR [#3022](https://github.com/microsoft/BotFramework-WebChat/pull/3022) -- Resolves [#2969](https://github.com/microsoft/BotFramework-WebChat/issues/2969). Support sovereign cloud for Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#3040](https://github.com/microsoft/BotFramework-WebChat/pull/3040) -- Resolves [#2481](https://github.com/microsoft/BotFramework-WebChat/issues/2481). Support selecting different audio input devices for Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) -- Resolves [#2850](https://github.com/microsoft/BotFramework-WebChat/issues/2850). Added new `useFocus` hook and deprecating `useFocusSendBox` hook, by [@compulim](https://github.com/compulim) in PR [#3123](https://github.com/microsoft/BotFramework-WebChat/pull/3123) - - Modify `setFocus` argument of `useTextBoxSubmit` to support `main` and `sendBoxWithoutKeyboard` -- Fixes [#1427](https://github.com/microsoft/BotFramework-WebChat/issues/1427). Support `disabled` prop and added `actionPerformedClassName` in Adaptive Card and other legacy cards, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/issue/3150) +- Resolves [#2897](https://github.com/microsoft/BotFramework-WebChat/issues/2897). Moved from JUnit to VSTest reporter with file attachments, by [@compulim](https://github.com/compulim) in PR [#2990](https://github.com/microsoft/BotFramework-WebChat/pull/2990) +- Added `aria-label` attribute support for default Markdown engine, by [@patniko](https://github.com/patniko) in PR [#3022](https://github.com/microsoft/BotFramework-WebChat/pull/3022) +- Resolves [#2969](https://github.com/microsoft/BotFramework-WebChat/issues/2969). Support sovereign cloud for Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#3040](https://github.com/microsoft/BotFramework-WebChat/pull/3040) +- Resolves [#2481](https://github.com/microsoft/BotFramework-WebChat/issues/2481). Support selecting different audio input devices for Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) +- Resolves [#2850](https://github.com/microsoft/BotFramework-WebChat/issues/2850). Added new `useFocus` hook and deprecating `useFocusSendBox` hook, by [@compulim](https://github.com/compulim) in PR [#3123](https://github.com/microsoft/BotFramework-WebChat/pull/3123) + - Modify `setFocus` argument of `useTextBoxSubmit` to support `main` and `sendBoxWithoutKeyboard` +- Fixes [#1427](https://github.com/microsoft/BotFramework-WebChat/issues/1427). Support `disabled` prop and added `actionPerformedClassName` in Adaptive Card and other legacy cards, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/issue/3150) ### Fixed -- Fixes [#2989](https://github.com/microsoft/BotFramework-WebChat/issues/2989). Fix `observeOnce` to use ES Observable call pattern, by [@compulim](https://github.com/compulim) in PR [#2993](https://github.com/microsoft/BotFramework-WebChat/pull/2993) -- Fixes [#3024](https://github.com/microsoft/BotFramework-WebChat/issues/3024). Using bridge package [`markdown-it-attrs-es5`](https://npmjs.com/package/markdown-it-attrs-es5) for consuming [`markdown-it-attrs`](https://npmjs.com/package/markdown-it-attrs) for IE11, by [@compulim](https://github.com/compulim) in PR [#3025](https://github.com/microsoft/BotFramework-WebChat/pull/3025) -- Fixes [#2818](https://github.com/microsoft/BotFramework-WebChat/issues/2818). Fix user ID is not set when passing to embed as query parameter, by [@p-nagpal](https://github.com/p-nagpal) in PR [#3031](https://github.com/microsoft/BotFramework-WebChat/pull/3031) -- Fixes [#3026](https://github.com/microsoft/BotFramework-WebChat/issues/3026). Fix link `rel` attribute in the `renderMarkdown` function, by [@tdurnford](https://github.com/tdurnford) in PR [#3033](https://github.com/microsoft/BotFramework-WebChat/pull/3033) -- Fixes [#2933](https://github.com/microsoft/BotFramework-WebChat/issues/2933). Fix `text` should not be ignored in `messageBack` action in hero card, by [@geea-develop](https://github.com/geea-develop) and [@compulim](https://github.com/compulim) in PR [#3003](https://github.com/microsoft/BotFramework-WebChat/pull/3003) -- Fixes [#2562](https://github.com/microsoft/BotFramework-WebChat/issues/2562). Fix timestamps should not stop updating, by [@compulim](https://github.com/compulim) in PR [#3066](https://github.com/microsoft/BotFramework-WebChat/pull/3066) -- Fixes [#2953](https://github.com/microsoft/BotFramework-WebChat/issues/2953). Direct Line Speech should not synthesize when the `speak` property is falsy, by [@compulim](https://github.com/compulim) in PR [#3059](https://github.com/microsoft/BotFramework-WebChat/pull/3059) -- Fixes [#2876](https://github.com/microsoft/BotFramework-WebChat/issues/2876). `messageBack` and `postBack` should send even if both `text` and `value` is falsy or `undefined`, by [@compulim](https://github.com/compulim) in PR [#3120](https://github.com/microsoft/BotFramework-WebChat/issues/3120) -- Fixes [#2668](https://github.com/microsoft/BotFramework-WebChat/issues/2668). Disable Web Audio on insecure connections, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) -- Fixes [#2850](https://github.com/microsoft/BotFramework-WebChat/issues/2850). After click suggested action, should focus to send box without keyboard, by [@compulim](https://github.com/compulim) in PR [#3123](https://github.com/microsoft/BotFramework-WebChat/pull/3123) -- Fixes [#3133](https://github.com/microsoft/BotFramework-WebChat/issues/3133). Associate ARIA labels with buttons in hero card and Adaptive Cards, by [@compulim](https://github.com/compulim) in PR [#3146](https://github.com/microsoft/BotFramework-WebChat/pull/3146). - - Remove browser-based detection from `` because it is no longer needed. - - After stripping Markdown syntax for accessibility labels, cache the result to improve rendering performance. - - Skip stripping Markdown for non-Markdown text content. -- Fixes [#3155](https://github.com/microsoft/BotFramework-WebChat/issues/3155). Patch incoming activities with null fields, by [@compulim](https://github.com/compulim) in PR [#3154](https://github.com/microsoft/BotFramework-WebChat/pull/3154) -- Fixes [#2669](https://github.com/microsoft/BotFramework-WebChat/issues/2669) and [#3136](https://github.com/microsoft/BotFramework-WebChat/issues/3136). The "New messages" button will be accessible through TAB key, inbetween the last read and first unread activity, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/issues/3150). - - After the "New message" button is clicked, focus will be moved to the first interactive UI of unread activity or the send box. -- Fixes [#3135](https://github.com/microsoft/BotFramework-WebChat/issues/3135). If the current widget is disabled, it will keep focus until the next TAB key is pressed, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/pull/3150) +- Fixes [#2989](https://github.com/microsoft/BotFramework-WebChat/issues/2989). Fix `observeOnce` to use ES Observable call pattern, by [@compulim](https://github.com/compulim) in PR [#2993](https://github.com/microsoft/BotFramework-WebChat/pull/2993) +- Fixes [#3024](https://github.com/microsoft/BotFramework-WebChat/issues/3024). Using bridge package [`markdown-it-attrs-es5`](https://npmjs.com/package/markdown-it-attrs-es5) for consuming [`markdown-it-attrs`](https://npmjs.com/package/markdown-it-attrs) for IE11, by [@compulim](https://github.com/compulim) in PR [#3025](https://github.com/microsoft/BotFramework-WebChat/pull/3025) +- Fixes [#2818](https://github.com/microsoft/BotFramework-WebChat/issues/2818). Fix user ID is not set when passing to embed as query parameter, by [@p-nagpal](https://github.com/p-nagpal) in PR [#3031](https://github.com/microsoft/BotFramework-WebChat/pull/3031) +- Fixes [#3026](https://github.com/microsoft/BotFramework-WebChat/issues/3026). Fix link `rel` attribute in the `renderMarkdown` function, by [@tdurnford](https://github.com/tdurnford) in PR [#3033](https://github.com/microsoft/BotFramework-WebChat/pull/3033) +- Fixes [#2933](https://github.com/microsoft/BotFramework-WebChat/issues/2933). Fix `text` should not be ignored in `messageBack` action in hero card, by [@geea-develop](https://github.com/geea-develop) and [@compulim](https://github.com/compulim) in PR [#3003](https://github.com/microsoft/BotFramework-WebChat/pull/3003) +- Fixes [#2562](https://github.com/microsoft/BotFramework-WebChat/issues/2562). Fix timestamps should not stop updating, by [@compulim](https://github.com/compulim) in PR [#3066](https://github.com/microsoft/BotFramework-WebChat/pull/3066) +- Fixes [#2953](https://github.com/microsoft/BotFramework-WebChat/issues/2953). Direct Line Speech should not synthesize when the `speak` property is falsy, by [@compulim](https://github.com/compulim) in PR [#3059](https://github.com/microsoft/BotFramework-WebChat/pull/3059) +- Fixes [#2876](https://github.com/microsoft/BotFramework-WebChat/issues/2876). `messageBack` and `postBack` should send even if both `text` and `value` is falsy or `undefined`, by [@compulim](https://github.com/compulim) in PR [#3120](https://github.com/microsoft/BotFramework-WebChat/issues/3120) +- Fixes [#2668](https://github.com/microsoft/BotFramework-WebChat/issues/2668). Disable Web Audio on insecure connections, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) +- Fixes [#2850](https://github.com/microsoft/BotFramework-WebChat/issues/2850). After click suggested action, should focus to send box without keyboard, by [@compulim](https://github.com/compulim) in PR [#3123](https://github.com/microsoft/BotFramework-WebChat/pull/3123) +- Fixes [#3133](https://github.com/microsoft/BotFramework-WebChat/issues/3133). Associate ARIA labels with buttons in hero card and Adaptive Cards, by [@compulim](https://github.com/compulim) in PR [#3146](https://github.com/microsoft/BotFramework-WebChat/pull/3146). + - Remove browser-based detection from `` because it is no longer needed. + - After stripping Markdown syntax for accessibility labels, cache the result to improve rendering performance. + - Skip stripping Markdown for non-Markdown text content. +- Fixes [#3155](https://github.com/microsoft/BotFramework-WebChat/issues/3155). Patch incoming activities with null fields, by [@compulim](https://github.com/compulim) in PR [#3154](https://github.com/microsoft/BotFramework-WebChat/pull/3154) +- Fixes [#2669](https://github.com/microsoft/BotFramework-WebChat/issues/2669) and [#3136](https://github.com/microsoft/BotFramework-WebChat/issues/3136). The "New messages" button will be accessible through TAB key, inbetween the last read and first unread activity, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/issues/3150). + - After the "New message" button is clicked, focus will be moved to the first interactive UI of unread activity or the send box. +- Fixes [#3135](https://github.com/microsoft/BotFramework-WebChat/issues/3135). If the current widget is disabled, it will keep focus until the next TAB key is pressed, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/pull/3150) ### Changed -- Bumped all dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#2985](https://github.com/microsoft/BotFramework-WebChat/pull/2985), [#3012](https://github.com/microsoft/BotFramework-WebChat/pull/3012) and [#3150](https://github.com/microsoft/BotFramework-WebChat/pull/3150) - - Development dependencies - - Root package - - [`@azure/storage-blob@12.1.0`](https://npmjs.com/package/@azure/storage-blob) - - [`@babel/plugin-proposal-class-properties@7.8.3`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) - - [`@babel/plugin-proposal-object-rest-spread@7.8.3`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) - - [`@babel/plugin-transform-runtime@7.8.3`](https://npmjs.com/package/@babel/plugin-transform-runtime) - - [`@babel/preset-env@7.8.7`](https://npmjs.com/package/@babel/preset-env) - - [`@babel/preset-react@7.8.3`](https://npmjs.com/package/@babel/preset-react) - - [`@babel/preset-typescript@7.8.3`](https://npmjs.com/package/@babel/preset-typescript) - - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) - - [`babel-jest@25.1.0`](https://npmjs.com/package/babel-jest) - - [`concurrently@5.1.0`](https://npmjs.com/package/concurrently) - - [`core-js@3.6.4`](https://npmjs.com/package/core-js) - - [`cross-env@7.0.2`](https://npmjs.com/package/cross-env) - - [`get-port@5.1.1`](https://npmjs.com/package/get-port) - - [`husky@4.2.3`](https://npmjs.com/package/husky) - - [`jest@25.1.0`](https://npmjs.com/package/jest) - - [`jest-image-snapshot@2.12.0`](https://npmjs.com/package/jest-image-snapshot) - - [`lerna@3.20.2`](https://npmjs.com/package/lerna) - - [`lint-staged@10.1.1`](https://npmjs.com/package/lint-staged) - - [`selenium-webdriver@4.0.0-alpha.7`](https://npmjs.com/package/selenium-webdriver) - - Other packages - - [`@babel/core@7.8.7`](https://npmjs.com/package/@babel/core) - - [`@babel/preset-env@7.8.7`](https://npmjs.com/package/@babel/preset-env) - - [`babel-jest@25.1.0`](https://npmjs.com/package/babel-jest) - - [`babel-plugin-istanbul@6.0.0`](https://npmjs.com/package/babel-plugin-istanbul) - - [`concurrently@5.1.0`](https://npmjs.com/package/concurrently) - - [`eslint-plugin-prettier@3.1.2`](https://npmjs.com/package/eslint-plugin-prettier) - - [`eslint-plugin-react-hooks@2.5.0`](https://npmjs.com/package/eslint-plugin-react-hooks) - - [`eslint-plugin-react@7.18.3`](https://npmjs.com/package/eslint-plugin-react) - - [`eslint@6.8.0`](https://npmjs.com/package/eslint) - - [`terser-webpack-plugin@2.3.5`](https://npmjs.com/package/terser-webpack-plugin) - - [`typescript@3.8.3`](https://npmjs.com/package/typescript) - - [`webpack-cli@3.3.11`](https://npmjs.com/package/webpack-cli) - - [`webpack-stats-plugin@0.3.1`](https://npmjs.com/package/webpack-stats-plugin) - - [`webpack@4.42.0`](https://npmjs.com/package/webpack) - - Production dependencies - - `core` - - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) - - [`redux-saga@1.1.3`](https://npmjs.com/package/redux-saga) - - `bundle` - - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) - - [`core-js@3.6.4`](https://npmjs.com/package/core-js) - - [`url-search-params-polyfill@8.0.0`](https://npmjs.com/package/url-search-params-polyfill) - - `component` - - [`react-film@2.1.0`](https://npmjs.com/package/react-film) - - [`react-redux@7.2.0`](https://npmjs.com/package/react-redux) - - [`react-scroll-to-bottom@2.0.0`](https://npmjs.com/package/react-scroll-to-bottom) - - [`redux@4.0.5`](https://npmjs.com/package/redux) - - `directlinespeech` - - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) - - [`core-js@3.6.4`](https://npmjs.com/package/core-js) - - `embed` - - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) - - [`core-js@3.6.4`](https://npmjs.com/package/core-js) -- Bumped Chrome Docker image to `3.141.59-zirconium` (Chrome 80.0.3987.106), by [@compulim](https://github.com/compulim) in PR [#2992](https://github.com/microsoft/BotFramework-WebChat/pull/2992) -- Added `4.8.0` to `embed/servicingPlan.json`, by [@compulim](https://github.com/compulim) in PR [#2986](https://github.com/microsoft/BotFramework-WebChat/pull/2986) -- Bumped `microsoft-cognitiveservices-speech-sdk@1.10.1` and `web-speech-cognitive-services@6.1.0`, by [@compulim](https://github.com/compulim) in PR [#3040](https://github.com/microsoft/BotFramework-WebChat/pull/3040) -- Resolved [#2886](https://github.com/microsoft/BotFramework-WebChat/issues/2886) and [#2987](https://github.com/microsoft/BotFramework-WebChat/issue/2987), converged all references of [`microsoft-cognitiveservices-speech-sdk`](https://npmjs.com/package/microsoft-cognitiveservices-speech-sdk) to reduce footprint, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) +- Bumped all dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#2985](https://github.com/microsoft/BotFramework-WebChat/pull/2985), [#3012](https://github.com/microsoft/BotFramework-WebChat/pull/3012) and [#3150](https://github.com/microsoft/BotFramework-WebChat/pull/3150) + - Development dependencies + - Root package + - [`@azure/storage-blob@12.1.0`](https://npmjs.com/package/@azure/storage-blob) + - [`@babel/plugin-proposal-class-properties@7.8.3`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) + - [`@babel/plugin-proposal-object-rest-spread@7.8.3`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) + - [`@babel/plugin-transform-runtime@7.8.3`](https://npmjs.com/package/@babel/plugin-transform-runtime) + - [`@babel/preset-env@7.8.7`](https://npmjs.com/package/@babel/preset-env) + - [`@babel/preset-react@7.8.3`](https://npmjs.com/package/@babel/preset-react) + - [`@babel/preset-typescript@7.8.3`](https://npmjs.com/package/@babel/preset-typescript) + - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) + - [`babel-jest@25.1.0`](https://npmjs.com/package/babel-jest) + - [`concurrently@5.1.0`](https://npmjs.com/package/concurrently) + - [`core-js@3.6.4`](https://npmjs.com/package/core-js) + - [`cross-env@7.0.2`](https://npmjs.com/package/cross-env) + - [`get-port@5.1.1`](https://npmjs.com/package/get-port) + - [`husky@4.2.3`](https://npmjs.com/package/husky) + - [`jest@25.1.0`](https://npmjs.com/package/jest) + - [`jest-image-snapshot@2.12.0`](https://npmjs.com/package/jest-image-snapshot) + - [`lerna@3.20.2`](https://npmjs.com/package/lerna) + - [`lint-staged@10.1.1`](https://npmjs.com/package/lint-staged) + - [`selenium-webdriver@4.0.0-alpha.7`](https://npmjs.com/package/selenium-webdriver) + - Other packages + - [`@babel/core@7.8.7`](https://npmjs.com/package/@babel/core) + - [`@babel/preset-env@7.8.7`](https://npmjs.com/package/@babel/preset-env) + - [`babel-jest@25.1.0`](https://npmjs.com/package/babel-jest) + - [`babel-plugin-istanbul@6.0.0`](https://npmjs.com/package/babel-plugin-istanbul) + - [`concurrently@5.1.0`](https://npmjs.com/package/concurrently) + - [`eslint-plugin-prettier@3.1.2`](https://npmjs.com/package/eslint-plugin-prettier) + - [`eslint-plugin-react-hooks@2.5.0`](https://npmjs.com/package/eslint-plugin-react-hooks) + - [`eslint-plugin-react@7.18.3`](https://npmjs.com/package/eslint-plugin-react) + - [`eslint@6.8.0`](https://npmjs.com/package/eslint) + - [`terser-webpack-plugin@2.3.5`](https://npmjs.com/package/terser-webpack-plugin) + - [`typescript@3.8.3`](https://npmjs.com/package/typescript) + - [`webpack-cli@3.3.11`](https://npmjs.com/package/webpack-cli) + - [`webpack-stats-plugin@0.3.1`](https://npmjs.com/package/webpack-stats-plugin) + - [`webpack@4.42.0`](https://npmjs.com/package/webpack) + - Production dependencies + - `core` + - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) + - [`redux-saga@1.1.3`](https://npmjs.com/package/redux-saga) + - `bundle` + - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) + - [`core-js@3.6.4`](https://npmjs.com/package/core-js) + - [`url-search-params-polyfill@8.0.0`](https://npmjs.com/package/url-search-params-polyfill) + - `component` + - [`react-film@2.1.0`](https://npmjs.com/package/react-film) + - [`react-redux@7.2.0`](https://npmjs.com/package/react-redux) + - [`react-scroll-to-bottom@2.0.0`](https://npmjs.com/package/react-scroll-to-bottom) + - [`redux@4.0.5`](https://npmjs.com/package/redux) + - `directlinespeech` + - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) + - [`core-js@3.6.4`](https://npmjs.com/package/core-js) + - `embed` + - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) + - [`core-js@3.6.4`](https://npmjs.com/package/core-js) +- Bumped Chrome Docker image to `3.141.59-zirconium` (Chrome 80.0.3987.106), by [@compulim](https://github.com/compulim) in PR [#2992](https://github.com/microsoft/BotFramework-WebChat/pull/2992) +- Added `4.8.0` to `embed/servicingPlan.json`, by [@compulim](https://github.com/compulim) in PR [#2986](https://github.com/microsoft/BotFramework-WebChat/pull/2986) +- Bumped `microsoft-cognitiveservices-speech-sdk@1.10.1` and `web-speech-cognitive-services@6.1.0`, by [@compulim](https://github.com/compulim) in PR [#3040](https://github.com/microsoft/BotFramework-WebChat/pull/3040) +- Resolved [#2886](https://github.com/microsoft/BotFramework-WebChat/issues/2886) and [#2987](https://github.com/microsoft/BotFramework-WebChat/issue/2987), converged all references of [`microsoft-cognitiveservices-speech-sdk`](https://npmjs.com/package/microsoft-cognitiveservices-speech-sdk) to reduce footprint, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) ### Samples -- Resolves [#2806](https://github.com/microsoft/BotFramework-WebChat/issues/2806), added [Single sign-on with On Behalf Of Token Authentication](https://webchat-sample-obo.azurewebsites.net/) sample, by [@tdurnford](https://github.com/tdurnford) in [#2865](https://github.com/microsoft/BotFramework-WebChat/pull/2865) -- Resolves [#2481](https://github.com/microsoft/BotFramework-WebChat/issues/2481), added selectable audio input device sample, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) -- Resolves [#1427](https://github.com/microsoft/BotFramework-WebChat/issues/1427), added disable cards after submission sample, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/issue/3150) +- Resolves [#2806](https://github.com/microsoft/BotFramework-WebChat/issues/2806), added [Single sign-on with On Behalf Of Token Authentication](https://webchat-sample-obo.azurewebsites.net/) sample, by [@tdurnford](https://github.com/tdurnford) in [#2865](https://github.com/microsoft/BotFramework-WebChat/pull/2865) +- Resolves [#2481](https://github.com/microsoft/BotFramework-WebChat/issues/2481), added selectable audio input device sample, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) +- Resolves [#1427](https://github.com/microsoft/BotFramework-WebChat/issues/1427), added disable cards after submission sample, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/issue/3150) ## [4.8.1] - 2020-04-15 ### Fixed -- Fixes [#3075](https://github.com/microsoft/BotFramework-WebChat/issues/3075). Fix usability issues around accessibility, by [@compulim](https://github.com/compulim) in PR [#3076](https://github.com/microsoft/BotFramework-WebChat/pull/3076) - - Fix timestamp should not be narrated more than once. - - Associate the activity text with its attachments, by adding a `role="region"` to the activity DOM element. -- Fixes [#3074](https://github.com/microsoft/BotFramework-WebChat/issues/3074). Keep `props.locale` when sending to the bot, by [@compulim](https://github.com/compulim) in PR [#3095](https://github.com/microsoft/BotFramework-WebChat/pull/3095) -- Fixes [#3096](https://github.com/microsoft/BotFramework-WebChat/issues/3096). Use `` instead of `aria-label` for message bubbles, by [@compulim](https://github.com/compulim) in PR [#3097](https://github.com/microsoft/BotFramework-WebChat/pull/3097) +- Fixes [#3075](https://github.com/microsoft/BotFramework-WebChat/issues/3075). Fix usability issues around accessibility, by [@compulim](https://github.com/compulim) in PR [#3076](https://github.com/microsoft/BotFramework-WebChat/pull/3076) + - Fix timestamp should not be narrated more than once. + - Associate the activity text with its attachments, by adding a `role="region"` to the activity DOM element. +- Fixes [#3074](https://github.com/microsoft/BotFramework-WebChat/issues/3074). Keep `props.locale` when sending to the bot, by [@compulim](https://github.com/compulim) in PR [#3095](https://github.com/microsoft/BotFramework-WebChat/pull/3095) +- Fixes [#3096](https://github.com/microsoft/BotFramework-WebChat/issues/3096). Use `` instead of `aria-label` for message bubbles, by [@compulim](https://github.com/compulim) in PR [#3097](https://github.com/microsoft/BotFramework-WebChat/pull/3097) ## [4.8.0] - 2020-03-05 ### Breaking changes -- Localization - - `locale` prop: `zh-YUE` has been renamed to `yue` to conform with Unicode standard. `zh-YUE` will continue to work with warnings - - Most strings have been validated and retranslated by the Microsoft localization team, with the exception of English (US), Egyptian Arabic, Jordan Arabic, and Chinese Yue - - If the new strings are undesirable, please use the [`overideLocalizedStrings` prop](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/LOCALIZATION.md#overriding-localization-strings) for customization - - String IDs have been refreshed and now use a standard format - - `useLocalize` and `useLocalizeDate` is deprecated. Please use `useLocalizer` and `useDateFormatter` instead -- Customizable typing indicator: data and hook related to typing indicator are being revamped in PR [#2912](https://github.com/microsoft/BotFramework-WebChat/pull/2912) - - `lastTypingAt` reducer is deprecated, use `typing` instead. The newer reducer contains typing indicator from the user - - `useLastTypingAt()` hook is deprecated, use `useActiveTyping(duration?: number)` instead. For all typing information, pass `Infinity` to `duration` argument -- Customizable activity status: new `nextVisibleActivity` to control activity status visibility - - Previously, we use `timestampClassName` to control if the activity should show or hide timestamp. The `timestampClassName` was added as a `class` attribute the DOM element which contains the timestamp - - Today, `activity` and `nextVisibleActivity` are passed to the middleware, so the `activityRendererMiddleware` can decide whether the timestamp should be shown or not. For example, developers can group timestamp based on activity type +- Localization + - `locale` prop: `zh-YUE` has been renamed to `yue` to conform with Unicode standard. `zh-YUE` will continue to work with warnings + - Most strings have been validated and retranslated by the Microsoft localization team, with the exception of English (US), Egyptian Arabic, Jordan Arabic, and Chinese Yue + - If the new strings are undesirable, please use the [`overideLocalizedStrings` prop](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/LOCALIZATION.md#overriding-localization-strings) for customization + - String IDs have been refreshed and now use a standard format + - `useLocalize` and `useLocalizeDate` is deprecated. Please use `useLocalizer` and `useDateFormatter` instead +- Customizable typing indicator: data and hook related to typing indicator are being revamped in PR [#2912](https://github.com/microsoft/BotFramework-WebChat/pull/2912) + - `lastTypingAt` reducer is deprecated, use `typing` instead. The newer reducer contains typing indicator from the user + - `useLastTypingAt()` hook is deprecated, use `useActiveTyping(duration?: number)` instead. For all typing information, pass `Infinity` to `duration` argument +- Customizable activity status: new `nextVisibleActivity` to control activity status visibility + - Previously, we use `timestampClassName` to control if the activity should show or hide timestamp. The `timestampClassName` was added as a `class` attribute the DOM element which contains the timestamp + - Today, `activity` and `nextVisibleActivity` are passed to the middleware, so the `activityRendererMiddleware` can decide whether the timestamp should be shown or not. For example, developers can group timestamp based on activity type ### Added -- Resolves [#2753](https://github.com/microsoft/BotFramework-WebChat/issues/2753). Added support for updating an activity by the ID, by [@compulim](https://github.com/compulim) in PR [#2825](https://github.com/microsoft/BotFramework-WebChat/pull/2825) -- Added custom hooks - `useTimer` and `useIntervalSince` - to replace the headless `Timer` component, by [@tdurnford](https://github.com/tdurnford), in PR [#2771](https://github.com/microsoft/BotFramework-WebChat/pull/2771) -- Resolves [#2720](https://github.com/microsoft/BotFramework-WebChat/issues/2720), added customizable activity status using `activityStatusMiddleware` props, by [@compulim](https://github.com/compulim), in PR [#2788](https://github.com/microsoft/BotFramework-WebChat/pull/2788) -- Added default `onError` prop to the `Dictation` component, by [@tonyanziano](https://github.com/tonyanziano), in PR [#2866](https://github.com/microsoft/BotFramework-WebChat/pull/2866) -- Resolves [#1976](https://github.com/microsoft/BotFramework-WebChat/issues/1976). Added RTL support with localization for Hebrew and Arabic, by [@corinagum](https://github.com/corinagum), in PR [#2890](https://github.com/microsoft/BotFramework-WebChat/pull/2890) -- Resolves [#2755](https://github.com/microsoft/BotFramework-WebChat/issues/2755). Added notification system and toast UI, by [@compulim](https://github.com/compulim), in PR [#2883](https://github.com/microsoft/BotFramework-WebChat/pull/2883) - - Please read [this article on how to use notification](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/NOTIFICATION.md) - - Slow connection timer can now be set using `styleOptions.slowConnectionAfter` (in milliseconds) -- Resolves [#2871](https://github.com/microsoft/BotFramework-WebChat/issues/2871). Moved typing indicator to transcript, by [@compulim](https://github.com/compulim), in PR [#2883](https://github.com/microsoft/BotFramework-WebChat/pull/2883) -- Resolves [#2756](https://github.com/microsoft/BotFramework-WebChat/issues/2756). Improved localizability and add override support for localized strings, by [@compulim](https://github.com/compulim) in PR [#2894](https://github.com/microsoft/BotFramework-WebChat/pull/2894) - - Will be translated into 44 languages, plus 2 community-contributed translations - - For details, please read the [documentation on the localization](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/LOCALIZATION.md) -- Resolves [#2213](https://github.com/microsoft/BotFramework-WebChat/issues/2213). Added customization for typing activity, by [@compulim](https://github.com/compulim), in PR [#2912](https://github.com/microsoft/BotFramework-WebChat/pull/2912) -- Resolves [#2754](https://github.com/microsoft/BotFramework-WebChat/issues/2754). Added [telemetry system](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/TELEMETRY.md), by [@compulim](https://github.com/compulim), in PR [#2922](https://github.com/microsoft/BotFramework-WebChat/pull/2922) -- Resolves [#2857](https://github.com/microsoft/BotFramework-WebChat/issues/2857). Added the ability to customize the avatar on a per activity basis, by [@compulim](https://github.com/compulim), in PR [#2943](https://github.com/microsoft/BotFramework-WebChat/pull/2943) -- Resolves [#2944](https://github.com/microsoft/BotFramework-WebChat/issues/2944). Updated Azure locale mapping in embed page, by [@compulim](https://github.com/compulim) in PR [#2965](https://github.com/microsoft/BotFramework-WebChat/pull/2965) +- Resolves [#2753](https://github.com/microsoft/BotFramework-WebChat/issues/2753). Added support for updating an activity by the ID, by [@compulim](https://github.com/compulim) in PR [#2825](https://github.com/microsoft/BotFramework-WebChat/pull/2825) +- Added custom hooks - `useTimer` and `useIntervalSince` - to replace the headless `Timer` component, by [@tdurnford](https://github.com/tdurnford), in PR [#2771](https://github.com/microsoft/BotFramework-WebChat/pull/2771) +- Resolves [#2720](https://github.com/microsoft/BotFramework-WebChat/issues/2720), added customizable activity status using `activityStatusMiddleware` props, by [@compulim](https://github.com/compulim), in PR [#2788](https://github.com/microsoft/BotFramework-WebChat/pull/2788) +- Added default `onError` prop to the `Dictation` component, by [@tonyanziano](https://github.com/tonyanziano), in PR [#2866](https://github.com/microsoft/BotFramework-WebChat/pull/2866) +- Resolves [#1976](https://github.com/microsoft/BotFramework-WebChat/issues/1976). Added RTL support with localization for Hebrew and Arabic, by [@corinagum](https://github.com/corinagum), in PR [#2890](https://github.com/microsoft/BotFramework-WebChat/pull/2890) +- Resolves [#2755](https://github.com/microsoft/BotFramework-WebChat/issues/2755). Added notification system and toast UI, by [@compulim](https://github.com/compulim), in PR [#2883](https://github.com/microsoft/BotFramework-WebChat/pull/2883) + - Please read [this article on how to use notification](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/NOTIFICATION.md) + - Slow connection timer can now be set using `styleOptions.slowConnectionAfter` (in milliseconds) +- Resolves [#2871](https://github.com/microsoft/BotFramework-WebChat/issues/2871). Moved typing indicator to transcript, by [@compulim](https://github.com/compulim), in PR [#2883](https://github.com/microsoft/BotFramework-WebChat/pull/2883) +- Resolves [#2756](https://github.com/microsoft/BotFramework-WebChat/issues/2756). Improved localizability and add override support for localized strings, by [@compulim](https://github.com/compulim) in PR [#2894](https://github.com/microsoft/BotFramework-WebChat/pull/2894) + - Will be translated into 44 languages, plus 2 community-contributed translations + - For details, please read the [documentation on the localization](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/LOCALIZATION.md) +- Resolves [#2213](https://github.com/microsoft/BotFramework-WebChat/issues/2213). Added customization for typing activity, by [@compulim](https://github.com/compulim), in PR [#2912](https://github.com/microsoft/BotFramework-WebChat/pull/2912) +- Resolves [#2754](https://github.com/microsoft/BotFramework-WebChat/issues/2754). Added [telemetry system](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/TELEMETRY.md), by [@compulim](https://github.com/compulim), in PR [#2922](https://github.com/microsoft/BotFramework-WebChat/pull/2922) +- Resolves [#2857](https://github.com/microsoft/BotFramework-WebChat/issues/2857). Added the ability to customize the avatar on a per activity basis, by [@compulim](https://github.com/compulim), in PR [#2943](https://github.com/microsoft/BotFramework-WebChat/pull/2943) +- Resolves [#2944](https://github.com/microsoft/BotFramework-WebChat/issues/2944). Updated Azure locale mapping in embed page, by [@compulim](https://github.com/compulim) in PR [#2965](https://github.com/microsoft/BotFramework-WebChat/pull/2965) ### 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) -- Fixes [#2609](https://github.com/microsoft/BotFramework-WebChat/issues/2609). Fix sample 12: minimizable button is causing another reconnect on restore, by [@compulim](https://github.com/compulim) in PR [#2758](https://github.com/microsoft/BotFramework-WebChat/pull/2758) -- Fixes [#2773](https://github.com/microsoft/BotFramework-WebChat/issues/2773). Import ES5 version of the following bundles, by [@compulim](https://github.com/compulim) in PR [#2774](https://github.com/microsoft/BotFramework-WebChat/pull/2773) - - [`abort-controller`](https://npmjs.com/package/abort-controller) - - [`event-target-shim`](https://npmjs.com/package/event-target-shim) - - [`p-defer`](https://npmjs.com/package/p-defer) -- Fixes the following issues and improves test reliability, by [@compulim](https://github.com/compulim) in PR [#2777](https://github.com/microsoft/BotFramework-WebChat/pull/2777) - - Fixes [#2612](https://github.com/microsoft/BotFramework-WebChat/issues/2612). Wait until language change - - Fixes [#2653](https://github.com/microsoft/BotFramework-WebChat/issues/2653). Scroll-to-bottom check will do 5 consecutive checks to determine stickiness. - - Fixes [#2691](https://github.com/microsoft/BotFramework-WebChat/issues/2691). Wait until button is shown/hid before taking screenshot - - Fixes [#2737](https://github.com/microsoft/BotFramework-WebChat/issues/2737). Use `driver.wait` for conditions - - Fixes [#2776](https://github.com/microsoft/BotFramework-WebChat/issues/2776). Wait until button is shown/hid before taking screenshot - - Use a new timeout `fetchImage` for images -- Fixes [#2780](https://github.com/microsoft/BotFramework-WebChat/issues/2780). Added the `tel` protocol to the `allowedSchema` in the `sanitize-html` options, by [@tdurnford](https://github.com/tdurnford) in PR [#2787](https://github.com/microsoft/BotFramework-WebChat/pull/2787) -- Fixes [#2747](https://github.com/microsoft/BotFramework-WebChat/issues/2747). Moved `Timestamp` into the `SendStatus` component and removed the `Timestamp` style set, by [@tdurnford](https://github.com/tdurnford) in PR [#2786](https://github.com/microsoft/BotFramework-WebChat/pull/2786) -- Fixes [#2647](https://github.com/microsoft/BotFramework-WebChat/issues/2647). Update the `CroppedImage` component `PropType`, by [@tdurnford](https://github.com/tdurnford) in PR [#2795](https://github.com/microsoft/BotFramework-WebChat/pull/2795) -- Fixes [#2794](https://github.com/microsoft/BotFramework-WebChat/issues/2794). Fix change locale sample, by [@corinagum](https://github.com/corinagum) in PR [#2798](https://github.com/microsoft/BotFramework-WebChat/pull/2798) -- Fixes [#2510](https://github.com/microsoft/BotFramework-WebChat/issues/2510). Host hybrid-react and clear-after-idle samples, by [@corinagum](https://github.com/corinagum) in PR [#2798](https://github.com/microsoft/BotFramework-WebChat/pull/2798) -- Fixes [#2772](https://github.com/microsoft/BotFramework-WebChat/issues/2772). Updated Adaptive Cards HostConfig to include container styles, by [@tdurnford](https://github.com/tdurnford) in PR [#2810](https://github.com/microsoft/BotFramework-WebChat/pull/2810) -- Fixes [#2145](https://github.com/microsoft/BotFramework-WebChat/issues/2145). Updated Adaptive Cards styles to include action styles, by [@tdurnford](https://github.com/tdurnford) in PR [#2810](https://github.com/microsoft/BotFramework-WebChat/pull/2810) -- Fixes [#2459](https://github.com/microsoft/BotFramework-WebChat/issues/2459). Updated Cognitive Services Speech Services to use latest fetch credentials signature, by [@compulim](https://github.com/compulim) in PR [#2740](https://github.com/microsoft/BotFramework-WebChat/pull/2759) -- Fixes [#1673](https://github.com/microsoft/BotFramework-WebChat/issues/1673). Configured suggested action and carousel flippers to blur on click, by [@tdunford](https://github.com/tdurnford) in PR [#2801](https://github.com/microsoft/BotFramework-WebChat/pull/2801) -- Fixes [#2822](https://github.com/microsoft/BotFramework-WebChat/issues/2822). Fixed `credentials` should return `authorizationToken` and `subscriptionKey` as string and allow empty LUIS reference grammar ID, by [@compulim](https://github.com/compulim) in PR [#2824](https://github.com/microsoft/BotFramework-WebChat/pull/2824) -- Fixes [#2751](https://github.com/microsoft/BotFramework-WebChat/issues/2751). Move documentation to docs folder, by [@corinagum](https://github.com/corinagum) in PR [#2832](https://github.com/microsoft/BotFramework-WebChat/pull/2832) -- Fixes [#2838](https://github.com/microsoft/BotFramework-WebChat/issues/2838). Fixed `concatMiddleware` should allow any middleware to call its downstream middleware twice, by [@compulim](https://github.com/compulim) in PR [#2839](https://github.com/microsoft/BotFramework-WebChat/pull/2839) -- Fixes [#2864](https://github.com/microsoft/BotFramework-WebChat/issues/2864). Replaced `DownloadAttachment` and `UploadAttachment` with `FileAttachment`, which shows the download link and icon if the attachment contains the `contentUrl`, by [@compulim](https://github.com/compulim) in PR [#2868](https://github.com/microsoft/BotFramework-WebChat/pull/2868) -- Fixes [#2877](https://github.com/microsoft/BotFramework-WebChat/issues/2877). Updated Cognitive Services Speech Services samples to use both pre-4.8 and 4.8 API signature, by [@compulim](https://github.com/compulim) in PR [#2916](https://github.com/microsoft/BotFramework-WebChat/pull/2916) -- Fixes [#2757](https://github.com/microsoft/BotFramework-WebChat/issues/2757). New message indicator should only show up for new messages, by [@compulim](https://github.com/compulim) in PR [#2915](https://github.com/microsoft/BotFramework-WebChat/pull/2915) -- Fixes [#2945](https://github.com/microsoft/BotFramework-WebChat/issues/2945). Toast should not overlap with each other, by [@compulim](https://github.com/compulim) in PR [#2952](https://github.com/microsoft/BotFramework-WebChat/pull/2952) -- Fixes [#2946](https://github.com/microsoft/BotFramework-WebChat/issues/2946). Updated JSON filenames for localization strings, by [@compulim](https://github.com/compulim) in PR [#2949](https://github.com/microsoft/BotFramework-WebChat/pull/2949) -- Fixes [#2560](https://github.com/microsoft/BotFramework-WebChat/issues/2560). Bumped to [`react-dictate-button@1.2.2`](https://npmjs.com/package/react-dictate-button) to workaround [a bug from Angular/zone.js](https://github.com/angular/angular/issues/31750), by [@compulim](https://github.com/compulim) in PR [#2960](https://github.com/microsoft/BotFramework-WebChat/issues/2960) -- Fixes [#2923](https://github.com/microsoft/BotFramework-WebChat/issues/2923). Added `download` attribute to file attachment (``), by [@compulim](https://github.com/compulim) in PR [#2963](https://github.com/microsoft/BotFramework-WebChat/pull/2963) -- Fixes [#2904](https://github.com/microsoft/BotFramework-WebChat/issues/2904). Fixed border radius when rendering bubble nub in RTL, by [@compulim](https://github.com/compulim) in PR [#2943](https://github.com/microsoft/BotFramework-WebChat/pull/2943) -- Fixes [#2966](https://github.com/microsoft/BotFramework-WebChat/issues/2966). Collapsed toast should show at most 2 lines of text, by [@compulim](https://github.com/compulim) in PR [#2967](https://github.com/microsoft/BotFramework-WebChat/issues/2967) -- Fixes [#2941](https://github.com/microsoft/BotFramework-WebChat/issues/2941), [#2921](https://github.com/microsoft/BotFramework-WebChat/issues/2921), and [#2948](https://github.com/microsoft/BotFramework-WebChat/issues/2948). Update documentation and fix redux sample, by [@corinagum](https://github.com/corinagum) in PR [#2968](https://github.com/microsoft/BotFramework-WebChat/pull/2968) -- Fixes [#2972](https://github.com/microsoft/BotFramework-WebChat/issues/2972). Compatibility fix for IE11, by [@compulim](https://github.com/compulim) in PR [#2973](https://github.com/microsoft/BotFramework-WebChat/pull/2973) -- Fixes [#2977](https://github.com/microsoft/BotFramework-WebChat/issues/2977). `sr-Cyrl` and `sr-Latn` should display Serbian texts, by [@compulim](https://github.com/compulim) in PR [#2978](https://github.com/microsoft/BotFramework-WebChat/pull/2978) -- Fixes [#2979](https://github.com/microsoft/BotFramework-WebChat/issues/2979). Lock `microsoft-cognitiveservices-speech-sdk` to `1.8.1`, by [@compulim](https://github.com/compulim) in PR [#2980](https://github.com/microsoft/BotFramework-WebChat/pull/2980) +- 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) +- Fixes [#2609](https://github.com/microsoft/BotFramework-WebChat/issues/2609). Fix sample 12: minimizable button is causing another reconnect on restore, by [@compulim](https://github.com/compulim) in PR [#2758](https://github.com/microsoft/BotFramework-WebChat/pull/2758) +- Fixes [#2773](https://github.com/microsoft/BotFramework-WebChat/issues/2773). Import ES5 version of the following bundles, by [@compulim](https://github.com/compulim) in PR [#2774](https://github.com/microsoft/BotFramework-WebChat/pull/2773) + - [`abort-controller`](https://npmjs.com/package/abort-controller) + - [`event-target-shim`](https://npmjs.com/package/event-target-shim) + - [`p-defer`](https://npmjs.com/package/p-defer) +- Fixes the following issues and improves test reliability, by [@compulim](https://github.com/compulim) in PR [#2777](https://github.com/microsoft/BotFramework-WebChat/pull/2777) + - Fixes [#2612](https://github.com/microsoft/BotFramework-WebChat/issues/2612). Wait until language change + - Fixes [#2653](https://github.com/microsoft/BotFramework-WebChat/issues/2653). Scroll-to-bottom check will do 5 consecutive checks to determine stickiness. + - Fixes [#2691](https://github.com/microsoft/BotFramework-WebChat/issues/2691). Wait until button is shown/hid before taking screenshot + - Fixes [#2737](https://github.com/microsoft/BotFramework-WebChat/issues/2737). Use `driver.wait` for conditions + - Fixes [#2776](https://github.com/microsoft/BotFramework-WebChat/issues/2776). Wait until button is shown/hid before taking screenshot + - Use a new timeout `fetchImage` for images +- Fixes [#2780](https://github.com/microsoft/BotFramework-WebChat/issues/2780). Added the `tel` protocol to the `allowedSchema` in the `sanitize-html` options, by [@tdurnford](https://github.com/tdurnford) in PR [#2787](https://github.com/microsoft/BotFramework-WebChat/pull/2787) +- Fixes [#2747](https://github.com/microsoft/BotFramework-WebChat/issues/2747). Moved `Timestamp` into the `SendStatus` component and removed the `Timestamp` style set, by [@tdurnford](https://github.com/tdurnford) in PR [#2786](https://github.com/microsoft/BotFramework-WebChat/pull/2786) +- Fixes [#2647](https://github.com/microsoft/BotFramework-WebChat/issues/2647). Update the `CroppedImage` component `PropType`, by [@tdurnford](https://github.com/tdurnford) in PR [#2795](https://github.com/microsoft/BotFramework-WebChat/pull/2795) +- Fixes [#2794](https://github.com/microsoft/BotFramework-WebChat/issues/2794). Fix change locale sample, by [@corinagum](https://github.com/corinagum) in PR [#2798](https://github.com/microsoft/BotFramework-WebChat/pull/2798) +- Fixes [#2510](https://github.com/microsoft/BotFramework-WebChat/issues/2510). Host hybrid-react and clear-after-idle samples, by [@corinagum](https://github.com/corinagum) in PR [#2798](https://github.com/microsoft/BotFramework-WebChat/pull/2798) +- Fixes [#2772](https://github.com/microsoft/BotFramework-WebChat/issues/2772). Updated Adaptive Cards HostConfig to include container styles, by [@tdurnford](https://github.com/tdurnford) in PR [#2810](https://github.com/microsoft/BotFramework-WebChat/pull/2810) +- Fixes [#2145](https://github.com/microsoft/BotFramework-WebChat/issues/2145). Updated Adaptive Cards styles to include action styles, by [@tdurnford](https://github.com/tdurnford) in PR [#2810](https://github.com/microsoft/BotFramework-WebChat/pull/2810) +- Fixes [#2459](https://github.com/microsoft/BotFramework-WebChat/issues/2459). Updated Cognitive Services Speech Services to use latest fetch credentials signature, by [@compulim](https://github.com/compulim) in PR [#2740](https://github.com/microsoft/BotFramework-WebChat/pull/2759) +- Fixes [#1673](https://github.com/microsoft/BotFramework-WebChat/issues/1673). Configured suggested action and carousel flippers to blur on click, by [@tdunford](https://github.com/tdurnford) in PR [#2801](https://github.com/microsoft/BotFramework-WebChat/pull/2801) +- Fixes [#2822](https://github.com/microsoft/BotFramework-WebChat/issues/2822). Fixed `credentials` should return `authorizationToken` and `subscriptionKey` as string and allow empty LUIS reference grammar ID, by [@compulim](https://github.com/compulim) in PR [#2824](https://github.com/microsoft/BotFramework-WebChat/pull/2824) +- Fixes [#2751](https://github.com/microsoft/BotFramework-WebChat/issues/2751). Move documentation to docs folder, by [@corinagum](https://github.com/corinagum) in PR [#2832](https://github.com/microsoft/BotFramework-WebChat/pull/2832) +- Fixes [#2838](https://github.com/microsoft/BotFramework-WebChat/issues/2838). Fixed `concatMiddleware` should allow any middleware to call its downstream middleware twice, by [@compulim](https://github.com/compulim) in PR [#2839](https://github.com/microsoft/BotFramework-WebChat/pull/2839) +- Fixes [#2864](https://github.com/microsoft/BotFramework-WebChat/issues/2864). Replaced `DownloadAttachment` and `UploadAttachment` with `FileAttachment`, which shows the download link and icon if the attachment contains the `contentUrl`, by [@compulim](https://github.com/compulim) in PR [#2868](https://github.com/microsoft/BotFramework-WebChat/pull/2868) +- Fixes [#2877](https://github.com/microsoft/BotFramework-WebChat/issues/2877). Updated Cognitive Services Speech Services samples to use both pre-4.8 and 4.8 API signature, by [@compulim](https://github.com/compulim) in PR [#2916](https://github.com/microsoft/BotFramework-WebChat/pull/2916) +- Fixes [#2757](https://github.com/microsoft/BotFramework-WebChat/issues/2757). New message indicator should only show up for new messages, by [@compulim](https://github.com/compulim) in PR [#2915](https://github.com/microsoft/BotFramework-WebChat/pull/2915) +- Fixes [#2945](https://github.com/microsoft/BotFramework-WebChat/issues/2945). Toast should not overlap with each other, by [@compulim](https://github.com/compulim) in PR [#2952](https://github.com/microsoft/BotFramework-WebChat/pull/2952) +- Fixes [#2946](https://github.com/microsoft/BotFramework-WebChat/issues/2946). Updated JSON filenames for localization strings, by [@compulim](https://github.com/compulim) in PR [#2949](https://github.com/microsoft/BotFramework-WebChat/pull/2949) +- Fixes [#2560](https://github.com/microsoft/BotFramework-WebChat/issues/2560). Bumped to [`react-dictate-button@1.2.2`](https://npmjs.com/package/react-dictate-button) to workaround [a bug from Angular/zone.js](https://github.com/angular/angular/issues/31750), by [@compulim](https://github.com/compulim) in PR [#2960](https://github.com/microsoft/BotFramework-WebChat/issues/2960) +- Fixes [#2923](https://github.com/microsoft/BotFramework-WebChat/issues/2923). Added `download` attribute to file attachment (``), by [@compulim](https://github.com/compulim) in PR [#2963](https://github.com/microsoft/BotFramework-WebChat/pull/2963) +- Fixes [#2904](https://github.com/microsoft/BotFramework-WebChat/issues/2904). Fixed border radius when rendering bubble nub in RTL, by [@compulim](https://github.com/compulim) in PR [#2943](https://github.com/microsoft/BotFramework-WebChat/pull/2943) +- Fixes [#2966](https://github.com/microsoft/BotFramework-WebChat/issues/2966). Collapsed toast should show at most 2 lines of text, by [@compulim](https://github.com/compulim) in PR [#2967](https://github.com/microsoft/BotFramework-WebChat/issues/2967) +- Fixes [#2941](https://github.com/microsoft/BotFramework-WebChat/issues/2941), [#2921](https://github.com/microsoft/BotFramework-WebChat/issues/2921), and [#2948](https://github.com/microsoft/BotFramework-WebChat/issues/2948). Update documentation and fix redux sample, by [@corinagum](https://github.com/corinagum) in PR [#2968](https://github.com/microsoft/BotFramework-WebChat/pull/2968) +- Fixes [#2972](https://github.com/microsoft/BotFramework-WebChat/issues/2972). Compatibility fix for IE11, by [@compulim](https://github.com/compulim) in PR [#2973](https://github.com/microsoft/BotFramework-WebChat/pull/2973) +- Fixes [#2977](https://github.com/microsoft/BotFramework-WebChat/issues/2977). `sr-Cyrl` and `sr-Latn` should display Serbian texts, by [@compulim](https://github.com/compulim) in PR [#2978](https://github.com/microsoft/BotFramework-WebChat/pull/2978) +- Fixes [#2979](https://github.com/microsoft/BotFramework-WebChat/issues/2979). Lock `microsoft-cognitiveservices-speech-sdk` to `1.8.1`, by [@compulim](https://github.com/compulim) in PR [#2980](https://github.com/microsoft/BotFramework-WebChat/pull/2980) ### 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.8.3` - - `@babel/plugin-proposal-object-rest-spread@7.8.3` - - `@babel/plugin-transform-runtime@7.8.3` - - `@babel/preset-env@7.8.4` - - `@babel/preset-react@7.8.3` - - `@babel/preset-typescript@7.8.3` - - `@babel/runtime@7.8.4` - - `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.8.4` - - `@babel/core@7.8.4` - - `@babel/plugin-proposal-class-properties@7.8.3` - - `@babel/plugin-proposal-object-rest-spread@7.8.3` - - `@babel/plugin-transform-runtime@7.8.3` - - `@babel/preset-env@7.8.4` - - `@babel/preset-react@7.8.3` - - `@babel/preset-typescript@7.8.3` - - `@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.8.4` - - `core-js@3.5.0` - - `sanitize-html@1.20.0` - - `component` - - `sanitize-html@1.20.1` - - `embed` - - `@babel/runtime@7.8.4` - - `core-js@3.5.0` -- Resolves [#2748](https://github.com/microsoft/BotFramework-WebChat/issues/2748), updated build scripts and CI pipeline, by [@compulim](https://github.com/compulim), in PR [#2767](https://github.com/microsoft/BotFramework-WebChat/pull/2767) -- `component`: Bumps [`react-film@2.0.2`](https://npmjs.com/package/react-film/), by [@tdurnford](https://github.com/tdurnford) in PR [#2801](https://github.com/microsoft/BotFramework-WebChat/pull/2801) -- Removes `sendTyping` and deprecation notes in PR [#2845](https://github.com/microsoft/BotFramework-WebChat/pull/2845), by [@corinagum](https://github.com/corinagum), in PR [#2918](https://github.com/microsoft/BotFramework-WebChat/pull/2918) -- `component`: Bumps [`react-dictate-button@1.2.2`](https://npmjs.com/package/react-dictate-button/), by [@compulim](https://github.com/compulim) in PR [#2960](https://github.com/microsoft/BotFramework-WebChat/pull/2960) +- 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.8.3` + - `@babel/plugin-proposal-object-rest-spread@7.8.3` + - `@babel/plugin-transform-runtime@7.8.3` + - `@babel/preset-env@7.8.4` + - `@babel/preset-react@7.8.3` + - `@babel/preset-typescript@7.8.3` + - `@babel/runtime@7.8.4` + - `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.8.4` + - `@babel/core@7.8.4` + - `@babel/plugin-proposal-class-properties@7.8.3` + - `@babel/plugin-proposal-object-rest-spread@7.8.3` + - `@babel/plugin-transform-runtime@7.8.3` + - `@babel/preset-env@7.8.4` + - `@babel/preset-react@7.8.3` + - `@babel/preset-typescript@7.8.3` + - `@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.8.4` + - `core-js@3.5.0` + - `sanitize-html@1.20.0` + - `component` + - `sanitize-html@1.20.1` + - `embed` + - `@babel/runtime@7.8.4` + - `core-js@3.5.0` +- Resolves [#2748](https://github.com/microsoft/BotFramework-WebChat/issues/2748), updated build scripts and CI pipeline, by [@compulim](https://github.com/compulim), in PR [#2767](https://github.com/microsoft/BotFramework-WebChat/pull/2767) +- `component`: Bumps [`react-film@2.0.2`](https://npmjs.com/package/react-film/), by [@tdurnford](https://github.com/tdurnford) in PR [#2801](https://github.com/microsoft/BotFramework-WebChat/pull/2801) +- Removes `sendTyping` and deprecation notes in PR [#2845](https://github.com/microsoft/BotFramework-WebChat/pull/2845), by [@corinagum](https://github.com/corinagum), in PR [#2918](https://github.com/microsoft/BotFramework-WebChat/pull/2918) +- `component`: Bumps [`react-dictate-button@1.2.2`](https://npmjs.com/package/react-dictate-button/), by [@compulim](https://github.com/compulim) in PR [#2960](https://github.com/microsoft/BotFramework-WebChat/pull/2960) ### 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) -- Resolves [#2641](https://github.com/microsoft/BotFramework-WebChat/issues/2641). Reorganize Web Chat samples, by [@corinagum](https://github.com/corinagum), in PR [#2762](https://github.com/microsoft/BotFramework-WebChat/pull/2762) -- Resolves [#2755](https://github.com/microsoft/BotFramework-WebChat/issues/2755), added "how to use notification and customize the toast UI" sample, by [@compulim](https://github.com/compulim), in PR [#2883](https://github.com/microsoft/BotFramework-WebChat/pull/2883) -- Resolves [#2213](https://github.com/microsoft/BotFramework-WebChat/issues/2213). Added [Customize Typing Indicator Demo](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/j.typing-indicator), by [@compulim](https://github.com/compulim), in PR [#2912](https://github.com/microsoft/BotFramework-WebChat/pull/2912) -- Resolves [#2754](https://github.com/microsoft/BotFramework-WebChat/issues/2754). Added [telemetry collection using Azure Application Insights](https://microsoft.github.io/BotFramework-WebChat/04.api/k.telemetry-application-insights) and [telemetry collection using Google Analytics](https://microsoft.github.io/BotFramework-WebChat/04.api/l.telemetry-google-analytics), by [@compulim](https://github.com/compulim), in PR [#2922](https://github.com/microsoft/BotFramework-WebChat/pull/2922) -- Resolves [#2857](https://github.com/microsoft/BotFramework-WebChat/issues/2857). Added [Customize Avatar Demo](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/k.per-message-avatar), by [@compulim](https://github.com/compulim), in PR [#2943](https://github.com/microsoft/BotFramework-WebChat/pull/2943) +- 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) +- Resolves [#2641](https://github.com/microsoft/BotFramework-WebChat/issues/2641). Reorganize Web Chat samples, by [@corinagum](https://github.com/corinagum), in PR [#2762](https://github.com/microsoft/BotFramework-WebChat/pull/2762) +- Resolves [#2755](https://github.com/microsoft/BotFramework-WebChat/issues/2755), added "how to use notification and customize the toast UI" sample, by [@compulim](https://github.com/compulim), in PR [#2883](https://github.com/microsoft/BotFramework-WebChat/pull/2883) +- Resolves [#2213](https://github.com/microsoft/BotFramework-WebChat/issues/2213). Added [Customize Typing Indicator Demo](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/j.typing-indicator), by [@compulim](https://github.com/compulim), in PR [#2912](https://github.com/microsoft/BotFramework-WebChat/pull/2912) +- Resolves [#2754](https://github.com/microsoft/BotFramework-WebChat/issues/2754). Added [telemetry collection using Azure Application Insights](https://microsoft.github.io/BotFramework-WebChat/04.api/k.telemetry-application-insights) and [telemetry collection using Google Analytics](https://microsoft.github.io/BotFramework-WebChat/04.api/l.telemetry-google-analytics), by [@compulim](https://github.com/compulim), in PR [#2922](https://github.com/microsoft/BotFramework-WebChat/pull/2922) +- Resolves [#2857](https://github.com/microsoft/BotFramework-WebChat/issues/2857). Added [Customize Avatar Demo](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/k.per-message-avatar), by [@compulim](https://github.com/compulim), in PR [#2943](https://github.com/microsoft/BotFramework-WebChat/pull/2943) ## [4.7.1] - 2019-12-13 ### 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 ### Breaking changes -- `adaptiveCardHostConfig` is being renamed to `adaptiveCardsHostConfig` - - If you are using the deprecated `adaptiveCardHostConfig`, we will rename it automatically +- `adaptiveCardHostConfig` is being renamed to `adaptiveCardsHostConfig` + - If you are using the deprecated `adaptiveCardHostConfig`, we will rename it automatically ### Added -- Resolves [#2539](https://github.com/microsoft/BotFramework-WebChat/issues/2539), added React hooks for customization, by [@compulim](https://github.com/compulim), in the following PRs: - - PR [#2540](https://github.com/microsoft/BotFramework-WebChat/pull/2540): `useActivities`, `useReferenceGrammarID`, `useSendBoxShowInterims` - - PR [#2541](https://github.com/microsoft/BotFramework-WebChat/pull/2541): `useStyleOptions`, `useStyleSet` - - PR [#2542](https://github.com/microsoft/BotFramework-WebChat/pull/2542): `useLanguage`, `useLocalize`, `useLocalizeDate` - - PR [#2543](https://github.com/microsoft/BotFramework-WebChat/pull/2543): `useAdaptiveCardsHostConfig`, `useAdaptiveCardsPackage`, `useRenderMarkdownAsHTML` - - PR [#2544](https://github.com/microsoft/BotFramework-WebChat/pull/2544): `useAvatarForBot`, `useAvatarForUser` - - PR [#2547](https://github.com/microsoft/BotFramework-WebChat/pull/2547): `useEmitTypingIndicator`, `usePeformCardAction`, `usePostActivity`, `useSendEvent`, `useSendFiles`, `useSendMessage`, `useSendMessageBack`, `useSendPostBack` - - PR [#2548](https://github.com/microsoft/BotFramework-WebChat/pull/2548): `useDisabled` - - PR [#2549](https://github.com/microsoft/BotFramework-WebChat/pull/2549): `useSuggestedActions` - - PR [#2550](https://github.com/microsoft/BotFramework-WebChat/pull/2550): `useConnectivityStatus`, `useGroupTimestamp`, `useTimeoutForSend`, `useUserID`, `useUsername` - - PR [#2551](https://github.com/microsoft/BotFramework-WebChat/pull/2551): `useLastTypingAt`, `useSendTypingIndicator`, `useTypingIndicator` - - PR [#2552](https://github.com/microsoft/BotFramework-WebChat/pull/2552): `useFocusSendBox`, `useScrollToEnd`, `useSendBoxValue`, `useSubmitSendBox`, `useTextBoxSubmit`, `useTextBoxValue` - - PR [#2553](https://github.com/microsoft/BotFramework-WebChat/pull/2553): `useDictateInterims`, `useDictateState`, `useGrammars`, `useMarkActivityAsSpoken`, `useMicrophoneButton`, `useShouldSpeakIncomingActivity`, `useStartDictate`, `useStopDictate`, `useVoiceSelector`, `useWebSpeechPonyfill` - - PR [#2554](https://github.com/microsoft/BotFramework-WebChat/pull/2554): `useRenderActivity`, `useRenderAttachment` - - PR [#2644](https://github.com/microsoft/BotFramework-WebChat/pull/2644): Added `internal/useWebChatUIContext` for cleaner code - - PR [#2652](https://github.com/microsoft/BotFramework-WebChat/pull/2652): Update samples to use hooks -- Bring your own Adaptive Cards package by specifying `adaptiveCardsPackage` prop, by [@compulim](https://github.com/compulim) in PR [#2543](https://github.com/microsoft/BotFramework-WebChat/pull/2543) -- Fixes [#2597](https://github.com/microsoft/BotFramework-WebChat/issues/2597). Modify `watch` script to `start` and add `tableflip` script for throwing `node_modules`, by [@corinagum](https://github.com/corinagum) in PR [#2598](https://github.com/microsoft/BotFramework-WebChat/pull/2598) -- Adds Arabic Language Support, by [@midineo](https://github.com/midineo), in PR [#2593](https://github.com/microsoft/BotFramework-WebChat/pull/2593) -- Adds `AdaptiveCardsComposer` and `AdaptiveCardsContext` for composability for Adaptive Cards, by [@compulim](https://github.com/compulim), in PR [#2648](https://github.com/microsoft/BotFramework-WebChat/pull/2648) -- Adds Direct Line Speech support, by [@compulim](https://github.com/compulim) in PR [#2621](https://github.com/microsoft/BotFramework-WebChat/pull/2621) - - Adds [`microsoft-cognitiveservices-sdk@1.8.1`](https://npmjs.com/package/microsoft-cognitiveservices-speech-sdk), in PR [#2704](https://github.com/microsoft/BotFramework-WebChat/pull/2704) -- Fixes [#2692](https://github.com/microsoft/BotFramework-WebChat/issues/2692). Rename sample 17 to 17.a, by [@corinagum](https://github.com/corinagum) in PR [#2695](https://github.com/microsoft/BotFramework-WebChat/pull/2695) +- Resolves [#2539](https://github.com/microsoft/BotFramework-WebChat/issues/2539), added React hooks for customization, by [@compulim](https://github.com/compulim), in the following PRs: + - PR [#2540](https://github.com/microsoft/BotFramework-WebChat/pull/2540): `useActivities`, `useReferenceGrammarID`, `useSendBoxShowInterims` + - PR [#2541](https://github.com/microsoft/BotFramework-WebChat/pull/2541): `useStyleOptions`, `useStyleSet` + - PR [#2542](https://github.com/microsoft/BotFramework-WebChat/pull/2542): `useLanguage`, `useLocalize`, `useLocalizeDate` + - PR [#2543](https://github.com/microsoft/BotFramework-WebChat/pull/2543): `useAdaptiveCardsHostConfig`, `useAdaptiveCardsPackage`, `useRenderMarkdownAsHTML` + - PR [#2544](https://github.com/microsoft/BotFramework-WebChat/pull/2544): `useAvatarForBot`, `useAvatarForUser` + - PR [#2547](https://github.com/microsoft/BotFramework-WebChat/pull/2547): `useEmitTypingIndicator`, `usePeformCardAction`, `usePostActivity`, `useSendEvent`, `useSendFiles`, `useSendMessage`, `useSendMessageBack`, `useSendPostBack` + - PR [#2548](https://github.com/microsoft/BotFramework-WebChat/pull/2548): `useDisabled` + - PR [#2549](https://github.com/microsoft/BotFramework-WebChat/pull/2549): `useSuggestedActions` + - PR [#2550](https://github.com/microsoft/BotFramework-WebChat/pull/2550): `useConnectivityStatus`, `useGroupTimestamp`, `useTimeoutForSend`, `useUserID`, `useUsername` + - PR [#2551](https://github.com/microsoft/BotFramework-WebChat/pull/2551): `useLastTypingAt`, `useSendTypingIndicator`, `useTypingIndicator` + - PR [#2552](https://github.com/microsoft/BotFramework-WebChat/pull/2552): `useFocusSendBox`, `useScrollToEnd`, `useSendBoxValue`, `useSubmitSendBox`, `useTextBoxSubmit`, `useTextBoxValue` + - PR [#2553](https://github.com/microsoft/BotFramework-WebChat/pull/2553): `useDictateInterims`, `useDictateState`, `useGrammars`, `useMarkActivityAsSpoken`, `useMicrophoneButton`, `useShouldSpeakIncomingActivity`, `useStartDictate`, `useStopDictate`, `useVoiceSelector`, `useWebSpeechPonyfill` + - PR [#2554](https://github.com/microsoft/BotFramework-WebChat/pull/2554): `useRenderActivity`, `useRenderAttachment` + - PR [#2644](https://github.com/microsoft/BotFramework-WebChat/pull/2644): Added `internal/useWebChatUIContext` for cleaner code + - PR [#2652](https://github.com/microsoft/BotFramework-WebChat/pull/2652): Update samples to use hooks +- Bring your own Adaptive Cards package by specifying `adaptiveCardsPackage` prop, by [@compulim](https://github.com/compulim) in PR [#2543](https://github.com/microsoft/BotFramework-WebChat/pull/2543) +- Fixes [#2597](https://github.com/microsoft/BotFramework-WebChat/issues/2597). Modify `watch` script to `start` and add `tableflip` script for throwing `node_modules`, by [@corinagum](https://github.com/corinagum) in PR [#2598](https://github.com/microsoft/BotFramework-WebChat/pull/2598) +- Adds Arabic Language Support, by [@midineo](https://github.com/midineo), in PR [#2593](https://github.com/microsoft/BotFramework-WebChat/pull/2593) +- Adds `AdaptiveCardsComposer` and `AdaptiveCardsContext` for composability for Adaptive Cards, by [@compulim](https://github.com/compulim), in PR [#2648](https://github.com/microsoft/BotFramework-WebChat/pull/2648) +- Adds Direct Line Speech support, by [@compulim](https://github.com/compulim) in PR [#2621](https://github.com/microsoft/BotFramework-WebChat/pull/2621) + - Adds [`microsoft-cognitiveservices-sdk@1.8.1`](https://npmjs.com/package/microsoft-cognitiveservices-speech-sdk), in PR [#2704](https://github.com/microsoft/BotFramework-WebChat/pull/2704) +- Fixes [#2692](https://github.com/microsoft/BotFramework-WebChat/issues/2692). Rename sample 17 to 17.a, by [@corinagum](https://github.com/corinagum) in PR [#2695](https://github.com/microsoft/BotFramework-WebChat/pull/2695) ### Fixed -- Fixes [#2565](https://github.com/microsoft/BotFramework-WebChat/issues/2565). Fixed Adaptive Card host config should generate from style options with default options merged, by [@compulim](https://github.com/compulim) in PR [#2566](https://github.com/microsoft/BotFramework-WebChat/pull/2566) -- Resolves [#2337](https://github.com/microsoft/BotFramework-WebChat/issues/2337). Remove Cognitive Services Preview warning, by [@corinagum](https://github.com/corinagum) in PR [#2578](https://github.com/microsoft/BotFramework-WebChat/pull/2578) -- Fixes [#2559](https://github.com/microsoft/BotFramework-WebChat/issues/2559). De-bump remark and strip-markdown, by [@corinagum](https://github.com/corinagum) in PR [#2576](https://github.com/microsoft/BotFramework-WebChat/pull/2576) -- Fixes [#2512](https://github.com/microsoft/BotFramework-WebChat/issues/2512). Adds check to ensure Adaptive Card's content is an Object, by [@tdurnford](https://github.com/tdurnford) in PR [#2590](https://github.com/microsoft/BotFramework-WebChat/pull/2590) -- Fixes [#1780](https://github.com/microsoft/BotFramework-WebChat/issues/1780), [#2277](https://github.com/microsoft/BotFramework-WebChat/issues/2277), and [#2285](https://github.com/microsoft/BotFramework-WebChat/issues/2285). Make Suggested Actions accessible, Fix Markdown card in carousel being read multiple times, and label widgets of Connectivity Status and Suggested Actions containers, by [@corinagum](https://github.com/corinagum) in PR [#2613](https://github.com/microsoft/BotFramework-WebChat/pull/2613) -- Fixes [#2608](https://github.com/microsoft/BotFramework-WebChat/issues/2608). Focus will return to sendbox after clicking New Messages or a Suggested Actions button, by [@corinagum](https://github.com/corinagum) in PR [#2628](https://github.com/microsoft/BotFramework-WebChat/pull/2628) -- Resolves [#2597](https://github.com/microsoft/BotFramework-WebChat/issues/2597). Modify `watch` script to `start` and add `tableflip` script for throwing `node_modules`, by [@corinagum](https://github.com/corinagum) in PR [#2598](https://github.com/microsoft/BotFramework-WebChat/pull/2598) -- Resolves [#1835](https://github.com/microsoft/BotFramework-WebChat/issues/1835). Adds `suggestedActionLayout` to `defaultStyleOptions`, by [@spyip](https://github.com/spyip), in PR [#2596](https://github.com/microsoft/BotFramework-WebChat/pull/2596) -- Resolves [#2331](https://github.com/microsoft/BotFramework-WebChat/issues/2331). Updated timer to use React Hooks, by [@spyip](https://github.com/spyip) in PR [#2546](https://github.com/microsoft/BotFramework-WebChat/pull/2546) -- Resolves [#2620](https://github.com/microsoft/BotFramework-WebChat/issues/2620). Adds Chinese localization files, by [@spyip](https://github.com/spyip) in PR [#2631](https://github.com/microsoft/BotFramework-WebChat/pull/2631) -- Fixes [#2639](https://github.com/microsoft/BotFramework-WebChat/issues/2639). Fix passed in prop time from string to boolean, by [@corinagum](https://github.com/corinagum) in PR [#2640](https://github.com/microsoft/BotFramework-WebChat/pull/2640) -- `component`: Updated timer to use functional component, by [@spyip](https://github.com/spyip) in PR [#2546](https://github.com/microsoft/BotFramework-WebChat/pull/2546) -- Fixes [#2651](https://github.com/microsoft/BotFramework-WebChat/issues/2651). Add `ends-with` string module to ES5 bundle, by [@corinagum](https://github.com/corinagum) in PR [#2654](https://github.com/microsoft/BotFramework-WebChat/pull/2654) -- Fixes [#2658](https://github.com/microsoft/BotFramework-WebChat/issues/2658). Fix rendering of markdown images in IE11, by [@corinagum](https://github.com/corinagum) in PR [#2659](https://github.com/microsoft/BotFramework-WebChat/pull/2659) -- Fixes [#2662](https://github.com/microsoft/BotFramework-WebChat/issues/2662) and [#2666](https://github.com/microsoft/BotFramework-WebChat/issues/2666). Fix various issues related to Direct Line Speech, by [@compulim](https://github.com/compulim) in PR [#2671](https://github.com/microsoft/BotFramework-WebChat/pull/2671) - - Added triple-buffering to reduce pops/cracks. - - Enable Safari by upsampling to 48000 Hz. - - Support detailed output format on Web Chat side. -- Fixes [#2700](https://github.com/microsoft/BotFramework-WebChat/issues/2700). Enable `` and Adaptive Cards in recompose story, in PR [#2649](https://github.com/microsoft/BotFramework-WebChat/pull/2649) - - Moved `` from `` to `` - - Moved WebSpeechPonyfill patching code from `` to `` -- Fixes [#2699](https://github.com/microsoft/BotFramework-WebChat/issues/2699). Disable speech recognition and synthesis when using Direct Line Speech under IE11, by [@compulim](https://github.com/compulim), in PR [#2649](https://github.com/microsoft/BotFramework-WebChat/pull/2649) -- Fixes [#2709](https://github.com/microsoft/BotFramework-WebChat/issues/2709). Reduce wasted render of activities by memoizing partial result of ``, by [@compulim](https://github.com/compulim) in PR [#2710](https://github.com/microsoft/BotFramework-WebChat/pull/2710) -- Fixes [#2710](https://github.com/microsoft/BotFramework-WebChat/issues/2710). Suggested actions container should persist for AT, by [@corinagum](https://github.com/corinagum) in PR [#2710](https://github.com/microsoft/BotFramework-WebChat/pull/2710) -- Fixes [#2718](https://github.com/microsoft/BotFramework-WebChat/issues/2718). Add `Object.is` polyfill for IE11, by [@compulim](https://github.com/compulim) in PR [#2719](https://github.com/microsoft/BotFramework-WebChat/pull/2719) -- Fixes [#2723](https://github.com/microsoft/BotFramework-WebChat/issues/2723). Fix `renderMarkdown` should not be called if it is `undefined` in minimal bundle, by [@compulim](https://github.com/compulim) in PR [#2724](https://github.com/microsoft/BotFramework-WebChat/pull/2724) -- Fixes [#2655](https://github.com/microsoft/BotFramework-WebChat/issues/2655). "Taking longer than usual to connect" should not show up after reconnect succeeded, by [@curiousite](https://github.com/Curiousite) and [@compulim](https://github.com/compulim) in PR [#2656](https://github.com/microsoft/BotFramework-WebChat/pull/2656) -- Fixes [#2942](https://github.com/microsoft/BotFramework-WebChat/issues/2942). Fix typing indicator should not show up for the user, by [@compulim](https://github.com/compulim) in PR [#2950](https://github.com/microsoft/BotFramework-WebChat/pull/2950) +- Fixes [#2565](https://github.com/microsoft/BotFramework-WebChat/issues/2565). Fixed Adaptive Card host config should generate from style options with default options merged, by [@compulim](https://github.com/compulim) in PR [#2566](https://github.com/microsoft/BotFramework-WebChat/pull/2566) +- Resolves [#2337](https://github.com/microsoft/BotFramework-WebChat/issues/2337). Remove Cognitive Services Preview warning, by [@corinagum](https://github.com/corinagum) in PR [#2578](https://github.com/microsoft/BotFramework-WebChat/pull/2578) +- Fixes [#2559](https://github.com/microsoft/BotFramework-WebChat/issues/2559). De-bump remark and strip-markdown, by [@corinagum](https://github.com/corinagum) in PR [#2576](https://github.com/microsoft/BotFramework-WebChat/pull/2576) +- Fixes [#2512](https://github.com/microsoft/BotFramework-WebChat/issues/2512). Adds check to ensure Adaptive Card's content is an Object, by [@tdurnford](https://github.com/tdurnford) in PR [#2590](https://github.com/microsoft/BotFramework-WebChat/pull/2590) +- Fixes [#1780](https://github.com/microsoft/BotFramework-WebChat/issues/1780), [#2277](https://github.com/microsoft/BotFramework-WebChat/issues/2277), and [#2285](https://github.com/microsoft/BotFramework-WebChat/issues/2285). Make Suggested Actions accessible, Fix Markdown card in carousel being read multiple times, and label widgets of Connectivity Status and Suggested Actions containers, by [@corinagum](https://github.com/corinagum) in PR [#2613](https://github.com/microsoft/BotFramework-WebChat/pull/2613) +- Fixes [#2608](https://github.com/microsoft/BotFramework-WebChat/issues/2608). Focus will return to sendbox after clicking New Messages or a Suggested Actions button, by [@corinagum](https://github.com/corinagum) in PR [#2628](https://github.com/microsoft/BotFramework-WebChat/pull/2628) +- Resolves [#2597](https://github.com/microsoft/BotFramework-WebChat/issues/2597). Modify `watch` script to `start` and add `tableflip` script for throwing `node_modules`, by [@corinagum](https://github.com/corinagum) in PR [#2598](https://github.com/microsoft/BotFramework-WebChat/pull/2598) +- Resolves [#1835](https://github.com/microsoft/BotFramework-WebChat/issues/1835). Adds `suggestedActionLayout` to `defaultStyleOptions`, by [@spyip](https://github.com/spyip), in PR [#2596](https://github.com/microsoft/BotFramework-WebChat/pull/2596) +- Resolves [#2331](https://github.com/microsoft/BotFramework-WebChat/issues/2331). Updated timer to use React Hooks, by [@spyip](https://github.com/spyip) in PR [#2546](https://github.com/microsoft/BotFramework-WebChat/pull/2546) +- Resolves [#2620](https://github.com/microsoft/BotFramework-WebChat/issues/2620). Adds Chinese localization files, by [@spyip](https://github.com/spyip) in PR [#2631](https://github.com/microsoft/BotFramework-WebChat/pull/2631) +- Fixes [#2639](https://github.com/microsoft/BotFramework-WebChat/issues/2639). Fix passed in prop time from string to boolean, by [@corinagum](https://github.com/corinagum) in PR [#2640](https://github.com/microsoft/BotFramework-WebChat/pull/2640) +- `component`: Updated timer to use functional component, by [@spyip](https://github.com/spyip) in PR [#2546](https://github.com/microsoft/BotFramework-WebChat/pull/2546) +- Fixes [#2651](https://github.com/microsoft/BotFramework-WebChat/issues/2651). Add `ends-with` string module to ES5 bundle, by [@corinagum](https://github.com/corinagum) in PR [#2654](https://github.com/microsoft/BotFramework-WebChat/pull/2654) +- Fixes [#2658](https://github.com/microsoft/BotFramework-WebChat/issues/2658). Fix rendering of markdown images in IE11, by [@corinagum](https://github.com/corinagum) in PR [#2659](https://github.com/microsoft/BotFramework-WebChat/pull/2659) +- Fixes [#2662](https://github.com/microsoft/BotFramework-WebChat/issues/2662) and [#2666](https://github.com/microsoft/BotFramework-WebChat/issues/2666). Fix various issues related to Direct Line Speech, by [@compulim](https://github.com/compulim) in PR [#2671](https://github.com/microsoft/BotFramework-WebChat/pull/2671) + - Added triple-buffering to reduce pops/cracks. + - Enable Safari by upsampling to 48000 Hz. + - Support detailed output format on Web Chat side. +- Fixes [#2700](https://github.com/microsoft/BotFramework-WebChat/issues/2700). Enable `` and Adaptive Cards in recompose story, in PR [#2649](https://github.com/microsoft/BotFramework-WebChat/pull/2649) + - Moved `` from `` to `` + - Moved WebSpeechPonyfill patching code from `` to `` +- Fixes [#2699](https://github.com/microsoft/BotFramework-WebChat/issues/2699). Disable speech recognition and synthesis when using Direct Line Speech under IE11, by [@compulim](https://github.com/compulim), in PR [#2649](https://github.com/microsoft/BotFramework-WebChat/pull/2649) +- Fixes [#2709](https://github.com/microsoft/BotFramework-WebChat/issues/2709). Reduce wasted render of activities by memoizing partial result of ``, by [@compulim](https://github.com/compulim) in PR [#2710](https://github.com/microsoft/BotFramework-WebChat/pull/2710) +- Fixes [#2710](https://github.com/microsoft/BotFramework-WebChat/issues/2710). Suggested actions container should persist for AT, by [@corinagum](https://github.com/corinagum) in PR [#2710](https://github.com/microsoft/BotFramework-WebChat/pull/2710) +- Fixes [#2718](https://github.com/microsoft/BotFramework-WebChat/issues/2718). Add `Object.is` polyfill for IE11, by [@compulim](https://github.com/compulim) in PR [#2719](https://github.com/microsoft/BotFramework-WebChat/pull/2719) +- Fixes [#2723](https://github.com/microsoft/BotFramework-WebChat/issues/2723). Fix `renderMarkdown` should not be called if it is `undefined` in minimal bundle, by [@compulim](https://github.com/compulim) in PR [#2724](https://github.com/microsoft/BotFramework-WebChat/pull/2724) +- Fixes [#2655](https://github.com/microsoft/BotFramework-WebChat/issues/2655). "Taking longer than usual to connect" should not show up after reconnect succeeded, by [@curiousite](https://github.com/Curiousite) and [@compulim](https://github.com/compulim) in PR [#2656](https://github.com/microsoft/BotFramework-WebChat/pull/2656) +- Fixes [#2942](https://github.com/microsoft/BotFramework-WebChat/issues/2942). Fix typing indicator should not show up for the user, by [@compulim](https://github.com/compulim) in PR [#2950](https://github.com/microsoft/BotFramework-WebChat/pull/2950) ### Changed -- Bumped all dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2533](https://github.com/microsoft/BotFramework-WebChat/pull/2533) and PR [#2621](https://github.com/microsoft/BotFramework-WebChat/pull/2621) - - Development dependencies - - Root package - - `@azure/storage-blob@12.0.0` - - `@babel/plugin-proposal-class-properties@7.5.5` - - `@babel/plugin-proposal-object-rest-spread@7.6.2` - - `@babel/plugin-transform-runtime@7.6.2` - - `@babel/preset-env@7.6.3` - - `@babel/preset-react@7.6.3` - - `@babel/preset-typescript@7.6.0` - - `@babel/runtime@7.6.3` - - `babel-jest@24.9.0` - - `core-js@3.3.6` - - `coveralls@3.0.7` - - `husky@3.0.9` - - `jest-image-snapshot@2.11.0` - - `jest@24.9.0` - - `lerna@3.18.3` - - `lint-staged@9.4.2` - - `selenium-webdriver@4.0.0-alpha.5` - - `serve-handler@6.1.2` - - Other packages - - `@babel/cli@7.6.4` - - `@babel/core@7.6.4` - - `@babel/plugin-proposal-class-properties@7.5.5` - - `@babel/plugin-proposal-object-rest-spread@7.6.2` - - `@babel/plugin-transform-runtime@7.6.2` - - `@babel/preset-env@7.6.3` - - `@babel/preset-react@7.6.3` - - `@babel/preset-typescript@7.6.0` - - `@types/node@12.12.3` - - `@types/react@16.9.11` - - `@typescript-eslint/eslint-plugin@2.6.0` - - `@typescript-eslint/parser@2.6.0` - - `babel-plugin-istanbul@5.2.0` - - `concurrently@5.0.0` - - `copy-webpack-plugin@5.0.4` - - `eslint-plugin-prettier@3.1.1` - - `eslint-plugin-react-hooks@2.2.0` - - `eslint-plugin-react@7.16.0` - - `eslint@6.6.0` - - `http-proxy-middleware@0.20.0` - - `jest@24.9.0` - - `terser-webpack-plugin@2.2.1` - - `typescript@3.6.4` - - `webpack-cli@3.3.10` - - `webpack@4.41.2` - - Production dependencies - - `core` - - `@babel/runtime@7.6.3` - - `jsonwebtoken@8.5.1` - - `math-random` - - `redux-saga@1.1.1` - - `simple-update-in@2.1.1` - - `bundle` - - `@babel/runtime@7.6.3` - - `core-js@3.3.6` - - `markdown-it@10.0.0` - - `memoize-one@5.1.1` - - `sanitize-html@1.19.0` - - `url-search-params-polyfill@7.0.0` - - `component` - - `bytes@3.1.0` - - `memoize-one@5.1.1` - - `react-dictate-button@1.2.1` - - `react-redux@7.1.1` - - `remark@11.0.1` - - `sanitize-html@1.20.1` - - `simple-update-in@2.1.1` - - `strip-markdown@3.1.1` - - `embed` - - `@babel/runtime@7.6.3` - - `core-js@3.3.6` -- `component`: Bumps [`adaptivecards@1.2.3`](https://npmjs.com/package/adaptivecards), by [@corinagum](https://github.com/corinagum) in PR [#2523](https://github.com/microsoft/BotFramework-WebChat/pull/2532) -- Bumps Chrome in Docker to 78.0.3904.70, by [@spyip](https://github.com/spyip) in PR [#2545](https://github.com/microsoft/BotFramework-WebChat/pull/2545) -- `bundle`: Webpack will now use `webpack-stats-plugin` instead of `webpack-visualizer-plugin`, by [@compulim](https://github.com/compulim) in PR [#2584](https://github.com/microsoft/BotFramework-WebChat/pull/2584) - - This will fix [#2583](https://github.com/microsoft/BotFramework-WebChat/issues/2583) by not bringing in transient dependency of React - - To view the bundle stats, browse to https://chrisbateman.github.io/webpack-visualizer/ and drop the file `/packages/bundle/dist/stats.json` -- Resolves [#2674](https://github.com/microsoft/BotFramework-WebChat/issues/2674). Update embed docs, by [@corinagum](https://github.com/corinagum), in PR [#2696](https://github.com/microsoft/BotFramework-WebChat/pull/2696) +- Bumped all dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2533](https://github.com/microsoft/BotFramework-WebChat/pull/2533) and PR [#2621](https://github.com/microsoft/BotFramework-WebChat/pull/2621) + - Development dependencies + - Root package + - `@azure/storage-blob@12.0.0` + - `@babel/plugin-proposal-class-properties@7.5.5` + - `@babel/plugin-proposal-object-rest-spread@7.6.2` + - `@babel/plugin-transform-runtime@7.6.2` + - `@babel/preset-env@7.6.3` + - `@babel/preset-react@7.6.3` + - `@babel/preset-typescript@7.6.0` + - `@babel/runtime@7.6.3` + - `babel-jest@24.9.0` + - `core-js@3.3.6` + - `coveralls@3.0.7` + - `husky@3.0.9` + - `jest-image-snapshot@2.11.0` + - `jest@24.9.0` + - `lerna@3.18.3` + - `lint-staged@9.4.2` + - `selenium-webdriver@4.0.0-alpha.5` + - `serve-handler@6.1.2` + - Other packages + - `@babel/cli@7.6.4` + - `@babel/core@7.6.4` + - `@babel/plugin-proposal-class-properties@7.5.5` + - `@babel/plugin-proposal-object-rest-spread@7.6.2` + - `@babel/plugin-transform-runtime@7.6.2` + - `@babel/preset-env@7.6.3` + - `@babel/preset-react@7.6.3` + - `@babel/preset-typescript@7.6.0` + - `@types/node@12.12.3` + - `@types/react@16.9.11` + - `@typescript-eslint/eslint-plugin@2.6.0` + - `@typescript-eslint/parser@2.6.0` + - `babel-plugin-istanbul@5.2.0` + - `concurrently@5.0.0` + - `copy-webpack-plugin@5.0.4` + - `eslint-plugin-prettier@3.1.1` + - `eslint-plugin-react-hooks@2.2.0` + - `eslint-plugin-react@7.16.0` + - `eslint@6.6.0` + - `http-proxy-middleware@0.20.0` + - `jest@24.9.0` + - `terser-webpack-plugin@2.2.1` + - `typescript@3.6.4` + - `webpack-cli@3.3.10` + - `webpack@4.41.2` + - Production dependencies + - `core` + - `@babel/runtime@7.6.3` + - `jsonwebtoken@8.5.1` + - `math-random` + - `redux-saga@1.1.1` + - `simple-update-in@2.1.1` + - `bundle` + - `@babel/runtime@7.6.3` + - `core-js@3.3.6` + - `markdown-it@10.0.0` + - `memoize-one@5.1.1` + - `sanitize-html@1.19.0` + - `url-search-params-polyfill@7.0.0` + - `component` + - `bytes@3.1.0` + - `memoize-one@5.1.1` + - `react-dictate-button@1.2.1` + - `react-redux@7.1.1` + - `remark@11.0.1` + - `sanitize-html@1.20.1` + - `simple-update-in@2.1.1` + - `strip-markdown@3.1.1` + - `embed` + - `@babel/runtime@7.6.3` + - `core-js@3.3.6` +- `component`: Bumps [`adaptivecards@1.2.3`](https://npmjs.com/package/adaptivecards), by [@corinagum](https://github.com/corinagum) in PR [#2523](https://github.com/microsoft/BotFramework-WebChat/pull/2532) +- Bumps Chrome in Docker to 78.0.3904.70, by [@spyip](https://github.com/spyip) in PR [#2545](https://github.com/microsoft/BotFramework-WebChat/pull/2545) +- `bundle`: Webpack will now use `webpack-stats-plugin` instead of `webpack-visualizer-plugin`, by [@compulim](https://github.com/compulim) in PR [#2584](https://github.com/microsoft/BotFramework-WebChat/pull/2584) + - This will fix [#2583](https://github.com/microsoft/BotFramework-WebChat/issues/2583) by not bringing in transient dependency of React + - To view the bundle stats, browse to https://chrisbateman.github.io/webpack-visualizer/ and drop the file `/packages/bundle/dist/stats.json` +- Resolves [#2674](https://github.com/microsoft/BotFramework-WebChat/issues/2674). Update embed docs, by [@corinagum](https://github.com/corinagum), in PR [#2696](https://github.com/microsoft/BotFramework-WebChat/pull/2696) ### Samples -- [Clear Conversation After Idle](https://microsoft.github.io/BotFramework-WebChat/04.api/h.clear-after-idle/), by [@tdurnford](https://github.com/tdurnford), in PR [#2375](https://github.com/microsoft/BotFramework-WebChat/pull/2375) -- [Smart Display](https://microsoft.github.io/BotFramework-WebChat/24.customization-smart-display/), by [@compulim](https://github.com/compulim), in PR [#2649](https://github.com/microsoft/BotFramework-WebChat/pull/2649) +- [Clear Conversation After Idle](https://microsoft.github.io/BotFramework-WebChat/04.api/h.clear-after-idle/), by [@tdurnford](https://github.com/tdurnford), in PR [#2375](https://github.com/microsoft/BotFramework-WebChat/pull/2375) +- [Smart Display](https://microsoft.github.io/BotFramework-WebChat/24.customization-smart-display/), by [@compulim](https://github.com/compulim), in PR [#2649](https://github.com/microsoft/BotFramework-WebChat/pull/2649) ## [4.6.0] - 2019-10-31 ### Breaking changes -- We will no longer include `react` and `react-dom` in our NPM package, instead, we will requires peer dependencies of `react@^16.8.6` and `react-dom@^16.8.6` +- We will no longer include `react` and `react-dom` in our NPM package, instead, we will requires peer dependencies of `react@^16.8.6` and `react-dom@^16.8.6` ### Changed -- `*`: Bumps all dev dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) and PR [#2308](https://github.com/microsoft/BotFramework-WebChat/pull/2308) - - [`@babel/*@7.5.4`](https://www.npmjs.com/package/@babel/core) - - [`jest@24.8.0`](https://www.npmjs.com/package/jest) - - [`lerna@3.15.0`](https://www.npmjs.com/package/lerna) - - [`react-redux@7.1.0`](https://www.npmjs.com/package/react-redux) - - [`typescript@3.5.3`](https://www.npmjs.com/package/typescript) - - [`webpack@4.35.3`](https://www.npmjs.com/package/webpack) -- `*`: Bumps [`@babel/runtime@7.5.4`](https://www.npmjs.com/package/@babel/runtime), by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) -- `*`: Bumps Docker container for headless Chrome to `selenium/standalone-chrome:3.141.59-radium`, by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) -- `*`: Moves from [`babel-plugin-version-transform`](https://www.npmjs.com/package/babel-plugin-version-transform) to [`babel-plugin-transform-inline-environment-variables`](https://www.npmjs.com/package/babel-plugin-transform-inline-environment-variables), by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) -- `*`: Bumps ESLint and related dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2185](https://github.com/microsoft/BotFramework-WebChat/pull/2185) - - [`eslint-plugin-react@7.14.2`](https://www.npmjs.com/package/eslint-plugin-react) - - [`eslint@6.0.1`](https://www.npmjs.com/package/eslint) -- `*`: Bumps React, Redux and their related dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2184](https://github.com/microsoft/BotFramework-WebChat/pull/2184) - - [`react-dom@16.8.6`](https://www.npmjs.com/package/react-dom) - - [`react-redux@5.1.1`](https://www.npmjs.com/package/react-redux) - - [`react@16.8.6`](https://www.npmjs.com/package/react) - - [`redux@4.0.4`](https://www.npmjs.com/package/redux) - - Removed [`redux-promise-middleware`](https://www.npmjs.com/package/redux-promise-middleware) -- `*`: Bumps `lodash-*`(https://www.npmjs.com/package/lodash), by [@compulim](https://github.com/compulim), in PR [#2199](https://github.com/microsoft/BotFramework-WebChat/pull/2199) - - [`lodash@4.17.14`](https://www.npmjs.com/package/lodash) - - [`lodash.mergewith@4.6.2`](https://www.npmjs.com/package/lodash.mergewith) - - [`lodash.template@4.5.0`](https://www.npmjs.com/package/lodash.template) - - [`lodash.templatesettings@4.2.0`](https://www.npmjs.com/package/lodash.template) - - [`mixin-deep@1.3.2`](https://www.npmjs.com/package/mixin-deep) - - [`set-value@2.0.1`](https://www.npmjs.com/package/set-value) - - [`union-value@1.0.1`](https://www.npmjs.com/package/union-value) -- Bumps [`web-speech-cognitive-services@4.0.1-master.6b2b9e3`](https://www.npmjs.com/package/web-speech-cognitive-services), by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246), PR [#2274](https://github.com/microsoft/BotFramework-WebChat/pull/2274), and PR [#2338](https://github.com/microsoft/BotFramework-WebChat/pull/2338) -- Fix for React hooks constraints: both app and component must share the same reference of [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom), in PR [#2274](https://github.com/microsoft/BotFramework-WebChat/pull/2274) - - `/`: Install [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) to `devDependencies` - - `bundle`: Move [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) from `dependencies` to `peerDependencies` - - `component`: Remove [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) from `devDependencies` - - `playground`: Remove [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) from `dependencies` - - `samples/*`: Move to production version of Web Chat, and bump to [`react@16.8.6`](https://www.npmjs.com/package/react) and [`react-dom@16.8.6`](https://www.npmjs.com/package/react-dom) -- Moved the typing indicator to the send box and removed the typing indicator logic from the sagas, by [@tdurnford](https://github.com/tdurnford), in PR [#2321](https://github.com/microsoft/BotFramework-WebChat/pull/2321) -- `component`: Move `Composer` to React hooks and functional components, by [@compulim](https://github.com), in PR [#2308](https://github.com/microsoft/BotFramework-WebChat/pull/2308) -- `component`: Fix [#1818](https://github.com/microsoft/BotFramework-WebChat/issues/1818) Move to functional components by [@corinagum](https://github.com/corinagum), in PR [#2322](https://github.com/microsoft/BotFramework-WebChat/pull/2322) -- Fix [#2292](https://github.com/microsoft/BotFramework-WebChat/issues/2292). Added function to select voice to props, `selectVoice()`, by [@compulim](https://github.com/compulim), in PR [#2338](https://github.com/microsoft/BotFramework-WebChat/pull/2338) -- Bumping dependencies, by [@compulim](https://github.com/compulim), in PR [#2500](https://github.com/microsoft/BotFramework-WebChat/pull/2500) - - `*`: [`web-speech-cognitive-services@5.0.1`](https://www.npmjs.com/package/web-speech-cognitive-services) - - `bundle`: [`botframework-directlinejs@0.11.6`](https://www.npmjs.com/package/botframework-directlinejs) - - `component`: [`react-film@1.3.0`](https://www.npmjs.com/package/react-film) +- `*`: Bumps all dev dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) and PR [#2308](https://github.com/microsoft/BotFramework-WebChat/pull/2308) + - [`@babel/*@7.5.4`](https://www.npmjs.com/package/@babel/core) + - [`jest@24.8.0`](https://www.npmjs.com/package/jest) + - [`lerna@3.15.0`](https://www.npmjs.com/package/lerna) + - [`react-redux@7.1.0`](https://www.npmjs.com/package/react-redux) + - [`typescript@3.5.3`](https://www.npmjs.com/package/typescript) + - [`webpack@4.35.3`](https://www.npmjs.com/package/webpack) +- `*`: Bumps [`@babel/runtime@7.5.4`](https://www.npmjs.com/package/@babel/runtime), by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) +- `*`: Bumps Docker container for headless Chrome to `selenium/standalone-chrome:3.141.59-radium`, by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) +- `*`: Moves from [`babel-plugin-version-transform`](https://www.npmjs.com/package/babel-plugin-version-transform) to [`babel-plugin-transform-inline-environment-variables`](https://www.npmjs.com/package/babel-plugin-transform-inline-environment-variables), by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) +- `*`: Bumps ESLint and related dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2185](https://github.com/microsoft/BotFramework-WebChat/pull/2185) + - [`eslint-plugin-react@7.14.2`](https://www.npmjs.com/package/eslint-plugin-react) + - [`eslint@6.0.1`](https://www.npmjs.com/package/eslint) +- `*`: Bumps React, Redux and their related dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2184](https://github.com/microsoft/BotFramework-WebChat/pull/2184) + - [`react-dom@16.8.6`](https://www.npmjs.com/package/react-dom) + - [`react-redux@5.1.1`](https://www.npmjs.com/package/react-redux) + - [`react@16.8.6`](https://www.npmjs.com/package/react) + - [`redux@4.0.4`](https://www.npmjs.com/package/redux) + - Removed [`redux-promise-middleware`](https://www.npmjs.com/package/redux-promise-middleware) +- `*`: Bumps `lodash-*`(https://www.npmjs.com/package/lodash), by [@compulim](https://github.com/compulim), in PR [#2199](https://github.com/microsoft/BotFramework-WebChat/pull/2199) + - [`lodash@4.17.14`](https://www.npmjs.com/package/lodash) + - [`lodash.mergewith@4.6.2`](https://www.npmjs.com/package/lodash.mergewith) + - [`lodash.template@4.5.0`](https://www.npmjs.com/package/lodash.template) + - [`lodash.templatesettings@4.2.0`](https://www.npmjs.com/package/lodash.template) + - [`mixin-deep@1.3.2`](https://www.npmjs.com/package/mixin-deep) + - [`set-value@2.0.1`](https://www.npmjs.com/package/set-value) + - [`union-value@1.0.1`](https://www.npmjs.com/package/union-value) +- Bumps [`web-speech-cognitive-services@4.0.1-master.6b2b9e3`](https://www.npmjs.com/package/web-speech-cognitive-services), by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246), PR [#2274](https://github.com/microsoft/BotFramework-WebChat/pull/2274), and PR [#2338](https://github.com/microsoft/BotFramework-WebChat/pull/2338) +- Fix for React hooks constraints: both app and component must share the same reference of [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom), in PR [#2274](https://github.com/microsoft/BotFramework-WebChat/pull/2274) + - `/`: Install [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) to `devDependencies` + - `bundle`: Move [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) from `dependencies` to `peerDependencies` + - `component`: Remove [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) from `devDependencies` + - `playground`: Remove [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) from `dependencies` + - `samples/*`: Move to production version of Web Chat, and bump to [`react@16.8.6`](https://www.npmjs.com/package/react) and [`react-dom@16.8.6`](https://www.npmjs.com/package/react-dom) +- Moved the typing indicator to the send box and removed the typing indicator logic from the sagas, by [@tdurnford](https://github.com/tdurnford), in PR [#2321](https://github.com/microsoft/BotFramework-WebChat/pull/2321) +- `component`: Move `Composer` to React hooks and functional components, by [@compulim](https://github.com), in PR [#2308](https://github.com/microsoft/BotFramework-WebChat/pull/2308) +- `component`: Fix [#1818](https://github.com/microsoft/BotFramework-WebChat/issues/1818) Move to functional components by [@corinagum](https://github.com/corinagum), in PR [#2322](https://github.com/microsoft/BotFramework-WebChat/pull/2322) +- Fix [#2292](https://github.com/microsoft/BotFramework-WebChat/issues/2292). Added function to select voice to props, `selectVoice()`, by [@compulim](https://github.com/compulim), in PR [#2338](https://github.com/microsoft/BotFramework-WebChat/pull/2338) +- Bumping dependencies, by [@compulim](https://github.com/compulim), in PR [#2500](https://github.com/microsoft/BotFramework-WebChat/pull/2500) + - `*`: [`web-speech-cognitive-services@5.0.1`](https://www.npmjs.com/package/web-speech-cognitive-services) + - `bundle`: [`botframework-directlinejs@0.11.6`](https://www.npmjs.com/package/botframework-directlinejs) + - `component`: [`react-film@1.3.0`](https://www.npmjs.com/package/react-film) ### Fixed -- Fixes [#2328](https://github.com/microsoft/BotFramework-WebChat/issues/2328). Updating submitSendBoxSaga.js to send sendBoxValue.trim(), by [@jimmyjames177414](https://github.com/jimmyjames177414) in PR [#2331](https://github.com/microsoft/BotFramework-WebChat/pull/2331) -- Fixes [#2160](https://github.com/microsoft/BotFramework-WebChat/issues/2160). Clear suggested actions after clicking on a suggested actions of type `openUrl`, by [@tdurnford](https://github.com/tdurnford) in PR [#2190](https://github.com/microsoft/BotFramework-WebChat/pull/2190) -- Fixes [#1954](https://github.com/microsoft/BotFramework-WebChat/issues/1954). Estimate clock skew and adjust timestamp for outgoing activity, by [@compulim](https://github.com/compulim) in PR [#2208](https://github.com/microsoft/BotFramework-WebChat/pull/2208) -- Fixes [#2240](https://github.com/microsoft/BotFramework-WebChat/issues/2240). Fix microphone button should be re-enabled after error, by [@compulim](https://github.com/compulim) in PR [#2241](https://github.com/microsoft/BotFramework-WebChat/pull/2241) -- Fixes [#2250](https://github.com/microsoft/BotFramework-WebChat/issues/2250). Fix React warnings related prop types, by [@compulim](https://github.com/compulim) in PR [#2253](https://github.com/microsoft/BotFramework-WebChat/pull/2253) -- Fixes [#2245](https://github.com/microsoft/BotFramework-WebChat/issues/2245). Fix speech synthesis not working on Safari by priming the engine on the first microphone button click, by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246) -- Fixes [#1514](https://github.com/microsoft/BotFramework-WebChat/issues/1514). Added reference grammar ID when using Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246) -- Fixes [#1515](https://github.com/microsoft/BotFramework-WebChat/issues/1515). Added dynamic phrases when using Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246) -- Fixes [#2273](https://github.com/microsoft/BotFramework-WebChat/issues/2273). Add `ScreenReaderText` component, by [@corinagum](https://github.com/corinagum) in PR [#2278](https://github.com/microsoft/BotFramework-WebChat/pull/2278) -- Fixes [#2231](https://github.com/microsoft/BotFramework-WebChat/issues/2231). Fallback to English (US) if date time formatting failed, by [@compulim](https://github.com/compulim) in PR [#2286](https://github.com/microsoft/BotFramework-WebChat/pull/2286) -- Fixes [#2298](https://github.com/microsoft/BotFramework-WebChat/issues/2298). Speech synthesize errors to be ignored, by [@compulim](https://github.com/compulim) in PR [#2300](https://github.com/microsoft/BotFramework-WebChat/issues/2300) -- Fixes [#2243](https://github.com/microsoft/BotFramework-WebChat/issues/2243). Fixed sagas to correctly mark activities with speaking attachments, by [@tdurnford](https://github.com/tdurnford) in PR [#2320](https://github.com/microsoft/BotFramework-WebChat/issues/2320) -- Fixes [#2365](https://github.com/microsoft/BotFramework-WebChat/issues/2365). Fix Adaptive Card `pushButton` appearance on Chrome, by [@corinagum](https://github.com/corinagum) in PR [#2382](https://github.com/microsoft/BotFramework-WebChat/pull/2382) -- Fixes [#2379](https://github.com/microsoft/BotFramework-WebChat/issues/2379). Speech synthesis can be configured off by passing `null`, by [@compulim](https://github.com/compulim) in PR [#2408](https://github.com/microsoft/BotFramework-WebChat/pull/2408) -- Fixes [#2418](https://github.com/microsoft/BotFramework-WebChat/issues/2418). Connectivity status should not waste-render every 400 ms, by [@compulim](https://github.com/compulim) in PR [#2419](https://github.com/microsoft/BotFramework-WebChat/pull/2419) -- Fixes [#2415](https://github.com/microsoft/BotFramework-WebChat/issues/2415) and [#2416](https://github.com/microsoft/BotFramework-WebChat/issues/2416). Fix receipt card rendering, by [@compulim](https://github.com/compulim) in PR [#2417](https://github.com/microsoft/BotFramework-WebChat/issues/2417) -- Fixes [#2415](https://github.com/microsoft/BotFramework-WebChat/issues/2415) and [#2416](https://github.com/microsoft/BotFramework-WebChat/issues/2416). Fix Adaptive Cards cannot be disabled on-the-fly, by [@compulim](https://github.com/compulim) in PR [#2417](https://github.com/microsoft/BotFramework-WebChat/issues/2417) -- Fixes [#2360](https://github.com/microsoft/BotFramework-WebChat/issues/2360). Timestamp should update on language change, by [@compulim](https://github.com/compulim) in PR [#2414](https://github.com/microsoft/BotFramework-WebChat/pull/2414) -- Fixes [#2428](https://github.com/microsoft/BotFramework-WebChat/issues/2428). Should interrupt speech synthesis after microphone button is clicked, by [@compulim](https://github.com/compulim) in PR [#2429](https://github.com/microsoft/BotFramework-WebChat/pull/2429) -- Fixes [#2435](https://github.com/microsoft/BotFramework-WebChat/issues/2435). Fix microphone button getting stuck on voice-triggered expecting input hint without a speech synthesis engine, by [@compulim](https://github.com/compulim) in PR [#2445](https://github.com/microsoft/BotFramework-WebChat/pull/2445) -- Fixes [#2472](https://github.com/microsoft/BotFramework-WebChat/issues/2472). Update samples to use repo's version of React, by [@corinagum](https://github.com/corinagum) in PR [#2478](https://github.com/microsoft/BotFramework-WebChat/pull/2478) -- Fixes [#2473](https://github.com/microsoft/BotFramework-WebChat/issues/2473). Fix samples 13 using wrong region for Speech Services credentials, by [@compulim](https://github.com/compulim) in PR [#2482](https://github.com/microsoft/BotFramework-WebChat/pull/2482) -- Fixes [#2420](https://github.com/microsoft/BotFramework-WebChat/issues/2420). Fix saga error should not result in an unhandled exception, by [@compulim](https://github.com/compulim) in PR [#2421](https://github.com/microsoft/BotFramework-WebChat/pull/2421) -- Fixes [#2513](https://github.com/microsoft/BotFramework-WebChat/issues/2513). Fix `core-js` not loading properly, by [@compulim](https://github.com/compulim) in PR [#2514](https://github.com/microsoft/BotFramework-WebChat/pull/2514) -- Fixes [#2516](https://github.com/microsoft/BotFramework-WebChat/issues/2516). Disable microphone input for `expecting` input hint on Safari, by [@compulim](https://github.com/compulim) in PR [#2517](https://github.com/microsoft/BotFramework-WebChat/pull/2517) and PR [#2520](https://github.com/microsoft/BotFramework-WebChat/pull/2520) -- Fixes [#2518](https://github.com/microsoft/BotFramework-WebChat/issues/2518). Synthesis of bot activities with input hint expecting, should be interruptible, by [@compulim](https://github.com/compulim) in PR [#2520](https://github.com/microsoft/BotFramework-WebChat/pull/2520) -- Fixes [#2519](https://github.com/microsoft/BotFramework-WebChat/issues/2519). On Safari, microphone should turn on after synthesis of bot activities with input hint expecting, by [@compulim](https://github.com/compulim) in PR [#2520](https://github.com/microsoft/BotFramework-WebChat/pull/2520) -- Fixes [#2521](https://github.com/microsoft/BotFramework-WebChat/issues/2521). `webchat-es5.js` should not contains non-ES5 code and must be loadable by IE11, by [@compulim](https://github.com/compulim) in PR [#2522](https://github.com/microsoft/BotFramework-WebChat/pull/2522) -- Fixes [#2524](https://github.com/microsoft/BotFramework-WebChat/issues/2524). Version was not burnt into source code correctly, by [@compulim](https://github.com/compulim) in PR [#2525](https://github.com/microsoft/BotFramework-WebChat/pull/2525) +- Fixes [#2328](https://github.com/microsoft/BotFramework-WebChat/issues/2328). Updating submitSendBoxSaga.js to send sendBoxValue.trim(), by [@jimmyjames177414](https://github.com/jimmyjames177414) in PR [#2331](https://github.com/microsoft/BotFramework-WebChat/pull/2331) +- Fixes [#2160](https://github.com/microsoft/BotFramework-WebChat/issues/2160). Clear suggested actions after clicking on a suggested actions of type `openUrl`, by [@tdurnford](https://github.com/tdurnford) in PR [#2190](https://github.com/microsoft/BotFramework-WebChat/pull/2190) +- Fixes [#1954](https://github.com/microsoft/BotFramework-WebChat/issues/1954). Estimate clock skew and adjust timestamp for outgoing activity, by [@compulim](https://github.com/compulim) in PR [#2208](https://github.com/microsoft/BotFramework-WebChat/pull/2208) +- Fixes [#2240](https://github.com/microsoft/BotFramework-WebChat/issues/2240). Fix microphone button should be re-enabled after error, by [@compulim](https://github.com/compulim) in PR [#2241](https://github.com/microsoft/BotFramework-WebChat/pull/2241) +- Fixes [#2250](https://github.com/microsoft/BotFramework-WebChat/issues/2250). Fix React warnings related prop types, by [@compulim](https://github.com/compulim) in PR [#2253](https://github.com/microsoft/BotFramework-WebChat/pull/2253) +- Fixes [#2245](https://github.com/microsoft/BotFramework-WebChat/issues/2245). Fix speech synthesis not working on Safari by priming the engine on the first microphone button click, by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246) +- Fixes [#1514](https://github.com/microsoft/BotFramework-WebChat/issues/1514). Added reference grammar ID when using Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246) +- Fixes [#1515](https://github.com/microsoft/BotFramework-WebChat/issues/1515). Added dynamic phrases when using Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246) +- Fixes [#2273](https://github.com/microsoft/BotFramework-WebChat/issues/2273). Add `ScreenReaderText` component, by [@corinagum](https://github.com/corinagum) in PR [#2278](https://github.com/microsoft/BotFramework-WebChat/pull/2278) +- Fixes [#2231](https://github.com/microsoft/BotFramework-WebChat/issues/2231). Fallback to English (US) if date time formatting failed, by [@compulim](https://github.com/compulim) in PR [#2286](https://github.com/microsoft/BotFramework-WebChat/pull/2286) +- Fixes [#2298](https://github.com/microsoft/BotFramework-WebChat/issues/2298). Speech synthesize errors to be ignored, by [@compulim](https://github.com/compulim) in PR [#2300](https://github.com/microsoft/BotFramework-WebChat/issues/2300) +- Fixes [#2243](https://github.com/microsoft/BotFramework-WebChat/issues/2243). Fixed sagas to correctly mark activities with speaking attachments, by [@tdurnford](https://github.com/tdurnford) in PR [#2320](https://github.com/microsoft/BotFramework-WebChat/issues/2320) +- Fixes [#2365](https://github.com/microsoft/BotFramework-WebChat/issues/2365). Fix Adaptive Card `pushButton` appearance on Chrome, by [@corinagum](https://github.com/corinagum) in PR [#2382](https://github.com/microsoft/BotFramework-WebChat/pull/2382) +- Fixes [#2379](https://github.com/microsoft/BotFramework-WebChat/issues/2379). Speech synthesis can be configured off by passing `null`, by [@compulim](https://github.com/compulim) in PR [#2408](https://github.com/microsoft/BotFramework-WebChat/pull/2408) +- Fixes [#2418](https://github.com/microsoft/BotFramework-WebChat/issues/2418). Connectivity status should not waste-render every 400 ms, by [@compulim](https://github.com/compulim) in PR [#2419](https://github.com/microsoft/BotFramework-WebChat/pull/2419) +- Fixes [#2415](https://github.com/microsoft/BotFramework-WebChat/issues/2415) and [#2416](https://github.com/microsoft/BotFramework-WebChat/issues/2416). Fix receipt card rendering, by [@compulim](https://github.com/compulim) in PR [#2417](https://github.com/microsoft/BotFramework-WebChat/issues/2417) +- Fixes [#2415](https://github.com/microsoft/BotFramework-WebChat/issues/2415) and [#2416](https://github.com/microsoft/BotFramework-WebChat/issues/2416). Fix Adaptive Cards cannot be disabled on-the-fly, by [@compulim](https://github.com/compulim) in PR [#2417](https://github.com/microsoft/BotFramework-WebChat/issues/2417) +- Fixes [#2360](https://github.com/microsoft/BotFramework-WebChat/issues/2360). Timestamp should update on language change, by [@compulim](https://github.com/compulim) in PR [#2414](https://github.com/microsoft/BotFramework-WebChat/pull/2414) +- Fixes [#2428](https://github.com/microsoft/BotFramework-WebChat/issues/2428). Should interrupt speech synthesis after microphone button is clicked, by [@compulim](https://github.com/compulim) in PR [#2429](https://github.com/microsoft/BotFramework-WebChat/pull/2429) +- Fixes [#2435](https://github.com/microsoft/BotFramework-WebChat/issues/2435). Fix microphone button getting stuck on voice-triggered expecting input hint without a speech synthesis engine, by [@compulim](https://github.com/compulim) in PR [#2445](https://github.com/microsoft/BotFramework-WebChat/pull/2445) +- Fixes [#2472](https://github.com/microsoft/BotFramework-WebChat/issues/2472). Update samples to use repo's version of React, by [@corinagum](https://github.com/corinagum) in PR [#2478](https://github.com/microsoft/BotFramework-WebChat/pull/2478) +- Fixes [#2473](https://github.com/microsoft/BotFramework-WebChat/issues/2473). Fix samples 13 using wrong region for Speech Services credentials, by [@compulim](https://github.com/compulim) in PR [#2482](https://github.com/microsoft/BotFramework-WebChat/pull/2482) +- Fixes [#2420](https://github.com/microsoft/BotFramework-WebChat/issues/2420). Fix saga error should not result in an unhandled exception, by [@compulim](https://github.com/compulim) in PR [#2421](https://github.com/microsoft/BotFramework-WebChat/pull/2421) +- Fixes [#2513](https://github.com/microsoft/BotFramework-WebChat/issues/2513). Fix `core-js` not loading properly, by [@compulim](https://github.com/compulim) in PR [#2514](https://github.com/microsoft/BotFramework-WebChat/pull/2514) +- Fixes [#2516](https://github.com/microsoft/BotFramework-WebChat/issues/2516). Disable microphone input for `expecting` input hint on Safari, by [@compulim](https://github.com/compulim) in PR [#2517](https://github.com/microsoft/BotFramework-WebChat/pull/2517) and PR [#2520](https://github.com/microsoft/BotFramework-WebChat/pull/2520) +- Fixes [#2518](https://github.com/microsoft/BotFramework-WebChat/issues/2518). Synthesis of bot activities with input hint expecting, should be interruptible, by [@compulim](https://github.com/compulim) in PR [#2520](https://github.com/microsoft/BotFramework-WebChat/pull/2520) +- Fixes [#2519](https://github.com/microsoft/BotFramework-WebChat/issues/2519). On Safari, microphone should turn on after synthesis of bot activities with input hint expecting, by [@compulim](https://github.com/compulim) in PR [#2520](https://github.com/microsoft/BotFramework-WebChat/pull/2520) +- Fixes [#2521](https://github.com/microsoft/BotFramework-WebChat/issues/2521). `webchat-es5.js` should not contains non-ES5 code and must be loadable by IE11, by [@compulim](https://github.com/compulim) in PR [#2522](https://github.com/microsoft/BotFramework-WebChat/pull/2522) +- Fixes [#2524](https://github.com/microsoft/BotFramework-WebChat/issues/2524). Version was not burnt into source code correctly, by [@compulim](https://github.com/compulim) in PR [#2525](https://github.com/microsoft/BotFramework-WebChat/pull/2525) ### Added -- Resolves [#2157](https://github.com/microsoft/BotFramework-WebChat/issues/2157), added `emitTypingIndicator` action and dispatcher, by [@compulim](https://github.com/compulim), in PR [#2413](https://github.com/microsoft/BotFramework-WebChat/pull/2413) -- Resolves [#2307](https://github.com/microsoft/BotFramework-WebChat/issues/2307). Added options to hide ScrollToEnd button, by [@nt-7](https://github.com/nt-7) in PR [#2332](https://github.com/microsoft/BotFramework-WebChat/pull/2332) -- Added bubble nub and style options, by [@compulim](https://github.com/compulim), in PR [#2137](https://github.com/microsoft/BotFramework-WebChat/pull/2137) and PR [#2487](https://github.com/microsoft/BotFramework-WebChat/pull/2487) -- Resolves [#1808](https://github.com/microsoft/BotFramework-WebChat/issues/1808). Added documentation on [activity types](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/ACTIVITYTYPES.md), by [@corinagum](https://github.com/corinagum) in PR [#2228](https://github.com/microsoft/BotFramework-WebChat/pull/2228) -- Added `timestampFormat` option to the default style options and created `AbsoluteTime` component, by [@tdurnford](https://github.com/tdurnford), in PR [#2295](https://github.com/microsoft/BotFramework-WebChat/pull/2295) -- `embed`: Added ES5 polyfills and dev server, by [@compulim](https://github.com/compulim), in PR [#2315](https://github.com/microsoft/BotFramework-WebChat/pull/2315) -- Resolves [#2380](https://github.com/microsoft/BotFramework-WebChat/issues/2380). Added `botAvatarBackgroundColor` and `userAvatarBackgroundColor` to the default style options, by [@tdurnford](https://github.com/tdurnford) in PR [#2384](https://github.com/microsoft/BotFramework-WebChat/pull/2384) -- Added full screen capability to `IFRAME` in the `YouTubeContent` and `VimeoContent` components by [@tdurnford](https://github.com/tdurnford) in PR [#2399](https://github.com/microsoft/BotFramework-WebChat/pull/2399) -- Resolves [#2461](https://github.com/microsoft/BotFramework-WebChat/issues/2461), added `isomorphic-react` and `isomorphic-react-dom` packages, by [@compulim](https://github.com/compulim) and [@corinagum](https://github.com/corinagum), in PR [#2478](https://github.com/microsoft/BotFramework-WebChat/pull/2478) and PR [#2486](https://github.com/microsoft/BotFramework-WebChat/pull/2486) -- Added missing Norwegian (nb-NO) translations, by [@taarskog](https://github.com/taarskog) -- Added missing Italian (it-IT) translations, by [@AntoT84](https://github.com/AntoT84) -- Resolve [#2481](https://github.com/microsoft/BotFramework-WebChat/issues/2481). Support alternative audio input source by adding `audioConfig` prop to `createCognitiveServicesSpeechServicesPonyfillFactory`, by [@corinagum](https://github.com/corinagum), in PR [#2491](https://github.com/microsoft/BotFramework-WebChat/pull/2491) -- Added missing Finnish (fi-FI) translations, by [@sk91swd](https://github.com/sk91swd), in PR [#2501](https://github.com/microsoft/BotFramework-WebChat/pull/2501) +- Resolves [#2157](https://github.com/microsoft/BotFramework-WebChat/issues/2157), added `emitTypingIndicator` action and dispatcher, by [@compulim](https://github.com/compulim), in PR [#2413](https://github.com/microsoft/BotFramework-WebChat/pull/2413) +- Resolves [#2307](https://github.com/microsoft/BotFramework-WebChat/issues/2307). Added options to hide ScrollToEnd button, by [@nt-7](https://github.com/nt-7) in PR [#2332](https://github.com/microsoft/BotFramework-WebChat/pull/2332) +- Added bubble nub and style options, by [@compulim](https://github.com/compulim), in PR [#2137](https://github.com/microsoft/BotFramework-WebChat/pull/2137) and PR [#2487](https://github.com/microsoft/BotFramework-WebChat/pull/2487) +- Resolves [#1808](https://github.com/microsoft/BotFramework-WebChat/issues/1808). Added documentation on [activity types](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/ACTIVITYTYPES.md), by [@corinagum](https://github.com/corinagum) in PR [#2228](https://github.com/microsoft/BotFramework-WebChat/pull/2228) +- Added `timestampFormat` option to the default style options and created `AbsoluteTime` component, by [@tdurnford](https://github.com/tdurnford), in PR [#2295](https://github.com/microsoft/BotFramework-WebChat/pull/2295) +- `embed`: Added ES5 polyfills and dev server, by [@compulim](https://github.com/compulim), in PR [#2315](https://github.com/microsoft/BotFramework-WebChat/pull/2315) +- Resolves [#2380](https://github.com/microsoft/BotFramework-WebChat/issues/2380). Added `botAvatarBackgroundColor` and `userAvatarBackgroundColor` to the default style options, by [@tdurnford](https://github.com/tdurnford) in PR [#2384](https://github.com/microsoft/BotFramework-WebChat/pull/2384) +- Added full screen capability to `IFRAME` in the `YouTubeContent` and `VimeoContent` components by [@tdurnford](https://github.com/tdurnford) in PR [#2399](https://github.com/microsoft/BotFramework-WebChat/pull/2399) +- Resolves [#2461](https://github.com/microsoft/BotFramework-WebChat/issues/2461), added `isomorphic-react` and `isomorphic-react-dom` packages, by [@compulim](https://github.com/compulim) and [@corinagum](https://github.com/corinagum), in PR [#2478](https://github.com/microsoft/BotFramework-WebChat/pull/2478) and PR [#2486](https://github.com/microsoft/BotFramework-WebChat/pull/2486) +- Added missing Norwegian (nb-NO) translations, by [@taarskog](https://github.com/taarskog) +- Added missing Italian (it-IT) translations, by [@AntoT84](https://github.com/AntoT84) +- Resolve [#2481](https://github.com/microsoft/BotFramework-WebChat/issues/2481). Support alternative audio input source by adding `audioConfig` prop to `createCognitiveServicesSpeechServicesPonyfillFactory`, by [@corinagum](https://github.com/corinagum), in PR [#2491](https://github.com/microsoft/BotFramework-WebChat/pull/2491) +- Added missing Finnish (fi-FI) translations, by [@sk91swd](https://github.com/sk91swd), in PR [#2501](https://github.com/microsoft/BotFramework-WebChat/pull/2501) ### Samples -- [Single sign-on for Microsoft Teams apps](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/d.sso-for-teams/), by [@compulim](https://github.com/compulim) in [#2196](https://github.com/microsoft/BotFramework-WebChat/pull/2196) -- [Customize Web Chat with Reaction Buttons](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/d.reaction-buttons/). Updated reaction handlers to send `messageReaction` activities, by [@tdurnford](https://github.com/tdurnford) in [#2239](https://github.com/microsoft/BotFramework-WebChat/pull/2239) -- [Select voice for speech synthesis](https://microsoft.github.io/BotFramework-WebChat/03.speech/e.select-voice/), by [@compulim](https://github.com/compulim), in PR [#2338](https://github.com/microsoft/BotFramework-WebChat/pull/2338) -- [Using different versions of React on a hosting app via NPM packages](https://microsoft.github.io/BotFramework-WebChat/01.getting-started/g.hybrid-react-npm/), by [@compulim](https://github.com/compulim), in PR [#2509](https://github.com/microsoft/BotFramework-WebChat/pull/2509) +- [Single sign-on for Microsoft Teams apps](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/d.sso-for-teams/), by [@compulim](https://github.com/compulim) in [#2196](https://github.com/microsoft/BotFramework-WebChat/pull/2196) +- [Customize Web Chat with Reaction Buttons](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/d.reaction-buttons/). Updated reaction handlers to send `messageReaction` activities, by [@tdurnford](https://github.com/tdurnford) in [#2239](https://github.com/microsoft/BotFramework-WebChat/pull/2239) +- [Select voice for speech synthesis](https://microsoft.github.io/BotFramework-WebChat/03.speech/e.select-voice/), by [@compulim](https://github.com/compulim), in PR [#2338](https://github.com/microsoft/BotFramework-WebChat/pull/2338) +- [Using different versions of React on a hosting app via NPM packages](https://microsoft.github.io/BotFramework-WebChat/01.getting-started/g.hybrid-react-npm/), by [@compulim](https://github.com/compulim), in PR [#2509](https://github.com/microsoft/BotFramework-WebChat/pull/2509) ## [4.5.3] - 2019-10-10 ### Changed -- `bundle`: Bumped DirectLineJS to support metadata when uploading attachments, in PR [#2433](https://github.com/microsoft/BotFramework-WebChat/pull/2433) - - [`botframework-directlinejs@0.11.5`](https://www.npmjs.com/package/botframework-directlinejs) - - Removed DirectLineJS as a dev dependency for `component` because it was not referenced +- `bundle`: Bumped DirectLineJS to support metadata when uploading attachments, in PR [#2433](https://github.com/microsoft/BotFramework-WebChat/pull/2433) + - [`botframework-directlinejs@0.11.5`](https://www.npmjs.com/package/botframework-directlinejs) + - Removed DirectLineJS as a dev dependency for `component` because it was not referenced ### Fixed -- Fixes [#2248](https://github.com/microsoft/BotFramework-WebChat/issues/2248). Remove download links from user-uploaded attachment without thumbnails, by [@compulim](https://github.com/compulim) in PR [#2262](https://github.com/microsoft/BotFramework-WebChat/pull/2262) -- Fixes [Emulator:#1823](https://github.com/microsoft/BotFramework-Emulator/issues/1823). Fix Sendbox "Type your message" being read twice by AT, by [@corinagum](https://github.com/corinagum) in PR [#2423](https://github.com/microsoft/BotFramework-WebChat/pull/2423) -- Fixes [#2422](https://github.com/microsoft/BotFramework-WebChat/issues/2422). Store thumbnail URL using the activity's `attachment.thumbnailUrl` field, by [@compulim](https://github.com/compulim) in PR [#2433](https://github.com/microsoft/BotFramework-WebChat/pull/2433) +- Fixes [#2248](https://github.com/microsoft/BotFramework-WebChat/issues/2248). Remove download links from user-uploaded attachment without thumbnails, by [@compulim](https://github.com/compulim) in PR [#2262](https://github.com/microsoft/BotFramework-WebChat/pull/2262) +- Fixes [Emulator:#1823](https://github.com/microsoft/BotFramework-Emulator/issues/1823). Fix Sendbox "Type your message" being read twice by AT, by [@corinagum](https://github.com/corinagum) in PR [#2423](https://github.com/microsoft/BotFramework-WebChat/pull/2423) +- Fixes [#2422](https://github.com/microsoft/BotFramework-WebChat/issues/2422). Store thumbnail URL using the activity's `attachment.thumbnailUrl` field, by [@compulim](https://github.com/compulim) in PR [#2433](https://github.com/microsoft/BotFramework-WebChat/pull/2433) ### Added -- Make thumbnails when uploading GIF/JPEG/PNG and store it in `channelData.attachmentThumbnails`, by [@compulim](https://github.com/compulim), in PR [#2206](https://github.com/microsoft/BotFramework-WebChat/pull/2206), requires modern browsers with following features: - - [Web Workers API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) - - [`createImageBitmap`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/createImageBitmap) - - [`MessageChannel`](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel)/[`MessagePort`](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort) - - [`OffscreenCanvas`](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas) - - Specifically [`OffscreenCanvas.getContext('2d')`](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/getContext) -- Render thumbnail for image attachments using `activity.attachments[].thumbnailUrl`, by [@compulim](https://github.com/compulim) in PR [#2433](https://github.com/microsoft/BotFramework-WebChat/pull/2433) +- Make thumbnails when uploading GIF/JPEG/PNG and store it in `channelData.attachmentThumbnails`, by [@compulim](https://github.com/compulim), in PR [#2206](https://github.com/microsoft/BotFramework-WebChat/pull/2206), requires modern browsers with following features: + - [Web Workers API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) + - [`createImageBitmap`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/createImageBitmap) + - [`MessageChannel`](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel)/[`MessagePort`](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort) + - [`OffscreenCanvas`](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas) + - Specifically [`OffscreenCanvas.getContext('2d')`](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/getContext) +- Render thumbnail for image attachments using `activity.attachments[].thumbnailUrl`, by [@compulim](https://github.com/compulim) in PR [#2433](https://github.com/microsoft/BotFramework-WebChat/pull/2433) ## [4.5.2] - 2019-08-07 -- Fixes [#2273](https://github.com/microsoft/BotFramework-WebChat/issues/2273). Add `ScreenReaderText` component, by [@corinagum](https://github.com/corinagum) in PR [#2278](https://github.com/microsoft/BotFramework-WebChat/pull/2278) +- Fixes [#2273](https://github.com/microsoft/BotFramework-WebChat/issues/2273). Add `ScreenReaderText` component, by [@corinagum](https://github.com/corinagum) in PR [#2278](https://github.com/microsoft/BotFramework-WebChat/pull/2278) ## [4.5.1] - 2019-08-01 ### Fixed -- Fixes [#2187](https://github.com/microsoft/BotFramework-WebChat/issues/2187). Bump core-js and update core-js modules on index-es5.js, by [@corinagum](https://github.com/corinagum) in PR [#2195](https://github.com/microsoft/BotFramework-WebChat/pull/2195) -- Fixes [#2193](https://github.com/microsoft/BotFramework-WebChat/issues/2193). Fix Adaptive Card/attachments do not get read by Narrator, by [@corinagum](https://github.com/corinagum) in PR [#2226](https://github.com/microsoft/BotFramework-WebChat/pull/2226) -- Fixes [#2150](https://github.com/microsoft/BotFramework-WebChat/issues/2193). Fix timestamps read by Narrator, by [@corinagum](https://github.com/corinagum) in PR [#2226](https://github.com/microsoft/BotFramework-WebChat/pull/2226) -- Fixes [#2250](https://github.com/microsoft/BotFramework-WebChat/issues/2250). Fix React warnings related prop types, by [@compulim](https://github.com/compulim) in PR [#2253](https://github.com/microsoft/BotFramework-WebChat/pull/2253) +- Fixes [#2187](https://github.com/microsoft/BotFramework-WebChat/issues/2187). Bump core-js and update core-js modules on index-es5.js, by [@corinagum](https://github.com/corinagum) in PR [#2195](https://github.com/microsoft/BotFramework-WebChat/pull/2195) +- Fixes [#2193](https://github.com/microsoft/BotFramework-WebChat/issues/2193). Fix Adaptive Card/attachments do not get read by Narrator, by [@corinagum](https://github.com/corinagum) in PR [#2226](https://github.com/microsoft/BotFramework-WebChat/pull/2226) +- Fixes [#2150](https://github.com/microsoft/BotFramework-WebChat/issues/2193). Fix timestamps read by Narrator, by [@corinagum](https://github.com/corinagum) in PR [#2226](https://github.com/microsoft/BotFramework-WebChat/pull/2226) +- Fixes [#2250](https://github.com/microsoft/BotFramework-WebChat/issues/2250). Fix React warnings related prop types, by [@compulim](https://github.com/compulim) in PR [#2253](https://github.com/microsoft/BotFramework-WebChat/pull/2253) ## [4.5.0] - 2019-07-10 ### Added -- `*`: Added [`eslint`](https://npmjs.com/package/eslint/) to static code analysis, by [@compulim](https://github.com/compulim), in PR [#1970](https://github.com/microsoft/BotFramework-WebChat/pull/1970) -- Added pt-PT language, by [@bodyzatva](https://github.com/bodyzatva) in PR [#2005](https://github.com/microsoft/BotFramework-WebChat/pull/2005) and PR [#2020](https://github.com/microsoft/BotFramework-WebChat/pull/2020) -- Added documentation for using Web Chat dev build, by [@corinagum](https://github.com/corinagum), in PR [#2074](https://github.com/microsoft/BotFramework-WebChat/pull/2074) -- Added the Web Chat version to DirectLine's botAgent option, by [@tdurnford](https://github.com/tdurnford), in PR [#2101](https://github.com/microsoft/BotFramework-WebChat/pull/2101) -- Added `richCardWrapTitle` to `defaultStyleOptions`, by [@tdurnford](https://github.com/tdurnford), in PR [#2115](https://github.com/microsoft/BotFramework-WebChat/pull/2115) -- Added test harness for speech recognition and synthesis for [#2122](https://github.com/microsoft/BotFramework-WebChat/issues/2122), by [@compulim](https://github.com/compulim), in PR [#2153](https://github.com/microsoft/BotFramework-WebChat/pull/2153) +- `*`: Added [`eslint`](https://npmjs.com/package/eslint/) to static code analysis, by [@compulim](https://github.com/compulim), in PR [#1970](https://github.com/microsoft/BotFramework-WebChat/pull/1970) +- Added pt-PT language, by [@bodyzatva](https://github.com/bodyzatva) in PR [#2005](https://github.com/microsoft/BotFramework-WebChat/pull/2005) and PR [#2020](https://github.com/microsoft/BotFramework-WebChat/pull/2020) +- Added documentation for using Web Chat dev build, by [@corinagum](https://github.com/corinagum), in PR [#2074](https://github.com/microsoft/BotFramework-WebChat/pull/2074) +- Added the Web Chat version to DirectLine's botAgent option, by [@tdurnford](https://github.com/tdurnford), in PR [#2101](https://github.com/microsoft/BotFramework-WebChat/pull/2101) +- Added `richCardWrapTitle` to `defaultStyleOptions`, by [@tdurnford](https://github.com/tdurnford), in PR [#2115](https://github.com/microsoft/BotFramework-WebChat/pull/2115) +- Added test harness for speech recognition and synthesis for [#2122](https://github.com/microsoft/BotFramework-WebChat/issues/2122), by [@compulim](https://github.com/compulim), in PR [#2153](https://github.com/microsoft/BotFramework-WebChat/pull/2153) ### Changed -- `*`: Bumps to [`lerna@3.13.4`](https://npmjs.com/package/lerna/), by [@corinagum](https://github.com/corinagum), in PR [#1989](https://github.com/microsoft/BotFramework-WebChat/pull/1989) -- `*`: Bumps to: - - [`lerna@3.13.4`](https://npmjs.com/package/lerna/), - - [`react-scripts@3.0.0`](https://npmjs.com/package/react-scripts/), - - [`webpack@4.30.0`](https://npmjs.com/package/webpack/), by [@corinagum](https://github.com/corinagum), in PR [#1965](https://github.com/microsoft/BotFramework-WebChat/pull/1965) -- `bundle`: Bumps to [`adaptivecards@1.2.0`](https://npmjs.com/package/adaptivecards), by [@corinagum](https://github.com/corinagum), in PR [#2064](https://github.com/microsoft/BotFramework-WebChat/pull/2064) +- `*`: Bumps to [`lerna@3.13.4`](https://npmjs.com/package/lerna/), by [@corinagum](https://github.com/corinagum), in PR [#1989](https://github.com/microsoft/BotFramework-WebChat/pull/1989) +- `*`: Bumps to: + - [`lerna@3.13.4`](https://npmjs.com/package/lerna/), + - [`react-scripts@3.0.0`](https://npmjs.com/package/react-scripts/), + - [`webpack@4.30.0`](https://npmjs.com/package/webpack/), by [@corinagum](https://github.com/corinagum), in PR [#1965](https://github.com/microsoft/BotFramework-WebChat/pull/1965) +- `bundle`: Bumps to [`adaptivecards@1.2.0`](https://npmjs.com/package/adaptivecards), by [@corinagum](https://github.com/corinagum), in PR [#2064](https://github.com/microsoft/BotFramework-WebChat/pull/2064) ### Fixed -- Fixes [#1974](https://github.com/microsoft/BotFramework-WebChat/issues/1974). Update `/docs/` folder to `/media/` and delete unused images, by [@corinagum](https://github.com/corinagum) in PR [#1975](https://github.com/microsoft/BotFramework-WebChat/pull/1975) -- Fixes [#1980](https://github.com/microsoft/BotFramework-WebChat/issues/1980). Changed `sendBoxTextArea` styles to break words longer than the `textarea`, by [@tdurnford](https://github.com/tdurnford) in PR [#1986](https://github.com/microsoft/BotFramework-WebChat/pull/1986) -- Fixes [#1969](https://github.com/microsoft/BotFramework-WebChat/issues/1969). Move `styleSet`s related to Adaptive Cards to full bundle, by [@corinagum](https://github.com/corinagum) in PR [#1987](https://github.com/microsoft/BotFramework-WebChat/pull/1987) -- Fixes [#1429](https://github.com/microsoft/BotFramework-WebChat/issues/1429). Changed Markdown-It options to render newline characters correctly, by [@tdurnford](https://github.com/tdurnford) in PR [#1988](https://github.com/microsoft/BotFramework-WebChat/pull/1988) -- Fixes [#1736](https://github.com/microsoft/BotFramework-WebChat/issues/1736). Fixed only first activity in a batch is spoken, by [@compulim](https://github.com/compulim) in PR [#2016](https://github.com/microsoft/BotFramework-WebChat/pull/2016) -- Fixes [#2008](https://github.com/microsoft/BotFramework-WebChat/issues/2008). Fixed playground due to recent eslint changes, by [@compulim](https://github.com/compulim) in PR [#2009](https://github.com/microsoft/BotFramework-WebChat/pull/2009) -- Fixes [#1876](https://github.com/microsoft/BotFramework-WebChat/issues/1876). Accessibility fixes on Web Chat transcript, by [@corinagum](https://github.com/corinagum) in PR [#2018](https://github.com/microsoft/BotFramework-WebChat/pull/2018) -- Fixes [#1829](https://github.com/microsoft/BotFramework-WebChat/issues/1829). Fixed long text not being synthesized by Cognitive Services by bumping to [`react-say@1.2.0`](https://github.com/compulim/react-say), by [@compulim](https://github.com/compulim) in PR [#2035](https://github.com/microsoft/BotFramework-WebChat/pull/2035) -- Fixes [#1982](https://github.com/microsoft/BotFramework-WebChat/issues/1982). Move to prettier! by [@corinagum](https://github.com/corinagum) in PR [#2038](https://github.com/microsoft/BotFramework-WebChat/pull/2038) -- Fixes [#1429](https://github.com/microsoft/BotFramework-WebChat/issues/1429). Added Markdown string preprocessing so the renderer will respect CRLF carriage returns (\r\n), by [@tdurnford](https://github.com/tdurnford) in PR [#2055](https://github.com/microsoft/BotFramework-WebChat/pull/2055) -- Fixes [#2057](https://github.com/microsoft/BotFramework-WebChat/issues/2057). Added `sip:` protocol to sanitize HTML options, by [@tdurnford](https://github.com/tdurnford) in PR [#2061](https://github.com/microsoft/BotFramework-WebChat/pull/2061) -- Fixes [#2062](https://github.com/microsoft/BotFramework-WebChat/issues/2062). Fixed Markdown rendering issue in cards, by [@tdurnford](https://github.com/tdurnford) in PR [#2063](https://github.com/microsoft/BotFramework-WebChat/pull/2063) -- Fixes [#1896](https://github.com/microsoft/BotFramework-WebChat/issues/1896). Added data schema to render base64 images, by [@denscollo](https://github.com/denscollo) in PR[#2067](https://github.com/microsoft/BotFramework-WebChat/pull/2067) -- Fixes [#2068](https://github.com/microsoft/BotFramework-WebChat/issues/2068). Fixed Adaptive Cards validate and rich card speak issues, by [@tdurnford](https://github.com/tdurnford) in PR [#2075](https://github.com/microsoft/BotFramework-WebChat/pull/2075) -- Fixes [#1966](https://github.com/microsoft/BotFramework-WebChat/issues/1966). Update Localization files for es-ES, ja-JP, zh-HANS, zh-HANT, zh-YUE, by [@corinagum](https://github.com/corinagum) in PR [#2077](https://github.com/microsoft/BotFramework-WebChat/pull/2077) -- Fixes [#2078](https://github.com/microsoft/BotFramework-WebChat/issues/2078). Update Localization files for tr-TR by [@vefacaglar](https://github.com/vefacaglar) -- Fixes [#2069](https://github.com/microsoft/BotFramework-WebChat/issues/2069). Fixed Markdown renderer issue in playground, by [@tdurnford](https://github.com/tdurnford) in PR[#2073](https://github.com/microsoft/BotFramework-WebChat/pull/2073) -- Fixes [#1971](https://github.com/microsoft/BotFramework-WebChat/issues/1971). Fix mobile UX of Sendbox, SendButton, and SuggestedAction focus, by [@corinagum](https://github.com/corinagum) in PR [#2087](https://github.com/microsoft/BotFramework-WebChat/pull/2087) -- Fixes [#1627](https://github.com/microsoft/BotFramework-WebChat/issues/1627). Fixed timestamps randomly stopped from updating, by [@compulim](https://github.com/compulim) in PR [#2090](https://github.com/microsoft/BotFramework-WebChat/pull/2090) -- Fixes [#2001](https://github.com/microsoft/BotFramework-WebChat/issues/2001). Strip Markdown from ARIA labels, so screen readers do not speak Markdown in text, by [@corinagum](https://github.com/corinagum) in PR [#2096](https://github.com/microsoft/BotFramework-WebChat/pull/2096) -- Fixes [#1926](https://github.com/microsoft/BotFramework-WebChat/issues/1926). Fixed scroll stickiness issue when submitting an Adaptive Card form with suggested actions opened, by [@compulim](https://github.com/compulim) in PR [#2107](https://github.com/microsoft/BotFramework-WebChat/pull/2107) -- Fixes [#2110](https://github.com/microsoft/BotFramework-WebChat/issues/2110). Fixed sendBox input/textarea background color issue, by [@tdurnford](https://github.com/tdurnford) in PR [#2111](https://github.com/microsoft/BotFramework-WebChat/pull/2111) -- Fixes [#2104](https://github.com/microsoft/BotFramework-WebChat/issues/2104). Remove deprecated `/master/webchat**.js` links from samples, by [@corinagum](https://github.com/corinagum) in PR [#2105](https://github.com/microsoft/BotFramework-WebChat/pull/2105) -- Fixes [#1863](https://github.com/microsoft/BotFramework-WebChat/issues/1863). Remove title, subtitle, and text of cards from being spoken by [@corinagum](https://github.com/corinagum) in PR [#2118](https://github.com/microsoft/BotFramework-WebChat/pull/2118) -- Fixes [#2134](https://github.com/microsoft/BotFramework-WebChat/issues/2134). Added `azure-pipelines.yml` for embed package, by [@compulim](https://github.com/compulim) in PR [#2135](https://github.com/microsoft/BotFramework-WebChat/pull/2135) -- Fixes [#2106](https://github.com/microsoft/BotFramework-WebChat/issues/2016). Fix `AdaptiveCardHostConfig` warning associated with the `CommonCard` component, by [@tdurnford](https://github.com/tdurnford) in PR [#2108](https://github.com/microsoft/BotFramework-WebChat/pull/2108) -- Fixes [#1872](https://github.com/microsoft/BotFramework-WebChat/issues/1872). Fixed `observeOnce` to unsubscribe properly, by [@compulim](https://github.com/compulim) in PR [#2140](https://github.com/microsoft/BotFramework-WebChat/pull/2140) -- Fixes [#2022](https://github.com/microsoft/BotFramework-WebChat/issues/2022). Fixed `"expectingInput"` in `inputHint` is not respected, by [@compulim](https://github.com/compulim) and [@corinagum](https://github.com/corinagum) in PR [#2149](https://github.com/microsoft/BotFramework-WebChat/pull/2149) and PR [#2166](https://github.com/microsoft/BotFramework-WebChat/pull/2166) +- Fixes [#1974](https://github.com/microsoft/BotFramework-WebChat/issues/1974). Update `/docs/` folder to `/media/` and delete unused images, by [@corinagum](https://github.com/corinagum) in PR [#1975](https://github.com/microsoft/BotFramework-WebChat/pull/1975) +- Fixes [#1980](https://github.com/microsoft/BotFramework-WebChat/issues/1980). Changed `sendBoxTextArea` styles to break words longer than the `textarea`, by [@tdurnford](https://github.com/tdurnford) in PR [#1986](https://github.com/microsoft/BotFramework-WebChat/pull/1986) +- Fixes [#1969](https://github.com/microsoft/BotFramework-WebChat/issues/1969). Move `styleSet`s related to Adaptive Cards to full bundle, by [@corinagum](https://github.com/corinagum) in PR [#1987](https://github.com/microsoft/BotFramework-WebChat/pull/1987) +- Fixes [#1429](https://github.com/microsoft/BotFramework-WebChat/issues/1429). Changed Markdown-It options to render newline characters correctly, by [@tdurnford](https://github.com/tdurnford) in PR [#1988](https://github.com/microsoft/BotFramework-WebChat/pull/1988) +- Fixes [#1736](https://github.com/microsoft/BotFramework-WebChat/issues/1736). Fixed only first activity in a batch is spoken, by [@compulim](https://github.com/compulim) in PR [#2016](https://github.com/microsoft/BotFramework-WebChat/pull/2016) +- Fixes [#2008](https://github.com/microsoft/BotFramework-WebChat/issues/2008). Fixed playground due to recent eslint changes, by [@compulim](https://github.com/compulim) in PR [#2009](https://github.com/microsoft/BotFramework-WebChat/pull/2009) +- Fixes [#1876](https://github.com/microsoft/BotFramework-WebChat/issues/1876). Accessibility fixes on Web Chat transcript, by [@corinagum](https://github.com/corinagum) in PR [#2018](https://github.com/microsoft/BotFramework-WebChat/pull/2018) +- Fixes [#1829](https://github.com/microsoft/BotFramework-WebChat/issues/1829). Fixed long text not being synthesized by Cognitive Services by bumping to [`react-say@1.2.0`](https://github.com/compulim/react-say), by [@compulim](https://github.com/compulim) in PR [#2035](https://github.com/microsoft/BotFramework-WebChat/pull/2035) +- Fixes [#1982](https://github.com/microsoft/BotFramework-WebChat/issues/1982). Move to prettier! by [@corinagum](https://github.com/corinagum) in PR [#2038](https://github.com/microsoft/BotFramework-WebChat/pull/2038) +- Fixes [#1429](https://github.com/microsoft/BotFramework-WebChat/issues/1429). Added Markdown string preprocessing so the renderer will respect CRLF carriage returns (\r\n), by [@tdurnford](https://github.com/tdurnford) in PR [#2055](https://github.com/microsoft/BotFramework-WebChat/pull/2055) +- Fixes [#2057](https://github.com/microsoft/BotFramework-WebChat/issues/2057). Added `sip:` protocol to sanitize HTML options, by [@tdurnford](https://github.com/tdurnford) in PR [#2061](https://github.com/microsoft/BotFramework-WebChat/pull/2061) +- Fixes [#2062](https://github.com/microsoft/BotFramework-WebChat/issues/2062). Fixed Markdown rendering issue in cards, by [@tdurnford](https://github.com/tdurnford) in PR [#2063](https://github.com/microsoft/BotFramework-WebChat/pull/2063) +- Fixes [#1896](https://github.com/microsoft/BotFramework-WebChat/issues/1896). Added data schema to render base64 images, by [@denscollo](https://github.com/denscollo) in PR[#2067](https://github.com/microsoft/BotFramework-WebChat/pull/2067) +- Fixes [#2068](https://github.com/microsoft/BotFramework-WebChat/issues/2068). Fixed Adaptive Cards validate and rich card speak issues, by [@tdurnford](https://github.com/tdurnford) in PR [#2075](https://github.com/microsoft/BotFramework-WebChat/pull/2075) +- Fixes [#1966](https://github.com/microsoft/BotFramework-WebChat/issues/1966). Update Localization files for es-ES, ja-JP, zh-HANS, zh-HANT, zh-YUE, by [@corinagum](https://github.com/corinagum) in PR [#2077](https://github.com/microsoft/BotFramework-WebChat/pull/2077) +- Fixes [#2078](https://github.com/microsoft/BotFramework-WebChat/issues/2078). Update Localization files for tr-TR by [@vefacaglar](https://github.com/vefacaglar) +- Fixes [#2069](https://github.com/microsoft/BotFramework-WebChat/issues/2069). Fixed Markdown renderer issue in playground, by [@tdurnford](https://github.com/tdurnford) in PR[#2073](https://github.com/microsoft/BotFramework-WebChat/pull/2073) +- Fixes [#1971](https://github.com/microsoft/BotFramework-WebChat/issues/1971). Fix mobile UX of Sendbox, SendButton, and SuggestedAction focus, by [@corinagum](https://github.com/corinagum) in PR [#2087](https://github.com/microsoft/BotFramework-WebChat/pull/2087) +- Fixes [#1627](https://github.com/microsoft/BotFramework-WebChat/issues/1627). Fixed timestamps randomly stopped from updating, by [@compulim](https://github.com/compulim) in PR [#2090](https://github.com/microsoft/BotFramework-WebChat/pull/2090) +- Fixes [#2001](https://github.com/microsoft/BotFramework-WebChat/issues/2001). Strip Markdown from ARIA labels, so screen readers do not speak Markdown in text, by [@corinagum](https://github.com/corinagum) in PR [#2096](https://github.com/microsoft/BotFramework-WebChat/pull/2096) +- Fixes [#1926](https://github.com/microsoft/BotFramework-WebChat/issues/1926). Fixed scroll stickiness issue when submitting an Adaptive Card form with suggested actions opened, by [@compulim](https://github.com/compulim) in PR [#2107](https://github.com/microsoft/BotFramework-WebChat/pull/2107) +- Fixes [#2110](https://github.com/microsoft/BotFramework-WebChat/issues/2110). Fixed sendBox input/textarea background color issue, by [@tdurnford](https://github.com/tdurnford) in PR [#2111](https://github.com/microsoft/BotFramework-WebChat/pull/2111) +- Fixes [#2104](https://github.com/microsoft/BotFramework-WebChat/issues/2104). Remove deprecated `/master/webchat**.js` links from samples, by [@corinagum](https://github.com/corinagum) in PR [#2105](https://github.com/microsoft/BotFramework-WebChat/pull/2105) +- Fixes [#1863](https://github.com/microsoft/BotFramework-WebChat/issues/1863). Remove title, subtitle, and text of cards from being spoken by [@corinagum](https://github.com/corinagum) in PR [#2118](https://github.com/microsoft/BotFramework-WebChat/pull/2118) +- Fixes [#2134](https://github.com/microsoft/BotFramework-WebChat/issues/2134). Added `azure-pipelines.yml` for embed package, by [@compulim](https://github.com/compulim) in PR [#2135](https://github.com/microsoft/BotFramework-WebChat/pull/2135) +- Fixes [#2106](https://github.com/microsoft/BotFramework-WebChat/issues/2016). Fix `AdaptiveCardHostConfig` warning associated with the `CommonCard` component, by [@tdurnford](https://github.com/tdurnford) in PR [#2108](https://github.com/microsoft/BotFramework-WebChat/pull/2108) +- Fixes [#1872](https://github.com/microsoft/BotFramework-WebChat/issues/1872). Fixed `observeOnce` to unsubscribe properly, by [@compulim](https://github.com/compulim) in PR [#2140](https://github.com/microsoft/BotFramework-WebChat/pull/2140) +- Fixes [#2022](https://github.com/microsoft/BotFramework-WebChat/issues/2022). Fixed `"expectingInput"` in `inputHint` is not respected, by [@compulim](https://github.com/compulim) and [@corinagum](https://github.com/corinagum) in PR [#2149](https://github.com/microsoft/BotFramework-WebChat/pull/2149) and PR [#2166](https://github.com/microsoft/BotFramework-WebChat/pull/2166) ### Samples -- `*`: [Single sign-on for enterprise apps](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/b.sso-for-enterprise/), by [@compulim](https://github.com/compulim) in [#2002](https://github.com/microsoft/BotFramework-WebChat/pull/2002) -- `*`: [Upload to Azure Storage](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/a.upload-to-azure-storage/), by [@compulim](https://github.com/compulim) in [#2127](https://github.com/microsoft/BotFramework-WebChat/pull/2127) -- `*`: [Speech UI demo](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/b.speech-ui). Reconfigured to use Cognitive Services properly, by [@compulim](https://github.com/compulim) in PR [#2132](https://github.com/microsoft/BotFramework-WebChat/pull/2132) -- `*`: [Single sign-on for Intranet apps](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/c.sso-for-intranet/), by [@compulim](https://github.com/compulim) in [#2144](https://github.com/microsoft/BotFramework-WebChat/pull/2144) -- `*`: [Change locale on-the-fly](https://microsoft.github.io/BotFramework-WebChat/22.customization-change-locale/), by [@compulim](https://github.com/compulim) in [#2451](https://github.com/microsoft/BotFramework-WebChat/pull/2451) +- `*`: [Single sign-on for enterprise apps](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/b.sso-for-enterprise/), by [@compulim](https://github.com/compulim) in [#2002](https://github.com/microsoft/BotFramework-WebChat/pull/2002) +- `*`: [Upload to Azure Storage](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/a.upload-to-azure-storage/), by [@compulim](https://github.com/compulim) in [#2127](https://github.com/microsoft/BotFramework-WebChat/pull/2127) +- `*`: [Speech UI demo](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/b.speech-ui). Reconfigured to use Cognitive Services properly, by [@compulim](https://github.com/compulim) in PR [#2132](https://github.com/microsoft/BotFramework-WebChat/pull/2132) +- `*`: [Single sign-on for Intranet apps](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/c.sso-for-intranet/), by [@compulim](https://github.com/compulim) in [#2144](https://github.com/microsoft/BotFramework-WebChat/pull/2144) +- `*`: [Change locale on-the-fly](https://microsoft.github.io/BotFramework-WebChat/22.customization-change-locale/), by [@compulim](https://github.com/compulim) in [#2451](https://github.com/microsoft/BotFramework-WebChat/pull/2451) ## [4.4.1] - 2019-05-02 ### Added -- Adds handling of reconnection, by [@compulim](https://github.com/compulim), in PR [#1880](https://github.com/microsoft/BotFramework-WebChat/pull/1880) -- Adds embed page, by [@compulim](https://github.com/compulim), in PR [#1910](https://github.com/microsoft/BotFramework-WebChat/pull/1910), PR [#1928](https://github.com/microsoft/BotFramework-WebChat/pull/1928) and PR [#1938](https://github.com/microsoft/BotFramework-WebChat/pull/1938) +- Adds handling of reconnection, by [@compulim](https://github.com/compulim), in PR [#1880](https://github.com/microsoft/BotFramework-WebChat/pull/1880) +- Adds embed page, by [@compulim](https://github.com/compulim), in PR [#1910](https://github.com/microsoft/BotFramework-WebChat/pull/1910), PR [#1928](https://github.com/microsoft/BotFramework-WebChat/pull/1928) and PR [#1938](https://github.com/microsoft/BotFramework-WebChat/pull/1938) ### Changed -- Deployment: Bumps to [`blobxfer@1.7.1`](https://github.com/azure/blobxfer/), by [@compulim](https://github.com/compulim), in PR [#1897](https://github.com/microsoft/BotFramework-WebChat/pull/1897) -- Deployment: Adds `charset` to content type of JavaScript files on CDN, by [@compulim](https://github.com/compulim), in PR [#1897](https://github.com/microsoft/BotFramework-WebChat/pull/1897) -- `component`: Bumps to [`react-film@1.2.1-master.db29968`](https://npmjs.com/package/react-film/), by [@corinagum](https://github.com/corinagum) and [@compulim](https://github.com/compulim), in PR [#1900](https://github.com/microsoft/BotFramework-WebChat/pull/1900) and PR [#1924](https://github.com/microsoft/BotFramework-WebChat/pull/1924) -- Build: Bumps to [`@babel/*`](https://babeljs.io/), by [@corinagum](https://github.com/corinagum), in PR [#1918](https://github.com/microsoft/BotFramework-WebChat/pull/1918) -- `component`: Carousel flippers on carousel layout and suggested actions will use initial cursor style, by [@compulim](https://github.com/compulim), in PR [#1924](https://github.com/microsoft/BotFramework-WebChat/pull/1924) +- Deployment: Bumps to [`blobxfer@1.7.1`](https://github.com/azure/blobxfer/), by [@compulim](https://github.com/compulim), in PR [#1897](https://github.com/microsoft/BotFramework-WebChat/pull/1897) +- Deployment: Adds `charset` to content type of JavaScript files on CDN, by [@compulim](https://github.com/compulim), in PR [#1897](https://github.com/microsoft/BotFramework-WebChat/pull/1897) +- `component`: Bumps to [`react-film@1.2.1-master.db29968`](https://npmjs.com/package/react-film/), by [@corinagum](https://github.com/corinagum) and [@compulim](https://github.com/compulim), in PR [#1900](https://github.com/microsoft/BotFramework-WebChat/pull/1900) and PR [#1924](https://github.com/microsoft/BotFramework-WebChat/pull/1924) +- Build: Bumps to [`@babel/*`](https://babeljs.io/), by [@corinagum](https://github.com/corinagum), in PR [#1918](https://github.com/microsoft/BotFramework-WebChat/pull/1918) +- `component`: Carousel flippers on carousel layout and suggested actions will use initial cursor style, by [@compulim](https://github.com/compulim), in PR [#1924](https://github.com/microsoft/BotFramework-WebChat/pull/1924) ### Fixed -- Fixes [#1423](https://github.com/microsoft/BotFramework-WebChat/issues/1423). Added sample for hosting WebChat in Angular, by [@omarsourour](https://github.com/omarsourour) in PR [#1813](https://github.com/microsoft/BotFramework-WebChat/pull/1813) -- Fixes[#1767](https://github.com/microsoft/BotFramework-WebChat/issues/1767). Remove `cursor: pointer` from buttons, by [@corinagum](https://github.com/corinagum) in PR [#1819](https://github.com/microsoft/BotFramework-WebChat/pull/1819) -- Fixes [#1774](https://github.com/microsoft/BotFramework-WebChat/issues/1774). Add `styleSetOption` to allow word break. Default to `break-word`, by [@corinagum](https://github.com/corinagum) in PR [#1832](https://github.com/microsoft/BotFramework-WebChat/pull/1832) -- Fixes [#1847](https://github.com/microsoft/BotFramework-WebChat/issues/1847). Bump react-say, which adds babel-runtime dependency, by [@corinagum](https://github.com/corinagum) in PR [#1849](https://github.com/microsoft/BotFramework-WebChat/pull/1849) -- Adds [#1524](https://github.com/microsoft/BotFramework-WebChat/issues/1524) Add Offline UI: connecting for the first time, by [@corinagum](https://github.com/corinagum), in PR [#1866](https://github.com/microsoft/BotFramework-WebChat/pull/1866) -- Fixes [#1768](https://github.com/microsoft/BotFramework-WebChat/issues/1768). Add style options to be able to modify all Send Box borders, by [@corinagum](https://github.com/corinagum) in PR [#1871](https://github.com/microsoft/BotFramework-WebChat/pull/1871) -- Fixes [#1827](https://github.com/microsoft/BotFramework-WebChat/issues/1827). Remove renderer for unknown activities, by [@corinagum](https://github.com/corinagum) in PR [#1873](https://github.com/microsoft/BotFramework-WebChat/pull/1873) -- Fixes [#1586](https://github.com/microsoft/BotFramework-WebChat/issues/1586). Fix theming of suggested actions buttons, by [@corinagum](https://github.com/corinagum) in PR [#1883](https://github.com/microsoft/BotFramework-WebChat/pull/1883) -- Fixes [#1837](https://github.com/microsoft/BotFramework-WebChat/issues/1837), [#1643](https://github.com/microsoft/BotFramework-WebChat/issues/1643). Fix style conflicts with bootstrap and bump `memoize-one`, by [@corinagum](https://github.com/corinagum) in PR [#1884](https://github.com/microsoft/BotFramework-WebChat/pull/1884) -- Fixes [#1877](https://github.com/microsoft/BotFramework-WebChat/issues/1877). Add viewport meta tag and fix a few sample links, by [@corinagum](https://github.com/corinagum) in PR [#1919](https://github.com/microsoft/BotFramework-WebChat/pull/1919) -- Fixes [#1789](https://github.com/microsoft/BotFramework-WebChat/issues/1789). Focus send box after message is being sent, by [@corinagum](https://github.com/corinagum) in PR [#1915](https://github.com/microsoft/BotFramework-WebChat/pull/1915) -- Fixes [#1920](https://github.com/microsoft/BotFramework-WebChat/issues/1920). Added disabled property to send button, by [@tdurnford](https://github.com/tdurnford) in PR [#1922](https://github.com/microsoft/BotFramework-WebChat/pull/1922) -- Fixes [#1525](https://github.com/microsoft/BotFramework-WebChat/issues/1525). Add JavaScript error Offline UI, by [@corinagum](https://github.com/corinagum) in PR [#1927](https://github.com/microsoft/BotFramework-WebChat/pull/1927) -- Fixes [#1934](https://github.com/microsoft/BotFramework-WebChat/issues/1934). Fix spacing of empty ConnectivityStatus component, by [@corinagum](https://github.com/corinagum) in PR [#1939](https://github.com/microsoft/BotFramework-WebChat/pull/1939) -- Fixes [#1943](https://github.com/microsoft/BotFramework-WebChat/issues/1943). Fix extra vertical padding in IE11 and Firefox, by [@compulim](https://github.com/compulim) in PR [#1949](https://github.com/microsoft/BotFramework-WebChat/pull/1949) -- Fixes [#1945](https://github.com/microsoft/BotFramework-WebChat/issues/1945). QA fixes for 4.4, by [@corinagum](https://github.com/johndoe) in PR [#1950](https://github.com/microsoft/BotFramework-WebChat/pull/1950) -- Fixes [#1947](https://github.com/microsoft/BotFramework-WebChat/issues/1947). Fix scrollbar in suggested action should be hidden in Firefox, remove gaps, and use style set for customizing `react-film`, by [@compulim](https://github.com/compulim) in PR [#1953](https://github.com/microsoft/BotFramework-WebChat/pull/1953) -- Fixes [#1948](https://github.com/microsoft/BotFramework-WebChat/issues/1948). Fixed sample 04.api/g.chat-send-history to work with Firefox and Microsoft Edge, by [@tdurnford](https://github.com/tdurnford) in PR [#1956](https://github.com/microsoft/BotFramework-WebChat/pull/1956) -- Fixes [#1304](https://github.com/microsoft/BotFramework-WebChat/issues/1304). Move Adaptive Cards from component to bundle, by [@compulim](https://github.com/compulim) and [@corinagum](https://github.com/corinagum) in PR [#1936](https://github.com/microsoft/BotFramework-WebChat/pull/1936) -- Fixes [#1990](https://github.com/microsoft/BotFramework-WebChat/issues/1990). Bump Adaptive Cards & fix textarea font-family from monospace to Web Chat's `primaryFont`, by [@corinagum](https://github.com/corinagum) in PR [#2064](https://github.com/microsoft/BotFramework-WebChat/pull/2064) +- Fixes [#1423](https://github.com/microsoft/BotFramework-WebChat/issues/1423). Added sample for hosting WebChat in Angular, by [@omarsourour](https://github.com/omarsourour) in PR [#1813](https://github.com/microsoft/BotFramework-WebChat/pull/1813) +- Fixes[#1767](https://github.com/microsoft/BotFramework-WebChat/issues/1767). Remove `cursor: pointer` from buttons, by [@corinagum](https://github.com/corinagum) in PR [#1819](https://github.com/microsoft/BotFramework-WebChat/pull/1819) +- Fixes [#1774](https://github.com/microsoft/BotFramework-WebChat/issues/1774). Add `styleSetOption` to allow word break. Default to `break-word`, by [@corinagum](https://github.com/corinagum) in PR [#1832](https://github.com/microsoft/BotFramework-WebChat/pull/1832) +- Fixes [#1847](https://github.com/microsoft/BotFramework-WebChat/issues/1847). Bump react-say, which adds babel-runtime dependency, by [@corinagum](https://github.com/corinagum) in PR [#1849](https://github.com/microsoft/BotFramework-WebChat/pull/1849) +- Adds [#1524](https://github.com/microsoft/BotFramework-WebChat/issues/1524) Add Offline UI: connecting for the first time, by [@corinagum](https://github.com/corinagum), in PR [#1866](https://github.com/microsoft/BotFramework-WebChat/pull/1866) +- Fixes [#1768](https://github.com/microsoft/BotFramework-WebChat/issues/1768). Add style options to be able to modify all Send Box borders, by [@corinagum](https://github.com/corinagum) in PR [#1871](https://github.com/microsoft/BotFramework-WebChat/pull/1871) +- Fixes [#1827](https://github.com/microsoft/BotFramework-WebChat/issues/1827). Remove renderer for unknown activities, by [@corinagum](https://github.com/corinagum) in PR [#1873](https://github.com/microsoft/BotFramework-WebChat/pull/1873) +- Fixes [#1586](https://github.com/microsoft/BotFramework-WebChat/issues/1586). Fix theming of suggested actions buttons, by [@corinagum](https://github.com/corinagum) in PR [#1883](https://github.com/microsoft/BotFramework-WebChat/pull/1883) +- Fixes [#1837](https://github.com/microsoft/BotFramework-WebChat/issues/1837), [#1643](https://github.com/microsoft/BotFramework-WebChat/issues/1643). Fix style conflicts with bootstrap and bump `memoize-one`, by [@corinagum](https://github.com/corinagum) in PR [#1884](https://github.com/microsoft/BotFramework-WebChat/pull/1884) +- Fixes [#1877](https://github.com/microsoft/BotFramework-WebChat/issues/1877). Add viewport meta tag and fix a few sample links, by [@corinagum](https://github.com/corinagum) in PR [#1919](https://github.com/microsoft/BotFramework-WebChat/pull/1919) +- Fixes [#1789](https://github.com/microsoft/BotFramework-WebChat/issues/1789). Focus send box after message is being sent, by [@corinagum](https://github.com/corinagum) in PR [#1915](https://github.com/microsoft/BotFramework-WebChat/pull/1915) +- Fixes [#1920](https://github.com/microsoft/BotFramework-WebChat/issues/1920). Added disabled property to send button, by [@tdurnford](https://github.com/tdurnford) in PR [#1922](https://github.com/microsoft/BotFramework-WebChat/pull/1922) +- Fixes [#1525](https://github.com/microsoft/BotFramework-WebChat/issues/1525). Add JavaScript error Offline UI, by [@corinagum](https://github.com/corinagum) in PR [#1927](https://github.com/microsoft/BotFramework-WebChat/pull/1927) +- Fixes [#1934](https://github.com/microsoft/BotFramework-WebChat/issues/1934). Fix spacing of empty ConnectivityStatus component, by [@corinagum](https://github.com/corinagum) in PR [#1939](https://github.com/microsoft/BotFramework-WebChat/pull/1939) +- Fixes [#1943](https://github.com/microsoft/BotFramework-WebChat/issues/1943). Fix extra vertical padding in IE11 and Firefox, by [@compulim](https://github.com/compulim) in PR [#1949](https://github.com/microsoft/BotFramework-WebChat/pull/1949) +- Fixes [#1945](https://github.com/microsoft/BotFramework-WebChat/issues/1945). QA fixes for 4.4, by [@corinagum](https://github.com/johndoe) in PR [#1950](https://github.com/microsoft/BotFramework-WebChat/pull/1950) +- Fixes [#1947](https://github.com/microsoft/BotFramework-WebChat/issues/1947). Fix scrollbar in suggested action should be hidden in Firefox, remove gaps, and use style set for customizing `react-film`, by [@compulim](https://github.com/compulim) in PR [#1953](https://github.com/microsoft/BotFramework-WebChat/pull/1953) +- Fixes [#1948](https://github.com/microsoft/BotFramework-WebChat/issues/1948). Fixed sample 04.api/g.chat-send-history to work with Firefox and Microsoft Edge, by [@tdurnford](https://github.com/tdurnford) in PR [#1956](https://github.com/microsoft/BotFramework-WebChat/pull/1956) +- Fixes [#1304](https://github.com/microsoft/BotFramework-WebChat/issues/1304). Move Adaptive Cards from component to bundle, by [@compulim](https://github.com/compulim) and [@corinagum](https://github.com/corinagum) in PR [#1936](https://github.com/microsoft/BotFramework-WebChat/pull/1936) +- Fixes [#1990](https://github.com/microsoft/BotFramework-WebChat/issues/1990). Bump Adaptive Cards & fix textarea font-family from monospace to Web Chat's `primaryFont`, by [@corinagum](https://github.com/corinagum) in PR [#2064](https://github.com/microsoft/BotFramework-WebChat/pull/2064) ## [4.3.0] - 2019-03-04 ### Added -- Resolves [#1383](https://github.com/microsoft/BotFramework-WebChat/issues/1383). Added options to hide upload button, by [@compulim](https://github.com/compulim) in PR [#1491](https://github.com/microsoft/BotFramework-WebChat/pull/1491) -- Adds support of avatar image, thru `styleOptions.botAvatarImage` and `styleOptions.userAvatarImage`, in PR [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) -- Adds ability to style sendbox background and text color, thru `styleOptions.sendBoxBackground` and `styleOptions.sendBoxTextColor`, in PR [#1575](https://github.com/microsoft/BotFramework-WebChat/pull/1575) -- `core`: Adds `sendEvent`, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) -- `core`: Adds `CONNECT_FULFILLING` action to workaround `redux-saga` [design decision](https://github.com/redux-saga/redux-saga/issues/1651), in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) -- `component`: Added missing Spanish (es-ES) by [@schgressive](https://github.com/schgressive) in PR [#1615](https://github.com/microsoft/BotFramework-WebChat/pull/1615) -- Adds missing Spanish (es-ES) by [@schgressive](https://github.com/schgressive) in PR [#1615](https://github.com/microsoft/BotFramework-WebChat/pull/1615) -- Resolves [#1602](https://github.com/microsoft/BotFramework-WebChat/issues/1602). Fix suggested actions regression of buttons, by [@corinagum](https://github.com/corinagum) in PR [#1616](https://github.com/microsoft/BotFramework-WebChat/pull/1616) -- `component`: Allow font family and adaptive cards text color to be set via styleOptions, by [@a-b-r-o-w-n](https://github.com/a-b-r-o-w-n), in PR [#1670](https://github.com/microsoft/BotFramework-WebChat/pull/1670) -- `component`: Add fallback logic to browser which do not support `window.Intl`, by [@compulim](https://github.com/compulim), in PR [#1696](https://github.com/microsoft/BotFramework-WebChat/pull/1696) -- `*`: Adds `username` back to activity, fixed [#1321](https://github.com/microsoft/BotFramework-WebChat/issues/1321), by [@compulim](https://github.com/compulim), in PR [#1682](https://github.com/microsoft/BotFramework-DirectLineJS/pull/1682) -- `component`: Allow root component height and width customization via `styleOptions.rootHeight` and `styleOptions.rootWidth`, by [@tonyanziano](https://github.com/tonyanziano), in PR [#1702](https://github.com/microsoft/BotFramework-WebChat/pull/1702) -- `component`: Added `cardActionMiddleware` to customize the behavior of card action, by [@compulim](https://github.com/compulim), in PR [#1704](https://github.com/microsoft/BotFramework-WebChat/pull/1704) -- `bundle`: Add `watermark` and `streamUrl` parameters to createDirectLine, by [@corinagum](https://github.com/corinagum), in PR [#1817](https://github.com/microsoft/BotFramework-WebChat/pull/1817) -- `component`: Added `textarea` option to `SendBox` per issues [#17](https://github.com/microsoft/BotFramework-WebChat/issues/17) and [#124](https://github.com/microsoft/BotFramework-WebChat/issues/124), by [@tdurnford](https://github.com/tdurnford), in PR [#1889](https://github.com/microsoft/BotFramework-WebChat/pull/1889) -- `component`: Added `suggestedAction` images per issue [#1739](https://github.com/microsoft/BotFramework-WebChat/issues/1739), by [@tdurnford](https://github.com/tdurnford), in PR [#1909](https://github.com/microsoft/BotFramework-WebChat/pull/1909) +- Resolves [#1383](https://github.com/microsoft/BotFramework-WebChat/issues/1383). Added options to hide upload button, by [@compulim](https://github.com/compulim) in PR [#1491](https://github.com/microsoft/BotFramework-WebChat/pull/1491) +- Adds support of avatar image, thru `styleOptions.botAvatarImage` and `styleOptions.userAvatarImage`, in PR [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) +- Adds ability to style sendbox background and text color, thru `styleOptions.sendBoxBackground` and `styleOptions.sendBoxTextColor`, in PR [#1575](https://github.com/microsoft/BotFramework-WebChat/pull/1575) +- `core`: Adds `sendEvent`, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) +- `core`: Adds `CONNECT_FULFILLING` action to workaround `redux-saga` [design decision](https://github.com/redux-saga/redux-saga/issues/1651), in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) +- `component`: Added missing Spanish (es-ES) by [@schgressive](https://github.com/schgressive) in PR [#1615](https://github.com/microsoft/BotFramework-WebChat/pull/1615) +- Adds missing Spanish (es-ES) by [@schgressive](https://github.com/schgressive) in PR [#1615](https://github.com/microsoft/BotFramework-WebChat/pull/1615) +- Resolves [#1602](https://github.com/microsoft/BotFramework-WebChat/issues/1602). Fix suggested actions regression of buttons, by [@corinagum](https://github.com/corinagum) in PR [#1616](https://github.com/microsoft/BotFramework-WebChat/pull/1616) +- `component`: Allow font family and adaptive cards text color to be set via styleOptions, by [@a-b-r-o-w-n](https://github.com/a-b-r-o-w-n), in PR [#1670](https://github.com/microsoft/BotFramework-WebChat/pull/1670) +- `component`: Add fallback logic to browser which do not support `window.Intl`, by [@compulim](https://github.com/compulim), in PR [#1696](https://github.com/microsoft/BotFramework-WebChat/pull/1696) +- `*`: Adds `username` back to activity, fixed [#1321](https://github.com/microsoft/BotFramework-WebChat/issues/1321), by [@compulim](https://github.com/compulim), in PR [#1682](https://github.com/microsoft/BotFramework-DirectLineJS/pull/1682) +- `component`: Allow root component height and width customization via `styleOptions.rootHeight` and `styleOptions.rootWidth`, by [@tonyanziano](https://github.com/tonyanziano), in PR [#1702](https://github.com/microsoft/BotFramework-WebChat/pull/1702) +- `component`: Added `cardActionMiddleware` to customize the behavior of card action, by [@compulim](https://github.com/compulim), in PR [#1704](https://github.com/microsoft/BotFramework-WebChat/pull/1704) +- `bundle`: Add `watermark` and `streamUrl` parameters to createDirectLine, by [@corinagum](https://github.com/corinagum), in PR [#1817](https://github.com/microsoft/BotFramework-WebChat/pull/1817) +- `component`: Added `textarea` option to `SendBox` per issues [#17](https://github.com/microsoft/BotFramework-WebChat/issues/17) and [#124](https://github.com/microsoft/BotFramework-WebChat/issues/124), by [@tdurnford](https://github.com/tdurnford), in PR [#1889](https://github.com/microsoft/BotFramework-WebChat/pull/1889) +- `component`: Added `suggestedAction` images per issue [#1739](https://github.com/microsoft/BotFramework-WebChat/issues/1739), by [@tdurnford](https://github.com/tdurnford), in PR [#1909](https://github.com/microsoft/BotFramework-WebChat/pull/1909) ### Changed -- Bumps `botframework-directlinejs` to 0.11.4 in PR [#1783](https://github.com/microsoft/BotFramework-WebChat/pull/1783) -- Moves `botAvatarImage` and `userAvatarImage` to `styleOptions.botAvatarImage` and `styleOptions.userAvatarImage` respectively, in PR [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) -- Fixes string interpolation error in Russian localization and fallback for browsers without Intl support by [@odysseus1973](https://github.com/odysseus1973) in PR [#1509](https://github.com/microsoft/BotFramework-WebChat/pull/1509) -- `playground`: Bumps to [`botframework-directlinejs@0.10.0`](https://github.com/microsoft/BotFramework-DirectLineJS/), in PR [#1511](https://github.com/microsoft/BotFramework-WebChat/pull/1511) -- `playground`: Bumps to [`react-scripts@2.1.1`](https://npmjs.com/package/react-scripts/), in PR [#1535](https://github.com/microsoft/BotFramework-WebChat/pull/1535) -- `*`: Bumps to [`adaptivecards@1.1.2`](https://npmjs.com/package/adaptivecards/), in [#1558](https://github.com/microsoft/BotFramework-WebChat/pull/1558) -- `core`: Fixes [#1344](https://github.com/microsoft/BotFramework-WebChat/issues/1344). Use random user ID if not specified, by [@compulim](https://github.com/compulim) in PR [#1612](https://github.com/microsoft/BotFramework-WebChat/pull/1612) -- `component`: Bump to [`react-film@1.1.2`](https://npmjs.com/package/react-film/) and [`react-scroll-to-bottom@1.3.1`](https://npmjs.com/package/react-scroll-to-bottom/), by [@compulim](https://github.com/compulim), in PR [#1621](https://github.com/microsoft/BotFramework-WebChat/pull/1621) and PR [#1725](https://github.com/microsoft/BotFramework-WebChat/pull/1725) -- Expand german by [@matmuenzel](https://github.com/matmuenzel) in PR [#1740](https://github.com/microsoft/BotFramework-WebChat/pull/1740) -- Update Russian and Japanese by [@corinagum](https://github.com/corinagum) in PR [#1747](https://github.com/microsoft/BotFramework-WebChat/pull/1747) -- Update Spanish by [@ckgrafico](https://github.com/ckgrafico) in PR [#1757](https://github.com/microsoft/BotFramework-WebChat/pull/1757) -- Update Danish by [@simon_lfr](https://github.com/LTank) in PR [#1810](https://github.com/microsoft/BotFramework-WebChat/pull/1810) -- Update Swedish by [@pekspro](https://github.com/pekspro) in PR [#1797](https://github.com/microsoft/BotFramework-WebChat/pull/1797) -- Update Dutch by [@imicknl](https://github.com/imicknl) in PR [#1812](https://github.com/microsoft/BotFramework-WebChat/pull/1812) +- Bumps `botframework-directlinejs` to 0.11.4 in PR [#1783](https://github.com/microsoft/BotFramework-WebChat/pull/1783) +- Moves `botAvatarImage` and `userAvatarImage` to `styleOptions.botAvatarImage` and `styleOptions.userAvatarImage` respectively, in PR [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) +- Fixes string interpolation error in Russian localization and fallback for browsers without Intl support by [@odysseus1973](https://github.com/odysseus1973) in PR [#1509](https://github.com/microsoft/BotFramework-WebChat/pull/1509) +- `playground`: Bumps to [`botframework-directlinejs@0.10.0`](https://github.com/microsoft/BotFramework-DirectLineJS/), in PR [#1511](https://github.com/microsoft/BotFramework-WebChat/pull/1511) +- `playground`: Bumps to [`react-scripts@2.1.1`](https://npmjs.com/package/react-scripts/), in PR [#1535](https://github.com/microsoft/BotFramework-WebChat/pull/1535) +- `*`: Bumps to [`adaptivecards@1.1.2`](https://npmjs.com/package/adaptivecards/), in [#1558](https://github.com/microsoft/BotFramework-WebChat/pull/1558) +- `core`: Fixes [#1344](https://github.com/microsoft/BotFramework-WebChat/issues/1344). Use random user ID if not specified, by [@compulim](https://github.com/compulim) in PR [#1612](https://github.com/microsoft/BotFramework-WebChat/pull/1612) +- `component`: Bump to [`react-film@1.1.2`](https://npmjs.com/package/react-film/) and [`react-scroll-to-bottom@1.3.1`](https://npmjs.com/package/react-scroll-to-bottom/), by [@compulim](https://github.com/compulim), in PR [#1621](https://github.com/microsoft/BotFramework-WebChat/pull/1621) and PR [#1725](https://github.com/microsoft/BotFramework-WebChat/pull/1725) +- Expand german by [@matmuenzel](https://github.com/matmuenzel) in PR [#1740](https://github.com/microsoft/BotFramework-WebChat/pull/1740) +- Update Russian and Japanese by [@corinagum](https://github.com/corinagum) in PR [#1747](https://github.com/microsoft/BotFramework-WebChat/pull/1747) +- Update Spanish by [@ckgrafico](https://github.com/ckgrafico) in PR [#1757](https://github.com/microsoft/BotFramework-WebChat/pull/1757) +- Update Danish by [@simon_lfr](https://github.com/LTank) in PR [#1810](https://github.com/microsoft/BotFramework-WebChat/pull/1810) +- Update Swedish by [@pekspro](https://github.com/pekspro) in PR [#1797](https://github.com/microsoft/BotFramework-WebChat/pull/1797) +- Update Dutch by [@imicknl](https://github.com/imicknl) in PR [#1812](https://github.com/microsoft/BotFramework-WebChat/pull/1812) ### Fixed -- Fixes [#1360](https://github.com/microsoft/BotFramework-WebChat/issues/1360). Added `roles` to components of Web Chat, by [@corinagum](https://github.com/corinagum) in PR [#1462](https://github.com/microsoft/BotFramework-WebChat/pull/1462) -- Fixes [#1409](https://github.com/microsoft/BotFramework-WebChat/issues/1409). Added microphone status as screen reader only text, by [@corinagum](https://github.com/corinagum) in PR [#1490](https://github.com/microsoft/BotFramework-WebChat/pull/1490) -- Fixes [#1605](https://github.com/microsoft/BotFramework-WebChat/issues/1305), [#1316](https://github.com/microsoft/BotFramework-WebChat/issues/1316), [#1341](https://github.com/microsoft/BotFramework-WebChat/issues/1341), [#1411](https://github.com/microsoft/BotFramework-WebChat/issues/1411). Fix color contrast ratios & downloadIcon narrator accessibility by [@corinagum](https://github.com/corinagum) in PR [#1494](https://github.com/microsoft/BotFramework-WebChat/pull/1494) -- Fixes [#1264](https://github.com/microsoft/BotFramework-WebChat/issues/1264), [#1308](https://github.com/microsoft/BotFramework-WebChat/issues/1308), [#1318](https://github.com/microsoft/BotFramework-WebChat/issues/1318), [#1334](https://github.com/microsoft/BotFramework-WebChat/issues/1334),[#1425](https://github.com/microsoft/BotFramework-WebChat/issues/1425). Update icons with accessibilty, Sent message accessibility, and fix sample README.md, [@corinagum](https://github.com/corinagum) in PR [#1506](https://github.com/microsoft/BotFramework-WebChat/pull/1506) and [#1542](https://github.com/microsoft/BotFramework-WebChat/pull/1542) -- Fixes [#1512](https://github.com/microsoft/BotFramework-WebChat/issues/1512). Fix #1512: fix sanitization of anchors (allow title attributes), by [@corinagum](https://github.com/corinagum) in PR [#1530](https://github.com/microsoft/BotFramework-WebChat/pull/1530) -- Fixes [#1499](https://github.com/microsoft/BotFramework-WebChat/issues/1499). - - Fix screen reader handling of name, activity, and timestamp, - - `connectCarouselFilmStrip`: Fixed `botAvatarInitials` and `userAvatarInitials` functionality from [recent name change](https://github.com/microsoft/BotFramework-WebChat/pull/1486), - - `BasicTranscript`: Fixed user activity should not be recreated after receive ACK from Direct Line, - - by [@corinagum](https://github.com/corinagum) in PR [#1528](https://github.com/microsoft/BotFramework-WebChat/pull/1528) -- `component`: Fix [#1560](https://github.com/microsoft/BotFramework-WebChat/issues/1560), [#1625](https://github.com/microsoft/BotFramework-WebChat/issues/1625) and [#1635](https://github.com/microsoft/BotFramework-WebChat/issues/1635). Fixed carousel layout not showing date and alignment issues, by [@compulim](https://github.com/compulim) in PR [#1561](https://github.com/microsoft/BotFramework-WebChat/pull/1561) and [#1641](https://github.com/microsoft/BotFramework-WebChat/pull/1641) -- `playground`: Fixes [#1562](https://github.com/microsoft/BotFramework-WebChat/issues/1562). Fixed timestamp grouping "Don't group" and added "Don't show timestamp", by [@compulim](https://github.com/compulim) in PR [#1563](https://github.com/microsoft/BotFramework-WebChat/pull/1563) -- `component`: Fixes [#1576](https://github.com/microsoft/BotFramework-WebChat/issues/1576). Rich card without `tap` should be rendered properly, by [@compulim](https://github.com/compulim) in PR [#1577](https://github.com/microsoft/BotFramework-WebChat/pull/1577) -- `core`: Some sagas missed handling successive actions, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) -- `core`: `incomingActivitySaga` may throw null-ref exception if the first activity is from user, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) -- `component`: Fixes [#1328](https://github.com/microsoft/BotFramework-WebChat/issues/1328). Should not start microphone if input hint is set to `ignoringInput`, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) -- `component`: Fixes outgoing typing indicators are not sent and acknowledged properly, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) -- Fixes [#1402](https://github.com/microsoft/BotFramework-WebChat/issues/1402). Add `messageBack` support, by [@corinagum](https://github.com/corinagum) in PR [#1581](https://github.com/microsoft/BotFramework-WebChat/pull/1581) -- Fixes [#1539](https://github.com/microsoft/BotFramework-WebChat/issues/1539). Fix outgoing typing indicators are not sent and acknowledged properly, in PR [#1541](https://github.com/microsoft/BotFramework-WebChat/pull/1541) -- `component`: Fix [#1547](https://github.com/microsoft/BotFramework-WebChat/issues/1547). Fixed unhandled activity type should be forwarded to custom middleware, by [@compulim](https://github.com/compulim) in PR [#1569](https://github.com/microsoft/BotFramework-WebChat/pull/1569) -- `playground`: Fix [#1610](https://github.com/microsoft/BotFramework-WebChat/issues/1610). Fixed bot and user avatar initials not working, by [@compulim](https://github.com/compulim) in PR [#1611](https://github.com/microsoft/BotFramework-WebChat/pull/1611) -- `bundle`: Fix [#1613](https://github.com/microsoft/BotFramework-WebChat/issues/1613). Pass conversationId to DirectLineJS constructor, by [@neetu-das](https://github.com/neetu-das) in PR [#1614](https://github.com/microsoft/BotFramework-WebChat/pull/1614) -- `component`: Fix [#1626](https://github.com/microsoft/BotFramework-WebChat/issues/1626). Fixed `Number.isNaN` is not available in IE11, by [@compulim](https://github.com/compulim) in PR [#1628](https://github.com/microsoft/BotFramework-WebChat/pull/1628) -- `bundle`: Fix [#1652](https://github.com/microsoft/BotFramework-WebChat/issues/1652). Pass `pollingInterval` to DirectLineJS constructor, by [@neetu-das](https://github.com/neetu-das) in PR [#1655](https://github.com/microsoft/BotFramework-WebChat/pull/1655) -- `core`: Reworked logic on connect/disconnect for reliability on handling corner cases, by [@compulim](https://github.com/compulim) in PR [#1649](https://github.com/microsoft/BotFramework-WebChat/pull/1649) -- `core`: Fix [#1521](https://github.com/microsoft/BotFramework-WebChat/issues/1521). Add connectivity status component and update localization, by [@corinagum](https://github.com/corinagum) in PR [#1679](https://github.com/microsoft/BotFramework-WebChat/pull/1679) -- `core`: Fix [#1057](https://github.com/microsoft/BotFramework-WebChat/issues/1057). Fixed suggested actions destined for other recipients should not show up, by [@compulim](https://github.com/compulim) in PR [#1706](https://github.com/microsoft/BotFramework-WebChat/pull/1706) -- `component`: Fixed pt-br locale not being selected, added `X minutes ago` and missing translations, by [@pedropacheco92](https://github.com/pedropacheco92) in PR [#1745](https://github.com/microsoft/BotFramework-WebChat/pull/1745) -- `component`: Fix [#1741](https://github.com/microsoft/BotFramework-WebChat/issues/1741) where `scrollToEndButton` does not have `type="button"`by [@corinagum](https://github.com/corinagum) in PR [#1743](https://github.com/microsoft/BotFramework-WebChat/pull/1743) -- `component`: Fix [#1625](https://github.com/microsoft/BotFramework-WebChat/issues/1625) to update `README.md` by [@corinagum](https://github.com/corinagum) in PR [#1752](https://github.com/microsoft/BotFramework-WebChat/pull/1752) +- Fixes [#1360](https://github.com/microsoft/BotFramework-WebChat/issues/1360). Added `roles` to components of Web Chat, by [@corinagum](https://github.com/corinagum) in PR [#1462](https://github.com/microsoft/BotFramework-WebChat/pull/1462) +- Fixes [#1409](https://github.com/microsoft/BotFramework-WebChat/issues/1409). Added microphone status as screen reader only text, by [@corinagum](https://github.com/corinagum) in PR [#1490](https://github.com/microsoft/BotFramework-WebChat/pull/1490) +- Fixes [#1605](https://github.com/microsoft/BotFramework-WebChat/issues/1305), [#1316](https://github.com/microsoft/BotFramework-WebChat/issues/1316), [#1341](https://github.com/microsoft/BotFramework-WebChat/issues/1341), [#1411](https://github.com/microsoft/BotFramework-WebChat/issues/1411). Fix color contrast ratios & downloadIcon narrator accessibility by [@corinagum](https://github.com/corinagum) in PR [#1494](https://github.com/microsoft/BotFramework-WebChat/pull/1494) +- Fixes [#1264](https://github.com/microsoft/BotFramework-WebChat/issues/1264), [#1308](https://github.com/microsoft/BotFramework-WebChat/issues/1308), [#1318](https://github.com/microsoft/BotFramework-WebChat/issues/1318), [#1334](https://github.com/microsoft/BotFramework-WebChat/issues/1334),[#1425](https://github.com/microsoft/BotFramework-WebChat/issues/1425). Update icons with accessibilty, Sent message accessibility, and fix sample README.md, [@corinagum](https://github.com/corinagum) in PR [#1506](https://github.com/microsoft/BotFramework-WebChat/pull/1506) and [#1542](https://github.com/microsoft/BotFramework-WebChat/pull/1542) +- Fixes [#1512](https://github.com/microsoft/BotFramework-WebChat/issues/1512). Fix #1512: fix sanitization of anchors (allow title attributes), by [@corinagum](https://github.com/corinagum) in PR [#1530](https://github.com/microsoft/BotFramework-WebChat/pull/1530) +- Fixes [#1499](https://github.com/microsoft/BotFramework-WebChat/issues/1499). + - Fix screen reader handling of name, activity, and timestamp, + - `connectCarouselFilmStrip`: Fixed `botAvatarInitials` and `userAvatarInitials` functionality from [recent name change](https://github.com/microsoft/BotFramework-WebChat/pull/1486), + - `BasicTranscript`: Fixed user activity should not be recreated after receive ACK from Direct Line, + - by [@corinagum](https://github.com/corinagum) in PR [#1528](https://github.com/microsoft/BotFramework-WebChat/pull/1528) +- `component`: Fix [#1560](https://github.com/microsoft/BotFramework-WebChat/issues/1560), [#1625](https://github.com/microsoft/BotFramework-WebChat/issues/1625) and [#1635](https://github.com/microsoft/BotFramework-WebChat/issues/1635). Fixed carousel layout not showing date and alignment issues, by [@compulim](https://github.com/compulim) in PR [#1561](https://github.com/microsoft/BotFramework-WebChat/pull/1561) and [#1641](https://github.com/microsoft/BotFramework-WebChat/pull/1641) +- `playground`: Fixes [#1562](https://github.com/microsoft/BotFramework-WebChat/issues/1562). Fixed timestamp grouping "Don't group" and added "Don't show timestamp", by [@compulim](https://github.com/compulim) in PR [#1563](https://github.com/microsoft/BotFramework-WebChat/pull/1563) +- `component`: Fixes [#1576](https://github.com/microsoft/BotFramework-WebChat/issues/1576). Rich card without `tap` should be rendered properly, by [@compulim](https://github.com/compulim) in PR [#1577](https://github.com/microsoft/BotFramework-WebChat/pull/1577) +- `core`: Some sagas missed handling successive actions, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) +- `core`: `incomingActivitySaga` may throw null-ref exception if the first activity is from user, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) +- `component`: Fixes [#1328](https://github.com/microsoft/BotFramework-WebChat/issues/1328). Should not start microphone if input hint is set to `ignoringInput`, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) +- `component`: Fixes outgoing typing indicators are not sent and acknowledged properly, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) +- Fixes [#1402](https://github.com/microsoft/BotFramework-WebChat/issues/1402). Add `messageBack` support, by [@corinagum](https://github.com/corinagum) in PR [#1581](https://github.com/microsoft/BotFramework-WebChat/pull/1581) +- Fixes [#1539](https://github.com/microsoft/BotFramework-WebChat/issues/1539). Fix outgoing typing indicators are not sent and acknowledged properly, in PR [#1541](https://github.com/microsoft/BotFramework-WebChat/pull/1541) +- `component`: Fix [#1547](https://github.com/microsoft/BotFramework-WebChat/issues/1547). Fixed unhandled activity type should be forwarded to custom middleware, by [@compulim](https://github.com/compulim) in PR [#1569](https://github.com/microsoft/BotFramework-WebChat/pull/1569) +- `playground`: Fix [#1610](https://github.com/microsoft/BotFramework-WebChat/issues/1610). Fixed bot and user avatar initials not working, by [@compulim](https://github.com/compulim) in PR [#1611](https://github.com/microsoft/BotFramework-WebChat/pull/1611) +- `bundle`: Fix [#1613](https://github.com/microsoft/BotFramework-WebChat/issues/1613). Pass conversationId to DirectLineJS constructor, by [@neetu-das](https://github.com/neetu-das) in PR [#1614](https://github.com/microsoft/BotFramework-WebChat/pull/1614) +- `component`: Fix [#1626](https://github.com/microsoft/BotFramework-WebChat/issues/1626). Fixed `Number.isNaN` is not available in IE11, by [@compulim](https://github.com/compulim) in PR [#1628](https://github.com/microsoft/BotFramework-WebChat/pull/1628) +- `bundle`: Fix [#1652](https://github.com/microsoft/BotFramework-WebChat/issues/1652). Pass `pollingInterval` to DirectLineJS constructor, by [@neetu-das](https://github.com/neetu-das) in PR [#1655](https://github.com/microsoft/BotFramework-WebChat/pull/1655) +- `core`: Reworked logic on connect/disconnect for reliability on handling corner cases, by [@compulim](https://github.com/compulim) in PR [#1649](https://github.com/microsoft/BotFramework-WebChat/pull/1649) +- `core`: Fix [#1521](https://github.com/microsoft/BotFramework-WebChat/issues/1521). Add connectivity status component and update localization, by [@corinagum](https://github.com/corinagum) in PR [#1679](https://github.com/microsoft/BotFramework-WebChat/pull/1679) +- `core`: Fix [#1057](https://github.com/microsoft/BotFramework-WebChat/issues/1057). Fixed suggested actions destined for other recipients should not show up, by [@compulim](https://github.com/compulim) in PR [#1706](https://github.com/microsoft/BotFramework-WebChat/pull/1706) +- `component`: Fixed pt-br locale not being selected, added `X minutes ago` and missing translations, by [@pedropacheco92](https://github.com/pedropacheco92) in PR [#1745](https://github.com/microsoft/BotFramework-WebChat/pull/1745) +- `component`: Fix [#1741](https://github.com/microsoft/BotFramework-WebChat/issues/1741) where `scrollToEndButton` does not have `type="button"`by [@corinagum](https://github.com/corinagum) in PR [#1743](https://github.com/microsoft/BotFramework-WebChat/pull/1743) +- `component`: Fix [#1625](https://github.com/microsoft/BotFramework-WebChat/issues/1625) to update `README.md` by [@corinagum](https://github.com/corinagum) in PR [#1752](https://github.com/microsoft/BotFramework-WebChat/pull/1752) ### Removed -- `botAvatarImage` and `userAvatarImage` props, as they are moved inside `styleOptions`, in PR [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) -- `sendTyping` props is now renamed to `sendTypingIndicator`, by [@compulim](https://github.com/compulim), in PR [#1584](https://github.com/microsoft/BotFramework-WebChat/pull/1584) +- `botAvatarImage` and `userAvatarImage` props, as they are moved inside `styleOptions`, in PR [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) +- `sendTyping` props is now renamed to `sendTypingIndicator`, by [@compulim](https://github.com/compulim), in PR [#1584](https://github.com/microsoft/BotFramework-WebChat/pull/1584) ### Samples -- `core`: [Programmatic access to post activity](https://microsoft.github.io/BotFramework-WebChat/04.api/d.post-activity-event/), in [#1568](https://github.com/microsoft/BotFramework-WebChat/pull/1568) -- `component`: [Hide upload button](https://microsoft.github.io/BotFramework-WebChat/02.branding-styling-and-customization/f.hide-upload-button/), in [#1491](https://github.com/microsoft/BotFramework-WebChat/pull/1491) -- `component`: [Avatar image](https://microsoft.github.io/BotFramework-WebChat/02.branding-styling-and-customization/d.display-sender-images/), in [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) -- `core`: [Incoming activity to JavaScript event](https://microsoft.github.io/BotFramework-WebChat/04.api/c.incoming-activity-event/), in [#1567](https://github.com/microsoft/BotFramework-WebChat/pull/1567) -- `core`: [Send welcome event](https://microsoft.github.io/BotFramework-WebChat/15.b.backchannel-send-welcome-event/), in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) -- `core`: [Send typing indicator](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/b.send-typing-indicator), in [#1541](https://github.com/microsoft/BotFramework-WebChat/pull/1541) -- `component`: [Password input activity](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/f.password-input/), in [#1569](https://github.com/microsoft/BotFramework-WebChat/pull/1569) -- `*`: Updated [minimizable Web Chat](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/) sample to use `WEB_CHAT/SEND_EVENT` action, in [#1631](https://github.com/microsoft/BotFramework-WebChat/pull/1631) -- `component`: [Hybrid speech engine](https://microsoft.github.io/BotFramework-WebChat/06.f.hybrid-speech/), in [#1617](https://github.com/microsoft/BotFramework-WebChat/pull/1617) -- `component`: Use Speech Services token for [speech UI sample](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/b.speech-ui/), in [#1634](https://github.com/microsoft/BotFramework-WebChat/pull/1634) -- `component`: [Selectable Activity](https://microsoft.github.io/BotFramework-WebChat/04.api/f.selectable-activity/), in [#1624](https://github.com/microsoft/BotFramework-WebChat/pull/1624) -- `component`: [Chat Send History](https://microsoft.github.io/BotFramework-WebChat/04.api/g.chat-send-history/), in [#1678](https://github.com/microsoft/BotFramework-WebChat/pull/1678) -- `*`: Update `README.md`'s for samples 05-10 [#1444](https://github.com/microsoft/BotFramework-WebChat/issues/1444) and improve accessibility of anchors [#1681](https://github.com/microsoft/BotFramework-WebChat/issues/1681), by [@corinagum](https://github.com/corinagum) in PR [#1710](https://github.com/microsoft/BotFramework-WebChat/pull/1710) -- `component`: [Customizing open URL behavior](https://microsoft.github.io/BotFramework-WebChat/04.api/i.open-url), in PR [#1704](https://github.com/microsoft/BotFramework-WebChat/pull/1704) +- `core`: [Programmatic access to post activity](https://microsoft.github.io/BotFramework-WebChat/04.api/d.post-activity-event/), in [#1568](https://github.com/microsoft/BotFramework-WebChat/pull/1568) +- `component`: [Hide upload button](https://microsoft.github.io/BotFramework-WebChat/02.branding-styling-and-customization/f.hide-upload-button/), in [#1491](https://github.com/microsoft/BotFramework-WebChat/pull/1491) +- `component`: [Avatar image](https://microsoft.github.io/BotFramework-WebChat/02.branding-styling-and-customization/d.display-sender-images/), in [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) +- `core`: [Incoming activity to JavaScript event](https://microsoft.github.io/BotFramework-WebChat/04.api/c.incoming-activity-event/), in [#1567](https://github.com/microsoft/BotFramework-WebChat/pull/1567) +- `core`: [Send welcome event](https://microsoft.github.io/BotFramework-WebChat/15.b.backchannel-send-welcome-event/), in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) +- `core`: [Send typing indicator](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/b.send-typing-indicator), in [#1541](https://github.com/microsoft/BotFramework-WebChat/pull/1541) +- `component`: [Password input activity](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/f.password-input/), in [#1569](https://github.com/microsoft/BotFramework-WebChat/pull/1569) +- `*`: Updated [minimizable Web Chat](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/) sample to use `WEB_CHAT/SEND_EVENT` action, in [#1631](https://github.com/microsoft/BotFramework-WebChat/pull/1631) +- `component`: [Hybrid speech engine](https://microsoft.github.io/BotFramework-WebChat/06.f.hybrid-speech/), in [#1617](https://github.com/microsoft/BotFramework-WebChat/pull/1617) +- `component`: Use Speech Services token for [speech UI sample](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/b.speech-ui/), in [#1634](https://github.com/microsoft/BotFramework-WebChat/pull/1634) +- `component`: [Selectable Activity](https://microsoft.github.io/BotFramework-WebChat/04.api/f.selectable-activity/), in [#1624](https://github.com/microsoft/BotFramework-WebChat/pull/1624) +- `component`: [Chat Send History](https://microsoft.github.io/BotFramework-WebChat/04.api/g.chat-send-history/), in [#1678](https://github.com/microsoft/BotFramework-WebChat/pull/1678) +- `*`: Update `README.md`'s for samples 05-10 [#1444](https://github.com/microsoft/BotFramework-WebChat/issues/1444) and improve accessibility of anchors [#1681](https://github.com/microsoft/BotFramework-WebChat/issues/1681), by [@corinagum](https://github.com/corinagum) in PR [#1710](https://github.com/microsoft/BotFramework-WebChat/pull/1710) +- `component`: [Customizing open URL behavior](https://microsoft.github.io/BotFramework-WebChat/04.api/i.open-url), in PR [#1704](https://github.com/microsoft/BotFramework-WebChat/pull/1704) ## [4.2.0] - 2018-12-11 ### Added -- Build: Development build now include instrumentation code, updated build scripts - - `npm run build` will build for development with instrumentation code - - `npm run prepublishOnly` will build for production - - `npm run watch` will also run Webpack in watch loop -- Build: Automated testing using visual regression testing technique in [#1323](https://github.com/microsoft/BotFramework-WebChat/pull/1323) - - [Docker-based](https://github.com/SeleniumHQ/docker-selenium) automated testing using headless Chrome and [Web Driver](https://npmjs.com/packages/selenium-webdriver) - - Screenshot comparison using [`jest-image-snapshot`](https://npmjs.com/packages/jest-image-snapshot) and [`pixelmatch`](https://npmjs.com/package/pixelmatch) - - Code is instrumented using [`istanbul`](https://npmjs.com/package/istanbul) - - Test report is hosted on [Coveralls](https://coveralls.io/github/microsoft/BotFramework-WebChat) -- Added French localization, by [@tao1](https://github.com/tao1) in PR [#1327](https://github.com/microsoft/BotFramework-WebChat/pull/1327) -- Resolve [#1344](https://github.com/microsoft/BotFramework-WebChat/issues/1344), by updating `README.md` and adding validation logic for `userID` props, in [#1447](https://github.com/microsoft/BotFramework-WebChat/pull/1447) - - If `userID` props present and also embedded in Direct Line token, will use the one from Direct Line token - - If `userID` props present, they must be string and not prefixed with `dl_`, to avoid confusion between `userID` props and Direct Line embedded user ID (which is forgery-proof) - - If `userID` props does not pass the validation test or not specified, Web Chat will use `default-user` instead -- Added support for Cognitive Services Speech to Text and Text to Speech in PR [#1442](https://github.com/microsoft/BotFramework-WebChat/pull/1442) +- Build: Development build now include instrumentation code, updated build scripts + - `npm run build` will build for development with instrumentation code + - `npm run prepublishOnly` will build for production + - `npm run watch` will also run Webpack in watch loop +- Build: Automated testing using visual regression testing technique in [#1323](https://github.com/microsoft/BotFramework-WebChat/pull/1323) + - [Docker-based](https://github.com/SeleniumHQ/docker-selenium) automated testing using headless Chrome and [Web Driver](https://npmjs.com/packages/selenium-webdriver) + - Screenshot comparison using [`jest-image-snapshot`](https://npmjs.com/packages/jest-image-snapshot) and [`pixelmatch`](https://npmjs.com/package/pixelmatch) + - Code is instrumented using [`istanbul`](https://npmjs.com/package/istanbul) + - Test report is hosted on [Coveralls](https://coveralls.io/github/microsoft/BotFramework-WebChat) +- Added French localization, by [@tao1](https://github.com/tao1) in PR [#1327](https://github.com/microsoft/BotFramework-WebChat/pull/1327) +- Resolve [#1344](https://github.com/microsoft/BotFramework-WebChat/issues/1344), by updating `README.md` and adding validation logic for `userID` props, in [#1447](https://github.com/microsoft/BotFramework-WebChat/pull/1447) + - If `userID` props present and also embedded in Direct Line token, will use the one from Direct Line token + - If `userID` props present, they must be string and not prefixed with `dl_`, to avoid confusion between `userID` props and Direct Line embedded user ID (which is forgery-proof) + - If `userID` props does not pass the validation test or not specified, Web Chat will use `default-user` instead +- Added support for Cognitive Services Speech to Text and Text to Speech in PR [#1442](https://github.com/microsoft/BotFramework-WebChat/pull/1442) ### Changed -- Core: Saga will run after custom middleware, in [#1331](https://github.com/microsoft/BotFramework-WebChat/pull/1331) - - Custom middleware run before saga to allow user to modify default behavior -- Build: Bump dependencies, in [#1303](https://github.com/microsoft/BotFramework-WebChat/pull/1303) - - `@babel` - - `@babel/cli@7.1.2` - - `@babel/core@7.1.2` - - `@babel/plugin-proposal-class-properties@7.1.0` - - `@babel/plugin-proposal-object-rest-spread@7.0.0` - - `@babel/plugin-transform-runtime@7.1.0` - - `@babel/preset-env@7.1.0` - - `@babel/preset-react@7.0.0` - - `@babel/preset-typescript@7.1.0` - - `@babel/runtime@7.1.2` - - `concurrently@4.0.1` - - `jest` - - `babel-jest@23.6.0` - - `jest@23.6.0` - - `ts-jest@23.10.4` - - `typescript@3.1.6` - - `webpack` - - `webpack@4.24.0` - - `webpack-command@0.4.2` -- Fixes Russian localization by [@odysseus1973](https://github.com/odysseus1973) in PR [#1377](https://github.com/microsoft/BotFramework-WebChat/pull/1377) +- Core: Saga will run after custom middleware, in [#1331](https://github.com/microsoft/BotFramework-WebChat/pull/1331) + - Custom middleware run before saga to allow user to modify default behavior +- Build: Bump dependencies, in [#1303](https://github.com/microsoft/BotFramework-WebChat/pull/1303) + - `@babel` + - `@babel/cli@7.1.2` + - `@babel/core@7.1.2` + - `@babel/plugin-proposal-class-properties@7.1.0` + - `@babel/plugin-proposal-object-rest-spread@7.0.0` + - `@babel/plugin-transform-runtime@7.1.0` + - `@babel/preset-env@7.1.0` + - `@babel/preset-react@7.0.0` + - `@babel/preset-typescript@7.1.0` + - `@babel/runtime@7.1.2` + - `concurrently@4.0.1` + - `jest` + - `babel-jest@23.6.0` + - `jest@23.6.0` + - `ts-jest@23.10.4` + - `typescript@3.1.6` + - `webpack` + - `webpack@4.24.0` + - `webpack-command@0.4.2` +- Fixes Russian localization by [@odysseus1973](https://github.com/odysseus1973) in PR [#1377](https://github.com/microsoft/BotFramework-WebChat/pull/1377) ### Fixed -- Fixes [#1397](https://github.com/microsoft/BotFramework-WebChat/issues/1397). Patched activities without `from` field, in PR [#1405](https://github.com/microsoft/BotFramework-WebChat/pull/1405) -- Fixes [#1237](https://github.com/microsoft/BotFramework-WebChat/issues/1237). Added new sample called `migration`, by [@corinagum](https://github.com/corinagum) in PR [#1398](https://github.com/microsoft/BotFramework-WebChat/pull/1398) -- Fixes [#1332](https://github.com/microsoft/BotFramework-WebChat/issues/1332). Updated sample names and add table to README, by [@corinagum](https://github.com/corinagum) in PR [#1435](https://github.com/microsoft/BotFramework-WebChat/pull/1435) -- Fixes [#1125](https://github.com/microsoft/BotFramework-WebChat/issues/1125). Added error handling for Adaptive Card JSON render, by [@corinagum](https://github.com/corinagum) in PR [#1395](https://github.com/microsoft/BotFramework-WebChat/pull/1395) -- Build: Webpack watch mode now emits non-minified code for shorter dev RTT, in [#1331](https://github.com/microsoft/BotFramework-WebChat/pull/1331) +- Fixes [#1397](https://github.com/microsoft/BotFramework-WebChat/issues/1397). Patched activities without `from` field, in PR [#1405](https://github.com/microsoft/BotFramework-WebChat/pull/1405) +- Fixes [#1237](https://github.com/microsoft/BotFramework-WebChat/issues/1237). Added new sample called `migration`, by [@corinagum](https://github.com/corinagum) in PR [#1398](https://github.com/microsoft/BotFramework-WebChat/pull/1398) +- Fixes [#1332](https://github.com/microsoft/BotFramework-WebChat/issues/1332). Updated sample names and add table to README, by [@corinagum](https://github.com/corinagum) in PR [#1435](https://github.com/microsoft/BotFramework-WebChat/pull/1435) +- Fixes [#1125](https://github.com/microsoft/BotFramework-WebChat/issues/1125). Added error handling for Adaptive Card JSON render, by [@corinagum](https://github.com/corinagum) in PR [#1395](https://github.com/microsoft/BotFramework-WebChat/pull/1395) +- Build: Webpack watch mode now emits non-minified code for shorter dev RTT, in [#1331](https://github.com/microsoft/BotFramework-WebChat/pull/1331) ### Samples -- Backchannel: [Inject custom data into every `POST_ACTIVITY`](https://microsoft.github.io/BotFramework-WebChat/15.backchannel-piggyback-on-outgoing-activities/), in [#1331](https://github.com/microsoft/BotFramework-WebChat/pull/1331) -- UI: [Minimizable Web Chat](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/), in [#1290](https://github.com/microsoft/BotFramework-WebChat/pull/1290) -- Others: [Using Web Chat v3](https://microsoft.github.io/BotFramework-WebChat/webchat-v3/), in [#1287](https://github.com/microsoft/BotFramework-WebChat/pull/1287) -- Speech: [Cognitive Services Speech to Text and Text to Speech](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/06.c.cognitive-services-speech-services-js) (both subscription key and authorization token flow) -- Speech: [Cognitive Services Speech to Text using lexical result](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/06.e.cognitive-services-speech-services-with-lexical-result) (text normalization) +- Backchannel: [Inject custom data into every `POST_ACTIVITY`](https://microsoft.github.io/BotFramework-WebChat/15.backchannel-piggyback-on-outgoing-activities/), in [#1331](https://github.com/microsoft/BotFramework-WebChat/pull/1331) +- UI: [Minimizable Web Chat](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/), in [#1290](https://github.com/microsoft/BotFramework-WebChat/pull/1290) +- Others: [Using Web Chat v3](https://microsoft.github.io/BotFramework-WebChat/webchat-v3/), in [#1287](https://github.com/microsoft/BotFramework-WebChat/pull/1287) +- Speech: [Cognitive Services Speech to Text and Text to Speech](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/06.c.cognitive-services-speech-services-js) (both subscription key and authorization token flow) +- Speech: [Cognitive Services Speech to Text using lexical result](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/06.e.cognitive-services-speech-services-with-lexical-result) (text normalization) ## [4.1.0] - 2018-10-31 ### Added -- Initial release of Web Chat v4 +- Initial release of Web Chat v4 From 0f1a276a060fee99506cabc580ced4c8912dee2d Mon Sep 17 00:00:00 2001 From: Corina <14900841+corinagum@users.noreply.github.com> Date: Fri, 29 Jan 2021 15:48:58 -0800 Subject: [PATCH 3/8] Cleanup and add test --- CHANGELOG.md | 2016 ++++++++--------- __tests__/adaptiveCards.js | 17 +- __tests__/html/__jest__/setupRunHTMLTest.js | 2 +- packages/api/src/hooks/Composer.js | 9 +- .../component/src/ScreenReaderActivity.js | 1 + 5 files changed, 1030 insertions(+), 1015 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1422795781..fabd3f15e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,258 +24,258 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added -- Resolves [#2745](https://github.com/microsoft/BotFramework-WebChat/issues/2745). Added new `inline` layout to suggested actions, by [@compulim](https://github.com/compulim) in PR [#3641](https://github.com/microsoft/BotFramework-WebChat/pull/3641) -- Added new style options to customize auto-scroll, by [@compulim](https://github.com/compulim) in PR [#3653](https://github.com/microsoft/BotFramework-WebChat/pull/3653) - - Set `autoScrollSnapOnActivity` to `true` to pause auto-scroll after more than one activity is shown, or a number to pause after X number of activities - - Set `autoScrollSnapOnPage` to `true` to pause auto-scroll when a page is filled, or a number between `0` and `1` to pause after % of page is filled - - Set `autoScrollSnapOnActivityOffset` and `autoScrollSnapOnPageOffset` to a number (in pixels) to overscroll/underscroll after the pause -- Supports multiple transcripts in a single composition, by [@compulim](https://github.com/compulim) in PR [#3653](https://github.com/microsoft/BotFramework-WebChat/pull/3653) -- Resolves [#3368](https://github.com/microsoft/BotFramework-WebChat/issues/3368). Added new `sendBoxButtonAlignment` for button alignment in multi-line text mode, by [@compulim](https://github.com/compulim) in PR [#3668](https://github.com/microsoft/BotFramework-WebChat/pull/3668) +- Resolves [#2745](https://github.com/microsoft/BotFramework-WebChat/issues/2745). Added new `inline` layout to suggested actions, by [@compulim](https://github.com/compulim) in PR [#3641](https://github.com/microsoft/BotFramework-WebChat/pull/3641) +- Added new style options to customize auto-scroll, by [@compulim](https://github.com/compulim) in PR [#3653](https://github.com/microsoft/BotFramework-WebChat/pull/3653) + - Set `autoScrollSnapOnActivity` to `true` to pause auto-scroll after more than one activity is shown, or a number to pause after X number of activities + - Set `autoScrollSnapOnPage` to `true` to pause auto-scroll when a page is filled, or a number between `0` and `1` to pause after % of page is filled + - Set `autoScrollSnapOnActivityOffset` and `autoScrollSnapOnPageOffset` to a number (in pixels) to overscroll/underscroll after the pause +- Supports multiple transcripts in a single composition, by [@compulim](https://github.com/compulim) in PR [#3653](https://github.com/microsoft/BotFramework-WebChat/pull/3653) +- Resolves [#3368](https://github.com/microsoft/BotFramework-WebChat/issues/3368). Added new `sendBoxButtonAlignment` for button alignment in multi-line text mode, by [@compulim](https://github.com/compulim) in PR [#3668](https://github.com/microsoft/BotFramework-WebChat/pull/3668) ### Fixed -- Fixes [#3278](https://github.com/microsoft/BotFramework-WebChat/issues/3278). Update `HOOKS.md` verbiage, by [@corinagum](https://github.com/corinagum) in PR [#3564](https://github.com/microsoft/BotFramework-WebChat/pull/3564) -- Fixes [#3534](https://github.com/microsoft/BotFramework-WebChat/issues/3534). Remove 2020 deprecations, by [@corinagum](https://github.com/corinagum) in PR [#3564](https://github.com/microsoft/BotFramework-WebChat/pull/3564) -- Fixes [#3561](https://github.com/microsoft/BotFramework-WebChat/issues/3561). Remove MyGet mentions from samples, by [@corinagum](https://github.com/corinagum) in PR [#3564](https://github.com/microsoft/BotFramework-WebChat/pull/3564) -- Fixes [#3537](https://github.com/microsoft/BotFramework-WebChat/issues/3537). Fix some carousels improperly using aria-roledescription, by [@corinagum](https://github.com/corinagum) in PR [#3599](https://github.com/microsoft/BotFramework-WebChat/pull/3599) -- Fixes [#3483](https://github.com/microsoft/BotFramework-WebChat/issues/3483). IE11 anchors fixed to open securely without 'noreferrer' or 'noopener', by [@corinagum](https://github.com/corinagum) in PR [#3607](https://github.com/microsoft/BotFramework-WebChat/pull/3607) -- Fixes [#3565](https://github.com/microsoft/BotFramework-WebChat/issues/3565). Allow strikethrough `` on sanitize markdown, by [@corinagum](https://github.com/corinagum) in PR [#3646](https://github.com/microsoft/BotFramework-WebChat/pull/3646) -- Fixes [#3672](https://github.com/microsoft/BotFramework-WebChat/issues/3672). Center the icon of send box buttons vertically and horizontally, by [@compulim](https://github.com/compulim) in PR [#3673](https://github.com/microsoft/BotFramework-WebChat/pull/3673) -- Fixes [#3683](https://github.com/microsoft/BotFramework-WebChat/issues/3683). Activities should be acknowledged when user scrolls to bottom, by [@compulim](https://github.com/compulim) in PR [#3684](https://github.com/microsoft/BotFramework-WebChat/pull/3684) -- Fixes [#3625](https://github.com/microsoft/BotFramework-WebChat/issues/3625). Update 'no screen reader for custom activity middleware' warning and add screen reader renderer documentation to `ACCESSIBILITY.md`, by [@corinagum](https://github.com/corinagum) in PR [#XXX](https://github.com/microsoft/BotFramework-WebChat/pull/XXX) +- Fixes [#3278](https://github.com/microsoft/BotFramework-WebChat/issues/3278). Update `HOOKS.md` verbiage, by [@corinagum](https://github.com/corinagum) in PR [#3564](https://github.com/microsoft/BotFramework-WebChat/pull/3564) +- Fixes [#3534](https://github.com/microsoft/BotFramework-WebChat/issues/3534). Remove 2020 deprecations, by [@corinagum](https://github.com/corinagum) in PR [#3564](https://github.com/microsoft/BotFramework-WebChat/pull/3564) +- Fixes [#3561](https://github.com/microsoft/BotFramework-WebChat/issues/3561). Remove MyGet mentions from samples, by [@corinagum](https://github.com/corinagum) in PR [#3564](https://github.com/microsoft/BotFramework-WebChat/pull/3564) +- Fixes [#3537](https://github.com/microsoft/BotFramework-WebChat/issues/3537). Fix some carousels improperly using aria-roledescription, by [@corinagum](https://github.com/corinagum) in PR [#3599](https://github.com/microsoft/BotFramework-WebChat/pull/3599) +- Fixes [#3483](https://github.com/microsoft/BotFramework-WebChat/issues/3483). IE11 anchors fixed to open securely without 'noreferrer' or 'noopener', by [@corinagum](https://github.com/corinagum) in PR [#3607](https://github.com/microsoft/BotFramework-WebChat/pull/3607) +- Fixes [#3565](https://github.com/microsoft/BotFramework-WebChat/issues/3565). Allow strikethrough `` on sanitize markdown, by [@corinagum](https://github.com/corinagum) in PR [#3646](https://github.com/microsoft/BotFramework-WebChat/pull/3646) +- Fixes [#3672](https://github.com/microsoft/BotFramework-WebChat/issues/3672). Center the icon of send box buttons vertically and horizontally, by [@compulim](https://github.com/compulim) in PR [#3673](https://github.com/microsoft/BotFramework-WebChat/pull/3673) +- Fixes [#3683](https://github.com/microsoft/BotFramework-WebChat/issues/3683). Activities should be acknowledged when user scrolls to bottom, by [@compulim](https://github.com/compulim) in PR [#3684](https://github.com/microsoft/BotFramework-WebChat/pull/3684) +- Fixes [#3625](https://github.com/microsoft/BotFramework-WebChat/issues/3625). Update 'no screen reader for custom activity middleware' warning and add screen reader renderer documentation to `ACCESSIBILITY.md`, by [@corinagum](https://github.com/corinagum) in PR [#3689](https://github.com/microsoft/BotFramework-WebChat/pull/3689) ### Changed -- Bumped all dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#3594](https://github.com/microsoft/BotFramework-WebChat/pull/3594) - - Development dependencies - - [`@babel/cli@7.12.1`](https://npmjs.com/package/@babel/cli) - - [`@babel/core@7.12.3`](https://npmjs.com/package/@babel/core) - - [`@babel/plugin-proposal-class-properties@7.12.1`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) - - [`@babel/plugin-proposal-object-rest-spread@7.12.1`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) - - [`@babel/plugin-transform-runtime@7.12.1`](https://npmjs.com/package/@babel/plugin-transform-runtime) - - [`@babel/preset-env@7.12.1`](https://npmjs.com/package/@babel/preset-env) - - [`@babel/preset-react@7.12.5`](https://npmjs.com/package/@babel/preset-react) - - [`@babel/preset-typescript@7.12.1`](https://npmjs.com/package/@babel/preset-typescript) - - [`@babel/runtime@7.12.5`](https://npmjs.com/package/@babel/runtime) - - [`@types/node@14.14.6`](https://npmjs.com/package/@types/node) - - [`@types/react@16.9.55`](https://npmjs.com/package/@types/react) - - [`@typescript-eslint/eslint-plugin@4.6.1`](https://npmjs.com/package/@typescript-eslint/eslint-plugin) - - [`@typescript-eslint/parser@4.6.1`](https://npmjs.com/package/@typescript-eslint/parser) - - [`babel-jest@26.6.3`](https://npmjs.com/package/babel-jest) - - [`eslint-plugin-prettier@3.1.4`](https://npmjs.com/package/eslint-plugin-prettier) - - [`eslint-plugin-react-hooks@4.2.0`](https://npmjs.com/package/eslint-plugin-react-hooks) - - [`eslint-plugin-react@7.21.5`](https://npmjs.com/package/eslint-plugin-react) - - [`eslint@7.12.1`](https://npmjs.com/package/eslint) - - [`husky@4.3.0`](https://npmjs.com/package/husky) - - [`jest-image-snapshot@4.2.0`](https://npmjs.com/package/jest-image-snapshot) - - [`jest-junit@12.0.0`](https://npmjs.com/package/jest-junit) - - [`jest-trx-results-processor@2.2.0`](https://npmjs.com/package/jest-trx-results-processor) - - [`jest@26.6.3`](https://npmjs.com/package/jest) - - [`lint-staged@10.5.1`](https://npmjs.com/package/lint-staged) - - [`lolex@6.0.0`](https://npmjs.com/package/lolex) - - [`node-dev@6.2.0`](https://npmjs.com/package/node-dev) - - [`node-fetch@2.6.1`](https://npmjs.com/package/node-fetch) - - [`prettier@2.1.2`](https://npmjs.com/package/prettier) - - [`source-map-loader@1.1.2`](https://npmjs.com/package/source-map-loader) - - [`terser-webpack-plugin@4.2.3`](https://npmjs.com/package/terser-webpack-plugin) - - [`typescript@4.0.5`](https://npmjs.com/package/typescript) - - [`webpack-cli@4.2.0`](https://npmjs.com/package/webpack-cli) - - [`webpack-stats-plugin@1.0.2`](https://npmjs.com/package/webpack-stats-plugin) - - [`webpack@4.44.2`](https://npmjs.com/package/webpack) - - Production dependencies - - [`@babel/runtime@7.12.5`](https://npmjs.com/package/@babel/runtime) - - [`globalize@1.6.0`](https://npmjs.com/package/globalize) - - [`markdown-it@12.0.2`](https://npmjs.com/package/markdown-it) - - [`react-redux@7.2.2`](https://npmjs.com/package/react-redux) - - [`redux@4.0.5`](https://npmjs.com/package/redux) - - [`sanitize-html@2.1.2`](https://npmjs.com/package/sanitize-html) - - [`whatwg-fetch@3.4.1`](https://npmjs.com/package/whatwg-fetch) -- [#3392](https://github.com/microsoft/BotFramework-WebChat/issues/3392) Bumped Adaptive Cards to the 2.5.0, by [@corinagum](https://github.com/corinagum) in PR [#3630](https://github.com/microsoft/BotFramework-WebChat/pull/3630) -- Fixes [#3618](https://github.com/microsoft/BotFramework-WebChat/issues/3618). Fix AC anchors being disabled when AC is obsolete, by [@corinagum](https://github.com/johndoe) in PR [#3687](https://github.com/microsoft/BotFramework-WebChat/pull/3687) +- Bumped all dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#3594](https://github.com/microsoft/BotFramework-WebChat/pull/3594) + - Development dependencies + - [`@babel/cli@7.12.1`](https://npmjs.com/package/@babel/cli) + - [`@babel/core@7.12.3`](https://npmjs.com/package/@babel/core) + - [`@babel/plugin-proposal-class-properties@7.12.1`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) + - [`@babel/plugin-proposal-object-rest-spread@7.12.1`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) + - [`@babel/plugin-transform-runtime@7.12.1`](https://npmjs.com/package/@babel/plugin-transform-runtime) + - [`@babel/preset-env@7.12.1`](https://npmjs.com/package/@babel/preset-env) + - [`@babel/preset-react@7.12.5`](https://npmjs.com/package/@babel/preset-react) + - [`@babel/preset-typescript@7.12.1`](https://npmjs.com/package/@babel/preset-typescript) + - [`@babel/runtime@7.12.5`](https://npmjs.com/package/@babel/runtime) + - [`@types/node@14.14.6`](https://npmjs.com/package/@types/node) + - [`@types/react@16.9.55`](https://npmjs.com/package/@types/react) + - [`@typescript-eslint/eslint-plugin@4.6.1`](https://npmjs.com/package/@typescript-eslint/eslint-plugin) + - [`@typescript-eslint/parser@4.6.1`](https://npmjs.com/package/@typescript-eslint/parser) + - [`babel-jest@26.6.3`](https://npmjs.com/package/babel-jest) + - [`eslint-plugin-prettier@3.1.4`](https://npmjs.com/package/eslint-plugin-prettier) + - [`eslint-plugin-react-hooks@4.2.0`](https://npmjs.com/package/eslint-plugin-react-hooks) + - [`eslint-plugin-react@7.21.5`](https://npmjs.com/package/eslint-plugin-react) + - [`eslint@7.12.1`](https://npmjs.com/package/eslint) + - [`husky@4.3.0`](https://npmjs.com/package/husky) + - [`jest-image-snapshot@4.2.0`](https://npmjs.com/package/jest-image-snapshot) + - [`jest-junit@12.0.0`](https://npmjs.com/package/jest-junit) + - [`jest-trx-results-processor@2.2.0`](https://npmjs.com/package/jest-trx-results-processor) + - [`jest@26.6.3`](https://npmjs.com/package/jest) + - [`lint-staged@10.5.1`](https://npmjs.com/package/lint-staged) + - [`lolex@6.0.0`](https://npmjs.com/package/lolex) + - [`node-dev@6.2.0`](https://npmjs.com/package/node-dev) + - [`node-fetch@2.6.1`](https://npmjs.com/package/node-fetch) + - [`prettier@2.1.2`](https://npmjs.com/package/prettier) + - [`source-map-loader@1.1.2`](https://npmjs.com/package/source-map-loader) + - [`terser-webpack-plugin@4.2.3`](https://npmjs.com/package/terser-webpack-plugin) + - [`typescript@4.0.5`](https://npmjs.com/package/typescript) + - [`webpack-cli@4.2.0`](https://npmjs.com/package/webpack-cli) + - [`webpack-stats-plugin@1.0.2`](https://npmjs.com/package/webpack-stats-plugin) + - [`webpack@4.44.2`](https://npmjs.com/package/webpack) + - Production dependencies + - [`@babel/runtime@7.12.5`](https://npmjs.com/package/@babel/runtime) + - [`globalize@1.6.0`](https://npmjs.com/package/globalize) + - [`markdown-it@12.0.2`](https://npmjs.com/package/markdown-it) + - [`react-redux@7.2.2`](https://npmjs.com/package/react-redux) + - [`redux@4.0.5`](https://npmjs.com/package/redux) + - [`sanitize-html@2.1.2`](https://npmjs.com/package/sanitize-html) + - [`whatwg-fetch@3.4.1`](https://npmjs.com/package/whatwg-fetch) +- [#3392](https://github.com/microsoft/BotFramework-WebChat/issues/3392) Bumped Adaptive Cards to the 2.5.0, by [@corinagum](https://github.com/corinagum) in PR [#3630](https://github.com/microsoft/BotFramework-WebChat/pull/3630) +- Fixes [#3618](https://github.com/microsoft/BotFramework-WebChat/issues/3618). Fix AC anchors being disabled when AC is obsolete, by [@corinagum](https://github.com/johndoe) in PR [#3687](https://github.com/microsoft/BotFramework-WebChat/pull/3687) ### Samples -- Fixes [#3473](https://github.com/microsoft/BotFramework-WebChat/issues/3473). Fix samples using activityMiddleware (from 4.10.0 breaking changes), by [@corinagum](https://github.com/corinagum) in PR [#3601](https://github.com/microsoft/BotFramework-WebChat/pull/3601) -- Fixes [#3582](https://github.com/microsoft/BotFramework-WebChat/issues/3582). Fix Disable Adaptive Cards sample, by [@corinagum](https://github.com/corinagum) in PR [#3687](https://github.com/microsoft/BotFramework-WebChat/pull/3687) -- Fixes [#3434](https://github.com/microsoft/BotFramework-WebChat/issues/3434). Dispatched event, postBack, or messageBack + activityMiddleware causes fatal error, by [@amal-khalaf](https://github.com/amal-khalaf) in PR [#3671](https://github.com/microsoft/BotFramework-WebChat/pull/3671) +- Fixes [#3473](https://github.com/microsoft/BotFramework-WebChat/issues/3473). Fix samples using activityMiddleware (from 4.10.0 breaking changes), by [@corinagum](https://github.com/corinagum) in PR [#3601](https://github.com/microsoft/BotFramework-WebChat/pull/3601) +- Fixes [#3582](https://github.com/microsoft/BotFramework-WebChat/issues/3582). Fix Disable Adaptive Cards sample, by [@corinagum](https://github.com/corinagum) in PR [#3687](https://github.com/microsoft/BotFramework-WebChat/pull/3687) +- Fixes [#3434](https://github.com/microsoft/BotFramework-WebChat/issues/3434). Dispatched event, postBack, or messageBack + activityMiddleware causes fatal error, by [@amal-khalaf](https://github.com/amal-khalaf) in PR [#3671](https://github.com/microsoft/BotFramework-WebChat/pull/3671) ## [4.11.0] - 2020-11-04 ### Added -- Resolves [#3281](https://github.com/microsoft/BotFramework-WebChat/issues/3281). Added documentation on speech permissions for Cordova apps on Android, by [@corinagum](https://github.com/corinagum), in PR [#3508](https://github.com/microsoft/BotFramework-WebChat/pull/3508) -- Resolves [#3316](https://github.com/microsoft/BotFramework-WebChat/issues/3316). Refactored platform-neutral APIs into the new `api` package, to be reused on React Native component, in PR [#3543](https://github.com/microsoft/BotFramework-WebChat/pull/3543) by [@compulim](https://github.com/compulim) - - The new layering is `core` -> `api` -> `component` (HTML-only) -> `bundle` - - Includes composition mode, platform-neutral React hooks, and localization resources - - Most hooks are available in the new `api` package. Some hooks are only available on the existing `component` package, due to their platform dependency or coupling with visual components. For example, Web Worker, 2D canvas, `useMicrophoneButton*` are not available on the `api` package - - Most implementations of middleware are only available in `component` package due to their coupling with visual components or platform features. Some implementations, (e.g. card action middleware and activity grouping middleware) are available on `api` package. For example: - - Carousel layout and stacked layout is only available on `component` package due to their coupling with their respective visual components - - For card action middleware, `imBack`, `messageBack` and `postBack` actions are available on `api` package, but `call`, `openUrl` and other platform-dependent actions are only available on `component` package - - `activityMiddleware`, `attachmentMiddleware`, etc, now support arrays for multiple middleware -- Resolves [#3535](https://github.com/microsoft/BotFramework-WebChat/issues/3535). Add Technical Support Guide for guidance on troubleshooting information and navigating the Web Chat repository, by [@corinagum](https://github.com/corinagum), in PR [#3645](https://github.com/microsoft/BotFramework-WebChat/pull/3645) +- Resolves [#3281](https://github.com/microsoft/BotFramework-WebChat/issues/3281). Added documentation on speech permissions for Cordova apps on Android, by [@corinagum](https://github.com/corinagum), in PR [#3508](https://github.com/microsoft/BotFramework-WebChat/pull/3508) +- Resolves [#3316](https://github.com/microsoft/BotFramework-WebChat/issues/3316). Refactored platform-neutral APIs into the new `api` package, to be reused on React Native component, in PR [#3543](https://github.com/microsoft/BotFramework-WebChat/pull/3543) by [@compulim](https://github.com/compulim) + - The new layering is `core` -> `api` -> `component` (HTML-only) -> `bundle` + - Includes composition mode, platform-neutral React hooks, and localization resources + - Most hooks are available in the new `api` package. Some hooks are only available on the existing `component` package, due to their platform dependency or coupling with visual components. For example, Web Worker, 2D canvas, `useMicrophoneButton*` are not available on the `api` package + - Most implementations of middleware are only available in `component` package due to their coupling with visual components or platform features. Some implementations, (e.g. card action middleware and activity grouping middleware) are available on `api` package. For example: + - Carousel layout and stacked layout is only available on `component` package due to their coupling with their respective visual components + - For card action middleware, `imBack`, `messageBack` and `postBack` actions are available on `api` package, but `call`, `openUrl` and other platform-dependent actions are only available on `component` package + - `activityMiddleware`, `attachmentMiddleware`, etc, now support arrays for multiple middleware +- Resolves [#3535](https://github.com/microsoft/BotFramework-WebChat/issues/3535). Add Technical Support Guide for guidance on troubleshooting information and navigating the Web Chat repository, by [@corinagum](https://github.com/corinagum), in PR [#3645](https://github.com/microsoft/BotFramework-WebChat/pull/3645) ### Fixed -- Fixes [#3489](https://github.com/microsoft/BotFramework-WebChat/issues/3489). [Accessibility]: Fix AT saying 'Bot undefined said', by [@corinagum](https://github.com/corinagum) in PR [#3524](https://github.com/microsoft/BotFramework-WebChat/pull/3524) -- Fixes [#3547](https://github.com/microsoft/BotFramework-WebChat/issues/3547). [Accessibility]: Add attachment middleware for screen reader, by [@compulim](https://github.com/compulim) in PR [#3548](https://github.com/microsoft/BotFramework-WebChat/pull/3548) -- Fixes [#3371](https://github.com/microsoft/BotFramework-WebChat/issues/3371). [Accessibility]: Add alt property for image in HeroCards, by [@corinagum](https://github.com/corinagum) in PR [#3541](https://github.com/microsoft/BotFramework-WebChat/pull/3541) -- Fixes [#3310](https://github.com/microsoft/BotFramework-WebChat/issues/3310). Add quantity, tap and text field to ReceiptCards, by [@corinagum](https://github.com/corinagum) in PR [#3541](https://github.com/microsoft/BotFramework-WebChat/pull/3541) -- Fixes [#3514](https://github.com/microsoft/BotFramework-WebChat/issues/3514). Fix PoliCheck language errors, by [@corinagum](https://github.com/corinagum) in PR [#3545](https://github.com/microsoft/BotFramework-WebChat/pull/3545) -- Fixes [#3537](https://github.com/microsoft/BotFramework-WebChat/issues/3537). [Accessibility]: Ensure `aria-roledescription` is only used on elements with implicit/explicit role based off of [WAI ARIA role attributes](https://www.w3.org/WAI/PF/aria/roles), by [@corinagum](https://github.com/corinagum) in PR [#3551](https://github.com/microsoft/BotFramework-WebChat/pull/3551), [#3583](https://github.com/microsoft/BotFramework-WebChat/pull/3583), and [#3587](https://github.com/microsoft/BotFramework-WebChat/pull/3587) -- Fixes [#3431](https://github.com/microsoft/BotFramework-WebChat/issues/3431). Activities should not be delayed due to missing activity of type "typing", by [@compulim](https://github.com/compulim) in PR [#3554](https://github.com/microsoft/BotFramework-WebChat/pull/3554) -- Fixes [#3574](https://github.com/microsoft/BotFramework-WebChat/issues/3574). Creates workaround for Cognitive Services Speech SDK 1.13.1 regarding removed support of macOS/iOS, by [@compulim](https://github.com/compulim) in PR [#3576](https://github.com/microsoft/BotFramework-WebChat/pull/3576) -- Fixes [#3570](https://github.com/microsoft/BotFramework-WebChat/issues/3570). Adaptive Card `speak` property should be narrated by screen reader, by [@compulim](https://github.com/compulim) in PR [#3573](https://github.com/microsoft/BotFramework-WebChat/pull/3573) and PR [#3584](https://github.com/microsoft/BotFramework-WebChat/pull/3584) -- Fixes [#3571](https://github.com/microsoft/BotFramework-WebChat/issues/3571). Error box should be hidden for Adaptive Card renderer when running in production mode, by [@compulim](https://github.com/compulim) in PR [#3573](https://github.com/microsoft/BotFramework-WebChat/pull/3573) +- Fixes [#3489](https://github.com/microsoft/BotFramework-WebChat/issues/3489). [Accessibility]: Fix AT saying 'Bot undefined said', by [@corinagum](https://github.com/corinagum) in PR [#3524](https://github.com/microsoft/BotFramework-WebChat/pull/3524) +- Fixes [#3547](https://github.com/microsoft/BotFramework-WebChat/issues/3547). [Accessibility]: Add attachment middleware for screen reader, by [@compulim](https://github.com/compulim) in PR [#3548](https://github.com/microsoft/BotFramework-WebChat/pull/3548) +- Fixes [#3371](https://github.com/microsoft/BotFramework-WebChat/issues/3371). [Accessibility]: Add alt property for image in HeroCards, by [@corinagum](https://github.com/corinagum) in PR [#3541](https://github.com/microsoft/BotFramework-WebChat/pull/3541) +- Fixes [#3310](https://github.com/microsoft/BotFramework-WebChat/issues/3310). Add quantity, tap and text field to ReceiptCards, by [@corinagum](https://github.com/corinagum) in PR [#3541](https://github.com/microsoft/BotFramework-WebChat/pull/3541) +- Fixes [#3514](https://github.com/microsoft/BotFramework-WebChat/issues/3514). Fix PoliCheck language errors, by [@corinagum](https://github.com/corinagum) in PR [#3545](https://github.com/microsoft/BotFramework-WebChat/pull/3545) +- Fixes [#3537](https://github.com/microsoft/BotFramework-WebChat/issues/3537). [Accessibility]: Ensure `aria-roledescription` is only used on elements with implicit/explicit role based off of [WAI ARIA role attributes](https://www.w3.org/WAI/PF/aria/roles), by [@corinagum](https://github.com/corinagum) in PR [#3551](https://github.com/microsoft/BotFramework-WebChat/pull/3551), [#3583](https://github.com/microsoft/BotFramework-WebChat/pull/3583), and [#3587](https://github.com/microsoft/BotFramework-WebChat/pull/3587) +- Fixes [#3431](https://github.com/microsoft/BotFramework-WebChat/issues/3431). Activities should not be delayed due to missing activity of type "typing", by [@compulim](https://github.com/compulim) in PR [#3554](https://github.com/microsoft/BotFramework-WebChat/pull/3554) +- Fixes [#3574](https://github.com/microsoft/BotFramework-WebChat/issues/3574). Creates workaround for Cognitive Services Speech SDK 1.13.1 regarding removed support of macOS/iOS, by [@compulim](https://github.com/compulim) in PR [#3576](https://github.com/microsoft/BotFramework-WebChat/pull/3576) +- Fixes [#3570](https://github.com/microsoft/BotFramework-WebChat/issues/3570). Adaptive Card `speak` property should be narrated by screen reader, by [@compulim](https://github.com/compulim) in PR [#3573](https://github.com/microsoft/BotFramework-WebChat/pull/3573) and PR [#3584](https://github.com/microsoft/BotFramework-WebChat/pull/3584) +- Fixes [#3571](https://github.com/microsoft/BotFramework-WebChat/issues/3571). Error box should be hidden for Adaptive Card renderer when running in production mode, by [@compulim](https://github.com/compulim) in PR [#3573](https://github.com/microsoft/BotFramework-WebChat/pull/3573) ### Changed -- Bumped development dependency [`node-fetch@2.6.1`](https://npmjs.com/package/node-fetch) in PR [#3467](https://github.com/microsoft/BotFramework-WebChat/pull/3467) by [@dependabot](https://github.com/dependabot) -- Bumped Cognitive Services Speech SDK to 1.13.1, by [@compulim](https://github.com/compulim) in PR [#3432](https://github.com/microsoft/BotFramework-WebChat/pull/3432) - - [`microsoft-cognitiveservices-speech-sdk@1.13.1`](https://npmjs.com/package/microsoft-cognitiveservices-speech-sdk) +- Bumped development dependency [`node-fetch@2.6.1`](https://npmjs.com/package/node-fetch) in PR [#3467](https://github.com/microsoft/BotFramework-WebChat/pull/3467) by [@dependabot](https://github.com/dependabot) +- Bumped Cognitive Services Speech SDK to 1.13.1, by [@compulim](https://github.com/compulim) in PR [#3432](https://github.com/microsoft/BotFramework-WebChat/pull/3432) + - [`microsoft-cognitiveservices-speech-sdk@1.13.1`](https://npmjs.com/package/microsoft-cognitiveservices-speech-sdk) ### Samples -- Fixes [#3526](https://github.com/microsoft/BotFramework-WebChat/issues/3526). Add info on composition mode in sample 06.d, by [@corinagum](https://github.com/corinagum) in PR [#3541](https://github.com/microsoft/BotFramework-WebChat/pull/3541) +- Fixes [#3526](https://github.com/microsoft/BotFramework-WebChat/issues/3526). Add info on composition mode in sample 06.d, by [@corinagum](https://github.com/corinagum) in PR [#3541](https://github.com/microsoft/BotFramework-WebChat/pull/3541) ## [4.10.1] - 2020-09-09 ### Breaking changes -- To support Content Security Policy, [`glamor`](https://npmjs.com/package/glamor) is being replaced by [`create-emotion`](https://npmjs.com/package/create-emotion). The CSS hash and rule name is being prefixed with `webchat--css` with a random value. +- To support Content Security Policy, [`glamor`](https://npmjs.com/package/glamor) is being replaced by [`create-emotion`](https://npmjs.com/package/create-emotion). The CSS hash and rule name is being prefixed with `webchat--css` with a random value. ### Fixed -- Fixes [#3431](https://github.com/microsoft/BotFramework-WebChat/issues/3431). Removed delay of first activity with `replyToId` pointing to a missing activity, by [@compulim](https://github.com/compulim) in PR [#3450](https://github.com/microsoft/BotFramework-WebChat/pull/3450) -- Fixes [#3439](https://github.com/microsoft/BotFramework-WebChat/issues/3439). Use consistent return type in default CardActionContext.getSignInUrl(), by [@stevengum](https://github.com/stevengum) in PR [#3459](https://github.com/microsoft/BotFramework-WebChat/pull/3459) -- Fixes [#3444](https://github.com/microsoft/BotFramework-WebChat/issues/3444). Make suggested actions container height styleOption flexible, by [@corinagum](https://github.com/corinagum) in PR [#3456](https://github.com/microsoft/BotFramework-WebChat/pull/3456) +- Fixes [#3431](https://github.com/microsoft/BotFramework-WebChat/issues/3431). Removed delay of first activity with `replyToId` pointing to a missing activity, by [@compulim](https://github.com/compulim) in PR [#3450](https://github.com/microsoft/BotFramework-WebChat/pull/3450) +- Fixes [#3439](https://github.com/microsoft/BotFramework-WebChat/issues/3439). Use consistent return type in default CardActionContext.getSignInUrl(), by [@stevengum](https://github.com/stevengum) in PR [#3459](https://github.com/microsoft/BotFramework-WebChat/pull/3459) +- Fixes [#3444](https://github.com/microsoft/BotFramework-WebChat/issues/3444). Make suggested actions container height styleOption flexible, by [@corinagum](https://github.com/corinagum) in PR [#3456](https://github.com/microsoft/BotFramework-WebChat/pull/3456) ### Changed -- Bumped [`botframework-directlinejs@0.13.1`](https://npmjs.com/package/botframework-directlinejs), by [@compulim](https://github.com/compulim) in PR [#3461](https://github.com/microsoft/BotFramework-WebChat/pull/3461) -- Support Content Security Policy, in PR [#3443](https://github.com/microsoft/BotFramework-WebChat/pull/3443) by [@compulim](https://github.com/compulim) - - Moved from [`glamor@2.20.40`](https://npmjs.com/package/glamor) to [`create-emotion@10.0.27`](https://npmjs.com/package/create-emotion) - - Inlined assets are now using `blob:` scheme, instead of `data:` scheme - - Detect Web Worker support by loading a dummy Web Worker, instead of checking `window.MessagePort` and `window.Worker` - - Data URI used in image of attachments will be converted to URL with scheme of `blob:` - - Bumped dependencies - - [`react-film@3.0.0`](https://npmjs.com/package/react-film) - - [`react-scroll-to-bottom@4.0.0`](https://npmjs.com/package/react-scroll-to-bottom) -- Bumped all dependencies to the latest versions, by [@corinagum](https://github.com/corinagum) in PR [#3380](https://github.com/microsoft/BotFramework-WebChat/pull/3380), [#3442](https://github.com/microsoft/BotFramework-WebChat/pull/3442) - - Development dependencies - - Root package - - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) - - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) - - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) - - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) - - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) - - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) - - [`@babel/runtime@7.11.2`](https://npmjs.com/package/@babel/runtime) - - [`babel-jest@26.4.0`](https://npmjs.com/package/babel-jest) - - [`concurrently@5.3.0`](https://npmjs.com/package/concurrently) - - [`core-js@3.6.5`](https://npmjs.com/package/core-js) - - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) - - [`husky@4.2.5`](https://npmjs.com/package/husky) - - [`jest@26.2.2`](https://npmjs.com/package/jest) - - [`jest-image-snapshot@4.1.0`](https://npmjs.com/package/jest-image-snapshot) - - [`jest-junit@11.1.0`](https://npmjs.com/package/jest-junit) - - [`jest-trx-results-processor@2.0.3`](https://npmjs.com/package/jest-trx-results-processor) - - [`lerna@3.22.1`](https://npmjs.com/package/lerna) - - [`lint-staged@10.2.13`](https://npmjs.com/package/lint-staged) - - [`prettier@2.0.5`](https://npmjs.com/package/prettier) - - [`serve@11.3.2`](https://npmjs.com/package/serve) - - [`serve-handler@6.1.3`](https://npmjs.com/package/serve-handler) - - Removed unused package [`@azure/storage-blob@12.1.0`](https://npmjs.com/package/@azure/storage-blob) - - Other packages - - [`@babel/cli@7.10.5`](https://npmjs.com/package/@babel/cli) - - [`@babel/core@7.11.0`](https://npmjs.com/package/@babel/core) - - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) - - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) - - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) - - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) - - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) - - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) - - [`@types/node@14.6.0`](https://npmjs.com/package/@types/node) - - [`@types/react@16.9.47`](https://npmjs.com/package/@types/react) - - [`@typescript-eslint/eslint-plugin@3.10.1`](https://npmjs.com/package/@typescript-eslint/eslint-plugin) - - [`@typescript-eslint/parser@3.10.1`](https://npmjs.com/package/@typescript-eslint/parser) - - [`babel-jest@26.2.2`](https://npmjs.com/package/babel-jest) - - [`concurrently@5.3.0`](https://npmjs.com/package/concurrently) - - [`copy-webpack-plugin@6.0.3`](https://npmjs.com/package/copy-webpack-plugin) - - [`core-js@3.6.5`](https://npmjs.com/package/core-js) - - [`cross-env@7.0.2`](https://npmjs.com/package/cross-env) - - [`css-loader@4.2.0`](https://npmjs.com/package/css-loader) - - [`eslint-plugin-prettier@3.1.4`](https://npmjs.com/package/eslint-plugin-prettier) - - [`eslint-plugin-react-hooks@4.1.0`](https://npmjs.com/package/eslint-plugin-react-hooks) - - [`eslint-plugin-react@7.20.6`](https://npmjs.com/package/eslint-plugin-react) - - [`eslint@7.7.0`](https://npmjs.com/package/eslint) - - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) - - [`globalize-compiler@1.1.1`](https://npmjs.com/package/globalize-compiler) - - [`html-webpack-plugin@4.3.0`](https://npmjs.com/package/html-webpack-plugin) - - [`http-proxy-middleware@1.0.5`](https://npmjs.com/package/http-proxy-middleware) - - [`jest@26.2.2`](https://npmjs.com/package/jest) - - [`node-dev@5.2.0`](https://npmjs.com/package/node-dev) - - [`prettier@2.1.1`](https://npmjs.com/package/prettier) - - [`pug@3.0.0`](https://npmjs.com/package/pug) - - [`serve@11.3.2`](https://npmjs.com/package/serve) - - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) - - [`source-map-loader@1.0.2`](https://npmjs.com/package/source-map-loader) - - [`terser-webpack-plugin@4.1.0`](https://npmjs.com/package/terser-webpack-plugin) - - [`typescript@4.0.2`](https://npmjs.com/package/typescript) - - [`webpack-cli@3.3.12`](https://npmjs.com/package/webpack-cli) - - [`webpack-stats-plugin@0.3.2`](https://npmjs.com/package/webpack-stats-plugin) - - [`webpack@4.44.1`](https://npmjs.com/package/webpack) - - Production dependencies - - [`@babel/plugin-proposal-async-generator-functions@7.10.5`](https://npmjs.com/package/@babel/plugin-proposal-async-generator-functions) - - [`@babel/runtime@7.11.2`](https://npmjs.com/package/@babel/runtime) - - [`@babel/standalone@7.11.0`](https://npmjs.com/package/@babel/standalone) - - [`abort-controller-es5@1.2.0`](https://npmjs.com/package/abort-controller-es5) - - [`botframework-directlinejs@0.13.0`](https://npmjs.com/package/botframework-directlinejs) - - [`core-js@3.6.5`](https://npmjs.com/package/core-js) - - [`event-iterator@2.0.0`](https://npmjs.com/package/event-iterator) - - [`event-target-shim-es5@1.2.0`](https://npmjs.com/package/event-target-shim-es5) - - [`expect@25.5.0`](https://npmjs.com/package/expect) - - [`globalize@1.5.0`](https://npmjs.com/package/globalize) - - [`markdown-it-attrs-es5@1.2.0`](https://npmjs.com/package/markdown-it-attrs-es5) - - [`markdown-it-attrs@3.0.3`](https://npmjs.com/package/markdown-it-attrs) - - [`markdown-it@11.0.0`](https://npmjs.com/package/markdown-it) - - [`math-random@2.0.1`](https://npmjs.com/package/math-random) - - [`memoize-one@5.1.1`](https://npmjs.com/package/memoize-one) - - [`mime@2.4.6`](https://npmjs.com/package/mime) - - [`on-error-resume-next@1.1.0`](https://npmjs.com/package/on-error-resume-next) - - [`p-defer@3.0.0`](https://npmjs.com/package/p-defer) - - [`p-defer-es5@1.2.1`](https://npmjs.com/package/p-defer-es5) - - [`react-say@2.0.2-master.ee7cd76`](https://npmjs.com/package/react-say) - - [`react-scroll-to-bottom@3.0.1-master.9e2b9d8`](https://npmjs.com/package/react-scroll-to-bottom) - - [`sanitize-html@1.27.4`](https://npmjs.com/package/sanitize-html) - - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) - - [`url-search-params-polyfill@8.1.0`](https://npmjs.com/package/url-search-params-polyfill) - - [`web-speech-cognitive-services@7.0.2-master.6004e4b`](https://npmjs.com/package/web-speech-cognitive-services) - - [`whatwg-fetch@3.4.0`](https://npmjs.com/package/whatwg-fetch) +- Bumped [`botframework-directlinejs@0.13.1`](https://npmjs.com/package/botframework-directlinejs), by [@compulim](https://github.com/compulim) in PR [#3461](https://github.com/microsoft/BotFramework-WebChat/pull/3461) +- Support Content Security Policy, in PR [#3443](https://github.com/microsoft/BotFramework-WebChat/pull/3443) by [@compulim](https://github.com/compulim) + - Moved from [`glamor@2.20.40`](https://npmjs.com/package/glamor) to [`create-emotion@10.0.27`](https://npmjs.com/package/create-emotion) + - Inlined assets are now using `blob:` scheme, instead of `data:` scheme + - Detect Web Worker support by loading a dummy Web Worker, instead of checking `window.MessagePort` and `window.Worker` + - Data URI used in image of attachments will be converted to URL with scheme of `blob:` + - Bumped dependencies + - [`react-film@3.0.0`](https://npmjs.com/package/react-film) + - [`react-scroll-to-bottom@4.0.0`](https://npmjs.com/package/react-scroll-to-bottom) +- Bumped all dependencies to the latest versions, by [@corinagum](https://github.com/corinagum) in PR [#3380](https://github.com/microsoft/BotFramework-WebChat/pull/3380), [#3442](https://github.com/microsoft/BotFramework-WebChat/pull/3442) + - Development dependencies + - Root package + - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) + - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) + - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) + - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) + - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) + - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) + - [`@babel/runtime@7.11.2`](https://npmjs.com/package/@babel/runtime) + - [`babel-jest@26.4.0`](https://npmjs.com/package/babel-jest) + - [`concurrently@5.3.0`](https://npmjs.com/package/concurrently) + - [`core-js@3.6.5`](https://npmjs.com/package/core-js) + - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) + - [`husky@4.2.5`](https://npmjs.com/package/husky) + - [`jest@26.2.2`](https://npmjs.com/package/jest) + - [`jest-image-snapshot@4.1.0`](https://npmjs.com/package/jest-image-snapshot) + - [`jest-junit@11.1.0`](https://npmjs.com/package/jest-junit) + - [`jest-trx-results-processor@2.0.3`](https://npmjs.com/package/jest-trx-results-processor) + - [`lerna@3.22.1`](https://npmjs.com/package/lerna) + - [`lint-staged@10.2.13`](https://npmjs.com/package/lint-staged) + - [`prettier@2.0.5`](https://npmjs.com/package/prettier) + - [`serve@11.3.2`](https://npmjs.com/package/serve) + - [`serve-handler@6.1.3`](https://npmjs.com/package/serve-handler) + - Removed unused package [`@azure/storage-blob@12.1.0`](https://npmjs.com/package/@azure/storage-blob) + - Other packages + - [`@babel/cli@7.10.5`](https://npmjs.com/package/@babel/cli) + - [`@babel/core@7.11.0`](https://npmjs.com/package/@babel/core) + - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) + - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) + - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) + - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) + - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) + - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) + - [`@types/node@14.6.0`](https://npmjs.com/package/@types/node) + - [`@types/react@16.9.47`](https://npmjs.com/package/@types/react) + - [`@typescript-eslint/eslint-plugin@3.10.1`](https://npmjs.com/package/@typescript-eslint/eslint-plugin) + - [`@typescript-eslint/parser@3.10.1`](https://npmjs.com/package/@typescript-eslint/parser) + - [`babel-jest@26.2.2`](https://npmjs.com/package/babel-jest) + - [`concurrently@5.3.0`](https://npmjs.com/package/concurrently) + - [`copy-webpack-plugin@6.0.3`](https://npmjs.com/package/copy-webpack-plugin) + - [`core-js@3.6.5`](https://npmjs.com/package/core-js) + - [`cross-env@7.0.2`](https://npmjs.com/package/cross-env) + - [`css-loader@4.2.0`](https://npmjs.com/package/css-loader) + - [`eslint-plugin-prettier@3.1.4`](https://npmjs.com/package/eslint-plugin-prettier) + - [`eslint-plugin-react-hooks@4.1.0`](https://npmjs.com/package/eslint-plugin-react-hooks) + - [`eslint-plugin-react@7.20.6`](https://npmjs.com/package/eslint-plugin-react) + - [`eslint@7.7.0`](https://npmjs.com/package/eslint) + - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) + - [`globalize-compiler@1.1.1`](https://npmjs.com/package/globalize-compiler) + - [`html-webpack-plugin@4.3.0`](https://npmjs.com/package/html-webpack-plugin) + - [`http-proxy-middleware@1.0.5`](https://npmjs.com/package/http-proxy-middleware) + - [`jest@26.2.2`](https://npmjs.com/package/jest) + - [`node-dev@5.2.0`](https://npmjs.com/package/node-dev) + - [`prettier@2.1.1`](https://npmjs.com/package/prettier) + - [`pug@3.0.0`](https://npmjs.com/package/pug) + - [`serve@11.3.2`](https://npmjs.com/package/serve) + - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) + - [`source-map-loader@1.0.2`](https://npmjs.com/package/source-map-loader) + - [`terser-webpack-plugin@4.1.0`](https://npmjs.com/package/terser-webpack-plugin) + - [`typescript@4.0.2`](https://npmjs.com/package/typescript) + - [`webpack-cli@3.3.12`](https://npmjs.com/package/webpack-cli) + - [`webpack-stats-plugin@0.3.2`](https://npmjs.com/package/webpack-stats-plugin) + - [`webpack@4.44.1`](https://npmjs.com/package/webpack) + - Production dependencies + - [`@babel/plugin-proposal-async-generator-functions@7.10.5`](https://npmjs.com/package/@babel/plugin-proposal-async-generator-functions) + - [`@babel/runtime@7.11.2`](https://npmjs.com/package/@babel/runtime) + - [`@babel/standalone@7.11.0`](https://npmjs.com/package/@babel/standalone) + - [`abort-controller-es5@1.2.0`](https://npmjs.com/package/abort-controller-es5) + - [`botframework-directlinejs@0.13.0`](https://npmjs.com/package/botframework-directlinejs) + - [`core-js@3.6.5`](https://npmjs.com/package/core-js) + - [`event-iterator@2.0.0`](https://npmjs.com/package/event-iterator) + - [`event-target-shim-es5@1.2.0`](https://npmjs.com/package/event-target-shim-es5) + - [`expect@25.5.0`](https://npmjs.com/package/expect) + - [`globalize@1.5.0`](https://npmjs.com/package/globalize) + - [`markdown-it-attrs-es5@1.2.0`](https://npmjs.com/package/markdown-it-attrs-es5) + - [`markdown-it-attrs@3.0.3`](https://npmjs.com/package/markdown-it-attrs) + - [`markdown-it@11.0.0`](https://npmjs.com/package/markdown-it) + - [`math-random@2.0.1`](https://npmjs.com/package/math-random) + - [`memoize-one@5.1.1`](https://npmjs.com/package/memoize-one) + - [`mime@2.4.6`](https://npmjs.com/package/mime) + - [`on-error-resume-next@1.1.0`](https://npmjs.com/package/on-error-resume-next) + - [`p-defer@3.0.0`](https://npmjs.com/package/p-defer) + - [`p-defer-es5@1.2.1`](https://npmjs.com/package/p-defer-es5) + - [`react-say@2.0.2-master.ee7cd76`](https://npmjs.com/package/react-say) + - [`react-scroll-to-bottom@3.0.1-master.9e2b9d8`](https://npmjs.com/package/react-scroll-to-bottom) + - [`sanitize-html@1.27.4`](https://npmjs.com/package/sanitize-html) + - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) + - [`url-search-params-polyfill@8.1.0`](https://npmjs.com/package/url-search-params-polyfill) + - [`web-speech-cognitive-services@7.0.2-master.6004e4b`](https://npmjs.com/package/web-speech-cognitive-services) + - [`whatwg-fetch@3.4.0`](https://npmjs.com/package/whatwg-fetch) ### Samples -- Added Content Security Policy sample, by [@compulim](https://github.com/compulim), in PR [#3443](https://github.com/microsoft/BotFramework-WebChat/pull/3443) -- Update `create-react-app`-based samples to resolve `p-defer` as peer dependency, by [@compulim](https://github.com/compulim), in PR [#3457](https://github.com/microsoft/BotFramework-WebChat/pull/3457) -- Bump [`encoding@0.1.13`](https://npmjs.com/package/encoding) in [`06.recomposing-ui/c.smart-display`](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/06.recomposing-ui/c.smart-display), by [@compulim](https://github.com/compulim), in PR [#3458](https://github.com/microsoft/BotFramework-WebChat/pull/3458) +- Added Content Security Policy sample, by [@compulim](https://github.com/compulim), in PR [#3443](https://github.com/microsoft/BotFramework-WebChat/pull/3443) +- Update `create-react-app`-based samples to resolve `p-defer` as peer dependency, by [@compulim](https://github.com/compulim), in PR [#3457](https://github.com/microsoft/BotFramework-WebChat/pull/3457) +- Bump [`encoding@0.1.13`](https://npmjs.com/package/encoding) in [`06.recomposing-ui/c.smart-display`](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/06.recomposing-ui/c.smart-display), by [@compulim](https://github.com/compulim), in PR [#3458](https://github.com/microsoft/BotFramework-WebChat/pull/3458) ## [4.10.0] - 2020-08-18 ### Breaking changes -- Due to the complexity, we are no longer exposing `` and ``. Please use `` to render the transcript instead. -- With the new activity grouping feature: - - Customized avatar cannot be wider than `styleOptions.avatarSize`. If you want to show a wider avatar, please increase `styleOptions.avatarSize`. - - If customized avatar is rendering `false`, bubble will still be padded to leave a gutter for the empty customized avatar. To hide gutter, please set `styleOptions.botAvatarInitials` and `styleOptions.userAvatarInitials` to falsy. -- Default bubble nub offset is set to `0`, previously `"bottom"` (or `-0`) - - Previously, we put the bubble nub at the bottom while keeping the avatar on top. This is not consistent in the new layout. -- By default, we will group avatar per status group. - - If you want to switch back to previous behaviors, please set `styleOptions.showAvatarInGroup` to `true`. -- Default `botAvatarInitials` and `userAvatarInitials` is changed to `undefined`, from `""` (empty string) - - When the initials is `undefined`, no gutter space will be reserved for the avatar. - - When the initials is `""` (empty string), gutter space will be reserved, but not avatar will be shown. -- [`useRenderActivity`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#userenderactivity) hook is being deprecated, in favor of the new [`useCreateActivityRenderer`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#usecreateactivityrenderer) hook. -- [`useRenderActivityStatus`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#userenderactivitystatus) hook is being deprecated, in favor of the new [`useCreateActivityStatusRenderer`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#usecreateactivitystatusrenderer) hook. -- [`useRenderAvatar`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#userenderavatar) hook is being deprecated, in favor of the new [`useCreateAvatarRenderer`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#usecreateavatarrenderer) hook. +- Due to the complexity, we are no longer exposing `` and ``. Please use `` to render the transcript instead. +- With the new activity grouping feature: + - Customized avatar cannot be wider than `styleOptions.avatarSize`. If you want to show a wider avatar, please increase `styleOptions.avatarSize`. + - If customized avatar is rendering `false`, bubble will still be padded to leave a gutter for the empty customized avatar. To hide gutter, please set `styleOptions.botAvatarInitials` and `styleOptions.userAvatarInitials` to falsy. +- Default bubble nub offset is set to `0`, previously `"bottom"` (or `-0`) + - Previously, we put the bubble nub at the bottom while keeping the avatar on top. This is not consistent in the new layout. +- By default, we will group avatar per status group. + - If you want to switch back to previous behaviors, please set `styleOptions.showAvatarInGroup` to `true`. +- Default `botAvatarInitials` and `userAvatarInitials` is changed to `undefined`, from `""` (empty string) + - When the initials is `undefined`, no gutter space will be reserved for the avatar. + - When the initials is `""` (empty string), gutter space will be reserved, but not avatar will be shown. +- [`useRenderActivity`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#userenderactivity) hook is being deprecated, in favor of the new [`useCreateActivityRenderer`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#usecreateactivityrenderer) hook. +- [`useRenderActivityStatus`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#userenderactivitystatus) hook is being deprecated, in favor of the new [`useCreateActivityStatusRenderer`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#usecreateactivitystatusrenderer) hook. +- [`useRenderAvatar`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#userenderavatar) hook is being deprecated, in favor of the new [`useCreateAvatarRenderer`](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/HOOKS.md#usecreateavatarrenderer) hook. #### Change in general middleware design @@ -362,993 +362,993 @@ It should check the result from downstream middleware. If it is falsy, it should ### Changed -- Bumped all dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#3380](https://github.com/microsoft/BotFramework-WebChat/pull/3380), [#3388](https://github.com/microsoft/BotFramework-WebChat/pull/3388), and [#3418](https://github.com/microsoft/BotFramework-WebChat/pull/3418) - - Development dependencies - - Root package - - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) - - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) - - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) - - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) - - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) - - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) - - [`@babel/runtime@7.11.0`](https://npmjs.com/package/@babel/runtime) - - [`babel-jest@26.2.2`](https://npmjs.com/package/babel-jest) - - [`concurrently@5.2.0`](https://npmjs.com/package/concurrently) - - [`core-js@3.6.5`](https://npmjs.com/package/core-js) - - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) - - [`husky@4.2.5`](https://npmjs.com/package/husky) - - [`jest@26.2.2`](https://npmjs.com/package/jest) - - [`jest-image-snapshot@4.1.0`](https://npmjs.com/package/jest-image-snapshot) - - [`jest-junit@11.1.0`](https://npmjs.com/package/jest-junit) - - [`jest-trx-results-processor@2.0.3`](https://npmjs.com/package/jest-trx-results-processor) - - [`lerna@3.22.1`](https://npmjs.com/package/lerna) - - [`lint-staged@10.2.11`](https://npmjs.com/package/lint-staged) - - [`prettier@2.0.5`](https://npmjs.com/package/prettier) - - [`serve@11.3.2`](https://npmjs.com/package/serve) - - [`serve-handler@6.1.3`](https://npmjs.com/package/serve-handler) - - Removed unused package [`@azure/storage-blob@12.1.0`](https://npmjs.com/package/@azure/storage-blob) - - Other packages - - [`@babel/cli@7.10.5`](https://npmjs.com/package/@babel/cli) - - [`@babel/core@7.11.0`](https://npmjs.com/package/@babel/core) - - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) - - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) - - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) - - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) - - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) - - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) - - [`@types/node@14.0.27`](https://npmjs.com/package/@types/node) - - [`@typescript-eslint/eslint-plugin@3.8.0`](https://npmjs.com/package/@typescript-eslint/eslint-plugin) - - [`@typescript-eslint/parser@3.8.0`](https://npmjs.com/package/@typescript-eslint/parser) - - [`babel-jest@26.2.2`](https://npmjs.com/package/babel-jest) - - [`concurrently@5.2.0`](https://npmjs.com/package/concurrently) - - [`copy-webpack-plugin@6.0.3`](https://npmjs.com/package/copy-webpack-plugin) - - [`core-js@3.6.5`](https://npmjs.com/package/core-js) - - [`cross-env@7.0.2`](https://npmjs.com/package/cross-env) - - [`css-loader@4.2.0`](https://npmjs.com/package/css-loader) - - [`eslint-plugin-prettier@3.1.4`](https://npmjs.com/package/eslint-plugin-prettier) - - [`eslint-plugin-react-hooks@4.0.8`](https://npmjs.com/package/eslint-plugin-react-hooks) - - [`eslint-plugin-react@7.20.5`](https://npmjs.com/package/eslint-plugin-react) - - [`eslint@7.6.0`](https://npmjs.com/package/eslint) - - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) - - [`globalize-compiler@1.1.1`](https://npmjs.com/package/globalize-compiler) - - [`html-webpack-plugin@4.3.0`](https://npmjs.com/package/html-webpack-plugin) - - [`http-proxy-middleware@1.0.5`](https://npmjs.com/package/http-proxy-middleware) - - [`jest@26.2.2`](https://npmjs.com/package/jest) - - [`node-dev@5.1.0`](https://npmjs.com/package/node-dev) - - [`prettier@2.0.5`](https://npmjs.com/package/prettier) - - [`pug@3.0.0`](https://npmjs.com/package/pug) - - [`serve@11.3.2`](https://npmjs.com/package/serve) - - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) - - [`source-map-loader@1.0.1`](https://npmjs.com/package/source-map-loader) - - [`terser-webpack-plugin@3.1.0`](https://npmjs.com/package/terser-webpack-plugin) - - [`typescript@3.9.7`](https://npmjs.com/package/typescript) - - [`webpack-cli@3.3.12`](https://npmjs.com/package/webpack-cli) - - [`webpack-stats-plugin@0.3.2`](https://npmjs.com/package/webpack-stats-plugin) - - [`webpack@4.44.1`](https://npmjs.com/package/webpack) - - Production dependencies - - [`@babel/plugin-proposal-async-generator-functions@7.10.5`](https://npmjs.com/package/@babel/plugin-proposal-async-generator-functions) - - [`@babel/runtime@7.11.0`](https://npmjs.com/package/@babel/runtime) - - [`@babel/standalone@7.11.0`](https://npmjs.com/package/@babel/standalone) - - [`abort-controller-es5@1.2.0`](https://npmjs.com/package/abort-controller-es5) - - [`botframework-directlinejs@0.13.0`](https://npmjs.com/package/botframework-directlinejs) - - [`core-js@3.6.5`](https://npmjs.com/package/core-js) - - [`event-iterator@2.0.0`](https://npmjs.com/package/event-iterator) - - [`event-target-shim-es5@1.2.0`](https://npmjs.com/package/event-target-shim-es5) - - [`expect@25.5.0`](https://npmjs.com/package/expect) - - [`globalize@1.5.0`](https://npmjs.com/package/globalize) - - [`markdown-it-attrs-es5@1.2.0`](https://npmjs.com/package/markdown-it-attrs-es5) - - [`markdown-it-attrs@3.0.3`](https://npmjs.com/package/markdown-it-attrs) - - [`markdown-it@11.0.0`](https://npmjs.com/package/markdown-it) - - [`math-random@2.0.0`](https://npmjs.com/package/math-random) - - [`memoize-one@5.1.1`](https://npmjs.com/package/memoize-one) - - [`on-error-resume-next@1.1.0`](https://npmjs.com/package/on-error-resume-next) - - [`p-defer-es5@1.2.1`](https://npmjs.com/package/p-defer-es5) - - [`react-say@2.0.1`](https://npmjs.com/package/react-say) - - [`sanitize-html@1.27.2`](https://npmjs.com/package/sanitize-html) - - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) - - [`url-search-params-polyfill@8.1.0`](https://npmjs.com/package/url-search-params-polyfill) - - [`web-speech-cognitive-services@7.0.1`](https://npmjs.com/package/web-speech-cognitive-services) - - [`whatwg-fetch@3.2.0`](https://npmjs.com/package/whatwg-fetch) +- Bumped all dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#3380](https://github.com/microsoft/BotFramework-WebChat/pull/3380), [#3388](https://github.com/microsoft/BotFramework-WebChat/pull/3388), and [#3418](https://github.com/microsoft/BotFramework-WebChat/pull/3418) + - Development dependencies + - Root package + - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) + - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) + - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) + - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) + - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) + - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) + - [`@babel/runtime@7.11.0`](https://npmjs.com/package/@babel/runtime) + - [`babel-jest@26.2.2`](https://npmjs.com/package/babel-jest) + - [`concurrently@5.2.0`](https://npmjs.com/package/concurrently) + - [`core-js@3.6.5`](https://npmjs.com/package/core-js) + - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) + - [`husky@4.2.5`](https://npmjs.com/package/husky) + - [`jest@26.2.2`](https://npmjs.com/package/jest) + - [`jest-image-snapshot@4.1.0`](https://npmjs.com/package/jest-image-snapshot) + - [`jest-junit@11.1.0`](https://npmjs.com/package/jest-junit) + - [`jest-trx-results-processor@2.0.3`](https://npmjs.com/package/jest-trx-results-processor) + - [`lerna@3.22.1`](https://npmjs.com/package/lerna) + - [`lint-staged@10.2.11`](https://npmjs.com/package/lint-staged) + - [`prettier@2.0.5`](https://npmjs.com/package/prettier) + - [`serve@11.3.2`](https://npmjs.com/package/serve) + - [`serve-handler@6.1.3`](https://npmjs.com/package/serve-handler) + - Removed unused package [`@azure/storage-blob@12.1.0`](https://npmjs.com/package/@azure/storage-blob) + - Other packages + - [`@babel/cli@7.10.5`](https://npmjs.com/package/@babel/cli) + - [`@babel/core@7.11.0`](https://npmjs.com/package/@babel/core) + - [`@babel/plugin-proposal-class-properties@7.10.4`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) + - [`@babel/plugin-proposal-object-rest-spread@7.11.0`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) + - [`@babel/plugin-transform-runtime@7.11.0`](https://npmjs.com/package/@babel/plugin-transform-runtime) + - [`@babel/preset-env@7.11.0`](https://npmjs.com/package/@babel/preset-env) + - [`@babel/preset-react@7.10.4`](https://npmjs.com/package/@babel/preset-react) + - [`@babel/preset-typescript@7.10.4`](https://npmjs.com/package/@babel/preset-typescript) + - [`@types/node@14.0.27`](https://npmjs.com/package/@types/node) + - [`@typescript-eslint/eslint-plugin@3.8.0`](https://npmjs.com/package/@typescript-eslint/eslint-plugin) + - [`@typescript-eslint/parser@3.8.0`](https://npmjs.com/package/@typescript-eslint/parser) + - [`babel-jest@26.2.2`](https://npmjs.com/package/babel-jest) + - [`concurrently@5.2.0`](https://npmjs.com/package/concurrently) + - [`copy-webpack-plugin@6.0.3`](https://npmjs.com/package/copy-webpack-plugin) + - [`core-js@3.6.5`](https://npmjs.com/package/core-js) + - [`cross-env@7.0.2`](https://npmjs.com/package/cross-env) + - [`css-loader@4.2.0`](https://npmjs.com/package/css-loader) + - [`eslint-plugin-prettier@3.1.4`](https://npmjs.com/package/eslint-plugin-prettier) + - [`eslint-plugin-react-hooks@4.0.8`](https://npmjs.com/package/eslint-plugin-react-hooks) + - [`eslint-plugin-react@7.20.5`](https://npmjs.com/package/eslint-plugin-react) + - [`eslint@7.6.0`](https://npmjs.com/package/eslint) + - [`global-agent@2.1.12`](https://npmjs.com/package/global-agent) + - [`globalize-compiler@1.1.1`](https://npmjs.com/package/globalize-compiler) + - [`html-webpack-plugin@4.3.0`](https://npmjs.com/package/html-webpack-plugin) + - [`http-proxy-middleware@1.0.5`](https://npmjs.com/package/http-proxy-middleware) + - [`jest@26.2.2`](https://npmjs.com/package/jest) + - [`node-dev@5.1.0`](https://npmjs.com/package/node-dev) + - [`prettier@2.0.5`](https://npmjs.com/package/prettier) + - [`pug@3.0.0`](https://npmjs.com/package/pug) + - [`serve@11.3.2`](https://npmjs.com/package/serve) + - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) + - [`source-map-loader@1.0.1`](https://npmjs.com/package/source-map-loader) + - [`terser-webpack-plugin@3.1.0`](https://npmjs.com/package/terser-webpack-plugin) + - [`typescript@3.9.7`](https://npmjs.com/package/typescript) + - [`webpack-cli@3.3.12`](https://npmjs.com/package/webpack-cli) + - [`webpack-stats-plugin@0.3.2`](https://npmjs.com/package/webpack-stats-plugin) + - [`webpack@4.44.1`](https://npmjs.com/package/webpack) + - Production dependencies + - [`@babel/plugin-proposal-async-generator-functions@7.10.5`](https://npmjs.com/package/@babel/plugin-proposal-async-generator-functions) + - [`@babel/runtime@7.11.0`](https://npmjs.com/package/@babel/runtime) + - [`@babel/standalone@7.11.0`](https://npmjs.com/package/@babel/standalone) + - [`abort-controller-es5@1.2.0`](https://npmjs.com/package/abort-controller-es5) + - [`botframework-directlinejs@0.13.0`](https://npmjs.com/package/botframework-directlinejs) + - [`core-js@3.6.5`](https://npmjs.com/package/core-js) + - [`event-iterator@2.0.0`](https://npmjs.com/package/event-iterator) + - [`event-target-shim-es5@1.2.0`](https://npmjs.com/package/event-target-shim-es5) + - [`expect@25.5.0`](https://npmjs.com/package/expect) + - [`globalize@1.5.0`](https://npmjs.com/package/globalize) + - [`markdown-it-attrs-es5@1.2.0`](https://npmjs.com/package/markdown-it-attrs-es5) + - [`markdown-it-attrs@3.0.3`](https://npmjs.com/package/markdown-it-attrs) + - [`markdown-it@11.0.0`](https://npmjs.com/package/markdown-it) + - [`math-random@2.0.0`](https://npmjs.com/package/math-random) + - [`memoize-one@5.1.1`](https://npmjs.com/package/memoize-one) + - [`on-error-resume-next@1.1.0`](https://npmjs.com/package/on-error-resume-next) + - [`p-defer-es5@1.2.1`](https://npmjs.com/package/p-defer-es5) + - [`react-say@2.0.1`](https://npmjs.com/package/react-say) + - [`sanitize-html@1.27.2`](https://npmjs.com/package/sanitize-html) + - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in) + - [`url-search-params-polyfill@8.1.0`](https://npmjs.com/package/url-search-params-polyfill) + - [`web-speech-cognitive-services@7.0.1`](https://npmjs.com/package/web-speech-cognitive-services) + - [`whatwg-fetch@3.2.0`](https://npmjs.com/package/whatwg-fetch) ### Added -- Resolves [#3250](https://github.com/microsoft/BotFramework-WebChat/issues/3250). Added activity grouping feature, by [@compulim](https://github.com/compulim), in PR [#3365](https://github.com/microsoft/BotFramework-WebChat/pull/3365) -- Resolves [#3354](https://github.com/microsoft/BotFramework-WebChat/issues/3354). Added access key (ALT + SHIFT + A for Windows and CTRL + OPTION + A for Mac) to suggested actions, by [@compulim](https://github.com/compulim), in PR [#3367](https://github.com/microsoft/BotFramework-WebChat/pull/3367) -- Resolves [#3247](https://github.com/microsoft/BotFramework-WebChat/issues/3247). Support activity ID on `useObserveScrollPosition` and `useScrollTo` hook, by [@compulim](https://github.com/compulim), in PR [#3372](https://github.com/microsoft/BotFramework-WebChat/pull/3372) -- Added support for [Redux DevTools](https://github.com/zalmoxisus/redux-devtools-extension), by [@tpdewolf](https://github.com/tpdewolf) and [@compulim](https://github.com/compulim), in PR [#3277](https://github.com/microsoft/BotFramework-WebChat/pull/3277) -- Resolves [#3249](https://github.com/microsoft/BotFramework-WebChat/issues/3249). Convert typed emoticons into Emoji, by [@corinagum](https://github.com/corinagum) and [@compulim](https://github.com/compulim), in PR [#3405](https://github.com/microsoft/BotFramework-WebChat/pull/3405) +- Resolves [#3250](https://github.com/microsoft/BotFramework-WebChat/issues/3250). Added activity grouping feature, by [@compulim](https://github.com/compulim), in PR [#3365](https://github.com/microsoft/BotFramework-WebChat/pull/3365) +- Resolves [#3354](https://github.com/microsoft/BotFramework-WebChat/issues/3354). Added access key (ALT + SHIFT + A for Windows and CTRL + OPTION + A for Mac) to suggested actions, by [@compulim](https://github.com/compulim), in PR [#3367](https://github.com/microsoft/BotFramework-WebChat/pull/3367) +- Resolves [#3247](https://github.com/microsoft/BotFramework-WebChat/issues/3247). Support activity ID on `useObserveScrollPosition` and `useScrollTo` hook, by [@compulim](https://github.com/compulim), in PR [#3372](https://github.com/microsoft/BotFramework-WebChat/pull/3372) +- Added support for [Redux DevTools](https://github.com/zalmoxisus/redux-devtools-extension), by [@tpdewolf](https://github.com/tpdewolf) and [@compulim](https://github.com/compulim), in PR [#3277](https://github.com/microsoft/BotFramework-WebChat/pull/3277) +- Resolves [#3249](https://github.com/microsoft/BotFramework-WebChat/issues/3249). Convert typed emoticons into Emoji, by [@corinagum](https://github.com/corinagum) and [@compulim](https://github.com/compulim), in PR [#3405](https://github.com/microsoft/BotFramework-WebChat/pull/3405) ### Fixed -- Fixes [#2675](https://github.com/microsoft/BotFramework-WebChat/issues/2675). Added alt text to images in suggested actions, by [@compulim](https://github.com/compulim) in PR [#3375](https://github.com/microsoft/BotFramework-WebChat/pull/3375) -- Fixes [#3383](https://github.com/microsoft/BotFramework-WebChat/issues/3383). Fixed notification toast should not break when most fields are `undefined`, by [@compulim](https://github.com/compulim) in PR [#3384](https://github.com/microsoft/BotFramework-WebChat/issues/3384) +- Fixes [#2675](https://github.com/microsoft/BotFramework-WebChat/issues/2675). Added alt text to images in suggested actions, by [@compulim](https://github.com/compulim) in PR [#3375](https://github.com/microsoft/BotFramework-WebChat/pull/3375) +- Fixes [#3383](https://github.com/microsoft/BotFramework-WebChat/issues/3383). Fixed notification toast should not break when most fields are `undefined`, by [@compulim](https://github.com/compulim) in PR [#3384](https://github.com/microsoft/BotFramework-WebChat/issues/3384) ### Samples -- Fixes [#2828](https://github.com/microsoft.com/BotFramework-WebChat/issues/2828). Updated [`04.api/h.clear-after-idle` sample](https://microsoft.github.io/BotFramework-WebChat/04.api/h.clear-after-idle/), by [@compulim](https://github.com/compulim), in PR [#3376](https://github.com/microsoft/BotFramework-WebChat/pull/3376) -- Added custom Emoji set sample, by [@corinagum](https://github.com/corinagum), in PR [#3405](https://github.com/microsoft/BotFramework-WebChat/pull/3405) +- Fixes [#2828](https://github.com/microsoft.com/BotFramework-WebChat/issues/2828). Updated [`04.api/h.clear-after-idle` sample](https://microsoft.github.io/BotFramework-WebChat/04.api/h.clear-after-idle/), by [@compulim](https://github.com/compulim), in PR [#3376](https://github.com/microsoft/BotFramework-WebChat/pull/3376) +- Added custom Emoji set sample, by [@corinagum](https://github.com/corinagum), in PR [#3405](https://github.com/microsoft/BotFramework-WebChat/pull/3405) ## [4.9.2] - 2020-07-14 ### Added -- Resolves [#3182](https://github.com/microsoft/BotFramework-WebChat/issues/3182). Added stacked suggested actions height properties, by [@corinagum](https://github.com/corinagum), in PR [#3235](https://github.com/microsoft/BotFramework-WebChat/pull/3235) -- Localized strings in Cantonese (`yue`), by [@compulim](https://github.com/compulim), in PR [#3289](https://github.com/microsoft/BotFramework-WebChat/pull/3289) +- Resolves [#3182](https://github.com/microsoft/BotFramework-WebChat/issues/3182). Added stacked suggested actions height properties, by [@corinagum](https://github.com/corinagum), in PR [#3235](https://github.com/microsoft/BotFramework-WebChat/pull/3235) +- Localized strings in Cantonese (`yue`), by [@compulim](https://github.com/compulim), in PR [#3289](https://github.com/microsoft/BotFramework-WebChat/pull/3289) ### Fixed -- Fixes [#3265](https://github.com/microsoft/BotFramework-WebChat/issues/3265). Fix styling specificity regression on microphone button, by [@corinagum](https://github.com/corinagum) in PR [#3276](https://github.com/microsoft/BotFramework-WebChat/pull/3276) -- Fixes [#3279](https://github.com/microsoft/BotFramework-WebChat/issues/3279). Fix relative timestamp errored out when showing a time before yesterday, by [@compulim](https://github.com/compulim) in PR [#3282](https://github.com/microsoft/BotFramework-WebChat/pull/3282) -- Fixes [#3236](https://github.com/microsoft/BotFramework-WebChat/issues/3236), by [@compulim](https://github.com/compulim) in PR [#3287](https://github.com/microsoft/BotFramework-WebChat/pull/3287) - - Isolated screen reader only live region for incoming activities and added a new `` component - - Removed screen reader text for activities outside of live region, including ``, ``, ``, and `` - - Updated some accessibility texts - - Rectified activities render order by delaying activities with `replyToId` that reference an activity which is not ACK-ed, for up to 5 seconds - - Disabled widgets will have `tabindex="-1"` set, instead of `disabled` attribute - - Remove `tabindex="-1"` from Adaptive Cards container - - Hide activities of type `invoke` -- Fixes [#3294](https://github.com/microsoft/BotFramework-WebChat/issues/3294). Fix blank screen on missing middlewares, by [@compulim](https://github.com/compulim) in PR [#3295](https://github.com/microsoft/BotFramework-WebChat/pull/3295) -- Fixes [#3297](https://github.com/microsoft/BotFramework-WebChat/issues/3297). Fix `className` prop is not honored in ``, by [@compulim](https://github.com/compulim) in PR [#3300](https://github.com/microsoft/BotFramework-WebChat/pull/3300) +- Fixes [#3265](https://github.com/microsoft/BotFramework-WebChat/issues/3265). Fix styling specificity regression on microphone button, by [@corinagum](https://github.com/corinagum) in PR [#3276](https://github.com/microsoft/BotFramework-WebChat/pull/3276) +- Fixes [#3279](https://github.com/microsoft/BotFramework-WebChat/issues/3279). Fix relative timestamp errored out when showing a time before yesterday, by [@compulim](https://github.com/compulim) in PR [#3282](https://github.com/microsoft/BotFramework-WebChat/pull/3282) +- Fixes [#3236](https://github.com/microsoft/BotFramework-WebChat/issues/3236), by [@compulim](https://github.com/compulim) in PR [#3287](https://github.com/microsoft/BotFramework-WebChat/pull/3287) + - Isolated screen reader only live region for incoming activities and added a new `` component + - Removed screen reader text for activities outside of live region, including ``, ``, ``, and `` + - Updated some accessibility texts + - Rectified activities render order by delaying activities with `replyToId` that reference an activity which is not ACK-ed, for up to 5 seconds + - Disabled widgets will have `tabindex="-1"` set, instead of `disabled` attribute + - Remove `tabindex="-1"` from Adaptive Cards container + - Hide activities of type `invoke` +- Fixes [#3294](https://github.com/microsoft/BotFramework-WebChat/issues/3294). Fix blank screen on missing middlewares, by [@compulim](https://github.com/compulim) in PR [#3295](https://github.com/microsoft/BotFramework-WebChat/pull/3295) +- Fixes [#3297](https://github.com/microsoft/BotFramework-WebChat/issues/3297). Fix `className` prop is not honored in ``, by [@compulim](https://github.com/compulim) in PR [#3300](https://github.com/microsoft/BotFramework-WebChat/pull/3300) ### Samples -- Resolves [#3218](https://github.com/microsoft/BotFramework-WebChat/issues/3218) and [#2811](https://github.com/microsoft/BotFramework-WebChat/issues/2811). Adds documentation on reconnecting to a conversation in minimizable sample, by [@corinagum](https://github.com/corinagum), in PR [#3239](https://github.com/microsoft/BotFramework-WebChat/pull/3239) -- Resolves [#2939](https://github.com/microsoft/BotFramework-WebChat/issues/2939). Sample for activity grouping, by [@compulim](https://github.com/compulim), in PR [#3415](https://github.com/microsoft/BotFramework-WebChat/pull/3415) +- Resolves [#3218](https://github.com/microsoft/BotFramework-WebChat/issues/3218) and [#2811](https://github.com/microsoft/BotFramework-WebChat/issues/2811). Adds documentation on reconnecting to a conversation in minimizable sample, by [@corinagum](https://github.com/corinagum), in PR [#3239](https://github.com/microsoft/BotFramework-WebChat/pull/3239) +- Resolves [#2939](https://github.com/microsoft/BotFramework-WebChat/issues/2939). Sample for activity grouping, by [@compulim](https://github.com/compulim), in PR [#3415](https://github.com/microsoft/BotFramework-WebChat/pull/3415) ### [4.9.1] - 2020-06-09 ### Breaking changes -- Affecting Adaptive Cards, legacy cards and suggested actions - - For `openUrl` card action, we are now allow-listing the URL scheme using the same allow list from the default Markdown + sanitize engine, which includes `data`, `http`, `https`, `ftp`, `mailto`, `sip`, and `tel` - - To allow-list a different set of URL schemes, please implement the card action middleware to override this behavior +- Affecting Adaptive Cards, legacy cards and suggested actions + - For `openUrl` card action, we are now allow-listing the URL scheme using the same allow list from the default Markdown + sanitize engine, which includes `data`, `http`, `https`, `ftp`, `mailto`, `sip`, and `tel` + - To allow-list a different set of URL schemes, please implement the card action middleware to override this behavior ### Added -- Resolves [#3205](https://github.com/microsoft/BotFramework-WebChat/issues/3205). Added Direct Line App Service Extension protocol, by [@compulim](https://github.com/compulim) in PR [#3206](https://github.com/microsoft/BotFramework-WebChat/pull/3206) -- Resolves [#3225](https://github.com/microsoft/BotFramework-WebChat/issues/3225). Support allowed scheme with `openUrl` card action, by [@compulim](https://github.com/compulim) in PR [#3226](https://github.com/microsoft/BotFramework-WebChat/pull/3226) -- Resolves [#3252](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added `useObserveScrollPosition` and `useScrollTo` hooks, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) -- Resolves [#3271](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added composition mode, which splits up `` into `` and ``, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) +- Resolves [#3205](https://github.com/microsoft/BotFramework-WebChat/issues/3205). Added Direct Line App Service Extension protocol, by [@compulim](https://github.com/compulim) in PR [#3206](https://github.com/microsoft/BotFramework-WebChat/pull/3206) +- Resolves [#3225](https://github.com/microsoft/BotFramework-WebChat/issues/3225). Support allowed scheme with `openUrl` card action, by [@compulim](https://github.com/compulim) in PR [#3226](https://github.com/microsoft/BotFramework-WebChat/pull/3226) +- Resolves [#3252](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added `useObserveScrollPosition` and `useScrollTo` hooks, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) +- Resolves [#3271](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added composition mode, which splits up `` into `` and ``, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) ### Fixed -- Fixes [#1340](https://github.com/microsoft/BotFramework-WebChat/issues/1340). Card container should not be focusable if they do not have `tapAction`, by [@compulim](https://github.com/compulim) in PR [#3193](https://github.com/microsoft/BotFramework-WebChat/pull/3193) -- Fixed [#3196](https://github.com/microsoft/BotFramework-WebChat/issues/3196). Cards with `tapAction` should be executable by ENTER or SPACEBAR key, by [@compulim](https://github.com/compulim) in PR [#3197](https://github.com/microsoft/BotFramework-WebChat/pull/3197) -- Fixed [#3203](https://github.com/microsoft/BotFramework-WebChat/issues/3203). "New messages" button should be narrated by assistive technology, by [@compulim](https://github.com/compulim) in PR [#3204](https://github.com/microsoft/BotFramework-WebChat/pull/3204) -- Fixed [#3217](https://github.com/microsoft/BotFramework-WebChat/issues/3217). Make sure `rel="noopener noreferrer` is not sanitized, by [@compulim](https://github.com/compulim) in PR [#3220](https://github.com/microsoft/BotFramework-WebChat/pull/3220) -- Fixed [#3223](https://github.com/microsoft/BotFramework-WebChat/issues/3223). Tap an `openUrl` card action should open URL in a new tab with `noopener noreferrer` set, by [@compulim](https://github.com/compulim) in PR [#3224](https://github.com/microsoft/BotFramework-WebChat/pull/3224) +- Fixes [#1340](https://github.com/microsoft/BotFramework-WebChat/issues/1340). Card container should not be focusable if they do not have `tapAction`, by [@compulim](https://github.com/compulim) in PR [#3193](https://github.com/microsoft/BotFramework-WebChat/pull/3193) +- Fixed [#3196](https://github.com/microsoft/BotFramework-WebChat/issues/3196). Cards with `tapAction` should be executable by ENTER or SPACEBAR key, by [@compulim](https://github.com/compulim) in PR [#3197](https://github.com/microsoft/BotFramework-WebChat/pull/3197) +- Fixed [#3203](https://github.com/microsoft/BotFramework-WebChat/issues/3203). "New messages" button should be narrated by assistive technology, by [@compulim](https://github.com/compulim) in PR [#3204](https://github.com/microsoft/BotFramework-WebChat/pull/3204) +- Fixed [#3217](https://github.com/microsoft/BotFramework-WebChat/issues/3217). Make sure `rel="noopener noreferrer` is not sanitized, by [@compulim](https://github.com/compulim) in PR [#3220](https://github.com/microsoft/BotFramework-WebChat/pull/3220) +- Fixed [#3223](https://github.com/microsoft/BotFramework-WebChat/issues/3223). Tap an `openUrl` card action should open URL in a new tab with `noopener noreferrer` set, by [@compulim](https://github.com/compulim) in PR [#3224](https://github.com/microsoft/BotFramework-WebChat/pull/3224) ### Changed -- Bumped Adaptive Cards dependencies, by [@compulim](https://github.com/compulim) in PR [#3193](https://github.com/microsoft/BotFramework-WebChat/pull/3193) - - [`adaptivecards@1.2.6`](https://npmjs.com/package/adaptivecards) -- Bumped dependencies due to [a bug in Babel and Node.js](https://github.com/nodejs/node/issues/32852), by [@compulim](https://github.com/compulim) in PR [#3177](https://github.com/microsoft/BotFramework-WebChat/pull/3177) - - Development dependencies - - [`@babel/preset-env@7.10.0`](https://npmjs.com/package/@babel/preset-env) - - Production dependencies - - [`abort-controller-es5@1.1.0`](https://npmjs.com/package/abort-controller-es5) - - [`event-target-shim-es5@1.1.0`](https://npmjs.com/package/event-target-shim-es5) - - [`markdown-it-attrs-es5@1.1.0`](https://npmjs.com/package/markdown-it-attrs-es5) - - [`p-defer-es5@1.1.0`](https://npmjs.com/package/p-defer-es5) - - [`web-speech-cognitive-services@7.0.0`](https://npmjs.com/package/web-speech-cognitive-services) -- Updated localization strings for Estonian (Estonia) (`et-EE`), by [@LiweiMa](https://github.com/LiweiMa) in PR [#3183](https://github.com/microsoft/BotFramework-WebChat/pull/3183) -- Bumped [`botframework-directlinejs@0.12.0`](https://npmjs.com/package/botframework-directlinejs), by [@compulim](https://github.com/compulim) in PR [#3206](https://github.com/microsoft/BotFramework-WebChat/pull/3206) +- Bumped Adaptive Cards dependencies, by [@compulim](https://github.com/compulim) in PR [#3193](https://github.com/microsoft/BotFramework-WebChat/pull/3193) + - [`adaptivecards@1.2.6`](https://npmjs.com/package/adaptivecards) +- Bumped dependencies due to [a bug in Babel and Node.js](https://github.com/nodejs/node/issues/32852), by [@compulim](https://github.com/compulim) in PR [#3177](https://github.com/microsoft/BotFramework-WebChat/pull/3177) + - Development dependencies + - [`@babel/preset-env@7.10.0`](https://npmjs.com/package/@babel/preset-env) + - Production dependencies + - [`abort-controller-es5@1.1.0`](https://npmjs.com/package/abort-controller-es5) + - [`event-target-shim-es5@1.1.0`](https://npmjs.com/package/event-target-shim-es5) + - [`markdown-it-attrs-es5@1.1.0`](https://npmjs.com/package/markdown-it-attrs-es5) + - [`p-defer-es5@1.1.0`](https://npmjs.com/package/p-defer-es5) + - [`web-speech-cognitive-services@7.0.0`](https://npmjs.com/package/web-speech-cognitive-services) +- Updated localization strings for Estonian (Estonia) (`et-EE`), by [@LiweiMa](https://github.com/LiweiMa) in PR [#3183](https://github.com/microsoft/BotFramework-WebChat/pull/3183) +- Bumped [`botframework-directlinejs@0.12.0`](https://npmjs.com/package/botframework-directlinejs), by [@compulim](https://github.com/compulim) in PR [#3206](https://github.com/microsoft/BotFramework-WebChat/pull/3206) ### Samples -- Resolves [#3205](https://github.com/microsoft/BotFramework-WebChat/issues/3205). Added [Direct Line App Service Extension chat adapter](https://microsoft.github.io/BotFramework-WebChat/01.getting-started/i.protocol-direct-line-app-service-extension) sample, by [@compulim](https://github.com/compulim) in PR [#3206](https://github.com/microsoft/BotFramework-WebChat/pull/3206) -- Resolves [#3271](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added [enable composition mode](https://microsoft.github.io/BotFramework-WebChat/04.api/m.enable-composition-mode) sample, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) -- Resolves [#3252](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added [save and restore scroll position](https://microsoft.github.io/BotFramework-WebChat/04.api/n.save-restore-scroll-position) sample, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) -- Resolves [#3271](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Updated [post activity event](https://microsoft.github.io/BotFramework-WebChat/04.api/d.post-activity-event) sample to use composition mode, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) +- Resolves [#3205](https://github.com/microsoft/BotFramework-WebChat/issues/3205). Added [Direct Line App Service Extension chat adapter](https://microsoft.github.io/BotFramework-WebChat/01.getting-started/i.protocol-direct-line-app-service-extension) sample, by [@compulim](https://github.com/compulim) in PR [#3206](https://github.com/microsoft/BotFramework-WebChat/pull/3206) +- Resolves [#3271](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added [enable composition mode](https://microsoft.github.io/BotFramework-WebChat/04.api/m.enable-composition-mode) sample, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) +- Resolves [#3252](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Added [save and restore scroll position](https://microsoft.github.io/BotFramework-WebChat/04.api/n.save-restore-scroll-position) sample, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) +- Resolves [#3271](https://github.com/microsoft/BotFramework-WebChat/issues/3252). Updated [post activity event](https://microsoft.github.io/BotFramework-WebChat/04.api/d.post-activity-event) sample to use composition mode, by [@compulim](https://github.com/compulim) in PR [#3268](https://github.com/microsoft/BotFramework-WebChat/pull/3268) ## [4.9.0] - 2020-05-11 ### Added -- Resolves [#2897](https://github.com/microsoft/BotFramework-WebChat/issues/2897). Moved from JUnit to VSTest reporter with file attachments, by [@compulim](https://github.com/compulim) in PR [#2990](https://github.com/microsoft/BotFramework-WebChat/pull/2990) -- Added `aria-label` attribute support for default Markdown engine, by [@patniko](https://github.com/patniko) in PR [#3022](https://github.com/microsoft/BotFramework-WebChat/pull/3022) -- Resolves [#2969](https://github.com/microsoft/BotFramework-WebChat/issues/2969). Support sovereign cloud for Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#3040](https://github.com/microsoft/BotFramework-WebChat/pull/3040) -- Resolves [#2481](https://github.com/microsoft/BotFramework-WebChat/issues/2481). Support selecting different audio input devices for Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) -- Resolves [#2850](https://github.com/microsoft/BotFramework-WebChat/issues/2850). Added new `useFocus` hook and deprecating `useFocusSendBox` hook, by [@compulim](https://github.com/compulim) in PR [#3123](https://github.com/microsoft/BotFramework-WebChat/pull/3123) - - Modify `setFocus` argument of `useTextBoxSubmit` to support `main` and `sendBoxWithoutKeyboard` -- Fixes [#1427](https://github.com/microsoft/BotFramework-WebChat/issues/1427). Support `disabled` prop and added `actionPerformedClassName` in Adaptive Card and other legacy cards, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/issue/3150) +- Resolves [#2897](https://github.com/microsoft/BotFramework-WebChat/issues/2897). Moved from JUnit to VSTest reporter with file attachments, by [@compulim](https://github.com/compulim) in PR [#2990](https://github.com/microsoft/BotFramework-WebChat/pull/2990) +- Added `aria-label` attribute support for default Markdown engine, by [@patniko](https://github.com/patniko) in PR [#3022](https://github.com/microsoft/BotFramework-WebChat/pull/3022) +- Resolves [#2969](https://github.com/microsoft/BotFramework-WebChat/issues/2969). Support sovereign cloud for Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#3040](https://github.com/microsoft/BotFramework-WebChat/pull/3040) +- Resolves [#2481](https://github.com/microsoft/BotFramework-WebChat/issues/2481). Support selecting different audio input devices for Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) +- Resolves [#2850](https://github.com/microsoft/BotFramework-WebChat/issues/2850). Added new `useFocus` hook and deprecating `useFocusSendBox` hook, by [@compulim](https://github.com/compulim) in PR [#3123](https://github.com/microsoft/BotFramework-WebChat/pull/3123) + - Modify `setFocus` argument of `useTextBoxSubmit` to support `main` and `sendBoxWithoutKeyboard` +- Fixes [#1427](https://github.com/microsoft/BotFramework-WebChat/issues/1427). Support `disabled` prop and added `actionPerformedClassName` in Adaptive Card and other legacy cards, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/issue/3150) ### Fixed -- Fixes [#2989](https://github.com/microsoft/BotFramework-WebChat/issues/2989). Fix `observeOnce` to use ES Observable call pattern, by [@compulim](https://github.com/compulim) in PR [#2993](https://github.com/microsoft/BotFramework-WebChat/pull/2993) -- Fixes [#3024](https://github.com/microsoft/BotFramework-WebChat/issues/3024). Using bridge package [`markdown-it-attrs-es5`](https://npmjs.com/package/markdown-it-attrs-es5) for consuming [`markdown-it-attrs`](https://npmjs.com/package/markdown-it-attrs) for IE11, by [@compulim](https://github.com/compulim) in PR [#3025](https://github.com/microsoft/BotFramework-WebChat/pull/3025) -- Fixes [#2818](https://github.com/microsoft/BotFramework-WebChat/issues/2818). Fix user ID is not set when passing to embed as query parameter, by [@p-nagpal](https://github.com/p-nagpal) in PR [#3031](https://github.com/microsoft/BotFramework-WebChat/pull/3031) -- Fixes [#3026](https://github.com/microsoft/BotFramework-WebChat/issues/3026). Fix link `rel` attribute in the `renderMarkdown` function, by [@tdurnford](https://github.com/tdurnford) in PR [#3033](https://github.com/microsoft/BotFramework-WebChat/pull/3033) -- Fixes [#2933](https://github.com/microsoft/BotFramework-WebChat/issues/2933). Fix `text` should not be ignored in `messageBack` action in hero card, by [@geea-develop](https://github.com/geea-develop) and [@compulim](https://github.com/compulim) in PR [#3003](https://github.com/microsoft/BotFramework-WebChat/pull/3003) -- Fixes [#2562](https://github.com/microsoft/BotFramework-WebChat/issues/2562). Fix timestamps should not stop updating, by [@compulim](https://github.com/compulim) in PR [#3066](https://github.com/microsoft/BotFramework-WebChat/pull/3066) -- Fixes [#2953](https://github.com/microsoft/BotFramework-WebChat/issues/2953). Direct Line Speech should not synthesize when the `speak` property is falsy, by [@compulim](https://github.com/compulim) in PR [#3059](https://github.com/microsoft/BotFramework-WebChat/pull/3059) -- Fixes [#2876](https://github.com/microsoft/BotFramework-WebChat/issues/2876). `messageBack` and `postBack` should send even if both `text` and `value` is falsy or `undefined`, by [@compulim](https://github.com/compulim) in PR [#3120](https://github.com/microsoft/BotFramework-WebChat/issues/3120) -- Fixes [#2668](https://github.com/microsoft/BotFramework-WebChat/issues/2668). Disable Web Audio on insecure connections, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) -- Fixes [#2850](https://github.com/microsoft/BotFramework-WebChat/issues/2850). After click suggested action, should focus to send box without keyboard, by [@compulim](https://github.com/compulim) in PR [#3123](https://github.com/microsoft/BotFramework-WebChat/pull/3123) -- Fixes [#3133](https://github.com/microsoft/BotFramework-WebChat/issues/3133). Associate ARIA labels with buttons in hero card and Adaptive Cards, by [@compulim](https://github.com/compulim) in PR [#3146](https://github.com/microsoft/BotFramework-WebChat/pull/3146). - - Remove browser-based detection from `` because it is no longer needed. - - After stripping Markdown syntax for accessibility labels, cache the result to improve rendering performance. - - Skip stripping Markdown for non-Markdown text content. -- Fixes [#3155](https://github.com/microsoft/BotFramework-WebChat/issues/3155). Patch incoming activities with null fields, by [@compulim](https://github.com/compulim) in PR [#3154](https://github.com/microsoft/BotFramework-WebChat/pull/3154) -- Fixes [#2669](https://github.com/microsoft/BotFramework-WebChat/issues/2669) and [#3136](https://github.com/microsoft/BotFramework-WebChat/issues/3136). The "New messages" button will be accessible through TAB key, inbetween the last read and first unread activity, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/issues/3150). - - After the "New message" button is clicked, focus will be moved to the first interactive UI of unread activity or the send box. -- Fixes [#3135](https://github.com/microsoft/BotFramework-WebChat/issues/3135). If the current widget is disabled, it will keep focus until the next TAB key is pressed, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/pull/3150) +- Fixes [#2989](https://github.com/microsoft/BotFramework-WebChat/issues/2989). Fix `observeOnce` to use ES Observable call pattern, by [@compulim](https://github.com/compulim) in PR [#2993](https://github.com/microsoft/BotFramework-WebChat/pull/2993) +- Fixes [#3024](https://github.com/microsoft/BotFramework-WebChat/issues/3024). Using bridge package [`markdown-it-attrs-es5`](https://npmjs.com/package/markdown-it-attrs-es5) for consuming [`markdown-it-attrs`](https://npmjs.com/package/markdown-it-attrs) for IE11, by [@compulim](https://github.com/compulim) in PR [#3025](https://github.com/microsoft/BotFramework-WebChat/pull/3025) +- Fixes [#2818](https://github.com/microsoft/BotFramework-WebChat/issues/2818). Fix user ID is not set when passing to embed as query parameter, by [@p-nagpal](https://github.com/p-nagpal) in PR [#3031](https://github.com/microsoft/BotFramework-WebChat/pull/3031) +- Fixes [#3026](https://github.com/microsoft/BotFramework-WebChat/issues/3026). Fix link `rel` attribute in the `renderMarkdown` function, by [@tdurnford](https://github.com/tdurnford) in PR [#3033](https://github.com/microsoft/BotFramework-WebChat/pull/3033) +- Fixes [#2933](https://github.com/microsoft/BotFramework-WebChat/issues/2933). Fix `text` should not be ignored in `messageBack` action in hero card, by [@geea-develop](https://github.com/geea-develop) and [@compulim](https://github.com/compulim) in PR [#3003](https://github.com/microsoft/BotFramework-WebChat/pull/3003) +- Fixes [#2562](https://github.com/microsoft/BotFramework-WebChat/issues/2562). Fix timestamps should not stop updating, by [@compulim](https://github.com/compulim) in PR [#3066](https://github.com/microsoft/BotFramework-WebChat/pull/3066) +- Fixes [#2953](https://github.com/microsoft/BotFramework-WebChat/issues/2953). Direct Line Speech should not synthesize when the `speak` property is falsy, by [@compulim](https://github.com/compulim) in PR [#3059](https://github.com/microsoft/BotFramework-WebChat/pull/3059) +- Fixes [#2876](https://github.com/microsoft/BotFramework-WebChat/issues/2876). `messageBack` and `postBack` should send even if both `text` and `value` is falsy or `undefined`, by [@compulim](https://github.com/compulim) in PR [#3120](https://github.com/microsoft/BotFramework-WebChat/issues/3120) +- Fixes [#2668](https://github.com/microsoft/BotFramework-WebChat/issues/2668). Disable Web Audio on insecure connections, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) +- Fixes [#2850](https://github.com/microsoft/BotFramework-WebChat/issues/2850). After click suggested action, should focus to send box without keyboard, by [@compulim](https://github.com/compulim) in PR [#3123](https://github.com/microsoft/BotFramework-WebChat/pull/3123) +- Fixes [#3133](https://github.com/microsoft/BotFramework-WebChat/issues/3133). Associate ARIA labels with buttons in hero card and Adaptive Cards, by [@compulim](https://github.com/compulim) in PR [#3146](https://github.com/microsoft/BotFramework-WebChat/pull/3146). + - Remove browser-based detection from `` because it is no longer needed. + - After stripping Markdown syntax for accessibility labels, cache the result to improve rendering performance. + - Skip stripping Markdown for non-Markdown text content. +- Fixes [#3155](https://github.com/microsoft/BotFramework-WebChat/issues/3155). Patch incoming activities with null fields, by [@compulim](https://github.com/compulim) in PR [#3154](https://github.com/microsoft/BotFramework-WebChat/pull/3154) +- Fixes [#2669](https://github.com/microsoft/BotFramework-WebChat/issues/2669) and [#3136](https://github.com/microsoft/BotFramework-WebChat/issues/3136). The "New messages" button will be accessible through TAB key, inbetween the last read and first unread activity, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/issues/3150). + - After the "New message" button is clicked, focus will be moved to the first interactive UI of unread activity or the send box. +- Fixes [#3135](https://github.com/microsoft/BotFramework-WebChat/issues/3135). If the current widget is disabled, it will keep focus until the next TAB key is pressed, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/pull/3150) ### Changed -- Bumped all dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#2985](https://github.com/microsoft/BotFramework-WebChat/pull/2985), [#3012](https://github.com/microsoft/BotFramework-WebChat/pull/3012) and [#3150](https://github.com/microsoft/BotFramework-WebChat/pull/3150) - - Development dependencies - - Root package - - [`@azure/storage-blob@12.1.0`](https://npmjs.com/package/@azure/storage-blob) - - [`@babel/plugin-proposal-class-properties@7.8.3`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) - - [`@babel/plugin-proposal-object-rest-spread@7.8.3`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) - - [`@babel/plugin-transform-runtime@7.8.3`](https://npmjs.com/package/@babel/plugin-transform-runtime) - - [`@babel/preset-env@7.8.7`](https://npmjs.com/package/@babel/preset-env) - - [`@babel/preset-react@7.8.3`](https://npmjs.com/package/@babel/preset-react) - - [`@babel/preset-typescript@7.8.3`](https://npmjs.com/package/@babel/preset-typescript) - - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) - - [`babel-jest@25.1.0`](https://npmjs.com/package/babel-jest) - - [`concurrently@5.1.0`](https://npmjs.com/package/concurrently) - - [`core-js@3.6.4`](https://npmjs.com/package/core-js) - - [`cross-env@7.0.2`](https://npmjs.com/package/cross-env) - - [`get-port@5.1.1`](https://npmjs.com/package/get-port) - - [`husky@4.2.3`](https://npmjs.com/package/husky) - - [`jest@25.1.0`](https://npmjs.com/package/jest) - - [`jest-image-snapshot@2.12.0`](https://npmjs.com/package/jest-image-snapshot) - - [`lerna@3.20.2`](https://npmjs.com/package/lerna) - - [`lint-staged@10.1.1`](https://npmjs.com/package/lint-staged) - - [`selenium-webdriver@4.0.0-alpha.7`](https://npmjs.com/package/selenium-webdriver) - - Other packages - - [`@babel/core@7.8.7`](https://npmjs.com/package/@babel/core) - - [`@babel/preset-env@7.8.7`](https://npmjs.com/package/@babel/preset-env) - - [`babel-jest@25.1.0`](https://npmjs.com/package/babel-jest) - - [`babel-plugin-istanbul@6.0.0`](https://npmjs.com/package/babel-plugin-istanbul) - - [`concurrently@5.1.0`](https://npmjs.com/package/concurrently) - - [`eslint-plugin-prettier@3.1.2`](https://npmjs.com/package/eslint-plugin-prettier) - - [`eslint-plugin-react-hooks@2.5.0`](https://npmjs.com/package/eslint-plugin-react-hooks) - - [`eslint-plugin-react@7.18.3`](https://npmjs.com/package/eslint-plugin-react) - - [`eslint@6.8.0`](https://npmjs.com/package/eslint) - - [`terser-webpack-plugin@2.3.5`](https://npmjs.com/package/terser-webpack-plugin) - - [`typescript@3.8.3`](https://npmjs.com/package/typescript) - - [`webpack-cli@3.3.11`](https://npmjs.com/package/webpack-cli) - - [`webpack-stats-plugin@0.3.1`](https://npmjs.com/package/webpack-stats-plugin) - - [`webpack@4.42.0`](https://npmjs.com/package/webpack) - - Production dependencies - - `core` - - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) - - [`redux-saga@1.1.3`](https://npmjs.com/package/redux-saga) - - `bundle` - - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) - - [`core-js@3.6.4`](https://npmjs.com/package/core-js) - - [`url-search-params-polyfill@8.0.0`](https://npmjs.com/package/url-search-params-polyfill) - - `component` - - [`react-film@2.1.0`](https://npmjs.com/package/react-film) - - [`react-redux@7.2.0`](https://npmjs.com/package/react-redux) - - [`react-scroll-to-bottom@2.0.0`](https://npmjs.com/package/react-scroll-to-bottom) - - [`redux@4.0.5`](https://npmjs.com/package/redux) - - `directlinespeech` - - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) - - [`core-js@3.6.4`](https://npmjs.com/package/core-js) - - `embed` - - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) - - [`core-js@3.6.4`](https://npmjs.com/package/core-js) -- Bumped Chrome Docker image to `3.141.59-zirconium` (Chrome 80.0.3987.106), by [@compulim](https://github.com/compulim) in PR [#2992](https://github.com/microsoft/BotFramework-WebChat/pull/2992) -- Added `4.8.0` to `embed/servicingPlan.json`, by [@compulim](https://github.com/compulim) in PR [#2986](https://github.com/microsoft/BotFramework-WebChat/pull/2986) -- Bumped `microsoft-cognitiveservices-speech-sdk@1.10.1` and `web-speech-cognitive-services@6.1.0`, by [@compulim](https://github.com/compulim) in PR [#3040](https://github.com/microsoft/BotFramework-WebChat/pull/3040) -- Resolved [#2886](https://github.com/microsoft/BotFramework-WebChat/issues/2886) and [#2987](https://github.com/microsoft/BotFramework-WebChat/issue/2987), converged all references of [`microsoft-cognitiveservices-speech-sdk`](https://npmjs.com/package/microsoft-cognitiveservices-speech-sdk) to reduce footprint, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) +- Bumped all dependencies to the latest versions, by [@compulim](https://github.com/compulim) in PR [#2985](https://github.com/microsoft/BotFramework-WebChat/pull/2985), [#3012](https://github.com/microsoft/BotFramework-WebChat/pull/3012) and [#3150](https://github.com/microsoft/BotFramework-WebChat/pull/3150) + - Development dependencies + - Root package + - [`@azure/storage-blob@12.1.0`](https://npmjs.com/package/@azure/storage-blob) + - [`@babel/plugin-proposal-class-properties@7.8.3`](https://npmjs.com/package/@babel/plugin-proposal-class-properties) + - [`@babel/plugin-proposal-object-rest-spread@7.8.3`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread) + - [`@babel/plugin-transform-runtime@7.8.3`](https://npmjs.com/package/@babel/plugin-transform-runtime) + - [`@babel/preset-env@7.8.7`](https://npmjs.com/package/@babel/preset-env) + - [`@babel/preset-react@7.8.3`](https://npmjs.com/package/@babel/preset-react) + - [`@babel/preset-typescript@7.8.3`](https://npmjs.com/package/@babel/preset-typescript) + - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) + - [`babel-jest@25.1.0`](https://npmjs.com/package/babel-jest) + - [`concurrently@5.1.0`](https://npmjs.com/package/concurrently) + - [`core-js@3.6.4`](https://npmjs.com/package/core-js) + - [`cross-env@7.0.2`](https://npmjs.com/package/cross-env) + - [`get-port@5.1.1`](https://npmjs.com/package/get-port) + - [`husky@4.2.3`](https://npmjs.com/package/husky) + - [`jest@25.1.0`](https://npmjs.com/package/jest) + - [`jest-image-snapshot@2.12.0`](https://npmjs.com/package/jest-image-snapshot) + - [`lerna@3.20.2`](https://npmjs.com/package/lerna) + - [`lint-staged@10.1.1`](https://npmjs.com/package/lint-staged) + - [`selenium-webdriver@4.0.0-alpha.7`](https://npmjs.com/package/selenium-webdriver) + - Other packages + - [`@babel/core@7.8.7`](https://npmjs.com/package/@babel/core) + - [`@babel/preset-env@7.8.7`](https://npmjs.com/package/@babel/preset-env) + - [`babel-jest@25.1.0`](https://npmjs.com/package/babel-jest) + - [`babel-plugin-istanbul@6.0.0`](https://npmjs.com/package/babel-plugin-istanbul) + - [`concurrently@5.1.0`](https://npmjs.com/package/concurrently) + - [`eslint-plugin-prettier@3.1.2`](https://npmjs.com/package/eslint-plugin-prettier) + - [`eslint-plugin-react-hooks@2.5.0`](https://npmjs.com/package/eslint-plugin-react-hooks) + - [`eslint-plugin-react@7.18.3`](https://npmjs.com/package/eslint-plugin-react) + - [`eslint@6.8.0`](https://npmjs.com/package/eslint) + - [`terser-webpack-plugin@2.3.5`](https://npmjs.com/package/terser-webpack-plugin) + - [`typescript@3.8.3`](https://npmjs.com/package/typescript) + - [`webpack-cli@3.3.11`](https://npmjs.com/package/webpack-cli) + - [`webpack-stats-plugin@0.3.1`](https://npmjs.com/package/webpack-stats-plugin) + - [`webpack@4.42.0`](https://npmjs.com/package/webpack) + - Production dependencies + - `core` + - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) + - [`redux-saga@1.1.3`](https://npmjs.com/package/redux-saga) + - `bundle` + - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) + - [`core-js@3.6.4`](https://npmjs.com/package/core-js) + - [`url-search-params-polyfill@8.0.0`](https://npmjs.com/package/url-search-params-polyfill) + - `component` + - [`react-film@2.1.0`](https://npmjs.com/package/react-film) + - [`react-redux@7.2.0`](https://npmjs.com/package/react-redux) + - [`react-scroll-to-bottom@2.0.0`](https://npmjs.com/package/react-scroll-to-bottom) + - [`redux@4.0.5`](https://npmjs.com/package/redux) + - `directlinespeech` + - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) + - [`core-js@3.6.4`](https://npmjs.com/package/core-js) + - `embed` + - [`@babel/runtime@7.8.7`](https://npmjs.com/package/@babel/runtime) + - [`core-js@3.6.4`](https://npmjs.com/package/core-js) +- Bumped Chrome Docker image to `3.141.59-zirconium` (Chrome 80.0.3987.106), by [@compulim](https://github.com/compulim) in PR [#2992](https://github.com/microsoft/BotFramework-WebChat/pull/2992) +- Added `4.8.0` to `embed/servicingPlan.json`, by [@compulim](https://github.com/compulim) in PR [#2986](https://github.com/microsoft/BotFramework-WebChat/pull/2986) +- Bumped `microsoft-cognitiveservices-speech-sdk@1.10.1` and `web-speech-cognitive-services@6.1.0`, by [@compulim](https://github.com/compulim) in PR [#3040](https://github.com/microsoft/BotFramework-WebChat/pull/3040) +- Resolved [#2886](https://github.com/microsoft/BotFramework-WebChat/issues/2886) and [#2987](https://github.com/microsoft/BotFramework-WebChat/issue/2987), converged all references of [`microsoft-cognitiveservices-speech-sdk`](https://npmjs.com/package/microsoft-cognitiveservices-speech-sdk) to reduce footprint, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) ### Samples -- Resolves [#2806](https://github.com/microsoft/BotFramework-WebChat/issues/2806), added [Single sign-on with On Behalf Of Token Authentication](https://webchat-sample-obo.azurewebsites.net/) sample, by [@tdurnford](https://github.com/tdurnford) in [#2865](https://github.com/microsoft/BotFramework-WebChat/pull/2865) -- Resolves [#2481](https://github.com/microsoft/BotFramework-WebChat/issues/2481), added selectable audio input device sample, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) -- Resolves [#1427](https://github.com/microsoft/BotFramework-WebChat/issues/1427), added disable cards after submission sample, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/issue/3150) +- Resolves [#2806](https://github.com/microsoft/BotFramework-WebChat/issues/2806), added [Single sign-on with On Behalf Of Token Authentication](https://webchat-sample-obo.azurewebsites.net/) sample, by [@tdurnford](https://github.com/tdurnford) in [#2865](https://github.com/microsoft/BotFramework-WebChat/pull/2865) +- Resolves [#2481](https://github.com/microsoft/BotFramework-WebChat/issues/2481), added selectable audio input device sample, by [@compulim](https://github.com/compulim) in PR [#3079](https://github.com/microsoft/BotFramework-WebChat/pull/3079) +- Resolves [#1427](https://github.com/microsoft/BotFramework-WebChat/issues/1427), added disable cards after submission sample, by [@compulim](https://github.com/compulim) in PR [#3150](https://github.com/microsoft/BotFramework-WebChat/issue/3150) ## [4.8.1] - 2020-04-15 ### Fixed -- Fixes [#3075](https://github.com/microsoft/BotFramework-WebChat/issues/3075). Fix usability issues around accessibility, by [@compulim](https://github.com/compulim) in PR [#3076](https://github.com/microsoft/BotFramework-WebChat/pull/3076) - - Fix timestamp should not be narrated more than once. - - Associate the activity text with its attachments, by adding a `role="region"` to the activity DOM element. -- Fixes [#3074](https://github.com/microsoft/BotFramework-WebChat/issues/3074). Keep `props.locale` when sending to the bot, by [@compulim](https://github.com/compulim) in PR [#3095](https://github.com/microsoft/BotFramework-WebChat/pull/3095) -- Fixes [#3096](https://github.com/microsoft/BotFramework-WebChat/issues/3096). Use `` instead of `aria-label` for message bubbles, by [@compulim](https://github.com/compulim) in PR [#3097](https://github.com/microsoft/BotFramework-WebChat/pull/3097) +- Fixes [#3075](https://github.com/microsoft/BotFramework-WebChat/issues/3075). Fix usability issues around accessibility, by [@compulim](https://github.com/compulim) in PR [#3076](https://github.com/microsoft/BotFramework-WebChat/pull/3076) + - Fix timestamp should not be narrated more than once. + - Associate the activity text with its attachments, by adding a `role="region"` to the activity DOM element. +- Fixes [#3074](https://github.com/microsoft/BotFramework-WebChat/issues/3074). Keep `props.locale` when sending to the bot, by [@compulim](https://github.com/compulim) in PR [#3095](https://github.com/microsoft/BotFramework-WebChat/pull/3095) +- Fixes [#3096](https://github.com/microsoft/BotFramework-WebChat/issues/3096). Use `` instead of `aria-label` for message bubbles, by [@compulim](https://github.com/compulim) in PR [#3097](https://github.com/microsoft/BotFramework-WebChat/pull/3097) ## [4.8.0] - 2020-03-05 ### Breaking changes -- Localization - - `locale` prop: `zh-YUE` has been renamed to `yue` to conform with Unicode standard. `zh-YUE` will continue to work with warnings - - Most strings have been validated and retranslated by the Microsoft localization team, with the exception of English (US), Egyptian Arabic, Jordan Arabic, and Chinese Yue - - If the new strings are undesirable, please use the [`overideLocalizedStrings` prop](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/LOCALIZATION.md#overriding-localization-strings) for customization - - String IDs have been refreshed and now use a standard format - - `useLocalize` and `useLocalizeDate` is deprecated. Please use `useLocalizer` and `useDateFormatter` instead -- Customizable typing indicator: data and hook related to typing indicator are being revamped in PR [#2912](https://github.com/microsoft/BotFramework-WebChat/pull/2912) - - `lastTypingAt` reducer is deprecated, use `typing` instead. The newer reducer contains typing indicator from the user - - `useLastTypingAt()` hook is deprecated, use `useActiveTyping(duration?: number)` instead. For all typing information, pass `Infinity` to `duration` argument -- Customizable activity status: new `nextVisibleActivity` to control activity status visibility - - Previously, we use `timestampClassName` to control if the activity should show or hide timestamp. The `timestampClassName` was added as a `class` attribute the DOM element which contains the timestamp - - Today, `activity` and `nextVisibleActivity` are passed to the middleware, so the `activityRendererMiddleware` can decide whether the timestamp should be shown or not. For example, developers can group timestamp based on activity type +- Localization + - `locale` prop: `zh-YUE` has been renamed to `yue` to conform with Unicode standard. `zh-YUE` will continue to work with warnings + - Most strings have been validated and retranslated by the Microsoft localization team, with the exception of English (US), Egyptian Arabic, Jordan Arabic, and Chinese Yue + - If the new strings are undesirable, please use the [`overideLocalizedStrings` prop](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/LOCALIZATION.md#overriding-localization-strings) for customization + - String IDs have been refreshed and now use a standard format + - `useLocalize` and `useLocalizeDate` is deprecated. Please use `useLocalizer` and `useDateFormatter` instead +- Customizable typing indicator: data and hook related to typing indicator are being revamped in PR [#2912](https://github.com/microsoft/BotFramework-WebChat/pull/2912) + - `lastTypingAt` reducer is deprecated, use `typing` instead. The newer reducer contains typing indicator from the user + - `useLastTypingAt()` hook is deprecated, use `useActiveTyping(duration?: number)` instead. For all typing information, pass `Infinity` to `duration` argument +- Customizable activity status: new `nextVisibleActivity` to control activity status visibility + - Previously, we use `timestampClassName` to control if the activity should show or hide timestamp. The `timestampClassName` was added as a `class` attribute the DOM element which contains the timestamp + - Today, `activity` and `nextVisibleActivity` are passed to the middleware, so the `activityRendererMiddleware` can decide whether the timestamp should be shown or not. For example, developers can group timestamp based on activity type ### Added -- Resolves [#2753](https://github.com/microsoft/BotFramework-WebChat/issues/2753). Added support for updating an activity by the ID, by [@compulim](https://github.com/compulim) in PR [#2825](https://github.com/microsoft/BotFramework-WebChat/pull/2825) -- Added custom hooks - `useTimer` and `useIntervalSince` - to replace the headless `Timer` component, by [@tdurnford](https://github.com/tdurnford), in PR [#2771](https://github.com/microsoft/BotFramework-WebChat/pull/2771) -- Resolves [#2720](https://github.com/microsoft/BotFramework-WebChat/issues/2720), added customizable activity status using `activityStatusMiddleware` props, by [@compulim](https://github.com/compulim), in PR [#2788](https://github.com/microsoft/BotFramework-WebChat/pull/2788) -- Added default `onError` prop to the `Dictation` component, by [@tonyanziano](https://github.com/tonyanziano), in PR [#2866](https://github.com/microsoft/BotFramework-WebChat/pull/2866) -- Resolves [#1976](https://github.com/microsoft/BotFramework-WebChat/issues/1976). Added RTL support with localization for Hebrew and Arabic, by [@corinagum](https://github.com/corinagum), in PR [#2890](https://github.com/microsoft/BotFramework-WebChat/pull/2890) -- Resolves [#2755](https://github.com/microsoft/BotFramework-WebChat/issues/2755). Added notification system and toast UI, by [@compulim](https://github.com/compulim), in PR [#2883](https://github.com/microsoft/BotFramework-WebChat/pull/2883) - - Please read [this article on how to use notification](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/NOTIFICATION.md) - - Slow connection timer can now be set using `styleOptions.slowConnectionAfter` (in milliseconds) -- Resolves [#2871](https://github.com/microsoft/BotFramework-WebChat/issues/2871). Moved typing indicator to transcript, by [@compulim](https://github.com/compulim), in PR [#2883](https://github.com/microsoft/BotFramework-WebChat/pull/2883) -- Resolves [#2756](https://github.com/microsoft/BotFramework-WebChat/issues/2756). Improved localizability and add override support for localized strings, by [@compulim](https://github.com/compulim) in PR [#2894](https://github.com/microsoft/BotFramework-WebChat/pull/2894) - - Will be translated into 44 languages, plus 2 community-contributed translations - - For details, please read the [documentation on the localization](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/LOCALIZATION.md) -- Resolves [#2213](https://github.com/microsoft/BotFramework-WebChat/issues/2213). Added customization for typing activity, by [@compulim](https://github.com/compulim), in PR [#2912](https://github.com/microsoft/BotFramework-WebChat/pull/2912) -- Resolves [#2754](https://github.com/microsoft/BotFramework-WebChat/issues/2754). Added [telemetry system](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/TELEMETRY.md), by [@compulim](https://github.com/compulim), in PR [#2922](https://github.com/microsoft/BotFramework-WebChat/pull/2922) -- Resolves [#2857](https://github.com/microsoft/BotFramework-WebChat/issues/2857). Added the ability to customize the avatar on a per activity basis, by [@compulim](https://github.com/compulim), in PR [#2943](https://github.com/microsoft/BotFramework-WebChat/pull/2943) -- Resolves [#2944](https://github.com/microsoft/BotFramework-WebChat/issues/2944). Updated Azure locale mapping in embed page, by [@compulim](https://github.com/compulim) in PR [#2965](https://github.com/microsoft/BotFramework-WebChat/pull/2965) +- Resolves [#2753](https://github.com/microsoft/BotFramework-WebChat/issues/2753). Added support for updating an activity by the ID, by [@compulim](https://github.com/compulim) in PR [#2825](https://github.com/microsoft/BotFramework-WebChat/pull/2825) +- Added custom hooks - `useTimer` and `useIntervalSince` - to replace the headless `Timer` component, by [@tdurnford](https://github.com/tdurnford), in PR [#2771](https://github.com/microsoft/BotFramework-WebChat/pull/2771) +- Resolves [#2720](https://github.com/microsoft/BotFramework-WebChat/issues/2720), added customizable activity status using `activityStatusMiddleware` props, by [@compulim](https://github.com/compulim), in PR [#2788](https://github.com/microsoft/BotFramework-WebChat/pull/2788) +- Added default `onError` prop to the `Dictation` component, by [@tonyanziano](https://github.com/tonyanziano), in PR [#2866](https://github.com/microsoft/BotFramework-WebChat/pull/2866) +- Resolves [#1976](https://github.com/microsoft/BotFramework-WebChat/issues/1976). Added RTL support with localization for Hebrew and Arabic, by [@corinagum](https://github.com/corinagum), in PR [#2890](https://github.com/microsoft/BotFramework-WebChat/pull/2890) +- Resolves [#2755](https://github.com/microsoft/BotFramework-WebChat/issues/2755). Added notification system and toast UI, by [@compulim](https://github.com/compulim), in PR [#2883](https://github.com/microsoft/BotFramework-WebChat/pull/2883) + - Please read [this article on how to use notification](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/NOTIFICATION.md) + - Slow connection timer can now be set using `styleOptions.slowConnectionAfter` (in milliseconds) +- Resolves [#2871](https://github.com/microsoft/BotFramework-WebChat/issues/2871). Moved typing indicator to transcript, by [@compulim](https://github.com/compulim), in PR [#2883](https://github.com/microsoft/BotFramework-WebChat/pull/2883) +- Resolves [#2756](https://github.com/microsoft/BotFramework-WebChat/issues/2756). Improved localizability and add override support for localized strings, by [@compulim](https://github.com/compulim) in PR [#2894](https://github.com/microsoft/BotFramework-WebChat/pull/2894) + - Will be translated into 44 languages, plus 2 community-contributed translations + - For details, please read the [documentation on the localization](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/LOCALIZATION.md) +- Resolves [#2213](https://github.com/microsoft/BotFramework-WebChat/issues/2213). Added customization for typing activity, by [@compulim](https://github.com/compulim), in PR [#2912](https://github.com/microsoft/BotFramework-WebChat/pull/2912) +- Resolves [#2754](https://github.com/microsoft/BotFramework-WebChat/issues/2754). Added [telemetry system](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/TELEMETRY.md), by [@compulim](https://github.com/compulim), in PR [#2922](https://github.com/microsoft/BotFramework-WebChat/pull/2922) +- Resolves [#2857](https://github.com/microsoft/BotFramework-WebChat/issues/2857). Added the ability to customize the avatar on a per activity basis, by [@compulim](https://github.com/compulim), in PR [#2943](https://github.com/microsoft/BotFramework-WebChat/pull/2943) +- Resolves [#2944](https://github.com/microsoft/BotFramework-WebChat/issues/2944). Updated Azure locale mapping in embed page, by [@compulim](https://github.com/compulim) in PR [#2965](https://github.com/microsoft/BotFramework-WebChat/pull/2965) ### 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) -- Fixes [#2609](https://github.com/microsoft/BotFramework-WebChat/issues/2609). Fix sample 12: minimizable button is causing another reconnect on restore, by [@compulim](https://github.com/compulim) in PR [#2758](https://github.com/microsoft/BotFramework-WebChat/pull/2758) -- Fixes [#2773](https://github.com/microsoft/BotFramework-WebChat/issues/2773). Import ES5 version of the following bundles, by [@compulim](https://github.com/compulim) in PR [#2774](https://github.com/microsoft/BotFramework-WebChat/pull/2773) - - [`abort-controller`](https://npmjs.com/package/abort-controller) - - [`event-target-shim`](https://npmjs.com/package/event-target-shim) - - [`p-defer`](https://npmjs.com/package/p-defer) -- Fixes the following issues and improves test reliability, by [@compulim](https://github.com/compulim) in PR [#2777](https://github.com/microsoft/BotFramework-WebChat/pull/2777) - - Fixes [#2612](https://github.com/microsoft/BotFramework-WebChat/issues/2612). Wait until language change - - Fixes [#2653](https://github.com/microsoft/BotFramework-WebChat/issues/2653). Scroll-to-bottom check will do 5 consecutive checks to determine stickiness. - - Fixes [#2691](https://github.com/microsoft/BotFramework-WebChat/issues/2691). Wait until button is shown/hid before taking screenshot - - Fixes [#2737](https://github.com/microsoft/BotFramework-WebChat/issues/2737). Use `driver.wait` for conditions - - Fixes [#2776](https://github.com/microsoft/BotFramework-WebChat/issues/2776). Wait until button is shown/hid before taking screenshot - - Use a new timeout `fetchImage` for images -- Fixes [#2780](https://github.com/microsoft/BotFramework-WebChat/issues/2780). Added the `tel` protocol to the `allowedSchema` in the `sanitize-html` options, by [@tdurnford](https://github.com/tdurnford) in PR [#2787](https://github.com/microsoft/BotFramework-WebChat/pull/2787) -- Fixes [#2747](https://github.com/microsoft/BotFramework-WebChat/issues/2747). Moved `Timestamp` into the `SendStatus` component and removed the `Timestamp` style set, by [@tdurnford](https://github.com/tdurnford) in PR [#2786](https://github.com/microsoft/BotFramework-WebChat/pull/2786) -- Fixes [#2647](https://github.com/microsoft/BotFramework-WebChat/issues/2647). Update the `CroppedImage` component `PropType`, by [@tdurnford](https://github.com/tdurnford) in PR [#2795](https://github.com/microsoft/BotFramework-WebChat/pull/2795) -- Fixes [#2794](https://github.com/microsoft/BotFramework-WebChat/issues/2794). Fix change locale sample, by [@corinagum](https://github.com/corinagum) in PR [#2798](https://github.com/microsoft/BotFramework-WebChat/pull/2798) -- Fixes [#2510](https://github.com/microsoft/BotFramework-WebChat/issues/2510). Host hybrid-react and clear-after-idle samples, by [@corinagum](https://github.com/corinagum) in PR [#2798](https://github.com/microsoft/BotFramework-WebChat/pull/2798) -- Fixes [#2772](https://github.com/microsoft/BotFramework-WebChat/issues/2772). Updated Adaptive Cards HostConfig to include container styles, by [@tdurnford](https://github.com/tdurnford) in PR [#2810](https://github.com/microsoft/BotFramework-WebChat/pull/2810) -- Fixes [#2145](https://github.com/microsoft/BotFramework-WebChat/issues/2145). Updated Adaptive Cards styles to include action styles, by [@tdurnford](https://github.com/tdurnford) in PR [#2810](https://github.com/microsoft/BotFramework-WebChat/pull/2810) -- Fixes [#2459](https://github.com/microsoft/BotFramework-WebChat/issues/2459). Updated Cognitive Services Speech Services to use latest fetch credentials signature, by [@compulim](https://github.com/compulim) in PR [#2740](https://github.com/microsoft/BotFramework-WebChat/pull/2759) -- Fixes [#1673](https://github.com/microsoft/BotFramework-WebChat/issues/1673). Configured suggested action and carousel flippers to blur on click, by [@tdunford](https://github.com/tdurnford) in PR [#2801](https://github.com/microsoft/BotFramework-WebChat/pull/2801) -- Fixes [#2822](https://github.com/microsoft/BotFramework-WebChat/issues/2822). Fixed `credentials` should return `authorizationToken` and `subscriptionKey` as string and allow empty LUIS reference grammar ID, by [@compulim](https://github.com/compulim) in PR [#2824](https://github.com/microsoft/BotFramework-WebChat/pull/2824) -- Fixes [#2751](https://github.com/microsoft/BotFramework-WebChat/issues/2751). Move documentation to docs folder, by [@corinagum](https://github.com/corinagum) in PR [#2832](https://github.com/microsoft/BotFramework-WebChat/pull/2832) -- Fixes [#2838](https://github.com/microsoft/BotFramework-WebChat/issues/2838). Fixed `concatMiddleware` should allow any middleware to call its downstream middleware twice, by [@compulim](https://github.com/compulim) in PR [#2839](https://github.com/microsoft/BotFramework-WebChat/pull/2839) -- Fixes [#2864](https://github.com/microsoft/BotFramework-WebChat/issues/2864). Replaced `DownloadAttachment` and `UploadAttachment` with `FileAttachment`, which shows the download link and icon if the attachment contains the `contentUrl`, by [@compulim](https://github.com/compulim) in PR [#2868](https://github.com/microsoft/BotFramework-WebChat/pull/2868) -- Fixes [#2877](https://github.com/microsoft/BotFramework-WebChat/issues/2877). Updated Cognitive Services Speech Services samples to use both pre-4.8 and 4.8 API signature, by [@compulim](https://github.com/compulim) in PR [#2916](https://github.com/microsoft/BotFramework-WebChat/pull/2916) -- Fixes [#2757](https://github.com/microsoft/BotFramework-WebChat/issues/2757). New message indicator should only show up for new messages, by [@compulim](https://github.com/compulim) in PR [#2915](https://github.com/microsoft/BotFramework-WebChat/pull/2915) -- Fixes [#2945](https://github.com/microsoft/BotFramework-WebChat/issues/2945). Toast should not overlap with each other, by [@compulim](https://github.com/compulim) in PR [#2952](https://github.com/microsoft/BotFramework-WebChat/pull/2952) -- Fixes [#2946](https://github.com/microsoft/BotFramework-WebChat/issues/2946). Updated JSON filenames for localization strings, by [@compulim](https://github.com/compulim) in PR [#2949](https://github.com/microsoft/BotFramework-WebChat/pull/2949) -- Fixes [#2560](https://github.com/microsoft/BotFramework-WebChat/issues/2560). Bumped to [`react-dictate-button@1.2.2`](https://npmjs.com/package/react-dictate-button) to workaround [a bug from Angular/zone.js](https://github.com/angular/angular/issues/31750), by [@compulim](https://github.com/compulim) in PR [#2960](https://github.com/microsoft/BotFramework-WebChat/issues/2960) -- Fixes [#2923](https://github.com/microsoft/BotFramework-WebChat/issues/2923). Added `download` attribute to file attachment (``), by [@compulim](https://github.com/compulim) in PR [#2963](https://github.com/microsoft/BotFramework-WebChat/pull/2963) -- Fixes [#2904](https://github.com/microsoft/BotFramework-WebChat/issues/2904). Fixed border radius when rendering bubble nub in RTL, by [@compulim](https://github.com/compulim) in PR [#2943](https://github.com/microsoft/BotFramework-WebChat/pull/2943) -- Fixes [#2966](https://github.com/microsoft/BotFramework-WebChat/issues/2966). Collapsed toast should show at most 2 lines of text, by [@compulim](https://github.com/compulim) in PR [#2967](https://github.com/microsoft/BotFramework-WebChat/issues/2967) -- Fixes [#2941](https://github.com/microsoft/BotFramework-WebChat/issues/2941), [#2921](https://github.com/microsoft/BotFramework-WebChat/issues/2921), and [#2948](https://github.com/microsoft/BotFramework-WebChat/issues/2948). Update documentation and fix redux sample, by [@corinagum](https://github.com/corinagum) in PR [#2968](https://github.com/microsoft/BotFramework-WebChat/pull/2968) -- Fixes [#2972](https://github.com/microsoft/BotFramework-WebChat/issues/2972). Compatibility fix for IE11, by [@compulim](https://github.com/compulim) in PR [#2973](https://github.com/microsoft/BotFramework-WebChat/pull/2973) -- Fixes [#2977](https://github.com/microsoft/BotFramework-WebChat/issues/2977). `sr-Cyrl` and `sr-Latn` should display Serbian texts, by [@compulim](https://github.com/compulim) in PR [#2978](https://github.com/microsoft/BotFramework-WebChat/pull/2978) -- Fixes [#2979](https://github.com/microsoft/BotFramework-WebChat/issues/2979). Lock `microsoft-cognitiveservices-speech-sdk` to `1.8.1`, by [@compulim](https://github.com/compulim) in PR [#2980](https://github.com/microsoft/BotFramework-WebChat/pull/2980) +- 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) +- Fixes [#2609](https://github.com/microsoft/BotFramework-WebChat/issues/2609). Fix sample 12: minimizable button is causing another reconnect on restore, by [@compulim](https://github.com/compulim) in PR [#2758](https://github.com/microsoft/BotFramework-WebChat/pull/2758) +- Fixes [#2773](https://github.com/microsoft/BotFramework-WebChat/issues/2773). Import ES5 version of the following bundles, by [@compulim](https://github.com/compulim) in PR [#2774](https://github.com/microsoft/BotFramework-WebChat/pull/2773) + - [`abort-controller`](https://npmjs.com/package/abort-controller) + - [`event-target-shim`](https://npmjs.com/package/event-target-shim) + - [`p-defer`](https://npmjs.com/package/p-defer) +- Fixes the following issues and improves test reliability, by [@compulim](https://github.com/compulim) in PR [#2777](https://github.com/microsoft/BotFramework-WebChat/pull/2777) + - Fixes [#2612](https://github.com/microsoft/BotFramework-WebChat/issues/2612). Wait until language change + - Fixes [#2653](https://github.com/microsoft/BotFramework-WebChat/issues/2653). Scroll-to-bottom check will do 5 consecutive checks to determine stickiness. + - Fixes [#2691](https://github.com/microsoft/BotFramework-WebChat/issues/2691). Wait until button is shown/hid before taking screenshot + - Fixes [#2737](https://github.com/microsoft/BotFramework-WebChat/issues/2737). Use `driver.wait` for conditions + - Fixes [#2776](https://github.com/microsoft/BotFramework-WebChat/issues/2776). Wait until button is shown/hid before taking screenshot + - Use a new timeout `fetchImage` for images +- Fixes [#2780](https://github.com/microsoft/BotFramework-WebChat/issues/2780). Added the `tel` protocol to the `allowedSchema` in the `sanitize-html` options, by [@tdurnford](https://github.com/tdurnford) in PR [#2787](https://github.com/microsoft/BotFramework-WebChat/pull/2787) +- Fixes [#2747](https://github.com/microsoft/BotFramework-WebChat/issues/2747). Moved `Timestamp` into the `SendStatus` component and removed the `Timestamp` style set, by [@tdurnford](https://github.com/tdurnford) in PR [#2786](https://github.com/microsoft/BotFramework-WebChat/pull/2786) +- Fixes [#2647](https://github.com/microsoft/BotFramework-WebChat/issues/2647). Update the `CroppedImage` component `PropType`, by [@tdurnford](https://github.com/tdurnford) in PR [#2795](https://github.com/microsoft/BotFramework-WebChat/pull/2795) +- Fixes [#2794](https://github.com/microsoft/BotFramework-WebChat/issues/2794). Fix change locale sample, by [@corinagum](https://github.com/corinagum) in PR [#2798](https://github.com/microsoft/BotFramework-WebChat/pull/2798) +- Fixes [#2510](https://github.com/microsoft/BotFramework-WebChat/issues/2510). Host hybrid-react and clear-after-idle samples, by [@corinagum](https://github.com/corinagum) in PR [#2798](https://github.com/microsoft/BotFramework-WebChat/pull/2798) +- Fixes [#2772](https://github.com/microsoft/BotFramework-WebChat/issues/2772). Updated Adaptive Cards HostConfig to include container styles, by [@tdurnford](https://github.com/tdurnford) in PR [#2810](https://github.com/microsoft/BotFramework-WebChat/pull/2810) +- Fixes [#2145](https://github.com/microsoft/BotFramework-WebChat/issues/2145). Updated Adaptive Cards styles to include action styles, by [@tdurnford](https://github.com/tdurnford) in PR [#2810](https://github.com/microsoft/BotFramework-WebChat/pull/2810) +- Fixes [#2459](https://github.com/microsoft/BotFramework-WebChat/issues/2459). Updated Cognitive Services Speech Services to use latest fetch credentials signature, by [@compulim](https://github.com/compulim) in PR [#2740](https://github.com/microsoft/BotFramework-WebChat/pull/2759) +- Fixes [#1673](https://github.com/microsoft/BotFramework-WebChat/issues/1673). Configured suggested action and carousel flippers to blur on click, by [@tdunford](https://github.com/tdurnford) in PR [#2801](https://github.com/microsoft/BotFramework-WebChat/pull/2801) +- Fixes [#2822](https://github.com/microsoft/BotFramework-WebChat/issues/2822). Fixed `credentials` should return `authorizationToken` and `subscriptionKey` as string and allow empty LUIS reference grammar ID, by [@compulim](https://github.com/compulim) in PR [#2824](https://github.com/microsoft/BotFramework-WebChat/pull/2824) +- Fixes [#2751](https://github.com/microsoft/BotFramework-WebChat/issues/2751). Move documentation to docs folder, by [@corinagum](https://github.com/corinagum) in PR [#2832](https://github.com/microsoft/BotFramework-WebChat/pull/2832) +- Fixes [#2838](https://github.com/microsoft/BotFramework-WebChat/issues/2838). Fixed `concatMiddleware` should allow any middleware to call its downstream middleware twice, by [@compulim](https://github.com/compulim) in PR [#2839](https://github.com/microsoft/BotFramework-WebChat/pull/2839) +- Fixes [#2864](https://github.com/microsoft/BotFramework-WebChat/issues/2864). Replaced `DownloadAttachment` and `UploadAttachment` with `FileAttachment`, which shows the download link and icon if the attachment contains the `contentUrl`, by [@compulim](https://github.com/compulim) in PR [#2868](https://github.com/microsoft/BotFramework-WebChat/pull/2868) +- Fixes [#2877](https://github.com/microsoft/BotFramework-WebChat/issues/2877). Updated Cognitive Services Speech Services samples to use both pre-4.8 and 4.8 API signature, by [@compulim](https://github.com/compulim) in PR [#2916](https://github.com/microsoft/BotFramework-WebChat/pull/2916) +- Fixes [#2757](https://github.com/microsoft/BotFramework-WebChat/issues/2757). New message indicator should only show up for new messages, by [@compulim](https://github.com/compulim) in PR [#2915](https://github.com/microsoft/BotFramework-WebChat/pull/2915) +- Fixes [#2945](https://github.com/microsoft/BotFramework-WebChat/issues/2945). Toast should not overlap with each other, by [@compulim](https://github.com/compulim) in PR [#2952](https://github.com/microsoft/BotFramework-WebChat/pull/2952) +- Fixes [#2946](https://github.com/microsoft/BotFramework-WebChat/issues/2946). Updated JSON filenames for localization strings, by [@compulim](https://github.com/compulim) in PR [#2949](https://github.com/microsoft/BotFramework-WebChat/pull/2949) +- Fixes [#2560](https://github.com/microsoft/BotFramework-WebChat/issues/2560). Bumped to [`react-dictate-button@1.2.2`](https://npmjs.com/package/react-dictate-button) to workaround [a bug from Angular/zone.js](https://github.com/angular/angular/issues/31750), by [@compulim](https://github.com/compulim) in PR [#2960](https://github.com/microsoft/BotFramework-WebChat/issues/2960) +- Fixes [#2923](https://github.com/microsoft/BotFramework-WebChat/issues/2923). Added `download` attribute to file attachment (``), by [@compulim](https://github.com/compulim) in PR [#2963](https://github.com/microsoft/BotFramework-WebChat/pull/2963) +- Fixes [#2904](https://github.com/microsoft/BotFramework-WebChat/issues/2904). Fixed border radius when rendering bubble nub in RTL, by [@compulim](https://github.com/compulim) in PR [#2943](https://github.com/microsoft/BotFramework-WebChat/pull/2943) +- Fixes [#2966](https://github.com/microsoft/BotFramework-WebChat/issues/2966). Collapsed toast should show at most 2 lines of text, by [@compulim](https://github.com/compulim) in PR [#2967](https://github.com/microsoft/BotFramework-WebChat/issues/2967) +- Fixes [#2941](https://github.com/microsoft/BotFramework-WebChat/issues/2941), [#2921](https://github.com/microsoft/BotFramework-WebChat/issues/2921), and [#2948](https://github.com/microsoft/BotFramework-WebChat/issues/2948). Update documentation and fix redux sample, by [@corinagum](https://github.com/corinagum) in PR [#2968](https://github.com/microsoft/BotFramework-WebChat/pull/2968) +- Fixes [#2972](https://github.com/microsoft/BotFramework-WebChat/issues/2972). Compatibility fix for IE11, by [@compulim](https://github.com/compulim) in PR [#2973](https://github.com/microsoft/BotFramework-WebChat/pull/2973) +- Fixes [#2977](https://github.com/microsoft/BotFramework-WebChat/issues/2977). `sr-Cyrl` and `sr-Latn` should display Serbian texts, by [@compulim](https://github.com/compulim) in PR [#2978](https://github.com/microsoft/BotFramework-WebChat/pull/2978) +- Fixes [#2979](https://github.com/microsoft/BotFramework-WebChat/issues/2979). Lock `microsoft-cognitiveservices-speech-sdk` to `1.8.1`, by [@compulim](https://github.com/compulim) in PR [#2980](https://github.com/microsoft/BotFramework-WebChat/pull/2980) ### 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.8.3` - - `@babel/plugin-proposal-object-rest-spread@7.8.3` - - `@babel/plugin-transform-runtime@7.8.3` - - `@babel/preset-env@7.8.4` - - `@babel/preset-react@7.8.3` - - `@babel/preset-typescript@7.8.3` - - `@babel/runtime@7.8.4` - - `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.8.4` - - `@babel/core@7.8.4` - - `@babel/plugin-proposal-class-properties@7.8.3` - - `@babel/plugin-proposal-object-rest-spread@7.8.3` - - `@babel/plugin-transform-runtime@7.8.3` - - `@babel/preset-env@7.8.4` - - `@babel/preset-react@7.8.3` - - `@babel/preset-typescript@7.8.3` - - `@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.8.4` - - `core-js@3.5.0` - - `sanitize-html@1.20.0` - - `component` - - `sanitize-html@1.20.1` - - `embed` - - `@babel/runtime@7.8.4` - - `core-js@3.5.0` -- Resolves [#2748](https://github.com/microsoft/BotFramework-WebChat/issues/2748), updated build scripts and CI pipeline, by [@compulim](https://github.com/compulim), in PR [#2767](https://github.com/microsoft/BotFramework-WebChat/pull/2767) -- `component`: Bumps [`react-film@2.0.2`](https://npmjs.com/package/react-film/), by [@tdurnford](https://github.com/tdurnford) in PR [#2801](https://github.com/microsoft/BotFramework-WebChat/pull/2801) -- Removes `sendTyping` and deprecation notes in PR [#2845](https://github.com/microsoft/BotFramework-WebChat/pull/2845), by [@corinagum](https://github.com/corinagum), in PR [#2918](https://github.com/microsoft/BotFramework-WebChat/pull/2918) -- `component`: Bumps [`react-dictate-button@1.2.2`](https://npmjs.com/package/react-dictate-button/), by [@compulim](https://github.com/compulim) in PR [#2960](https://github.com/microsoft/BotFramework-WebChat/pull/2960) +- 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.8.3` + - `@babel/plugin-proposal-object-rest-spread@7.8.3` + - `@babel/plugin-transform-runtime@7.8.3` + - `@babel/preset-env@7.8.4` + - `@babel/preset-react@7.8.3` + - `@babel/preset-typescript@7.8.3` + - `@babel/runtime@7.8.4` + - `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.8.4` + - `@babel/core@7.8.4` + - `@babel/plugin-proposal-class-properties@7.8.3` + - `@babel/plugin-proposal-object-rest-spread@7.8.3` + - `@babel/plugin-transform-runtime@7.8.3` + - `@babel/preset-env@7.8.4` + - `@babel/preset-react@7.8.3` + - `@babel/preset-typescript@7.8.3` + - `@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.8.4` + - `core-js@3.5.0` + - `sanitize-html@1.20.0` + - `component` + - `sanitize-html@1.20.1` + - `embed` + - `@babel/runtime@7.8.4` + - `core-js@3.5.0` +- Resolves [#2748](https://github.com/microsoft/BotFramework-WebChat/issues/2748), updated build scripts and CI pipeline, by [@compulim](https://github.com/compulim), in PR [#2767](https://github.com/microsoft/BotFramework-WebChat/pull/2767) +- `component`: Bumps [`react-film@2.0.2`](https://npmjs.com/package/react-film/), by [@tdurnford](https://github.com/tdurnford) in PR [#2801](https://github.com/microsoft/BotFramework-WebChat/pull/2801) +- Removes `sendTyping` and deprecation notes in PR [#2845](https://github.com/microsoft/BotFramework-WebChat/pull/2845), by [@corinagum](https://github.com/corinagum), in PR [#2918](https://github.com/microsoft/BotFramework-WebChat/pull/2918) +- `component`: Bumps [`react-dictate-button@1.2.2`](https://npmjs.com/package/react-dictate-button/), by [@compulim](https://github.com/compulim) in PR [#2960](https://github.com/microsoft/BotFramework-WebChat/pull/2960) ### 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) -- Resolves [#2641](https://github.com/microsoft/BotFramework-WebChat/issues/2641). Reorganize Web Chat samples, by [@corinagum](https://github.com/corinagum), in PR [#2762](https://github.com/microsoft/BotFramework-WebChat/pull/2762) -- Resolves [#2755](https://github.com/microsoft/BotFramework-WebChat/issues/2755), added "how to use notification and customize the toast UI" sample, by [@compulim](https://github.com/compulim), in PR [#2883](https://github.com/microsoft/BotFramework-WebChat/pull/2883) -- Resolves [#2213](https://github.com/microsoft/BotFramework-WebChat/issues/2213). Added [Customize Typing Indicator Demo](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/j.typing-indicator), by [@compulim](https://github.com/compulim), in PR [#2912](https://github.com/microsoft/BotFramework-WebChat/pull/2912) -- Resolves [#2754](https://github.com/microsoft/BotFramework-WebChat/issues/2754). Added [telemetry collection using Azure Application Insights](https://microsoft.github.io/BotFramework-WebChat/04.api/k.telemetry-application-insights) and [telemetry collection using Google Analytics](https://microsoft.github.io/BotFramework-WebChat/04.api/l.telemetry-google-analytics), by [@compulim](https://github.com/compulim), in PR [#2922](https://github.com/microsoft/BotFramework-WebChat/pull/2922) -- Resolves [#2857](https://github.com/microsoft/BotFramework-WebChat/issues/2857). Added [Customize Avatar Demo](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/k.per-message-avatar), by [@compulim](https://github.com/compulim), in PR [#2943](https://github.com/microsoft/BotFramework-WebChat/pull/2943) +- 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) +- Resolves [#2641](https://github.com/microsoft/BotFramework-WebChat/issues/2641). Reorganize Web Chat samples, by [@corinagum](https://github.com/corinagum), in PR [#2762](https://github.com/microsoft/BotFramework-WebChat/pull/2762) +- Resolves [#2755](https://github.com/microsoft/BotFramework-WebChat/issues/2755), added "how to use notification and customize the toast UI" sample, by [@compulim](https://github.com/compulim), in PR [#2883](https://github.com/microsoft/BotFramework-WebChat/pull/2883) +- Resolves [#2213](https://github.com/microsoft/BotFramework-WebChat/issues/2213). Added [Customize Typing Indicator Demo](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/j.typing-indicator), by [@compulim](https://github.com/compulim), in PR [#2912](https://github.com/microsoft/BotFramework-WebChat/pull/2912) +- Resolves [#2754](https://github.com/microsoft/BotFramework-WebChat/issues/2754). Added [telemetry collection using Azure Application Insights](https://microsoft.github.io/BotFramework-WebChat/04.api/k.telemetry-application-insights) and [telemetry collection using Google Analytics](https://microsoft.github.io/BotFramework-WebChat/04.api/l.telemetry-google-analytics), by [@compulim](https://github.com/compulim), in PR [#2922](https://github.com/microsoft/BotFramework-WebChat/pull/2922) +- Resolves [#2857](https://github.com/microsoft/BotFramework-WebChat/issues/2857). Added [Customize Avatar Demo](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/k.per-message-avatar), by [@compulim](https://github.com/compulim), in PR [#2943](https://github.com/microsoft/BotFramework-WebChat/pull/2943) ## [4.7.1] - 2019-12-13 ### 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 ### Breaking changes -- `adaptiveCardHostConfig` is being renamed to `adaptiveCardsHostConfig` - - If you are using the deprecated `adaptiveCardHostConfig`, we will rename it automatically +- `adaptiveCardHostConfig` is being renamed to `adaptiveCardsHostConfig` + - If you are using the deprecated `adaptiveCardHostConfig`, we will rename it automatically ### Added -- Resolves [#2539](https://github.com/microsoft/BotFramework-WebChat/issues/2539), added React hooks for customization, by [@compulim](https://github.com/compulim), in the following PRs: - - PR [#2540](https://github.com/microsoft/BotFramework-WebChat/pull/2540): `useActivities`, `useReferenceGrammarID`, `useSendBoxShowInterims` - - PR [#2541](https://github.com/microsoft/BotFramework-WebChat/pull/2541): `useStyleOptions`, `useStyleSet` - - PR [#2542](https://github.com/microsoft/BotFramework-WebChat/pull/2542): `useLanguage`, `useLocalize`, `useLocalizeDate` - - PR [#2543](https://github.com/microsoft/BotFramework-WebChat/pull/2543): `useAdaptiveCardsHostConfig`, `useAdaptiveCardsPackage`, `useRenderMarkdownAsHTML` - - PR [#2544](https://github.com/microsoft/BotFramework-WebChat/pull/2544): `useAvatarForBot`, `useAvatarForUser` - - PR [#2547](https://github.com/microsoft/BotFramework-WebChat/pull/2547): `useEmitTypingIndicator`, `usePeformCardAction`, `usePostActivity`, `useSendEvent`, `useSendFiles`, `useSendMessage`, `useSendMessageBack`, `useSendPostBack` - - PR [#2548](https://github.com/microsoft/BotFramework-WebChat/pull/2548): `useDisabled` - - PR [#2549](https://github.com/microsoft/BotFramework-WebChat/pull/2549): `useSuggestedActions` - - PR [#2550](https://github.com/microsoft/BotFramework-WebChat/pull/2550): `useConnectivityStatus`, `useGroupTimestamp`, `useTimeoutForSend`, `useUserID`, `useUsername` - - PR [#2551](https://github.com/microsoft/BotFramework-WebChat/pull/2551): `useLastTypingAt`, `useSendTypingIndicator`, `useTypingIndicator` - - PR [#2552](https://github.com/microsoft/BotFramework-WebChat/pull/2552): `useFocusSendBox`, `useScrollToEnd`, `useSendBoxValue`, `useSubmitSendBox`, `useTextBoxSubmit`, `useTextBoxValue` - - PR [#2553](https://github.com/microsoft/BotFramework-WebChat/pull/2553): `useDictateInterims`, `useDictateState`, `useGrammars`, `useMarkActivityAsSpoken`, `useMicrophoneButton`, `useShouldSpeakIncomingActivity`, `useStartDictate`, `useStopDictate`, `useVoiceSelector`, `useWebSpeechPonyfill` - - PR [#2554](https://github.com/microsoft/BotFramework-WebChat/pull/2554): `useRenderActivity`, `useRenderAttachment` - - PR [#2644](https://github.com/microsoft/BotFramework-WebChat/pull/2644): Added `internal/useWebChatUIContext` for cleaner code - - PR [#2652](https://github.com/microsoft/BotFramework-WebChat/pull/2652): Update samples to use hooks -- Bring your own Adaptive Cards package by specifying `adaptiveCardsPackage` prop, by [@compulim](https://github.com/compulim) in PR [#2543](https://github.com/microsoft/BotFramework-WebChat/pull/2543) -- Fixes [#2597](https://github.com/microsoft/BotFramework-WebChat/issues/2597). Modify `watch` script to `start` and add `tableflip` script for throwing `node_modules`, by [@corinagum](https://github.com/corinagum) in PR [#2598](https://github.com/microsoft/BotFramework-WebChat/pull/2598) -- Adds Arabic Language Support, by [@midineo](https://github.com/midineo), in PR [#2593](https://github.com/microsoft/BotFramework-WebChat/pull/2593) -- Adds `AdaptiveCardsComposer` and `AdaptiveCardsContext` for composability for Adaptive Cards, by [@compulim](https://github.com/compulim), in PR [#2648](https://github.com/microsoft/BotFramework-WebChat/pull/2648) -- Adds Direct Line Speech support, by [@compulim](https://github.com/compulim) in PR [#2621](https://github.com/microsoft/BotFramework-WebChat/pull/2621) - - Adds [`microsoft-cognitiveservices-sdk@1.8.1`](https://npmjs.com/package/microsoft-cognitiveservices-speech-sdk), in PR [#2704](https://github.com/microsoft/BotFramework-WebChat/pull/2704) -- Fixes [#2692](https://github.com/microsoft/BotFramework-WebChat/issues/2692). Rename sample 17 to 17.a, by [@corinagum](https://github.com/corinagum) in PR [#2695](https://github.com/microsoft/BotFramework-WebChat/pull/2695) +- Resolves [#2539](https://github.com/microsoft/BotFramework-WebChat/issues/2539), added React hooks for customization, by [@compulim](https://github.com/compulim), in the following PRs: + - PR [#2540](https://github.com/microsoft/BotFramework-WebChat/pull/2540): `useActivities`, `useReferenceGrammarID`, `useSendBoxShowInterims` + - PR [#2541](https://github.com/microsoft/BotFramework-WebChat/pull/2541): `useStyleOptions`, `useStyleSet` + - PR [#2542](https://github.com/microsoft/BotFramework-WebChat/pull/2542): `useLanguage`, `useLocalize`, `useLocalizeDate` + - PR [#2543](https://github.com/microsoft/BotFramework-WebChat/pull/2543): `useAdaptiveCardsHostConfig`, `useAdaptiveCardsPackage`, `useRenderMarkdownAsHTML` + - PR [#2544](https://github.com/microsoft/BotFramework-WebChat/pull/2544): `useAvatarForBot`, `useAvatarForUser` + - PR [#2547](https://github.com/microsoft/BotFramework-WebChat/pull/2547): `useEmitTypingIndicator`, `usePeformCardAction`, `usePostActivity`, `useSendEvent`, `useSendFiles`, `useSendMessage`, `useSendMessageBack`, `useSendPostBack` + - PR [#2548](https://github.com/microsoft/BotFramework-WebChat/pull/2548): `useDisabled` + - PR [#2549](https://github.com/microsoft/BotFramework-WebChat/pull/2549): `useSuggestedActions` + - PR [#2550](https://github.com/microsoft/BotFramework-WebChat/pull/2550): `useConnectivityStatus`, `useGroupTimestamp`, `useTimeoutForSend`, `useUserID`, `useUsername` + - PR [#2551](https://github.com/microsoft/BotFramework-WebChat/pull/2551): `useLastTypingAt`, `useSendTypingIndicator`, `useTypingIndicator` + - PR [#2552](https://github.com/microsoft/BotFramework-WebChat/pull/2552): `useFocusSendBox`, `useScrollToEnd`, `useSendBoxValue`, `useSubmitSendBox`, `useTextBoxSubmit`, `useTextBoxValue` + - PR [#2553](https://github.com/microsoft/BotFramework-WebChat/pull/2553): `useDictateInterims`, `useDictateState`, `useGrammars`, `useMarkActivityAsSpoken`, `useMicrophoneButton`, `useShouldSpeakIncomingActivity`, `useStartDictate`, `useStopDictate`, `useVoiceSelector`, `useWebSpeechPonyfill` + - PR [#2554](https://github.com/microsoft/BotFramework-WebChat/pull/2554): `useRenderActivity`, `useRenderAttachment` + - PR [#2644](https://github.com/microsoft/BotFramework-WebChat/pull/2644): Added `internal/useWebChatUIContext` for cleaner code + - PR [#2652](https://github.com/microsoft/BotFramework-WebChat/pull/2652): Update samples to use hooks +- Bring your own Adaptive Cards package by specifying `adaptiveCardsPackage` prop, by [@compulim](https://github.com/compulim) in PR [#2543](https://github.com/microsoft/BotFramework-WebChat/pull/2543) +- Fixes [#2597](https://github.com/microsoft/BotFramework-WebChat/issues/2597). Modify `watch` script to `start` and add `tableflip` script for throwing `node_modules`, by [@corinagum](https://github.com/corinagum) in PR [#2598](https://github.com/microsoft/BotFramework-WebChat/pull/2598) +- Adds Arabic Language Support, by [@midineo](https://github.com/midineo), in PR [#2593](https://github.com/microsoft/BotFramework-WebChat/pull/2593) +- Adds `AdaptiveCardsComposer` and `AdaptiveCardsContext` for composability for Adaptive Cards, by [@compulim](https://github.com/compulim), in PR [#2648](https://github.com/microsoft/BotFramework-WebChat/pull/2648) +- Adds Direct Line Speech support, by [@compulim](https://github.com/compulim) in PR [#2621](https://github.com/microsoft/BotFramework-WebChat/pull/2621) + - Adds [`microsoft-cognitiveservices-sdk@1.8.1`](https://npmjs.com/package/microsoft-cognitiveservices-speech-sdk), in PR [#2704](https://github.com/microsoft/BotFramework-WebChat/pull/2704) +- Fixes [#2692](https://github.com/microsoft/BotFramework-WebChat/issues/2692). Rename sample 17 to 17.a, by [@corinagum](https://github.com/corinagum) in PR [#2695](https://github.com/microsoft/BotFramework-WebChat/pull/2695) ### Fixed -- Fixes [#2565](https://github.com/microsoft/BotFramework-WebChat/issues/2565). Fixed Adaptive Card host config should generate from style options with default options merged, by [@compulim](https://github.com/compulim) in PR [#2566](https://github.com/microsoft/BotFramework-WebChat/pull/2566) -- Resolves [#2337](https://github.com/microsoft/BotFramework-WebChat/issues/2337). Remove Cognitive Services Preview warning, by [@corinagum](https://github.com/corinagum) in PR [#2578](https://github.com/microsoft/BotFramework-WebChat/pull/2578) -- Fixes [#2559](https://github.com/microsoft/BotFramework-WebChat/issues/2559). De-bump remark and strip-markdown, by [@corinagum](https://github.com/corinagum) in PR [#2576](https://github.com/microsoft/BotFramework-WebChat/pull/2576) -- Fixes [#2512](https://github.com/microsoft/BotFramework-WebChat/issues/2512). Adds check to ensure Adaptive Card's content is an Object, by [@tdurnford](https://github.com/tdurnford) in PR [#2590](https://github.com/microsoft/BotFramework-WebChat/pull/2590) -- Fixes [#1780](https://github.com/microsoft/BotFramework-WebChat/issues/1780), [#2277](https://github.com/microsoft/BotFramework-WebChat/issues/2277), and [#2285](https://github.com/microsoft/BotFramework-WebChat/issues/2285). Make Suggested Actions accessible, Fix Markdown card in carousel being read multiple times, and label widgets of Connectivity Status and Suggested Actions containers, by [@corinagum](https://github.com/corinagum) in PR [#2613](https://github.com/microsoft/BotFramework-WebChat/pull/2613) -- Fixes [#2608](https://github.com/microsoft/BotFramework-WebChat/issues/2608). Focus will return to sendbox after clicking New Messages or a Suggested Actions button, by [@corinagum](https://github.com/corinagum) in PR [#2628](https://github.com/microsoft/BotFramework-WebChat/pull/2628) -- Resolves [#2597](https://github.com/microsoft/BotFramework-WebChat/issues/2597). Modify `watch` script to `start` and add `tableflip` script for throwing `node_modules`, by [@corinagum](https://github.com/corinagum) in PR [#2598](https://github.com/microsoft/BotFramework-WebChat/pull/2598) -- Resolves [#1835](https://github.com/microsoft/BotFramework-WebChat/issues/1835). Adds `suggestedActionLayout` to `defaultStyleOptions`, by [@spyip](https://github.com/spyip), in PR [#2596](https://github.com/microsoft/BotFramework-WebChat/pull/2596) -- Resolves [#2331](https://github.com/microsoft/BotFramework-WebChat/issues/2331). Updated timer to use React Hooks, by [@spyip](https://github.com/spyip) in PR [#2546](https://github.com/microsoft/BotFramework-WebChat/pull/2546) -- Resolves [#2620](https://github.com/microsoft/BotFramework-WebChat/issues/2620). Adds Chinese localization files, by [@spyip](https://github.com/spyip) in PR [#2631](https://github.com/microsoft/BotFramework-WebChat/pull/2631) -- Fixes [#2639](https://github.com/microsoft/BotFramework-WebChat/issues/2639). Fix passed in prop time from string to boolean, by [@corinagum](https://github.com/corinagum) in PR [#2640](https://github.com/microsoft/BotFramework-WebChat/pull/2640) -- `component`: Updated timer to use functional component, by [@spyip](https://github.com/spyip) in PR [#2546](https://github.com/microsoft/BotFramework-WebChat/pull/2546) -- Fixes [#2651](https://github.com/microsoft/BotFramework-WebChat/issues/2651). Add `ends-with` string module to ES5 bundle, by [@corinagum](https://github.com/corinagum) in PR [#2654](https://github.com/microsoft/BotFramework-WebChat/pull/2654) -- Fixes [#2658](https://github.com/microsoft/BotFramework-WebChat/issues/2658). Fix rendering of markdown images in IE11, by [@corinagum](https://github.com/corinagum) in PR [#2659](https://github.com/microsoft/BotFramework-WebChat/pull/2659) -- Fixes [#2662](https://github.com/microsoft/BotFramework-WebChat/issues/2662) and [#2666](https://github.com/microsoft/BotFramework-WebChat/issues/2666). Fix various issues related to Direct Line Speech, by [@compulim](https://github.com/compulim) in PR [#2671](https://github.com/microsoft/BotFramework-WebChat/pull/2671) - - Added triple-buffering to reduce pops/cracks. - - Enable Safari by upsampling to 48000 Hz. - - Support detailed output format on Web Chat side. -- Fixes [#2700](https://github.com/microsoft/BotFramework-WebChat/issues/2700). Enable `` and Adaptive Cards in recompose story, in PR [#2649](https://github.com/microsoft/BotFramework-WebChat/pull/2649) - - Moved `` from `` to `` - - Moved WebSpeechPonyfill patching code from `` to `` -- Fixes [#2699](https://github.com/microsoft/BotFramework-WebChat/issues/2699). Disable speech recognition and synthesis when using Direct Line Speech under IE11, by [@compulim](https://github.com/compulim), in PR [#2649](https://github.com/microsoft/BotFramework-WebChat/pull/2649) -- Fixes [#2709](https://github.com/microsoft/BotFramework-WebChat/issues/2709). Reduce wasted render of activities by memoizing partial result of ``, by [@compulim](https://github.com/compulim) in PR [#2710](https://github.com/microsoft/BotFramework-WebChat/pull/2710) -- Fixes [#2710](https://github.com/microsoft/BotFramework-WebChat/issues/2710). Suggested actions container should persist for AT, by [@corinagum](https://github.com/corinagum) in PR [#2710](https://github.com/microsoft/BotFramework-WebChat/pull/2710) -- Fixes [#2718](https://github.com/microsoft/BotFramework-WebChat/issues/2718). Add `Object.is` polyfill for IE11, by [@compulim](https://github.com/compulim) in PR [#2719](https://github.com/microsoft/BotFramework-WebChat/pull/2719) -- Fixes [#2723](https://github.com/microsoft/BotFramework-WebChat/issues/2723). Fix `renderMarkdown` should not be called if it is `undefined` in minimal bundle, by [@compulim](https://github.com/compulim) in PR [#2724](https://github.com/microsoft/BotFramework-WebChat/pull/2724) -- Fixes [#2655](https://github.com/microsoft/BotFramework-WebChat/issues/2655). "Taking longer than usual to connect" should not show up after reconnect succeeded, by [@curiousite](https://github.com/Curiousite) and [@compulim](https://github.com/compulim) in PR [#2656](https://github.com/microsoft/BotFramework-WebChat/pull/2656) -- Fixes [#2942](https://github.com/microsoft/BotFramework-WebChat/issues/2942). Fix typing indicator should not show up for the user, by [@compulim](https://github.com/compulim) in PR [#2950](https://github.com/microsoft/BotFramework-WebChat/pull/2950) +- Fixes [#2565](https://github.com/microsoft/BotFramework-WebChat/issues/2565). Fixed Adaptive Card host config should generate from style options with default options merged, by [@compulim](https://github.com/compulim) in PR [#2566](https://github.com/microsoft/BotFramework-WebChat/pull/2566) +- Resolves [#2337](https://github.com/microsoft/BotFramework-WebChat/issues/2337). Remove Cognitive Services Preview warning, by [@corinagum](https://github.com/corinagum) in PR [#2578](https://github.com/microsoft/BotFramework-WebChat/pull/2578) +- Fixes [#2559](https://github.com/microsoft/BotFramework-WebChat/issues/2559). De-bump remark and strip-markdown, by [@corinagum](https://github.com/corinagum) in PR [#2576](https://github.com/microsoft/BotFramework-WebChat/pull/2576) +- Fixes [#2512](https://github.com/microsoft/BotFramework-WebChat/issues/2512). Adds check to ensure Adaptive Card's content is an Object, by [@tdurnford](https://github.com/tdurnford) in PR [#2590](https://github.com/microsoft/BotFramework-WebChat/pull/2590) +- Fixes [#1780](https://github.com/microsoft/BotFramework-WebChat/issues/1780), [#2277](https://github.com/microsoft/BotFramework-WebChat/issues/2277), and [#2285](https://github.com/microsoft/BotFramework-WebChat/issues/2285). Make Suggested Actions accessible, Fix Markdown card in carousel being read multiple times, and label widgets of Connectivity Status and Suggested Actions containers, by [@corinagum](https://github.com/corinagum) in PR [#2613](https://github.com/microsoft/BotFramework-WebChat/pull/2613) +- Fixes [#2608](https://github.com/microsoft/BotFramework-WebChat/issues/2608). Focus will return to sendbox after clicking New Messages or a Suggested Actions button, by [@corinagum](https://github.com/corinagum) in PR [#2628](https://github.com/microsoft/BotFramework-WebChat/pull/2628) +- Resolves [#2597](https://github.com/microsoft/BotFramework-WebChat/issues/2597). Modify `watch` script to `start` and add `tableflip` script for throwing `node_modules`, by [@corinagum](https://github.com/corinagum) in PR [#2598](https://github.com/microsoft/BotFramework-WebChat/pull/2598) +- Resolves [#1835](https://github.com/microsoft/BotFramework-WebChat/issues/1835). Adds `suggestedActionLayout` to `defaultStyleOptions`, by [@spyip](https://github.com/spyip), in PR [#2596](https://github.com/microsoft/BotFramework-WebChat/pull/2596) +- Resolves [#2331](https://github.com/microsoft/BotFramework-WebChat/issues/2331). Updated timer to use React Hooks, by [@spyip](https://github.com/spyip) in PR [#2546](https://github.com/microsoft/BotFramework-WebChat/pull/2546) +- Resolves [#2620](https://github.com/microsoft/BotFramework-WebChat/issues/2620). Adds Chinese localization files, by [@spyip](https://github.com/spyip) in PR [#2631](https://github.com/microsoft/BotFramework-WebChat/pull/2631) +- Fixes [#2639](https://github.com/microsoft/BotFramework-WebChat/issues/2639). Fix passed in prop time from string to boolean, by [@corinagum](https://github.com/corinagum) in PR [#2640](https://github.com/microsoft/BotFramework-WebChat/pull/2640) +- `component`: Updated timer to use functional component, by [@spyip](https://github.com/spyip) in PR [#2546](https://github.com/microsoft/BotFramework-WebChat/pull/2546) +- Fixes [#2651](https://github.com/microsoft/BotFramework-WebChat/issues/2651). Add `ends-with` string module to ES5 bundle, by [@corinagum](https://github.com/corinagum) in PR [#2654](https://github.com/microsoft/BotFramework-WebChat/pull/2654) +- Fixes [#2658](https://github.com/microsoft/BotFramework-WebChat/issues/2658). Fix rendering of markdown images in IE11, by [@corinagum](https://github.com/corinagum) in PR [#2659](https://github.com/microsoft/BotFramework-WebChat/pull/2659) +- Fixes [#2662](https://github.com/microsoft/BotFramework-WebChat/issues/2662) and [#2666](https://github.com/microsoft/BotFramework-WebChat/issues/2666). Fix various issues related to Direct Line Speech, by [@compulim](https://github.com/compulim) in PR [#2671](https://github.com/microsoft/BotFramework-WebChat/pull/2671) + - Added triple-buffering to reduce pops/cracks. + - Enable Safari by upsampling to 48000 Hz. + - Support detailed output format on Web Chat side. +- Fixes [#2700](https://github.com/microsoft/BotFramework-WebChat/issues/2700). Enable `` and Adaptive Cards in recompose story, in PR [#2649](https://github.com/microsoft/BotFramework-WebChat/pull/2649) + - Moved `` from `` to `` + - Moved WebSpeechPonyfill patching code from `` to `` +- Fixes [#2699](https://github.com/microsoft/BotFramework-WebChat/issues/2699). Disable speech recognition and synthesis when using Direct Line Speech under IE11, by [@compulim](https://github.com/compulim), in PR [#2649](https://github.com/microsoft/BotFramework-WebChat/pull/2649) +- Fixes [#2709](https://github.com/microsoft/BotFramework-WebChat/issues/2709). Reduce wasted render of activities by memoizing partial result of ``, by [@compulim](https://github.com/compulim) in PR [#2710](https://github.com/microsoft/BotFramework-WebChat/pull/2710) +- Fixes [#2710](https://github.com/microsoft/BotFramework-WebChat/issues/2710). Suggested actions container should persist for AT, by [@corinagum](https://github.com/corinagum) in PR [#2710](https://github.com/microsoft/BotFramework-WebChat/pull/2710) +- Fixes [#2718](https://github.com/microsoft/BotFramework-WebChat/issues/2718). Add `Object.is` polyfill for IE11, by [@compulim](https://github.com/compulim) in PR [#2719](https://github.com/microsoft/BotFramework-WebChat/pull/2719) +- Fixes [#2723](https://github.com/microsoft/BotFramework-WebChat/issues/2723). Fix `renderMarkdown` should not be called if it is `undefined` in minimal bundle, by [@compulim](https://github.com/compulim) in PR [#2724](https://github.com/microsoft/BotFramework-WebChat/pull/2724) +- Fixes [#2655](https://github.com/microsoft/BotFramework-WebChat/issues/2655). "Taking longer than usual to connect" should not show up after reconnect succeeded, by [@curiousite](https://github.com/Curiousite) and [@compulim](https://github.com/compulim) in PR [#2656](https://github.com/microsoft/BotFramework-WebChat/pull/2656) +- Fixes [#2942](https://github.com/microsoft/BotFramework-WebChat/issues/2942). Fix typing indicator should not show up for the user, by [@compulim](https://github.com/compulim) in PR [#2950](https://github.com/microsoft/BotFramework-WebChat/pull/2950) ### Changed -- Bumped all dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2533](https://github.com/microsoft/BotFramework-WebChat/pull/2533) and PR [#2621](https://github.com/microsoft/BotFramework-WebChat/pull/2621) - - Development dependencies - - Root package - - `@azure/storage-blob@12.0.0` - - `@babel/plugin-proposal-class-properties@7.5.5` - - `@babel/plugin-proposal-object-rest-spread@7.6.2` - - `@babel/plugin-transform-runtime@7.6.2` - - `@babel/preset-env@7.6.3` - - `@babel/preset-react@7.6.3` - - `@babel/preset-typescript@7.6.0` - - `@babel/runtime@7.6.3` - - `babel-jest@24.9.0` - - `core-js@3.3.6` - - `coveralls@3.0.7` - - `husky@3.0.9` - - `jest-image-snapshot@2.11.0` - - `jest@24.9.0` - - `lerna@3.18.3` - - `lint-staged@9.4.2` - - `selenium-webdriver@4.0.0-alpha.5` - - `serve-handler@6.1.2` - - Other packages - - `@babel/cli@7.6.4` - - `@babel/core@7.6.4` - - `@babel/plugin-proposal-class-properties@7.5.5` - - `@babel/plugin-proposal-object-rest-spread@7.6.2` - - `@babel/plugin-transform-runtime@7.6.2` - - `@babel/preset-env@7.6.3` - - `@babel/preset-react@7.6.3` - - `@babel/preset-typescript@7.6.0` - - `@types/node@12.12.3` - - `@types/react@16.9.11` - - `@typescript-eslint/eslint-plugin@2.6.0` - - `@typescript-eslint/parser@2.6.0` - - `babel-plugin-istanbul@5.2.0` - - `concurrently@5.0.0` - - `copy-webpack-plugin@5.0.4` - - `eslint-plugin-prettier@3.1.1` - - `eslint-plugin-react-hooks@2.2.0` - - `eslint-plugin-react@7.16.0` - - `eslint@6.6.0` - - `http-proxy-middleware@0.20.0` - - `jest@24.9.0` - - `terser-webpack-plugin@2.2.1` - - `typescript@3.6.4` - - `webpack-cli@3.3.10` - - `webpack@4.41.2` - - Production dependencies - - `core` - - `@babel/runtime@7.6.3` - - `jsonwebtoken@8.5.1` - - `math-random` - - `redux-saga@1.1.1` - - `simple-update-in@2.1.1` - - `bundle` - - `@babel/runtime@7.6.3` - - `core-js@3.3.6` - - `markdown-it@10.0.0` - - `memoize-one@5.1.1` - - `sanitize-html@1.19.0` - - `url-search-params-polyfill@7.0.0` - - `component` - - `bytes@3.1.0` - - `memoize-one@5.1.1` - - `react-dictate-button@1.2.1` - - `react-redux@7.1.1` - - `remark@11.0.1` - - `sanitize-html@1.20.1` - - `simple-update-in@2.1.1` - - `strip-markdown@3.1.1` - - `embed` - - `@babel/runtime@7.6.3` - - `core-js@3.3.6` -- `component`: Bumps [`adaptivecards@1.2.3`](https://npmjs.com/package/adaptivecards), by [@corinagum](https://github.com/corinagum) in PR [#2523](https://github.com/microsoft/BotFramework-WebChat/pull/2532) -- Bumps Chrome in Docker to 78.0.3904.70, by [@spyip](https://github.com/spyip) in PR [#2545](https://github.com/microsoft/BotFramework-WebChat/pull/2545) -- `bundle`: Webpack will now use `webpack-stats-plugin` instead of `webpack-visualizer-plugin`, by [@compulim](https://github.com/compulim) in PR [#2584](https://github.com/microsoft/BotFramework-WebChat/pull/2584) - - This will fix [#2583](https://github.com/microsoft/BotFramework-WebChat/issues/2583) by not bringing in transient dependency of React - - To view the bundle stats, browse to https://chrisbateman.github.io/webpack-visualizer/ and drop the file `/packages/bundle/dist/stats.json` -- Resolves [#2674](https://github.com/microsoft/BotFramework-WebChat/issues/2674). Update embed docs, by [@corinagum](https://github.com/corinagum), in PR [#2696](https://github.com/microsoft/BotFramework-WebChat/pull/2696) +- Bumped all dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2533](https://github.com/microsoft/BotFramework-WebChat/pull/2533) and PR [#2621](https://github.com/microsoft/BotFramework-WebChat/pull/2621) + - Development dependencies + - Root package + - `@azure/storage-blob@12.0.0` + - `@babel/plugin-proposal-class-properties@7.5.5` + - `@babel/plugin-proposal-object-rest-spread@7.6.2` + - `@babel/plugin-transform-runtime@7.6.2` + - `@babel/preset-env@7.6.3` + - `@babel/preset-react@7.6.3` + - `@babel/preset-typescript@7.6.0` + - `@babel/runtime@7.6.3` + - `babel-jest@24.9.0` + - `core-js@3.3.6` + - `coveralls@3.0.7` + - `husky@3.0.9` + - `jest-image-snapshot@2.11.0` + - `jest@24.9.0` + - `lerna@3.18.3` + - `lint-staged@9.4.2` + - `selenium-webdriver@4.0.0-alpha.5` + - `serve-handler@6.1.2` + - Other packages + - `@babel/cli@7.6.4` + - `@babel/core@7.6.4` + - `@babel/plugin-proposal-class-properties@7.5.5` + - `@babel/plugin-proposal-object-rest-spread@7.6.2` + - `@babel/plugin-transform-runtime@7.6.2` + - `@babel/preset-env@7.6.3` + - `@babel/preset-react@7.6.3` + - `@babel/preset-typescript@7.6.0` + - `@types/node@12.12.3` + - `@types/react@16.9.11` + - `@typescript-eslint/eslint-plugin@2.6.0` + - `@typescript-eslint/parser@2.6.0` + - `babel-plugin-istanbul@5.2.0` + - `concurrently@5.0.0` + - `copy-webpack-plugin@5.0.4` + - `eslint-plugin-prettier@3.1.1` + - `eslint-plugin-react-hooks@2.2.0` + - `eslint-plugin-react@7.16.0` + - `eslint@6.6.0` + - `http-proxy-middleware@0.20.0` + - `jest@24.9.0` + - `terser-webpack-plugin@2.2.1` + - `typescript@3.6.4` + - `webpack-cli@3.3.10` + - `webpack@4.41.2` + - Production dependencies + - `core` + - `@babel/runtime@7.6.3` + - `jsonwebtoken@8.5.1` + - `math-random` + - `redux-saga@1.1.1` + - `simple-update-in@2.1.1` + - `bundle` + - `@babel/runtime@7.6.3` + - `core-js@3.3.6` + - `markdown-it@10.0.0` + - `memoize-one@5.1.1` + - `sanitize-html@1.19.0` + - `url-search-params-polyfill@7.0.0` + - `component` + - `bytes@3.1.0` + - `memoize-one@5.1.1` + - `react-dictate-button@1.2.1` + - `react-redux@7.1.1` + - `remark@11.0.1` + - `sanitize-html@1.20.1` + - `simple-update-in@2.1.1` + - `strip-markdown@3.1.1` + - `embed` + - `@babel/runtime@7.6.3` + - `core-js@3.3.6` +- `component`: Bumps [`adaptivecards@1.2.3`](https://npmjs.com/package/adaptivecards), by [@corinagum](https://github.com/corinagum) in PR [#2523](https://github.com/microsoft/BotFramework-WebChat/pull/2532) +- Bumps Chrome in Docker to 78.0.3904.70, by [@spyip](https://github.com/spyip) in PR [#2545](https://github.com/microsoft/BotFramework-WebChat/pull/2545) +- `bundle`: Webpack will now use `webpack-stats-plugin` instead of `webpack-visualizer-plugin`, by [@compulim](https://github.com/compulim) in PR [#2584](https://github.com/microsoft/BotFramework-WebChat/pull/2584) + - This will fix [#2583](https://github.com/microsoft/BotFramework-WebChat/issues/2583) by not bringing in transient dependency of React + - To view the bundle stats, browse to https://chrisbateman.github.io/webpack-visualizer/ and drop the file `/packages/bundle/dist/stats.json` +- Resolves [#2674](https://github.com/microsoft/BotFramework-WebChat/issues/2674). Update embed docs, by [@corinagum](https://github.com/corinagum), in PR [#2696](https://github.com/microsoft/BotFramework-WebChat/pull/2696) ### Samples -- [Clear Conversation After Idle](https://microsoft.github.io/BotFramework-WebChat/04.api/h.clear-after-idle/), by [@tdurnford](https://github.com/tdurnford), in PR [#2375](https://github.com/microsoft/BotFramework-WebChat/pull/2375) -- [Smart Display](https://microsoft.github.io/BotFramework-WebChat/24.customization-smart-display/), by [@compulim](https://github.com/compulim), in PR [#2649](https://github.com/microsoft/BotFramework-WebChat/pull/2649) +- [Clear Conversation After Idle](https://microsoft.github.io/BotFramework-WebChat/04.api/h.clear-after-idle/), by [@tdurnford](https://github.com/tdurnford), in PR [#2375](https://github.com/microsoft/BotFramework-WebChat/pull/2375) +- [Smart Display](https://microsoft.github.io/BotFramework-WebChat/24.customization-smart-display/), by [@compulim](https://github.com/compulim), in PR [#2649](https://github.com/microsoft/BotFramework-WebChat/pull/2649) ## [4.6.0] - 2019-10-31 ### Breaking changes -- We will no longer include `react` and `react-dom` in our NPM package, instead, we will requires peer dependencies of `react@^16.8.6` and `react-dom@^16.8.6` +- We will no longer include `react` and `react-dom` in our NPM package, instead, we will requires peer dependencies of `react@^16.8.6` and `react-dom@^16.8.6` ### Changed -- `*`: Bumps all dev dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) and PR [#2308](https://github.com/microsoft/BotFramework-WebChat/pull/2308) - - [`@babel/*@7.5.4`](https://www.npmjs.com/package/@babel/core) - - [`jest@24.8.0`](https://www.npmjs.com/package/jest) - - [`lerna@3.15.0`](https://www.npmjs.com/package/lerna) - - [`react-redux@7.1.0`](https://www.npmjs.com/package/react-redux) - - [`typescript@3.5.3`](https://www.npmjs.com/package/typescript) - - [`webpack@4.35.3`](https://www.npmjs.com/package/webpack) -- `*`: Bumps [`@babel/runtime@7.5.4`](https://www.npmjs.com/package/@babel/runtime), by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) -- `*`: Bumps Docker container for headless Chrome to `selenium/standalone-chrome:3.141.59-radium`, by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) -- `*`: Moves from [`babel-plugin-version-transform`](https://www.npmjs.com/package/babel-plugin-version-transform) to [`babel-plugin-transform-inline-environment-variables`](https://www.npmjs.com/package/babel-plugin-transform-inline-environment-variables), by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) -- `*`: Bumps ESLint and related dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2185](https://github.com/microsoft/BotFramework-WebChat/pull/2185) - - [`eslint-plugin-react@7.14.2`](https://www.npmjs.com/package/eslint-plugin-react) - - [`eslint@6.0.1`](https://www.npmjs.com/package/eslint) -- `*`: Bumps React, Redux and their related dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2184](https://github.com/microsoft/BotFramework-WebChat/pull/2184) - - [`react-dom@16.8.6`](https://www.npmjs.com/package/react-dom) - - [`react-redux@5.1.1`](https://www.npmjs.com/package/react-redux) - - [`react@16.8.6`](https://www.npmjs.com/package/react) - - [`redux@4.0.4`](https://www.npmjs.com/package/redux) - - Removed [`redux-promise-middleware`](https://www.npmjs.com/package/redux-promise-middleware) -- `*`: Bumps `lodash-*`(https://www.npmjs.com/package/lodash), by [@compulim](https://github.com/compulim), in PR [#2199](https://github.com/microsoft/BotFramework-WebChat/pull/2199) - - [`lodash@4.17.14`](https://www.npmjs.com/package/lodash) - - [`lodash.mergewith@4.6.2`](https://www.npmjs.com/package/lodash.mergewith) - - [`lodash.template@4.5.0`](https://www.npmjs.com/package/lodash.template) - - [`lodash.templatesettings@4.2.0`](https://www.npmjs.com/package/lodash.template) - - [`mixin-deep@1.3.2`](https://www.npmjs.com/package/mixin-deep) - - [`set-value@2.0.1`](https://www.npmjs.com/package/set-value) - - [`union-value@1.0.1`](https://www.npmjs.com/package/union-value) -- Bumps [`web-speech-cognitive-services@4.0.1-master.6b2b9e3`](https://www.npmjs.com/package/web-speech-cognitive-services), by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246), PR [#2274](https://github.com/microsoft/BotFramework-WebChat/pull/2274), and PR [#2338](https://github.com/microsoft/BotFramework-WebChat/pull/2338) -- Fix for React hooks constraints: both app and component must share the same reference of [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom), in PR [#2274](https://github.com/microsoft/BotFramework-WebChat/pull/2274) - - `/`: Install [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) to `devDependencies` - - `bundle`: Move [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) from `dependencies` to `peerDependencies` - - `component`: Remove [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) from `devDependencies` - - `playground`: Remove [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) from `dependencies` - - `samples/*`: Move to production version of Web Chat, and bump to [`react@16.8.6`](https://www.npmjs.com/package/react) and [`react-dom@16.8.6`](https://www.npmjs.com/package/react-dom) -- Moved the typing indicator to the send box and removed the typing indicator logic from the sagas, by [@tdurnford](https://github.com/tdurnford), in PR [#2321](https://github.com/microsoft/BotFramework-WebChat/pull/2321) -- `component`: Move `Composer` to React hooks and functional components, by [@compulim](https://github.com), in PR [#2308](https://github.com/microsoft/BotFramework-WebChat/pull/2308) -- `component`: Fix [#1818](https://github.com/microsoft/BotFramework-WebChat/issues/1818) Move to functional components by [@corinagum](https://github.com/corinagum), in PR [#2322](https://github.com/microsoft/BotFramework-WebChat/pull/2322) -- Fix [#2292](https://github.com/microsoft/BotFramework-WebChat/issues/2292). Added function to select voice to props, `selectVoice()`, by [@compulim](https://github.com/compulim), in PR [#2338](https://github.com/microsoft/BotFramework-WebChat/pull/2338) -- Bumping dependencies, by [@compulim](https://github.com/compulim), in PR [#2500](https://github.com/microsoft/BotFramework-WebChat/pull/2500) - - `*`: [`web-speech-cognitive-services@5.0.1`](https://www.npmjs.com/package/web-speech-cognitive-services) - - `bundle`: [`botframework-directlinejs@0.11.6`](https://www.npmjs.com/package/botframework-directlinejs) - - `component`: [`react-film@1.3.0`](https://www.npmjs.com/package/react-film) +- `*`: Bumps all dev dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) and PR [#2308](https://github.com/microsoft/BotFramework-WebChat/pull/2308) + - [`@babel/*@7.5.4`](https://www.npmjs.com/package/@babel/core) + - [`jest@24.8.0`](https://www.npmjs.com/package/jest) + - [`lerna@3.15.0`](https://www.npmjs.com/package/lerna) + - [`react-redux@7.1.0`](https://www.npmjs.com/package/react-redux) + - [`typescript@3.5.3`](https://www.npmjs.com/package/typescript) + - [`webpack@4.35.3`](https://www.npmjs.com/package/webpack) +- `*`: Bumps [`@babel/runtime@7.5.4`](https://www.npmjs.com/package/@babel/runtime), by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) +- `*`: Bumps Docker container for headless Chrome to `selenium/standalone-chrome:3.141.59-radium`, by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) +- `*`: Moves from [`babel-plugin-version-transform`](https://www.npmjs.com/package/babel-plugin-version-transform) to [`babel-plugin-transform-inline-environment-variables`](https://www.npmjs.com/package/babel-plugin-transform-inline-environment-variables), by [@compulim](https://github.com/compulim), in PR [#2182](https://github.com/microsoft/BotFramework-WebChat/pull/2182) +- `*`: Bumps ESLint and related dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2185](https://github.com/microsoft/BotFramework-WebChat/pull/2185) + - [`eslint-plugin-react@7.14.2`](https://www.npmjs.com/package/eslint-plugin-react) + - [`eslint@6.0.1`](https://www.npmjs.com/package/eslint) +- `*`: Bumps React, Redux and their related dependencies to latest version, by [@compulim](https://github.com/compulim), in PR [#2184](https://github.com/microsoft/BotFramework-WebChat/pull/2184) + - [`react-dom@16.8.6`](https://www.npmjs.com/package/react-dom) + - [`react-redux@5.1.1`](https://www.npmjs.com/package/react-redux) + - [`react@16.8.6`](https://www.npmjs.com/package/react) + - [`redux@4.0.4`](https://www.npmjs.com/package/redux) + - Removed [`redux-promise-middleware`](https://www.npmjs.com/package/redux-promise-middleware) +- `*`: Bumps `lodash-*`(https://www.npmjs.com/package/lodash), by [@compulim](https://github.com/compulim), in PR [#2199](https://github.com/microsoft/BotFramework-WebChat/pull/2199) + - [`lodash@4.17.14`](https://www.npmjs.com/package/lodash) + - [`lodash.mergewith@4.6.2`](https://www.npmjs.com/package/lodash.mergewith) + - [`lodash.template@4.5.0`](https://www.npmjs.com/package/lodash.template) + - [`lodash.templatesettings@4.2.0`](https://www.npmjs.com/package/lodash.template) + - [`mixin-deep@1.3.2`](https://www.npmjs.com/package/mixin-deep) + - [`set-value@2.0.1`](https://www.npmjs.com/package/set-value) + - [`union-value@1.0.1`](https://www.npmjs.com/package/union-value) +- Bumps [`web-speech-cognitive-services@4.0.1-master.6b2b9e3`](https://www.npmjs.com/package/web-speech-cognitive-services), by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246), PR [#2274](https://github.com/microsoft/BotFramework-WebChat/pull/2274), and PR [#2338](https://github.com/microsoft/BotFramework-WebChat/pull/2338) +- Fix for React hooks constraints: both app and component must share the same reference of [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom), in PR [#2274](https://github.com/microsoft/BotFramework-WebChat/pull/2274) + - `/`: Install [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) to `devDependencies` + - `bundle`: Move [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) from `dependencies` to `peerDependencies` + - `component`: Remove [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) from `devDependencies` + - `playground`: Remove [`react`](https://www.npmjs.com/package/react) and [`react-dom`](https://www.npmjs.com/package/react-dom) from `dependencies` + - `samples/*`: Move to production version of Web Chat, and bump to [`react@16.8.6`](https://www.npmjs.com/package/react) and [`react-dom@16.8.6`](https://www.npmjs.com/package/react-dom) +- Moved the typing indicator to the send box and removed the typing indicator logic from the sagas, by [@tdurnford](https://github.com/tdurnford), in PR [#2321](https://github.com/microsoft/BotFramework-WebChat/pull/2321) +- `component`: Move `Composer` to React hooks and functional components, by [@compulim](https://github.com), in PR [#2308](https://github.com/microsoft/BotFramework-WebChat/pull/2308) +- `component`: Fix [#1818](https://github.com/microsoft/BotFramework-WebChat/issues/1818) Move to functional components by [@corinagum](https://github.com/corinagum), in PR [#2322](https://github.com/microsoft/BotFramework-WebChat/pull/2322) +- Fix [#2292](https://github.com/microsoft/BotFramework-WebChat/issues/2292). Added function to select voice to props, `selectVoice()`, by [@compulim](https://github.com/compulim), in PR [#2338](https://github.com/microsoft/BotFramework-WebChat/pull/2338) +- Bumping dependencies, by [@compulim](https://github.com/compulim), in PR [#2500](https://github.com/microsoft/BotFramework-WebChat/pull/2500) + - `*`: [`web-speech-cognitive-services@5.0.1`](https://www.npmjs.com/package/web-speech-cognitive-services) + - `bundle`: [`botframework-directlinejs@0.11.6`](https://www.npmjs.com/package/botframework-directlinejs) + - `component`: [`react-film@1.3.0`](https://www.npmjs.com/package/react-film) ### Fixed -- Fixes [#2328](https://github.com/microsoft/BotFramework-WebChat/issues/2328). Updating submitSendBoxSaga.js to send sendBoxValue.trim(), by [@jimmyjames177414](https://github.com/jimmyjames177414) in PR [#2331](https://github.com/microsoft/BotFramework-WebChat/pull/2331) -- Fixes [#2160](https://github.com/microsoft/BotFramework-WebChat/issues/2160). Clear suggested actions after clicking on a suggested actions of type `openUrl`, by [@tdurnford](https://github.com/tdurnford) in PR [#2190](https://github.com/microsoft/BotFramework-WebChat/pull/2190) -- Fixes [#1954](https://github.com/microsoft/BotFramework-WebChat/issues/1954). Estimate clock skew and adjust timestamp for outgoing activity, by [@compulim](https://github.com/compulim) in PR [#2208](https://github.com/microsoft/BotFramework-WebChat/pull/2208) -- Fixes [#2240](https://github.com/microsoft/BotFramework-WebChat/issues/2240). Fix microphone button should be re-enabled after error, by [@compulim](https://github.com/compulim) in PR [#2241](https://github.com/microsoft/BotFramework-WebChat/pull/2241) -- Fixes [#2250](https://github.com/microsoft/BotFramework-WebChat/issues/2250). Fix React warnings related prop types, by [@compulim](https://github.com/compulim) in PR [#2253](https://github.com/microsoft/BotFramework-WebChat/pull/2253) -- Fixes [#2245](https://github.com/microsoft/BotFramework-WebChat/issues/2245). Fix speech synthesis not working on Safari by priming the engine on the first microphone button click, by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246) -- Fixes [#1514](https://github.com/microsoft/BotFramework-WebChat/issues/1514). Added reference grammar ID when using Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246) -- Fixes [#1515](https://github.com/microsoft/BotFramework-WebChat/issues/1515). Added dynamic phrases when using Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246) -- Fixes [#2273](https://github.com/microsoft/BotFramework-WebChat/issues/2273). Add `ScreenReaderText` component, by [@corinagum](https://github.com/corinagum) in PR [#2278](https://github.com/microsoft/BotFramework-WebChat/pull/2278) -- Fixes [#2231](https://github.com/microsoft/BotFramework-WebChat/issues/2231). Fallback to English (US) if date time formatting failed, by [@compulim](https://github.com/compulim) in PR [#2286](https://github.com/microsoft/BotFramework-WebChat/pull/2286) -- Fixes [#2298](https://github.com/microsoft/BotFramework-WebChat/issues/2298). Speech synthesize errors to be ignored, by [@compulim](https://github.com/compulim) in PR [#2300](https://github.com/microsoft/BotFramework-WebChat/issues/2300) -- Fixes [#2243](https://github.com/microsoft/BotFramework-WebChat/issues/2243). Fixed sagas to correctly mark activities with speaking attachments, by [@tdurnford](https://github.com/tdurnford) in PR [#2320](https://github.com/microsoft/BotFramework-WebChat/issues/2320) -- Fixes [#2365](https://github.com/microsoft/BotFramework-WebChat/issues/2365). Fix Adaptive Card `pushButton` appearance on Chrome, by [@corinagum](https://github.com/corinagum) in PR [#2382](https://github.com/microsoft/BotFramework-WebChat/pull/2382) -- Fixes [#2379](https://github.com/microsoft/BotFramework-WebChat/issues/2379). Speech synthesis can be configured off by passing `null`, by [@compulim](https://github.com/compulim) in PR [#2408](https://github.com/microsoft/BotFramework-WebChat/pull/2408) -- Fixes [#2418](https://github.com/microsoft/BotFramework-WebChat/issues/2418). Connectivity status should not waste-render every 400 ms, by [@compulim](https://github.com/compulim) in PR [#2419](https://github.com/microsoft/BotFramework-WebChat/pull/2419) -- Fixes [#2415](https://github.com/microsoft/BotFramework-WebChat/issues/2415) and [#2416](https://github.com/microsoft/BotFramework-WebChat/issues/2416). Fix receipt card rendering, by [@compulim](https://github.com/compulim) in PR [#2417](https://github.com/microsoft/BotFramework-WebChat/issues/2417) -- Fixes [#2415](https://github.com/microsoft/BotFramework-WebChat/issues/2415) and [#2416](https://github.com/microsoft/BotFramework-WebChat/issues/2416). Fix Adaptive Cards cannot be disabled on-the-fly, by [@compulim](https://github.com/compulim) in PR [#2417](https://github.com/microsoft/BotFramework-WebChat/issues/2417) -- Fixes [#2360](https://github.com/microsoft/BotFramework-WebChat/issues/2360). Timestamp should update on language change, by [@compulim](https://github.com/compulim) in PR [#2414](https://github.com/microsoft/BotFramework-WebChat/pull/2414) -- Fixes [#2428](https://github.com/microsoft/BotFramework-WebChat/issues/2428). Should interrupt speech synthesis after microphone button is clicked, by [@compulim](https://github.com/compulim) in PR [#2429](https://github.com/microsoft/BotFramework-WebChat/pull/2429) -- Fixes [#2435](https://github.com/microsoft/BotFramework-WebChat/issues/2435). Fix microphone button getting stuck on voice-triggered expecting input hint without a speech synthesis engine, by [@compulim](https://github.com/compulim) in PR [#2445](https://github.com/microsoft/BotFramework-WebChat/pull/2445) -- Fixes [#2472](https://github.com/microsoft/BotFramework-WebChat/issues/2472). Update samples to use repo's version of React, by [@corinagum](https://github.com/corinagum) in PR [#2478](https://github.com/microsoft/BotFramework-WebChat/pull/2478) -- Fixes [#2473](https://github.com/microsoft/BotFramework-WebChat/issues/2473). Fix samples 13 using wrong region for Speech Services credentials, by [@compulim](https://github.com/compulim) in PR [#2482](https://github.com/microsoft/BotFramework-WebChat/pull/2482) -- Fixes [#2420](https://github.com/microsoft/BotFramework-WebChat/issues/2420). Fix saga error should not result in an unhandled exception, by [@compulim](https://github.com/compulim) in PR [#2421](https://github.com/microsoft/BotFramework-WebChat/pull/2421) -- Fixes [#2513](https://github.com/microsoft/BotFramework-WebChat/issues/2513). Fix `core-js` not loading properly, by [@compulim](https://github.com/compulim) in PR [#2514](https://github.com/microsoft/BotFramework-WebChat/pull/2514) -- Fixes [#2516](https://github.com/microsoft/BotFramework-WebChat/issues/2516). Disable microphone input for `expecting` input hint on Safari, by [@compulim](https://github.com/compulim) in PR [#2517](https://github.com/microsoft/BotFramework-WebChat/pull/2517) and PR [#2520](https://github.com/microsoft/BotFramework-WebChat/pull/2520) -- Fixes [#2518](https://github.com/microsoft/BotFramework-WebChat/issues/2518). Synthesis of bot activities with input hint expecting, should be interruptible, by [@compulim](https://github.com/compulim) in PR [#2520](https://github.com/microsoft/BotFramework-WebChat/pull/2520) -- Fixes [#2519](https://github.com/microsoft/BotFramework-WebChat/issues/2519). On Safari, microphone should turn on after synthesis of bot activities with input hint expecting, by [@compulim](https://github.com/compulim) in PR [#2520](https://github.com/microsoft/BotFramework-WebChat/pull/2520) -- Fixes [#2521](https://github.com/microsoft/BotFramework-WebChat/issues/2521). `webchat-es5.js` should not contains non-ES5 code and must be loadable by IE11, by [@compulim](https://github.com/compulim) in PR [#2522](https://github.com/microsoft/BotFramework-WebChat/pull/2522) -- Fixes [#2524](https://github.com/microsoft/BotFramework-WebChat/issues/2524). Version was not burnt into source code correctly, by [@compulim](https://github.com/compulim) in PR [#2525](https://github.com/microsoft/BotFramework-WebChat/pull/2525) +- Fixes [#2328](https://github.com/microsoft/BotFramework-WebChat/issues/2328). Updating submitSendBoxSaga.js to send sendBoxValue.trim(), by [@jimmyjames177414](https://github.com/jimmyjames177414) in PR [#2331](https://github.com/microsoft/BotFramework-WebChat/pull/2331) +- Fixes [#2160](https://github.com/microsoft/BotFramework-WebChat/issues/2160). Clear suggested actions after clicking on a suggested actions of type `openUrl`, by [@tdurnford](https://github.com/tdurnford) in PR [#2190](https://github.com/microsoft/BotFramework-WebChat/pull/2190) +- Fixes [#1954](https://github.com/microsoft/BotFramework-WebChat/issues/1954). Estimate clock skew and adjust timestamp for outgoing activity, by [@compulim](https://github.com/compulim) in PR [#2208](https://github.com/microsoft/BotFramework-WebChat/pull/2208) +- Fixes [#2240](https://github.com/microsoft/BotFramework-WebChat/issues/2240). Fix microphone button should be re-enabled after error, by [@compulim](https://github.com/compulim) in PR [#2241](https://github.com/microsoft/BotFramework-WebChat/pull/2241) +- Fixes [#2250](https://github.com/microsoft/BotFramework-WebChat/issues/2250). Fix React warnings related prop types, by [@compulim](https://github.com/compulim) in PR [#2253](https://github.com/microsoft/BotFramework-WebChat/pull/2253) +- Fixes [#2245](https://github.com/microsoft/BotFramework-WebChat/issues/2245). Fix speech synthesis not working on Safari by priming the engine on the first microphone button click, by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246) +- Fixes [#1514](https://github.com/microsoft/BotFramework-WebChat/issues/1514). Added reference grammar ID when using Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246) +- Fixes [#1515](https://github.com/microsoft/BotFramework-WebChat/issues/1515). Added dynamic phrases when using Cognitive Services Speech Services, by [@compulim](https://github.com/compulim) in PR [#2246](https://github.com/microsoft/BotFramework-WebChat/pull/2246) +- Fixes [#2273](https://github.com/microsoft/BotFramework-WebChat/issues/2273). Add `ScreenReaderText` component, by [@corinagum](https://github.com/corinagum) in PR [#2278](https://github.com/microsoft/BotFramework-WebChat/pull/2278) +- Fixes [#2231](https://github.com/microsoft/BotFramework-WebChat/issues/2231). Fallback to English (US) if date time formatting failed, by [@compulim](https://github.com/compulim) in PR [#2286](https://github.com/microsoft/BotFramework-WebChat/pull/2286) +- Fixes [#2298](https://github.com/microsoft/BotFramework-WebChat/issues/2298). Speech synthesize errors to be ignored, by [@compulim](https://github.com/compulim) in PR [#2300](https://github.com/microsoft/BotFramework-WebChat/issues/2300) +- Fixes [#2243](https://github.com/microsoft/BotFramework-WebChat/issues/2243). Fixed sagas to correctly mark activities with speaking attachments, by [@tdurnford](https://github.com/tdurnford) in PR [#2320](https://github.com/microsoft/BotFramework-WebChat/issues/2320) +- Fixes [#2365](https://github.com/microsoft/BotFramework-WebChat/issues/2365). Fix Adaptive Card `pushButton` appearance on Chrome, by [@corinagum](https://github.com/corinagum) in PR [#2382](https://github.com/microsoft/BotFramework-WebChat/pull/2382) +- Fixes [#2379](https://github.com/microsoft/BotFramework-WebChat/issues/2379). Speech synthesis can be configured off by passing `null`, by [@compulim](https://github.com/compulim) in PR [#2408](https://github.com/microsoft/BotFramework-WebChat/pull/2408) +- Fixes [#2418](https://github.com/microsoft/BotFramework-WebChat/issues/2418). Connectivity status should not waste-render every 400 ms, by [@compulim](https://github.com/compulim) in PR [#2419](https://github.com/microsoft/BotFramework-WebChat/pull/2419) +- Fixes [#2415](https://github.com/microsoft/BotFramework-WebChat/issues/2415) and [#2416](https://github.com/microsoft/BotFramework-WebChat/issues/2416). Fix receipt card rendering, by [@compulim](https://github.com/compulim) in PR [#2417](https://github.com/microsoft/BotFramework-WebChat/issues/2417) +- Fixes [#2415](https://github.com/microsoft/BotFramework-WebChat/issues/2415) and [#2416](https://github.com/microsoft/BotFramework-WebChat/issues/2416). Fix Adaptive Cards cannot be disabled on-the-fly, by [@compulim](https://github.com/compulim) in PR [#2417](https://github.com/microsoft/BotFramework-WebChat/issues/2417) +- Fixes [#2360](https://github.com/microsoft/BotFramework-WebChat/issues/2360). Timestamp should update on language change, by [@compulim](https://github.com/compulim) in PR [#2414](https://github.com/microsoft/BotFramework-WebChat/pull/2414) +- Fixes [#2428](https://github.com/microsoft/BotFramework-WebChat/issues/2428). Should interrupt speech synthesis after microphone button is clicked, by [@compulim](https://github.com/compulim) in PR [#2429](https://github.com/microsoft/BotFramework-WebChat/pull/2429) +- Fixes [#2435](https://github.com/microsoft/BotFramework-WebChat/issues/2435). Fix microphone button getting stuck on voice-triggered expecting input hint without a speech synthesis engine, by [@compulim](https://github.com/compulim) in PR [#2445](https://github.com/microsoft/BotFramework-WebChat/pull/2445) +- Fixes [#2472](https://github.com/microsoft/BotFramework-WebChat/issues/2472). Update samples to use repo's version of React, by [@corinagum](https://github.com/corinagum) in PR [#2478](https://github.com/microsoft/BotFramework-WebChat/pull/2478) +- Fixes [#2473](https://github.com/microsoft/BotFramework-WebChat/issues/2473). Fix samples 13 using wrong region for Speech Services credentials, by [@compulim](https://github.com/compulim) in PR [#2482](https://github.com/microsoft/BotFramework-WebChat/pull/2482) +- Fixes [#2420](https://github.com/microsoft/BotFramework-WebChat/issues/2420). Fix saga error should not result in an unhandled exception, by [@compulim](https://github.com/compulim) in PR [#2421](https://github.com/microsoft/BotFramework-WebChat/pull/2421) +- Fixes [#2513](https://github.com/microsoft/BotFramework-WebChat/issues/2513). Fix `core-js` not loading properly, by [@compulim](https://github.com/compulim) in PR [#2514](https://github.com/microsoft/BotFramework-WebChat/pull/2514) +- Fixes [#2516](https://github.com/microsoft/BotFramework-WebChat/issues/2516). Disable microphone input for `expecting` input hint on Safari, by [@compulim](https://github.com/compulim) in PR [#2517](https://github.com/microsoft/BotFramework-WebChat/pull/2517) and PR [#2520](https://github.com/microsoft/BotFramework-WebChat/pull/2520) +- Fixes [#2518](https://github.com/microsoft/BotFramework-WebChat/issues/2518). Synthesis of bot activities with input hint expecting, should be interruptible, by [@compulim](https://github.com/compulim) in PR [#2520](https://github.com/microsoft/BotFramework-WebChat/pull/2520) +- Fixes [#2519](https://github.com/microsoft/BotFramework-WebChat/issues/2519). On Safari, microphone should turn on after synthesis of bot activities with input hint expecting, by [@compulim](https://github.com/compulim) in PR [#2520](https://github.com/microsoft/BotFramework-WebChat/pull/2520) +- Fixes [#2521](https://github.com/microsoft/BotFramework-WebChat/issues/2521). `webchat-es5.js` should not contains non-ES5 code and must be loadable by IE11, by [@compulim](https://github.com/compulim) in PR [#2522](https://github.com/microsoft/BotFramework-WebChat/pull/2522) +- Fixes [#2524](https://github.com/microsoft/BotFramework-WebChat/issues/2524). Version was not burnt into source code correctly, by [@compulim](https://github.com/compulim) in PR [#2525](https://github.com/microsoft/BotFramework-WebChat/pull/2525) ### Added -- Resolves [#2157](https://github.com/microsoft/BotFramework-WebChat/issues/2157), added `emitTypingIndicator` action and dispatcher, by [@compulim](https://github.com/compulim), in PR [#2413](https://github.com/microsoft/BotFramework-WebChat/pull/2413) -- Resolves [#2307](https://github.com/microsoft/BotFramework-WebChat/issues/2307). Added options to hide ScrollToEnd button, by [@nt-7](https://github.com/nt-7) in PR [#2332](https://github.com/microsoft/BotFramework-WebChat/pull/2332) -- Added bubble nub and style options, by [@compulim](https://github.com/compulim), in PR [#2137](https://github.com/microsoft/BotFramework-WebChat/pull/2137) and PR [#2487](https://github.com/microsoft/BotFramework-WebChat/pull/2487) -- Resolves [#1808](https://github.com/microsoft/BotFramework-WebChat/issues/1808). Added documentation on [activity types](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/ACTIVITYTYPES.md), by [@corinagum](https://github.com/corinagum) in PR [#2228](https://github.com/microsoft/BotFramework-WebChat/pull/2228) -- Added `timestampFormat` option to the default style options and created `AbsoluteTime` component, by [@tdurnford](https://github.com/tdurnford), in PR [#2295](https://github.com/microsoft/BotFramework-WebChat/pull/2295) -- `embed`: Added ES5 polyfills and dev server, by [@compulim](https://github.com/compulim), in PR [#2315](https://github.com/microsoft/BotFramework-WebChat/pull/2315) -- Resolves [#2380](https://github.com/microsoft/BotFramework-WebChat/issues/2380). Added `botAvatarBackgroundColor` and `userAvatarBackgroundColor` to the default style options, by [@tdurnford](https://github.com/tdurnford) in PR [#2384](https://github.com/microsoft/BotFramework-WebChat/pull/2384) -- Added full screen capability to `IFRAME` in the `YouTubeContent` and `VimeoContent` components by [@tdurnford](https://github.com/tdurnford) in PR [#2399](https://github.com/microsoft/BotFramework-WebChat/pull/2399) -- Resolves [#2461](https://github.com/microsoft/BotFramework-WebChat/issues/2461), added `isomorphic-react` and `isomorphic-react-dom` packages, by [@compulim](https://github.com/compulim) and [@corinagum](https://github.com/corinagum), in PR [#2478](https://github.com/microsoft/BotFramework-WebChat/pull/2478) and PR [#2486](https://github.com/microsoft/BotFramework-WebChat/pull/2486) -- Added missing Norwegian (nb-NO) translations, by [@taarskog](https://github.com/taarskog) -- Added missing Italian (it-IT) translations, by [@AntoT84](https://github.com/AntoT84) -- Resolve [#2481](https://github.com/microsoft/BotFramework-WebChat/issues/2481). Support alternative audio input source by adding `audioConfig` prop to `createCognitiveServicesSpeechServicesPonyfillFactory`, by [@corinagum](https://github.com/corinagum), in PR [#2491](https://github.com/microsoft/BotFramework-WebChat/pull/2491) -- Added missing Finnish (fi-FI) translations, by [@sk91swd](https://github.com/sk91swd), in PR [#2501](https://github.com/microsoft/BotFramework-WebChat/pull/2501) +- Resolves [#2157](https://github.com/microsoft/BotFramework-WebChat/issues/2157), added `emitTypingIndicator` action and dispatcher, by [@compulim](https://github.com/compulim), in PR [#2413](https://github.com/microsoft/BotFramework-WebChat/pull/2413) +- Resolves [#2307](https://github.com/microsoft/BotFramework-WebChat/issues/2307). Added options to hide ScrollToEnd button, by [@nt-7](https://github.com/nt-7) in PR [#2332](https://github.com/microsoft/BotFramework-WebChat/pull/2332) +- Added bubble nub and style options, by [@compulim](https://github.com/compulim), in PR [#2137](https://github.com/microsoft/BotFramework-WebChat/pull/2137) and PR [#2487](https://github.com/microsoft/BotFramework-WebChat/pull/2487) +- Resolves [#1808](https://github.com/microsoft/BotFramework-WebChat/issues/1808). Added documentation on [activity types](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/ACTIVITYTYPES.md), by [@corinagum](https://github.com/corinagum) in PR [#2228](https://github.com/microsoft/BotFramework-WebChat/pull/2228) +- Added `timestampFormat` option to the default style options and created `AbsoluteTime` component, by [@tdurnford](https://github.com/tdurnford), in PR [#2295](https://github.com/microsoft/BotFramework-WebChat/pull/2295) +- `embed`: Added ES5 polyfills and dev server, by [@compulim](https://github.com/compulim), in PR [#2315](https://github.com/microsoft/BotFramework-WebChat/pull/2315) +- Resolves [#2380](https://github.com/microsoft/BotFramework-WebChat/issues/2380). Added `botAvatarBackgroundColor` and `userAvatarBackgroundColor` to the default style options, by [@tdurnford](https://github.com/tdurnford) in PR [#2384](https://github.com/microsoft/BotFramework-WebChat/pull/2384) +- Added full screen capability to `IFRAME` in the `YouTubeContent` and `VimeoContent` components by [@tdurnford](https://github.com/tdurnford) in PR [#2399](https://github.com/microsoft/BotFramework-WebChat/pull/2399) +- Resolves [#2461](https://github.com/microsoft/BotFramework-WebChat/issues/2461), added `isomorphic-react` and `isomorphic-react-dom` packages, by [@compulim](https://github.com/compulim) and [@corinagum](https://github.com/corinagum), in PR [#2478](https://github.com/microsoft/BotFramework-WebChat/pull/2478) and PR [#2486](https://github.com/microsoft/BotFramework-WebChat/pull/2486) +- Added missing Norwegian (nb-NO) translations, by [@taarskog](https://github.com/taarskog) +- Added missing Italian (it-IT) translations, by [@AntoT84](https://github.com/AntoT84) +- Resolve [#2481](https://github.com/microsoft/BotFramework-WebChat/issues/2481). Support alternative audio input source by adding `audioConfig` prop to `createCognitiveServicesSpeechServicesPonyfillFactory`, by [@corinagum](https://github.com/corinagum), in PR [#2491](https://github.com/microsoft/BotFramework-WebChat/pull/2491) +- Added missing Finnish (fi-FI) translations, by [@sk91swd](https://github.com/sk91swd), in PR [#2501](https://github.com/microsoft/BotFramework-WebChat/pull/2501) ### Samples -- [Single sign-on for Microsoft Teams apps](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/d.sso-for-teams/), by [@compulim](https://github.com/compulim) in [#2196](https://github.com/microsoft/BotFramework-WebChat/pull/2196) -- [Customize Web Chat with Reaction Buttons](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/d.reaction-buttons/). Updated reaction handlers to send `messageReaction` activities, by [@tdurnford](https://github.com/tdurnford) in [#2239](https://github.com/microsoft/BotFramework-WebChat/pull/2239) -- [Select voice for speech synthesis](https://microsoft.github.io/BotFramework-WebChat/03.speech/e.select-voice/), by [@compulim](https://github.com/compulim), in PR [#2338](https://github.com/microsoft/BotFramework-WebChat/pull/2338) -- [Using different versions of React on a hosting app via NPM packages](https://microsoft.github.io/BotFramework-WebChat/01.getting-started/g.hybrid-react-npm/), by [@compulim](https://github.com/compulim), in PR [#2509](https://github.com/microsoft/BotFramework-WebChat/pull/2509) +- [Single sign-on for Microsoft Teams apps](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/d.sso-for-teams/), by [@compulim](https://github.com/compulim) in [#2196](https://github.com/microsoft/BotFramework-WebChat/pull/2196) +- [Customize Web Chat with Reaction Buttons](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/d.reaction-buttons/). Updated reaction handlers to send `messageReaction` activities, by [@tdurnford](https://github.com/tdurnford) in [#2239](https://github.com/microsoft/BotFramework-WebChat/pull/2239) +- [Select voice for speech synthesis](https://microsoft.github.io/BotFramework-WebChat/03.speech/e.select-voice/), by [@compulim](https://github.com/compulim), in PR [#2338](https://github.com/microsoft/BotFramework-WebChat/pull/2338) +- [Using different versions of React on a hosting app via NPM packages](https://microsoft.github.io/BotFramework-WebChat/01.getting-started/g.hybrid-react-npm/), by [@compulim](https://github.com/compulim), in PR [#2509](https://github.com/microsoft/BotFramework-WebChat/pull/2509) ## [4.5.3] - 2019-10-10 ### Changed -- `bundle`: Bumped DirectLineJS to support metadata when uploading attachments, in PR [#2433](https://github.com/microsoft/BotFramework-WebChat/pull/2433) - - [`botframework-directlinejs@0.11.5`](https://www.npmjs.com/package/botframework-directlinejs) - - Removed DirectLineJS as a dev dependency for `component` because it was not referenced +- `bundle`: Bumped DirectLineJS to support metadata when uploading attachments, in PR [#2433](https://github.com/microsoft/BotFramework-WebChat/pull/2433) + - [`botframework-directlinejs@0.11.5`](https://www.npmjs.com/package/botframework-directlinejs) + - Removed DirectLineJS as a dev dependency for `component` because it was not referenced ### Fixed -- Fixes [#2248](https://github.com/microsoft/BotFramework-WebChat/issues/2248). Remove download links from user-uploaded attachment without thumbnails, by [@compulim](https://github.com/compulim) in PR [#2262](https://github.com/microsoft/BotFramework-WebChat/pull/2262) -- Fixes [Emulator:#1823](https://github.com/microsoft/BotFramework-Emulator/issues/1823). Fix Sendbox "Type your message" being read twice by AT, by [@corinagum](https://github.com/corinagum) in PR [#2423](https://github.com/microsoft/BotFramework-WebChat/pull/2423) -- Fixes [#2422](https://github.com/microsoft/BotFramework-WebChat/issues/2422). Store thumbnail URL using the activity's `attachment.thumbnailUrl` field, by [@compulim](https://github.com/compulim) in PR [#2433](https://github.com/microsoft/BotFramework-WebChat/pull/2433) +- Fixes [#2248](https://github.com/microsoft/BotFramework-WebChat/issues/2248). Remove download links from user-uploaded attachment without thumbnails, by [@compulim](https://github.com/compulim) in PR [#2262](https://github.com/microsoft/BotFramework-WebChat/pull/2262) +- Fixes [Emulator:#1823](https://github.com/microsoft/BotFramework-Emulator/issues/1823). Fix Sendbox "Type your message" being read twice by AT, by [@corinagum](https://github.com/corinagum) in PR [#2423](https://github.com/microsoft/BotFramework-WebChat/pull/2423) +- Fixes [#2422](https://github.com/microsoft/BotFramework-WebChat/issues/2422). Store thumbnail URL using the activity's `attachment.thumbnailUrl` field, by [@compulim](https://github.com/compulim) in PR [#2433](https://github.com/microsoft/BotFramework-WebChat/pull/2433) ### Added -- Make thumbnails when uploading GIF/JPEG/PNG and store it in `channelData.attachmentThumbnails`, by [@compulim](https://github.com/compulim), in PR [#2206](https://github.com/microsoft/BotFramework-WebChat/pull/2206), requires modern browsers with following features: - - [Web Workers API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) - - [`createImageBitmap`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/createImageBitmap) - - [`MessageChannel`](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel)/[`MessagePort`](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort) - - [`OffscreenCanvas`](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas) - - Specifically [`OffscreenCanvas.getContext('2d')`](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/getContext) -- Render thumbnail for image attachments using `activity.attachments[].thumbnailUrl`, by [@compulim](https://github.com/compulim) in PR [#2433](https://github.com/microsoft/BotFramework-WebChat/pull/2433) +- Make thumbnails when uploading GIF/JPEG/PNG and store it in `channelData.attachmentThumbnails`, by [@compulim](https://github.com/compulim), in PR [#2206](https://github.com/microsoft/BotFramework-WebChat/pull/2206), requires modern browsers with following features: + - [Web Workers API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) + - [`createImageBitmap`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/createImageBitmap) + - [`MessageChannel`](https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel)/[`MessagePort`](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort) + - [`OffscreenCanvas`](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas) + - Specifically [`OffscreenCanvas.getContext('2d')`](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas/getContext) +- Render thumbnail for image attachments using `activity.attachments[].thumbnailUrl`, by [@compulim](https://github.com/compulim) in PR [#2433](https://github.com/microsoft/BotFramework-WebChat/pull/2433) ## [4.5.2] - 2019-08-07 -- Fixes [#2273](https://github.com/microsoft/BotFramework-WebChat/issues/2273). Add `ScreenReaderText` component, by [@corinagum](https://github.com/corinagum) in PR [#2278](https://github.com/microsoft/BotFramework-WebChat/pull/2278) +- Fixes [#2273](https://github.com/microsoft/BotFramework-WebChat/issues/2273). Add `ScreenReaderText` component, by [@corinagum](https://github.com/corinagum) in PR [#2278](https://github.com/microsoft/BotFramework-WebChat/pull/2278) ## [4.5.1] - 2019-08-01 ### Fixed -- Fixes [#2187](https://github.com/microsoft/BotFramework-WebChat/issues/2187). Bump core-js and update core-js modules on index-es5.js, by [@corinagum](https://github.com/corinagum) in PR [#2195](https://github.com/microsoft/BotFramework-WebChat/pull/2195) -- Fixes [#2193](https://github.com/microsoft/BotFramework-WebChat/issues/2193). Fix Adaptive Card/attachments do not get read by Narrator, by [@corinagum](https://github.com/corinagum) in PR [#2226](https://github.com/microsoft/BotFramework-WebChat/pull/2226) -- Fixes [#2150](https://github.com/microsoft/BotFramework-WebChat/issues/2193). Fix timestamps read by Narrator, by [@corinagum](https://github.com/corinagum) in PR [#2226](https://github.com/microsoft/BotFramework-WebChat/pull/2226) -- Fixes [#2250](https://github.com/microsoft/BotFramework-WebChat/issues/2250). Fix React warnings related prop types, by [@compulim](https://github.com/compulim) in PR [#2253](https://github.com/microsoft/BotFramework-WebChat/pull/2253) +- Fixes [#2187](https://github.com/microsoft/BotFramework-WebChat/issues/2187). Bump core-js and update core-js modules on index-es5.js, by [@corinagum](https://github.com/corinagum) in PR [#2195](https://github.com/microsoft/BotFramework-WebChat/pull/2195) +- Fixes [#2193](https://github.com/microsoft/BotFramework-WebChat/issues/2193). Fix Adaptive Card/attachments do not get read by Narrator, by [@corinagum](https://github.com/corinagum) in PR [#2226](https://github.com/microsoft/BotFramework-WebChat/pull/2226) +- Fixes [#2150](https://github.com/microsoft/BotFramework-WebChat/issues/2193). Fix timestamps read by Narrator, by [@corinagum](https://github.com/corinagum) in PR [#2226](https://github.com/microsoft/BotFramework-WebChat/pull/2226) +- Fixes [#2250](https://github.com/microsoft/BotFramework-WebChat/issues/2250). Fix React warnings related prop types, by [@compulim](https://github.com/compulim) in PR [#2253](https://github.com/microsoft/BotFramework-WebChat/pull/2253) ## [4.5.0] - 2019-07-10 ### Added -- `*`: Added [`eslint`](https://npmjs.com/package/eslint/) to static code analysis, by [@compulim](https://github.com/compulim), in PR [#1970](https://github.com/microsoft/BotFramework-WebChat/pull/1970) -- Added pt-PT language, by [@bodyzatva](https://github.com/bodyzatva) in PR [#2005](https://github.com/microsoft/BotFramework-WebChat/pull/2005) and PR [#2020](https://github.com/microsoft/BotFramework-WebChat/pull/2020) -- Added documentation for using Web Chat dev build, by [@corinagum](https://github.com/corinagum), in PR [#2074](https://github.com/microsoft/BotFramework-WebChat/pull/2074) -- Added the Web Chat version to DirectLine's botAgent option, by [@tdurnford](https://github.com/tdurnford), in PR [#2101](https://github.com/microsoft/BotFramework-WebChat/pull/2101) -- Added `richCardWrapTitle` to `defaultStyleOptions`, by [@tdurnford](https://github.com/tdurnford), in PR [#2115](https://github.com/microsoft/BotFramework-WebChat/pull/2115) -- Added test harness for speech recognition and synthesis for [#2122](https://github.com/microsoft/BotFramework-WebChat/issues/2122), by [@compulim](https://github.com/compulim), in PR [#2153](https://github.com/microsoft/BotFramework-WebChat/pull/2153) +- `*`: Added [`eslint`](https://npmjs.com/package/eslint/) to static code analysis, by [@compulim](https://github.com/compulim), in PR [#1970](https://github.com/microsoft/BotFramework-WebChat/pull/1970) +- Added pt-PT language, by [@bodyzatva](https://github.com/bodyzatva) in PR [#2005](https://github.com/microsoft/BotFramework-WebChat/pull/2005) and PR [#2020](https://github.com/microsoft/BotFramework-WebChat/pull/2020) +- Added documentation for using Web Chat dev build, by [@corinagum](https://github.com/corinagum), in PR [#2074](https://github.com/microsoft/BotFramework-WebChat/pull/2074) +- Added the Web Chat version to DirectLine's botAgent option, by [@tdurnford](https://github.com/tdurnford), in PR [#2101](https://github.com/microsoft/BotFramework-WebChat/pull/2101) +- Added `richCardWrapTitle` to `defaultStyleOptions`, by [@tdurnford](https://github.com/tdurnford), in PR [#2115](https://github.com/microsoft/BotFramework-WebChat/pull/2115) +- Added test harness for speech recognition and synthesis for [#2122](https://github.com/microsoft/BotFramework-WebChat/issues/2122), by [@compulim](https://github.com/compulim), in PR [#2153](https://github.com/microsoft/BotFramework-WebChat/pull/2153) ### Changed -- `*`: Bumps to [`lerna@3.13.4`](https://npmjs.com/package/lerna/), by [@corinagum](https://github.com/corinagum), in PR [#1989](https://github.com/microsoft/BotFramework-WebChat/pull/1989) -- `*`: Bumps to: - - [`lerna@3.13.4`](https://npmjs.com/package/lerna/), - - [`react-scripts@3.0.0`](https://npmjs.com/package/react-scripts/), - - [`webpack@4.30.0`](https://npmjs.com/package/webpack/), by [@corinagum](https://github.com/corinagum), in PR [#1965](https://github.com/microsoft/BotFramework-WebChat/pull/1965) -- `bundle`: Bumps to [`adaptivecards@1.2.0`](https://npmjs.com/package/adaptivecards), by [@corinagum](https://github.com/corinagum), in PR [#2064](https://github.com/microsoft/BotFramework-WebChat/pull/2064) +- `*`: Bumps to [`lerna@3.13.4`](https://npmjs.com/package/lerna/), by [@corinagum](https://github.com/corinagum), in PR [#1989](https://github.com/microsoft/BotFramework-WebChat/pull/1989) +- `*`: Bumps to: + - [`lerna@3.13.4`](https://npmjs.com/package/lerna/), + - [`react-scripts@3.0.0`](https://npmjs.com/package/react-scripts/), + - [`webpack@4.30.0`](https://npmjs.com/package/webpack/), by [@corinagum](https://github.com/corinagum), in PR [#1965](https://github.com/microsoft/BotFramework-WebChat/pull/1965) +- `bundle`: Bumps to [`adaptivecards@1.2.0`](https://npmjs.com/package/adaptivecards), by [@corinagum](https://github.com/corinagum), in PR [#2064](https://github.com/microsoft/BotFramework-WebChat/pull/2064) ### Fixed -- Fixes [#1974](https://github.com/microsoft/BotFramework-WebChat/issues/1974). Update `/docs/` folder to `/media/` and delete unused images, by [@corinagum](https://github.com/corinagum) in PR [#1975](https://github.com/microsoft/BotFramework-WebChat/pull/1975) -- Fixes [#1980](https://github.com/microsoft/BotFramework-WebChat/issues/1980). Changed `sendBoxTextArea` styles to break words longer than the `textarea`, by [@tdurnford](https://github.com/tdurnford) in PR [#1986](https://github.com/microsoft/BotFramework-WebChat/pull/1986) -- Fixes [#1969](https://github.com/microsoft/BotFramework-WebChat/issues/1969). Move `styleSet`s related to Adaptive Cards to full bundle, by [@corinagum](https://github.com/corinagum) in PR [#1987](https://github.com/microsoft/BotFramework-WebChat/pull/1987) -- Fixes [#1429](https://github.com/microsoft/BotFramework-WebChat/issues/1429). Changed Markdown-It options to render newline characters correctly, by [@tdurnford](https://github.com/tdurnford) in PR [#1988](https://github.com/microsoft/BotFramework-WebChat/pull/1988) -- Fixes [#1736](https://github.com/microsoft/BotFramework-WebChat/issues/1736). Fixed only first activity in a batch is spoken, by [@compulim](https://github.com/compulim) in PR [#2016](https://github.com/microsoft/BotFramework-WebChat/pull/2016) -- Fixes [#2008](https://github.com/microsoft/BotFramework-WebChat/issues/2008). Fixed playground due to recent eslint changes, by [@compulim](https://github.com/compulim) in PR [#2009](https://github.com/microsoft/BotFramework-WebChat/pull/2009) -- Fixes [#1876](https://github.com/microsoft/BotFramework-WebChat/issues/1876). Accessibility fixes on Web Chat transcript, by [@corinagum](https://github.com/corinagum) in PR [#2018](https://github.com/microsoft/BotFramework-WebChat/pull/2018) -- Fixes [#1829](https://github.com/microsoft/BotFramework-WebChat/issues/1829). Fixed long text not being synthesized by Cognitive Services by bumping to [`react-say@1.2.0`](https://github.com/compulim/react-say), by [@compulim](https://github.com/compulim) in PR [#2035](https://github.com/microsoft/BotFramework-WebChat/pull/2035) -- Fixes [#1982](https://github.com/microsoft/BotFramework-WebChat/issues/1982). Move to prettier! by [@corinagum](https://github.com/corinagum) in PR [#2038](https://github.com/microsoft/BotFramework-WebChat/pull/2038) -- Fixes [#1429](https://github.com/microsoft/BotFramework-WebChat/issues/1429). Added Markdown string preprocessing so the renderer will respect CRLF carriage returns (\r\n), by [@tdurnford](https://github.com/tdurnford) in PR [#2055](https://github.com/microsoft/BotFramework-WebChat/pull/2055) -- Fixes [#2057](https://github.com/microsoft/BotFramework-WebChat/issues/2057). Added `sip:` protocol to sanitize HTML options, by [@tdurnford](https://github.com/tdurnford) in PR [#2061](https://github.com/microsoft/BotFramework-WebChat/pull/2061) -- Fixes [#2062](https://github.com/microsoft/BotFramework-WebChat/issues/2062). Fixed Markdown rendering issue in cards, by [@tdurnford](https://github.com/tdurnford) in PR [#2063](https://github.com/microsoft/BotFramework-WebChat/pull/2063) -- Fixes [#1896](https://github.com/microsoft/BotFramework-WebChat/issues/1896). Added data schema to render base64 images, by [@denscollo](https://github.com/denscollo) in PR[#2067](https://github.com/microsoft/BotFramework-WebChat/pull/2067) -- Fixes [#2068](https://github.com/microsoft/BotFramework-WebChat/issues/2068). Fixed Adaptive Cards validate and rich card speak issues, by [@tdurnford](https://github.com/tdurnford) in PR [#2075](https://github.com/microsoft/BotFramework-WebChat/pull/2075) -- Fixes [#1966](https://github.com/microsoft/BotFramework-WebChat/issues/1966). Update Localization files for es-ES, ja-JP, zh-HANS, zh-HANT, zh-YUE, by [@corinagum](https://github.com/corinagum) in PR [#2077](https://github.com/microsoft/BotFramework-WebChat/pull/2077) -- Fixes [#2078](https://github.com/microsoft/BotFramework-WebChat/issues/2078). Update Localization files for tr-TR by [@vefacaglar](https://github.com/vefacaglar) -- Fixes [#2069](https://github.com/microsoft/BotFramework-WebChat/issues/2069). Fixed Markdown renderer issue in playground, by [@tdurnford](https://github.com/tdurnford) in PR[#2073](https://github.com/microsoft/BotFramework-WebChat/pull/2073) -- Fixes [#1971](https://github.com/microsoft/BotFramework-WebChat/issues/1971). Fix mobile UX of Sendbox, SendButton, and SuggestedAction focus, by [@corinagum](https://github.com/corinagum) in PR [#2087](https://github.com/microsoft/BotFramework-WebChat/pull/2087) -- Fixes [#1627](https://github.com/microsoft/BotFramework-WebChat/issues/1627). Fixed timestamps randomly stopped from updating, by [@compulim](https://github.com/compulim) in PR [#2090](https://github.com/microsoft/BotFramework-WebChat/pull/2090) -- Fixes [#2001](https://github.com/microsoft/BotFramework-WebChat/issues/2001). Strip Markdown from ARIA labels, so screen readers do not speak Markdown in text, by [@corinagum](https://github.com/corinagum) in PR [#2096](https://github.com/microsoft/BotFramework-WebChat/pull/2096) -- Fixes [#1926](https://github.com/microsoft/BotFramework-WebChat/issues/1926). Fixed scroll stickiness issue when submitting an Adaptive Card form with suggested actions opened, by [@compulim](https://github.com/compulim) in PR [#2107](https://github.com/microsoft/BotFramework-WebChat/pull/2107) -- Fixes [#2110](https://github.com/microsoft/BotFramework-WebChat/issues/2110). Fixed sendBox input/textarea background color issue, by [@tdurnford](https://github.com/tdurnford) in PR [#2111](https://github.com/microsoft/BotFramework-WebChat/pull/2111) -- Fixes [#2104](https://github.com/microsoft/BotFramework-WebChat/issues/2104). Remove deprecated `/master/webchat**.js` links from samples, by [@corinagum](https://github.com/corinagum) in PR [#2105](https://github.com/microsoft/BotFramework-WebChat/pull/2105) -- Fixes [#1863](https://github.com/microsoft/BotFramework-WebChat/issues/1863). Remove title, subtitle, and text of cards from being spoken by [@corinagum](https://github.com/corinagum) in PR [#2118](https://github.com/microsoft/BotFramework-WebChat/pull/2118) -- Fixes [#2134](https://github.com/microsoft/BotFramework-WebChat/issues/2134). Added `azure-pipelines.yml` for embed package, by [@compulim](https://github.com/compulim) in PR [#2135](https://github.com/microsoft/BotFramework-WebChat/pull/2135) -- Fixes [#2106](https://github.com/microsoft/BotFramework-WebChat/issues/2016). Fix `AdaptiveCardHostConfig` warning associated with the `CommonCard` component, by [@tdurnford](https://github.com/tdurnford) in PR [#2108](https://github.com/microsoft/BotFramework-WebChat/pull/2108) -- Fixes [#1872](https://github.com/microsoft/BotFramework-WebChat/issues/1872). Fixed `observeOnce` to unsubscribe properly, by [@compulim](https://github.com/compulim) in PR [#2140](https://github.com/microsoft/BotFramework-WebChat/pull/2140) -- Fixes [#2022](https://github.com/microsoft/BotFramework-WebChat/issues/2022). Fixed `"expectingInput"` in `inputHint` is not respected, by [@compulim](https://github.com/compulim) and [@corinagum](https://github.com/corinagum) in PR [#2149](https://github.com/microsoft/BotFramework-WebChat/pull/2149) and PR [#2166](https://github.com/microsoft/BotFramework-WebChat/pull/2166) +- Fixes [#1974](https://github.com/microsoft/BotFramework-WebChat/issues/1974). Update `/docs/` folder to `/media/` and delete unused images, by [@corinagum](https://github.com/corinagum) in PR [#1975](https://github.com/microsoft/BotFramework-WebChat/pull/1975) +- Fixes [#1980](https://github.com/microsoft/BotFramework-WebChat/issues/1980). Changed `sendBoxTextArea` styles to break words longer than the `textarea`, by [@tdurnford](https://github.com/tdurnford) in PR [#1986](https://github.com/microsoft/BotFramework-WebChat/pull/1986) +- Fixes [#1969](https://github.com/microsoft/BotFramework-WebChat/issues/1969). Move `styleSet`s related to Adaptive Cards to full bundle, by [@corinagum](https://github.com/corinagum) in PR [#1987](https://github.com/microsoft/BotFramework-WebChat/pull/1987) +- Fixes [#1429](https://github.com/microsoft/BotFramework-WebChat/issues/1429). Changed Markdown-It options to render newline characters correctly, by [@tdurnford](https://github.com/tdurnford) in PR [#1988](https://github.com/microsoft/BotFramework-WebChat/pull/1988) +- Fixes [#1736](https://github.com/microsoft/BotFramework-WebChat/issues/1736). Fixed only first activity in a batch is spoken, by [@compulim](https://github.com/compulim) in PR [#2016](https://github.com/microsoft/BotFramework-WebChat/pull/2016) +- Fixes [#2008](https://github.com/microsoft/BotFramework-WebChat/issues/2008). Fixed playground due to recent eslint changes, by [@compulim](https://github.com/compulim) in PR [#2009](https://github.com/microsoft/BotFramework-WebChat/pull/2009) +- Fixes [#1876](https://github.com/microsoft/BotFramework-WebChat/issues/1876). Accessibility fixes on Web Chat transcript, by [@corinagum](https://github.com/corinagum) in PR [#2018](https://github.com/microsoft/BotFramework-WebChat/pull/2018) +- Fixes [#1829](https://github.com/microsoft/BotFramework-WebChat/issues/1829). Fixed long text not being synthesized by Cognitive Services by bumping to [`react-say@1.2.0`](https://github.com/compulim/react-say), by [@compulim](https://github.com/compulim) in PR [#2035](https://github.com/microsoft/BotFramework-WebChat/pull/2035) +- Fixes [#1982](https://github.com/microsoft/BotFramework-WebChat/issues/1982). Move to prettier! by [@corinagum](https://github.com/corinagum) in PR [#2038](https://github.com/microsoft/BotFramework-WebChat/pull/2038) +- Fixes [#1429](https://github.com/microsoft/BotFramework-WebChat/issues/1429). Added Markdown string preprocessing so the renderer will respect CRLF carriage returns (\r\n), by [@tdurnford](https://github.com/tdurnford) in PR [#2055](https://github.com/microsoft/BotFramework-WebChat/pull/2055) +- Fixes [#2057](https://github.com/microsoft/BotFramework-WebChat/issues/2057). Added `sip:` protocol to sanitize HTML options, by [@tdurnford](https://github.com/tdurnford) in PR [#2061](https://github.com/microsoft/BotFramework-WebChat/pull/2061) +- Fixes [#2062](https://github.com/microsoft/BotFramework-WebChat/issues/2062). Fixed Markdown rendering issue in cards, by [@tdurnford](https://github.com/tdurnford) in PR [#2063](https://github.com/microsoft/BotFramework-WebChat/pull/2063) +- Fixes [#1896](https://github.com/microsoft/BotFramework-WebChat/issues/1896). Added data schema to render base64 images, by [@denscollo](https://github.com/denscollo) in PR[#2067](https://github.com/microsoft/BotFramework-WebChat/pull/2067) +- Fixes [#2068](https://github.com/microsoft/BotFramework-WebChat/issues/2068). Fixed Adaptive Cards validate and rich card speak issues, by [@tdurnford](https://github.com/tdurnford) in PR [#2075](https://github.com/microsoft/BotFramework-WebChat/pull/2075) +- Fixes [#1966](https://github.com/microsoft/BotFramework-WebChat/issues/1966). Update Localization files for es-ES, ja-JP, zh-HANS, zh-HANT, zh-YUE, by [@corinagum](https://github.com/corinagum) in PR [#2077](https://github.com/microsoft/BotFramework-WebChat/pull/2077) +- Fixes [#2078](https://github.com/microsoft/BotFramework-WebChat/issues/2078). Update Localization files for tr-TR by [@vefacaglar](https://github.com/vefacaglar) +- Fixes [#2069](https://github.com/microsoft/BotFramework-WebChat/issues/2069). Fixed Markdown renderer issue in playground, by [@tdurnford](https://github.com/tdurnford) in PR[#2073](https://github.com/microsoft/BotFramework-WebChat/pull/2073) +- Fixes [#1971](https://github.com/microsoft/BotFramework-WebChat/issues/1971). Fix mobile UX of Sendbox, SendButton, and SuggestedAction focus, by [@corinagum](https://github.com/corinagum) in PR [#2087](https://github.com/microsoft/BotFramework-WebChat/pull/2087) +- Fixes [#1627](https://github.com/microsoft/BotFramework-WebChat/issues/1627). Fixed timestamps randomly stopped from updating, by [@compulim](https://github.com/compulim) in PR [#2090](https://github.com/microsoft/BotFramework-WebChat/pull/2090) +- Fixes [#2001](https://github.com/microsoft/BotFramework-WebChat/issues/2001). Strip Markdown from ARIA labels, so screen readers do not speak Markdown in text, by [@corinagum](https://github.com/corinagum) in PR [#2096](https://github.com/microsoft/BotFramework-WebChat/pull/2096) +- Fixes [#1926](https://github.com/microsoft/BotFramework-WebChat/issues/1926). Fixed scroll stickiness issue when submitting an Adaptive Card form with suggested actions opened, by [@compulim](https://github.com/compulim) in PR [#2107](https://github.com/microsoft/BotFramework-WebChat/pull/2107) +- Fixes [#2110](https://github.com/microsoft/BotFramework-WebChat/issues/2110). Fixed sendBox input/textarea background color issue, by [@tdurnford](https://github.com/tdurnford) in PR [#2111](https://github.com/microsoft/BotFramework-WebChat/pull/2111) +- Fixes [#2104](https://github.com/microsoft/BotFramework-WebChat/issues/2104). Remove deprecated `/master/webchat**.js` links from samples, by [@corinagum](https://github.com/corinagum) in PR [#2105](https://github.com/microsoft/BotFramework-WebChat/pull/2105) +- Fixes [#1863](https://github.com/microsoft/BotFramework-WebChat/issues/1863). Remove title, subtitle, and text of cards from being spoken by [@corinagum](https://github.com/corinagum) in PR [#2118](https://github.com/microsoft/BotFramework-WebChat/pull/2118) +- Fixes [#2134](https://github.com/microsoft/BotFramework-WebChat/issues/2134). Added `azure-pipelines.yml` for embed package, by [@compulim](https://github.com/compulim) in PR [#2135](https://github.com/microsoft/BotFramework-WebChat/pull/2135) +- Fixes [#2106](https://github.com/microsoft/BotFramework-WebChat/issues/2016). Fix `AdaptiveCardHostConfig` warning associated with the `CommonCard` component, by [@tdurnford](https://github.com/tdurnford) in PR [#2108](https://github.com/microsoft/BotFramework-WebChat/pull/2108) +- Fixes [#1872](https://github.com/microsoft/BotFramework-WebChat/issues/1872). Fixed `observeOnce` to unsubscribe properly, by [@compulim](https://github.com/compulim) in PR [#2140](https://github.com/microsoft/BotFramework-WebChat/pull/2140) +- Fixes [#2022](https://github.com/microsoft/BotFramework-WebChat/issues/2022). Fixed `"expectingInput"` in `inputHint` is not respected, by [@compulim](https://github.com/compulim) and [@corinagum](https://github.com/corinagum) in PR [#2149](https://github.com/microsoft/BotFramework-WebChat/pull/2149) and PR [#2166](https://github.com/microsoft/BotFramework-WebChat/pull/2166) ### Samples -- `*`: [Single sign-on for enterprise apps](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/b.sso-for-enterprise/), by [@compulim](https://github.com/compulim) in [#2002](https://github.com/microsoft/BotFramework-WebChat/pull/2002) -- `*`: [Upload to Azure Storage](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/a.upload-to-azure-storage/), by [@compulim](https://github.com/compulim) in [#2127](https://github.com/microsoft/BotFramework-WebChat/pull/2127) -- `*`: [Speech UI demo](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/b.speech-ui). Reconfigured to use Cognitive Services properly, by [@compulim](https://github.com/compulim) in PR [#2132](https://github.com/microsoft/BotFramework-WebChat/pull/2132) -- `*`: [Single sign-on for Intranet apps](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/c.sso-for-intranet/), by [@compulim](https://github.com/compulim) in [#2144](https://github.com/microsoft/BotFramework-WebChat/pull/2144) -- `*`: [Change locale on-the-fly](https://microsoft.github.io/BotFramework-WebChat/22.customization-change-locale/), by [@compulim](https://github.com/compulim) in [#2451](https://github.com/microsoft/BotFramework-WebChat/pull/2451) +- `*`: [Single sign-on for enterprise apps](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/b.sso-for-enterprise/), by [@compulim](https://github.com/compulim) in [#2002](https://github.com/microsoft/BotFramework-WebChat/pull/2002) +- `*`: [Upload to Azure Storage](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/a.upload-to-azure-storage/), by [@compulim](https://github.com/compulim) in [#2127](https://github.com/microsoft/BotFramework-WebChat/pull/2127) +- `*`: [Speech UI demo](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/b.speech-ui). Reconfigured to use Cognitive Services properly, by [@compulim](https://github.com/compulim) in PR [#2132](https://github.com/microsoft/BotFramework-WebChat/pull/2132) +- `*`: [Single sign-on for Intranet apps](https://microsoft.github.io/BotFramework-WebChat/07.advanced-web-chat-apps/c.sso-for-intranet/), by [@compulim](https://github.com/compulim) in [#2144](https://github.com/microsoft/BotFramework-WebChat/pull/2144) +- `*`: [Change locale on-the-fly](https://microsoft.github.io/BotFramework-WebChat/22.customization-change-locale/), by [@compulim](https://github.com/compulim) in [#2451](https://github.com/microsoft/BotFramework-WebChat/pull/2451) ## [4.4.1] - 2019-05-02 ### Added -- Adds handling of reconnection, by [@compulim](https://github.com/compulim), in PR [#1880](https://github.com/microsoft/BotFramework-WebChat/pull/1880) -- Adds embed page, by [@compulim](https://github.com/compulim), in PR [#1910](https://github.com/microsoft/BotFramework-WebChat/pull/1910), PR [#1928](https://github.com/microsoft/BotFramework-WebChat/pull/1928) and PR [#1938](https://github.com/microsoft/BotFramework-WebChat/pull/1938) +- Adds handling of reconnection, by [@compulim](https://github.com/compulim), in PR [#1880](https://github.com/microsoft/BotFramework-WebChat/pull/1880) +- Adds embed page, by [@compulim](https://github.com/compulim), in PR [#1910](https://github.com/microsoft/BotFramework-WebChat/pull/1910), PR [#1928](https://github.com/microsoft/BotFramework-WebChat/pull/1928) and PR [#1938](https://github.com/microsoft/BotFramework-WebChat/pull/1938) ### Changed -- Deployment: Bumps to [`blobxfer@1.7.1`](https://github.com/azure/blobxfer/), by [@compulim](https://github.com/compulim), in PR [#1897](https://github.com/microsoft/BotFramework-WebChat/pull/1897) -- Deployment: Adds `charset` to content type of JavaScript files on CDN, by [@compulim](https://github.com/compulim), in PR [#1897](https://github.com/microsoft/BotFramework-WebChat/pull/1897) -- `component`: Bumps to [`react-film@1.2.1-master.db29968`](https://npmjs.com/package/react-film/), by [@corinagum](https://github.com/corinagum) and [@compulim](https://github.com/compulim), in PR [#1900](https://github.com/microsoft/BotFramework-WebChat/pull/1900) and PR [#1924](https://github.com/microsoft/BotFramework-WebChat/pull/1924) -- Build: Bumps to [`@babel/*`](https://babeljs.io/), by [@corinagum](https://github.com/corinagum), in PR [#1918](https://github.com/microsoft/BotFramework-WebChat/pull/1918) -- `component`: Carousel flippers on carousel layout and suggested actions will use initial cursor style, by [@compulim](https://github.com/compulim), in PR [#1924](https://github.com/microsoft/BotFramework-WebChat/pull/1924) +- Deployment: Bumps to [`blobxfer@1.7.1`](https://github.com/azure/blobxfer/), by [@compulim](https://github.com/compulim), in PR [#1897](https://github.com/microsoft/BotFramework-WebChat/pull/1897) +- Deployment: Adds `charset` to content type of JavaScript files on CDN, by [@compulim](https://github.com/compulim), in PR [#1897](https://github.com/microsoft/BotFramework-WebChat/pull/1897) +- `component`: Bumps to [`react-film@1.2.1-master.db29968`](https://npmjs.com/package/react-film/), by [@corinagum](https://github.com/corinagum) and [@compulim](https://github.com/compulim), in PR [#1900](https://github.com/microsoft/BotFramework-WebChat/pull/1900) and PR [#1924](https://github.com/microsoft/BotFramework-WebChat/pull/1924) +- Build: Bumps to [`@babel/*`](https://babeljs.io/), by [@corinagum](https://github.com/corinagum), in PR [#1918](https://github.com/microsoft/BotFramework-WebChat/pull/1918) +- `component`: Carousel flippers on carousel layout and suggested actions will use initial cursor style, by [@compulim](https://github.com/compulim), in PR [#1924](https://github.com/microsoft/BotFramework-WebChat/pull/1924) ### Fixed -- Fixes [#1423](https://github.com/microsoft/BotFramework-WebChat/issues/1423). Added sample for hosting WebChat in Angular, by [@omarsourour](https://github.com/omarsourour) in PR [#1813](https://github.com/microsoft/BotFramework-WebChat/pull/1813) -- Fixes[#1767](https://github.com/microsoft/BotFramework-WebChat/issues/1767). Remove `cursor: pointer` from buttons, by [@corinagum](https://github.com/corinagum) in PR [#1819](https://github.com/microsoft/BotFramework-WebChat/pull/1819) -- Fixes [#1774](https://github.com/microsoft/BotFramework-WebChat/issues/1774). Add `styleSetOption` to allow word break. Default to `break-word`, by [@corinagum](https://github.com/corinagum) in PR [#1832](https://github.com/microsoft/BotFramework-WebChat/pull/1832) -- Fixes [#1847](https://github.com/microsoft/BotFramework-WebChat/issues/1847). Bump react-say, which adds babel-runtime dependency, by [@corinagum](https://github.com/corinagum) in PR [#1849](https://github.com/microsoft/BotFramework-WebChat/pull/1849) -- Adds [#1524](https://github.com/microsoft/BotFramework-WebChat/issues/1524) Add Offline UI: connecting for the first time, by [@corinagum](https://github.com/corinagum), in PR [#1866](https://github.com/microsoft/BotFramework-WebChat/pull/1866) -- Fixes [#1768](https://github.com/microsoft/BotFramework-WebChat/issues/1768). Add style options to be able to modify all Send Box borders, by [@corinagum](https://github.com/corinagum) in PR [#1871](https://github.com/microsoft/BotFramework-WebChat/pull/1871) -- Fixes [#1827](https://github.com/microsoft/BotFramework-WebChat/issues/1827). Remove renderer for unknown activities, by [@corinagum](https://github.com/corinagum) in PR [#1873](https://github.com/microsoft/BotFramework-WebChat/pull/1873) -- Fixes [#1586](https://github.com/microsoft/BotFramework-WebChat/issues/1586). Fix theming of suggested actions buttons, by [@corinagum](https://github.com/corinagum) in PR [#1883](https://github.com/microsoft/BotFramework-WebChat/pull/1883) -- Fixes [#1837](https://github.com/microsoft/BotFramework-WebChat/issues/1837), [#1643](https://github.com/microsoft/BotFramework-WebChat/issues/1643). Fix style conflicts with bootstrap and bump `memoize-one`, by [@corinagum](https://github.com/corinagum) in PR [#1884](https://github.com/microsoft/BotFramework-WebChat/pull/1884) -- Fixes [#1877](https://github.com/microsoft/BotFramework-WebChat/issues/1877). Add viewport meta tag and fix a few sample links, by [@corinagum](https://github.com/corinagum) in PR [#1919](https://github.com/microsoft/BotFramework-WebChat/pull/1919) -- Fixes [#1789](https://github.com/microsoft/BotFramework-WebChat/issues/1789). Focus send box after message is being sent, by [@corinagum](https://github.com/corinagum) in PR [#1915](https://github.com/microsoft/BotFramework-WebChat/pull/1915) -- Fixes [#1920](https://github.com/microsoft/BotFramework-WebChat/issues/1920). Added disabled property to send button, by [@tdurnford](https://github.com/tdurnford) in PR [#1922](https://github.com/microsoft/BotFramework-WebChat/pull/1922) -- Fixes [#1525](https://github.com/microsoft/BotFramework-WebChat/issues/1525). Add JavaScript error Offline UI, by [@corinagum](https://github.com/corinagum) in PR [#1927](https://github.com/microsoft/BotFramework-WebChat/pull/1927) -- Fixes [#1934](https://github.com/microsoft/BotFramework-WebChat/issues/1934). Fix spacing of empty ConnectivityStatus component, by [@corinagum](https://github.com/corinagum) in PR [#1939](https://github.com/microsoft/BotFramework-WebChat/pull/1939) -- Fixes [#1943](https://github.com/microsoft/BotFramework-WebChat/issues/1943). Fix extra vertical padding in IE11 and Firefox, by [@compulim](https://github.com/compulim) in PR [#1949](https://github.com/microsoft/BotFramework-WebChat/pull/1949) -- Fixes [#1945](https://github.com/microsoft/BotFramework-WebChat/issues/1945). QA fixes for 4.4, by [@corinagum](https://github.com/johndoe) in PR [#1950](https://github.com/microsoft/BotFramework-WebChat/pull/1950) -- Fixes [#1947](https://github.com/microsoft/BotFramework-WebChat/issues/1947). Fix scrollbar in suggested action should be hidden in Firefox, remove gaps, and use style set for customizing `react-film`, by [@compulim](https://github.com/compulim) in PR [#1953](https://github.com/microsoft/BotFramework-WebChat/pull/1953) -- Fixes [#1948](https://github.com/microsoft/BotFramework-WebChat/issues/1948). Fixed sample 04.api/g.chat-send-history to work with Firefox and Microsoft Edge, by [@tdurnford](https://github.com/tdurnford) in PR [#1956](https://github.com/microsoft/BotFramework-WebChat/pull/1956) -- Fixes [#1304](https://github.com/microsoft/BotFramework-WebChat/issues/1304). Move Adaptive Cards from component to bundle, by [@compulim](https://github.com/compulim) and [@corinagum](https://github.com/corinagum) in PR [#1936](https://github.com/microsoft/BotFramework-WebChat/pull/1936) -- Fixes [#1990](https://github.com/microsoft/BotFramework-WebChat/issues/1990). Bump Adaptive Cards & fix textarea font-family from monospace to Web Chat's `primaryFont`, by [@corinagum](https://github.com/corinagum) in PR [#2064](https://github.com/microsoft/BotFramework-WebChat/pull/2064) +- Fixes [#1423](https://github.com/microsoft/BotFramework-WebChat/issues/1423). Added sample for hosting WebChat in Angular, by [@omarsourour](https://github.com/omarsourour) in PR [#1813](https://github.com/microsoft/BotFramework-WebChat/pull/1813) +- Fixes[#1767](https://github.com/microsoft/BotFramework-WebChat/issues/1767). Remove `cursor: pointer` from buttons, by [@corinagum](https://github.com/corinagum) in PR [#1819](https://github.com/microsoft/BotFramework-WebChat/pull/1819) +- Fixes [#1774](https://github.com/microsoft/BotFramework-WebChat/issues/1774). Add `styleSetOption` to allow word break. Default to `break-word`, by [@corinagum](https://github.com/corinagum) in PR [#1832](https://github.com/microsoft/BotFramework-WebChat/pull/1832) +- Fixes [#1847](https://github.com/microsoft/BotFramework-WebChat/issues/1847). Bump react-say, which adds babel-runtime dependency, by [@corinagum](https://github.com/corinagum) in PR [#1849](https://github.com/microsoft/BotFramework-WebChat/pull/1849) +- Adds [#1524](https://github.com/microsoft/BotFramework-WebChat/issues/1524) Add Offline UI: connecting for the first time, by [@corinagum](https://github.com/corinagum), in PR [#1866](https://github.com/microsoft/BotFramework-WebChat/pull/1866) +- Fixes [#1768](https://github.com/microsoft/BotFramework-WebChat/issues/1768). Add style options to be able to modify all Send Box borders, by [@corinagum](https://github.com/corinagum) in PR [#1871](https://github.com/microsoft/BotFramework-WebChat/pull/1871) +- Fixes [#1827](https://github.com/microsoft/BotFramework-WebChat/issues/1827). Remove renderer for unknown activities, by [@corinagum](https://github.com/corinagum) in PR [#1873](https://github.com/microsoft/BotFramework-WebChat/pull/1873) +- Fixes [#1586](https://github.com/microsoft/BotFramework-WebChat/issues/1586). Fix theming of suggested actions buttons, by [@corinagum](https://github.com/corinagum) in PR [#1883](https://github.com/microsoft/BotFramework-WebChat/pull/1883) +- Fixes [#1837](https://github.com/microsoft/BotFramework-WebChat/issues/1837), [#1643](https://github.com/microsoft/BotFramework-WebChat/issues/1643). Fix style conflicts with bootstrap and bump `memoize-one`, by [@corinagum](https://github.com/corinagum) in PR [#1884](https://github.com/microsoft/BotFramework-WebChat/pull/1884) +- Fixes [#1877](https://github.com/microsoft/BotFramework-WebChat/issues/1877). Add viewport meta tag and fix a few sample links, by [@corinagum](https://github.com/corinagum) in PR [#1919](https://github.com/microsoft/BotFramework-WebChat/pull/1919) +- Fixes [#1789](https://github.com/microsoft/BotFramework-WebChat/issues/1789). Focus send box after message is being sent, by [@corinagum](https://github.com/corinagum) in PR [#1915](https://github.com/microsoft/BotFramework-WebChat/pull/1915) +- Fixes [#1920](https://github.com/microsoft/BotFramework-WebChat/issues/1920). Added disabled property to send button, by [@tdurnford](https://github.com/tdurnford) in PR [#1922](https://github.com/microsoft/BotFramework-WebChat/pull/1922) +- Fixes [#1525](https://github.com/microsoft/BotFramework-WebChat/issues/1525). Add JavaScript error Offline UI, by [@corinagum](https://github.com/corinagum) in PR [#1927](https://github.com/microsoft/BotFramework-WebChat/pull/1927) +- Fixes [#1934](https://github.com/microsoft/BotFramework-WebChat/issues/1934). Fix spacing of empty ConnectivityStatus component, by [@corinagum](https://github.com/corinagum) in PR [#1939](https://github.com/microsoft/BotFramework-WebChat/pull/1939) +- Fixes [#1943](https://github.com/microsoft/BotFramework-WebChat/issues/1943). Fix extra vertical padding in IE11 and Firefox, by [@compulim](https://github.com/compulim) in PR [#1949](https://github.com/microsoft/BotFramework-WebChat/pull/1949) +- Fixes [#1945](https://github.com/microsoft/BotFramework-WebChat/issues/1945). QA fixes for 4.4, by [@corinagum](https://github.com/johndoe) in PR [#1950](https://github.com/microsoft/BotFramework-WebChat/pull/1950) +- Fixes [#1947](https://github.com/microsoft/BotFramework-WebChat/issues/1947). Fix scrollbar in suggested action should be hidden in Firefox, remove gaps, and use style set for customizing `react-film`, by [@compulim](https://github.com/compulim) in PR [#1953](https://github.com/microsoft/BotFramework-WebChat/pull/1953) +- Fixes [#1948](https://github.com/microsoft/BotFramework-WebChat/issues/1948). Fixed sample 04.api/g.chat-send-history to work with Firefox and Microsoft Edge, by [@tdurnford](https://github.com/tdurnford) in PR [#1956](https://github.com/microsoft/BotFramework-WebChat/pull/1956) +- Fixes [#1304](https://github.com/microsoft/BotFramework-WebChat/issues/1304). Move Adaptive Cards from component to bundle, by [@compulim](https://github.com/compulim) and [@corinagum](https://github.com/corinagum) in PR [#1936](https://github.com/microsoft/BotFramework-WebChat/pull/1936) +- Fixes [#1990](https://github.com/microsoft/BotFramework-WebChat/issues/1990). Bump Adaptive Cards & fix textarea font-family from monospace to Web Chat's `primaryFont`, by [@corinagum](https://github.com/corinagum) in PR [#2064](https://github.com/microsoft/BotFramework-WebChat/pull/2064) ## [4.3.0] - 2019-03-04 ### Added -- Resolves [#1383](https://github.com/microsoft/BotFramework-WebChat/issues/1383). Added options to hide upload button, by [@compulim](https://github.com/compulim) in PR [#1491](https://github.com/microsoft/BotFramework-WebChat/pull/1491) -- Adds support of avatar image, thru `styleOptions.botAvatarImage` and `styleOptions.userAvatarImage`, in PR [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) -- Adds ability to style sendbox background and text color, thru `styleOptions.sendBoxBackground` and `styleOptions.sendBoxTextColor`, in PR [#1575](https://github.com/microsoft/BotFramework-WebChat/pull/1575) -- `core`: Adds `sendEvent`, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) -- `core`: Adds `CONNECT_FULFILLING` action to workaround `redux-saga` [design decision](https://github.com/redux-saga/redux-saga/issues/1651), in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) -- `component`: Added missing Spanish (es-ES) by [@schgressive](https://github.com/schgressive) in PR [#1615](https://github.com/microsoft/BotFramework-WebChat/pull/1615) -- Adds missing Spanish (es-ES) by [@schgressive](https://github.com/schgressive) in PR [#1615](https://github.com/microsoft/BotFramework-WebChat/pull/1615) -- Resolves [#1602](https://github.com/microsoft/BotFramework-WebChat/issues/1602). Fix suggested actions regression of buttons, by [@corinagum](https://github.com/corinagum) in PR [#1616](https://github.com/microsoft/BotFramework-WebChat/pull/1616) -- `component`: Allow font family and adaptive cards text color to be set via styleOptions, by [@a-b-r-o-w-n](https://github.com/a-b-r-o-w-n), in PR [#1670](https://github.com/microsoft/BotFramework-WebChat/pull/1670) -- `component`: Add fallback logic to browser which do not support `window.Intl`, by [@compulim](https://github.com/compulim), in PR [#1696](https://github.com/microsoft/BotFramework-WebChat/pull/1696) -- `*`: Adds `username` back to activity, fixed [#1321](https://github.com/microsoft/BotFramework-WebChat/issues/1321), by [@compulim](https://github.com/compulim), in PR [#1682](https://github.com/microsoft/BotFramework-DirectLineJS/pull/1682) -- `component`: Allow root component height and width customization via `styleOptions.rootHeight` and `styleOptions.rootWidth`, by [@tonyanziano](https://github.com/tonyanziano), in PR [#1702](https://github.com/microsoft/BotFramework-WebChat/pull/1702) -- `component`: Added `cardActionMiddleware` to customize the behavior of card action, by [@compulim](https://github.com/compulim), in PR [#1704](https://github.com/microsoft/BotFramework-WebChat/pull/1704) -- `bundle`: Add `watermark` and `streamUrl` parameters to createDirectLine, by [@corinagum](https://github.com/corinagum), in PR [#1817](https://github.com/microsoft/BotFramework-WebChat/pull/1817) -- `component`: Added `textarea` option to `SendBox` per issues [#17](https://github.com/microsoft/BotFramework-WebChat/issues/17) and [#124](https://github.com/microsoft/BotFramework-WebChat/issues/124), by [@tdurnford](https://github.com/tdurnford), in PR [#1889](https://github.com/microsoft/BotFramework-WebChat/pull/1889) -- `component`: Added `suggestedAction` images per issue [#1739](https://github.com/microsoft/BotFramework-WebChat/issues/1739), by [@tdurnford](https://github.com/tdurnford), in PR [#1909](https://github.com/microsoft/BotFramework-WebChat/pull/1909) +- Resolves [#1383](https://github.com/microsoft/BotFramework-WebChat/issues/1383). Added options to hide upload button, by [@compulim](https://github.com/compulim) in PR [#1491](https://github.com/microsoft/BotFramework-WebChat/pull/1491) +- Adds support of avatar image, thru `styleOptions.botAvatarImage` and `styleOptions.userAvatarImage`, in PR [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) +- Adds ability to style sendbox background and text color, thru `styleOptions.sendBoxBackground` and `styleOptions.sendBoxTextColor`, in PR [#1575](https://github.com/microsoft/BotFramework-WebChat/pull/1575) +- `core`: Adds `sendEvent`, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) +- `core`: Adds `CONNECT_FULFILLING` action to workaround `redux-saga` [design decision](https://github.com/redux-saga/redux-saga/issues/1651), in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) +- `component`: Added missing Spanish (es-ES) by [@schgressive](https://github.com/schgressive) in PR [#1615](https://github.com/microsoft/BotFramework-WebChat/pull/1615) +- Adds missing Spanish (es-ES) by [@schgressive](https://github.com/schgressive) in PR [#1615](https://github.com/microsoft/BotFramework-WebChat/pull/1615) +- Resolves [#1602](https://github.com/microsoft/BotFramework-WebChat/issues/1602). Fix suggested actions regression of buttons, by [@corinagum](https://github.com/corinagum) in PR [#1616](https://github.com/microsoft/BotFramework-WebChat/pull/1616) +- `component`: Allow font family and adaptive cards text color to be set via styleOptions, by [@a-b-r-o-w-n](https://github.com/a-b-r-o-w-n), in PR [#1670](https://github.com/microsoft/BotFramework-WebChat/pull/1670) +- `component`: Add fallback logic to browser which do not support `window.Intl`, by [@compulim](https://github.com/compulim), in PR [#1696](https://github.com/microsoft/BotFramework-WebChat/pull/1696) +- `*`: Adds `username` back to activity, fixed [#1321](https://github.com/microsoft/BotFramework-WebChat/issues/1321), by [@compulim](https://github.com/compulim), in PR [#1682](https://github.com/microsoft/BotFramework-DirectLineJS/pull/1682) +- `component`: Allow root component height and width customization via `styleOptions.rootHeight` and `styleOptions.rootWidth`, by [@tonyanziano](https://github.com/tonyanziano), in PR [#1702](https://github.com/microsoft/BotFramework-WebChat/pull/1702) +- `component`: Added `cardActionMiddleware` to customize the behavior of card action, by [@compulim](https://github.com/compulim), in PR [#1704](https://github.com/microsoft/BotFramework-WebChat/pull/1704) +- `bundle`: Add `watermark` and `streamUrl` parameters to createDirectLine, by [@corinagum](https://github.com/corinagum), in PR [#1817](https://github.com/microsoft/BotFramework-WebChat/pull/1817) +- `component`: Added `textarea` option to `SendBox` per issues [#17](https://github.com/microsoft/BotFramework-WebChat/issues/17) and [#124](https://github.com/microsoft/BotFramework-WebChat/issues/124), by [@tdurnford](https://github.com/tdurnford), in PR [#1889](https://github.com/microsoft/BotFramework-WebChat/pull/1889) +- `component`: Added `suggestedAction` images per issue [#1739](https://github.com/microsoft/BotFramework-WebChat/issues/1739), by [@tdurnford](https://github.com/tdurnford), in PR [#1909](https://github.com/microsoft/BotFramework-WebChat/pull/1909) ### Changed -- Bumps `botframework-directlinejs` to 0.11.4 in PR [#1783](https://github.com/microsoft/BotFramework-WebChat/pull/1783) -- Moves `botAvatarImage` and `userAvatarImage` to `styleOptions.botAvatarImage` and `styleOptions.userAvatarImage` respectively, in PR [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) -- Fixes string interpolation error in Russian localization and fallback for browsers without Intl support by [@odysseus1973](https://github.com/odysseus1973) in PR [#1509](https://github.com/microsoft/BotFramework-WebChat/pull/1509) -- `playground`: Bumps to [`botframework-directlinejs@0.10.0`](https://github.com/microsoft/BotFramework-DirectLineJS/), in PR [#1511](https://github.com/microsoft/BotFramework-WebChat/pull/1511) -- `playground`: Bumps to [`react-scripts@2.1.1`](https://npmjs.com/package/react-scripts/), in PR [#1535](https://github.com/microsoft/BotFramework-WebChat/pull/1535) -- `*`: Bumps to [`adaptivecards@1.1.2`](https://npmjs.com/package/adaptivecards/), in [#1558](https://github.com/microsoft/BotFramework-WebChat/pull/1558) -- `core`: Fixes [#1344](https://github.com/microsoft/BotFramework-WebChat/issues/1344). Use random user ID if not specified, by [@compulim](https://github.com/compulim) in PR [#1612](https://github.com/microsoft/BotFramework-WebChat/pull/1612) -- `component`: Bump to [`react-film@1.1.2`](https://npmjs.com/package/react-film/) and [`react-scroll-to-bottom@1.3.1`](https://npmjs.com/package/react-scroll-to-bottom/), by [@compulim](https://github.com/compulim), in PR [#1621](https://github.com/microsoft/BotFramework-WebChat/pull/1621) and PR [#1725](https://github.com/microsoft/BotFramework-WebChat/pull/1725) -- Expand german by [@matmuenzel](https://github.com/matmuenzel) in PR [#1740](https://github.com/microsoft/BotFramework-WebChat/pull/1740) -- Update Russian and Japanese by [@corinagum](https://github.com/corinagum) in PR [#1747](https://github.com/microsoft/BotFramework-WebChat/pull/1747) -- Update Spanish by [@ckgrafico](https://github.com/ckgrafico) in PR [#1757](https://github.com/microsoft/BotFramework-WebChat/pull/1757) -- Update Danish by [@simon_lfr](https://github.com/LTank) in PR [#1810](https://github.com/microsoft/BotFramework-WebChat/pull/1810) -- Update Swedish by [@pekspro](https://github.com/pekspro) in PR [#1797](https://github.com/microsoft/BotFramework-WebChat/pull/1797) -- Update Dutch by [@imicknl](https://github.com/imicknl) in PR [#1812](https://github.com/microsoft/BotFramework-WebChat/pull/1812) +- Bumps `botframework-directlinejs` to 0.11.4 in PR [#1783](https://github.com/microsoft/BotFramework-WebChat/pull/1783) +- Moves `botAvatarImage` and `userAvatarImage` to `styleOptions.botAvatarImage` and `styleOptions.userAvatarImage` respectively, in PR [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) +- Fixes string interpolation error in Russian localization and fallback for browsers without Intl support by [@odysseus1973](https://github.com/odysseus1973) in PR [#1509](https://github.com/microsoft/BotFramework-WebChat/pull/1509) +- `playground`: Bumps to [`botframework-directlinejs@0.10.0`](https://github.com/microsoft/BotFramework-DirectLineJS/), in PR [#1511](https://github.com/microsoft/BotFramework-WebChat/pull/1511) +- `playground`: Bumps to [`react-scripts@2.1.1`](https://npmjs.com/package/react-scripts/), in PR [#1535](https://github.com/microsoft/BotFramework-WebChat/pull/1535) +- `*`: Bumps to [`adaptivecards@1.1.2`](https://npmjs.com/package/adaptivecards/), in [#1558](https://github.com/microsoft/BotFramework-WebChat/pull/1558) +- `core`: Fixes [#1344](https://github.com/microsoft/BotFramework-WebChat/issues/1344). Use random user ID if not specified, by [@compulim](https://github.com/compulim) in PR [#1612](https://github.com/microsoft/BotFramework-WebChat/pull/1612) +- `component`: Bump to [`react-film@1.1.2`](https://npmjs.com/package/react-film/) and [`react-scroll-to-bottom@1.3.1`](https://npmjs.com/package/react-scroll-to-bottom/), by [@compulim](https://github.com/compulim), in PR [#1621](https://github.com/microsoft/BotFramework-WebChat/pull/1621) and PR [#1725](https://github.com/microsoft/BotFramework-WebChat/pull/1725) +- Expand german by [@matmuenzel](https://github.com/matmuenzel) in PR [#1740](https://github.com/microsoft/BotFramework-WebChat/pull/1740) +- Update Russian and Japanese by [@corinagum](https://github.com/corinagum) in PR [#1747](https://github.com/microsoft/BotFramework-WebChat/pull/1747) +- Update Spanish by [@ckgrafico](https://github.com/ckgrafico) in PR [#1757](https://github.com/microsoft/BotFramework-WebChat/pull/1757) +- Update Danish by [@simon_lfr](https://github.com/LTank) in PR [#1810](https://github.com/microsoft/BotFramework-WebChat/pull/1810) +- Update Swedish by [@pekspro](https://github.com/pekspro) in PR [#1797](https://github.com/microsoft/BotFramework-WebChat/pull/1797) +- Update Dutch by [@imicknl](https://github.com/imicknl) in PR [#1812](https://github.com/microsoft/BotFramework-WebChat/pull/1812) ### Fixed -- Fixes [#1360](https://github.com/microsoft/BotFramework-WebChat/issues/1360). Added `roles` to components of Web Chat, by [@corinagum](https://github.com/corinagum) in PR [#1462](https://github.com/microsoft/BotFramework-WebChat/pull/1462) -- Fixes [#1409](https://github.com/microsoft/BotFramework-WebChat/issues/1409). Added microphone status as screen reader only text, by [@corinagum](https://github.com/corinagum) in PR [#1490](https://github.com/microsoft/BotFramework-WebChat/pull/1490) -- Fixes [#1605](https://github.com/microsoft/BotFramework-WebChat/issues/1305), [#1316](https://github.com/microsoft/BotFramework-WebChat/issues/1316), [#1341](https://github.com/microsoft/BotFramework-WebChat/issues/1341), [#1411](https://github.com/microsoft/BotFramework-WebChat/issues/1411). Fix color contrast ratios & downloadIcon narrator accessibility by [@corinagum](https://github.com/corinagum) in PR [#1494](https://github.com/microsoft/BotFramework-WebChat/pull/1494) -- Fixes [#1264](https://github.com/microsoft/BotFramework-WebChat/issues/1264), [#1308](https://github.com/microsoft/BotFramework-WebChat/issues/1308), [#1318](https://github.com/microsoft/BotFramework-WebChat/issues/1318), [#1334](https://github.com/microsoft/BotFramework-WebChat/issues/1334),[#1425](https://github.com/microsoft/BotFramework-WebChat/issues/1425). Update icons with accessibilty, Sent message accessibility, and fix sample README.md, [@corinagum](https://github.com/corinagum) in PR [#1506](https://github.com/microsoft/BotFramework-WebChat/pull/1506) and [#1542](https://github.com/microsoft/BotFramework-WebChat/pull/1542) -- Fixes [#1512](https://github.com/microsoft/BotFramework-WebChat/issues/1512). Fix #1512: fix sanitization of anchors (allow title attributes), by [@corinagum](https://github.com/corinagum) in PR [#1530](https://github.com/microsoft/BotFramework-WebChat/pull/1530) -- Fixes [#1499](https://github.com/microsoft/BotFramework-WebChat/issues/1499). - - Fix screen reader handling of name, activity, and timestamp, - - `connectCarouselFilmStrip`: Fixed `botAvatarInitials` and `userAvatarInitials` functionality from [recent name change](https://github.com/microsoft/BotFramework-WebChat/pull/1486), - - `BasicTranscript`: Fixed user activity should not be recreated after receive ACK from Direct Line, - - by [@corinagum](https://github.com/corinagum) in PR [#1528](https://github.com/microsoft/BotFramework-WebChat/pull/1528) -- `component`: Fix [#1560](https://github.com/microsoft/BotFramework-WebChat/issues/1560), [#1625](https://github.com/microsoft/BotFramework-WebChat/issues/1625) and [#1635](https://github.com/microsoft/BotFramework-WebChat/issues/1635). Fixed carousel layout not showing date and alignment issues, by [@compulim](https://github.com/compulim) in PR [#1561](https://github.com/microsoft/BotFramework-WebChat/pull/1561) and [#1641](https://github.com/microsoft/BotFramework-WebChat/pull/1641) -- `playground`: Fixes [#1562](https://github.com/microsoft/BotFramework-WebChat/issues/1562). Fixed timestamp grouping "Don't group" and added "Don't show timestamp", by [@compulim](https://github.com/compulim) in PR [#1563](https://github.com/microsoft/BotFramework-WebChat/pull/1563) -- `component`: Fixes [#1576](https://github.com/microsoft/BotFramework-WebChat/issues/1576). Rich card without `tap` should be rendered properly, by [@compulim](https://github.com/compulim) in PR [#1577](https://github.com/microsoft/BotFramework-WebChat/pull/1577) -- `core`: Some sagas missed handling successive actions, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) -- `core`: `incomingActivitySaga` may throw null-ref exception if the first activity is from user, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) -- `component`: Fixes [#1328](https://github.com/microsoft/BotFramework-WebChat/issues/1328). Should not start microphone if input hint is set to `ignoringInput`, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) -- `component`: Fixes outgoing typing indicators are not sent and acknowledged properly, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) -- Fixes [#1402](https://github.com/microsoft/BotFramework-WebChat/issues/1402). Add `messageBack` support, by [@corinagum](https://github.com/corinagum) in PR [#1581](https://github.com/microsoft/BotFramework-WebChat/pull/1581) -- Fixes [#1539](https://github.com/microsoft/BotFramework-WebChat/issues/1539). Fix outgoing typing indicators are not sent and acknowledged properly, in PR [#1541](https://github.com/microsoft/BotFramework-WebChat/pull/1541) -- `component`: Fix [#1547](https://github.com/microsoft/BotFramework-WebChat/issues/1547). Fixed unhandled activity type should be forwarded to custom middleware, by [@compulim](https://github.com/compulim) in PR [#1569](https://github.com/microsoft/BotFramework-WebChat/pull/1569) -- `playground`: Fix [#1610](https://github.com/microsoft/BotFramework-WebChat/issues/1610). Fixed bot and user avatar initials not working, by [@compulim](https://github.com/compulim) in PR [#1611](https://github.com/microsoft/BotFramework-WebChat/pull/1611) -- `bundle`: Fix [#1613](https://github.com/microsoft/BotFramework-WebChat/issues/1613). Pass conversationId to DirectLineJS constructor, by [@neetu-das](https://github.com/neetu-das) in PR [#1614](https://github.com/microsoft/BotFramework-WebChat/pull/1614) -- `component`: Fix [#1626](https://github.com/microsoft/BotFramework-WebChat/issues/1626). Fixed `Number.isNaN` is not available in IE11, by [@compulim](https://github.com/compulim) in PR [#1628](https://github.com/microsoft/BotFramework-WebChat/pull/1628) -- `bundle`: Fix [#1652](https://github.com/microsoft/BotFramework-WebChat/issues/1652). Pass `pollingInterval` to DirectLineJS constructor, by [@neetu-das](https://github.com/neetu-das) in PR [#1655](https://github.com/microsoft/BotFramework-WebChat/pull/1655) -- `core`: Reworked logic on connect/disconnect for reliability on handling corner cases, by [@compulim](https://github.com/compulim) in PR [#1649](https://github.com/microsoft/BotFramework-WebChat/pull/1649) -- `core`: Fix [#1521](https://github.com/microsoft/BotFramework-WebChat/issues/1521). Add connectivity status component and update localization, by [@corinagum](https://github.com/corinagum) in PR [#1679](https://github.com/microsoft/BotFramework-WebChat/pull/1679) -- `core`: Fix [#1057](https://github.com/microsoft/BotFramework-WebChat/issues/1057). Fixed suggested actions destined for other recipients should not show up, by [@compulim](https://github.com/compulim) in PR [#1706](https://github.com/microsoft/BotFramework-WebChat/pull/1706) -- `component`: Fixed pt-br locale not being selected, added `X minutes ago` and missing translations, by [@pedropacheco92](https://github.com/pedropacheco92) in PR [#1745](https://github.com/microsoft/BotFramework-WebChat/pull/1745) -- `component`: Fix [#1741](https://github.com/microsoft/BotFramework-WebChat/issues/1741) where `scrollToEndButton` does not have `type="button"`by [@corinagum](https://github.com/corinagum) in PR [#1743](https://github.com/microsoft/BotFramework-WebChat/pull/1743) -- `component`: Fix [#1625](https://github.com/microsoft/BotFramework-WebChat/issues/1625) to update `README.md` by [@corinagum](https://github.com/corinagum) in PR [#1752](https://github.com/microsoft/BotFramework-WebChat/pull/1752) +- Fixes [#1360](https://github.com/microsoft/BotFramework-WebChat/issues/1360). Added `roles` to components of Web Chat, by [@corinagum](https://github.com/corinagum) in PR [#1462](https://github.com/microsoft/BotFramework-WebChat/pull/1462) +- Fixes [#1409](https://github.com/microsoft/BotFramework-WebChat/issues/1409). Added microphone status as screen reader only text, by [@corinagum](https://github.com/corinagum) in PR [#1490](https://github.com/microsoft/BotFramework-WebChat/pull/1490) +- Fixes [#1605](https://github.com/microsoft/BotFramework-WebChat/issues/1305), [#1316](https://github.com/microsoft/BotFramework-WebChat/issues/1316), [#1341](https://github.com/microsoft/BotFramework-WebChat/issues/1341), [#1411](https://github.com/microsoft/BotFramework-WebChat/issues/1411). Fix color contrast ratios & downloadIcon narrator accessibility by [@corinagum](https://github.com/corinagum) in PR [#1494](https://github.com/microsoft/BotFramework-WebChat/pull/1494) +- Fixes [#1264](https://github.com/microsoft/BotFramework-WebChat/issues/1264), [#1308](https://github.com/microsoft/BotFramework-WebChat/issues/1308), [#1318](https://github.com/microsoft/BotFramework-WebChat/issues/1318), [#1334](https://github.com/microsoft/BotFramework-WebChat/issues/1334),[#1425](https://github.com/microsoft/BotFramework-WebChat/issues/1425). Update icons with accessibilty, Sent message accessibility, and fix sample README.md, [@corinagum](https://github.com/corinagum) in PR [#1506](https://github.com/microsoft/BotFramework-WebChat/pull/1506) and [#1542](https://github.com/microsoft/BotFramework-WebChat/pull/1542) +- Fixes [#1512](https://github.com/microsoft/BotFramework-WebChat/issues/1512). Fix #1512: fix sanitization of anchors (allow title attributes), by [@corinagum](https://github.com/corinagum) in PR [#1530](https://github.com/microsoft/BotFramework-WebChat/pull/1530) +- Fixes [#1499](https://github.com/microsoft/BotFramework-WebChat/issues/1499). + - Fix screen reader handling of name, activity, and timestamp, + - `connectCarouselFilmStrip`: Fixed `botAvatarInitials` and `userAvatarInitials` functionality from [recent name change](https://github.com/microsoft/BotFramework-WebChat/pull/1486), + - `BasicTranscript`: Fixed user activity should not be recreated after receive ACK from Direct Line, + - by [@corinagum](https://github.com/corinagum) in PR [#1528](https://github.com/microsoft/BotFramework-WebChat/pull/1528) +- `component`: Fix [#1560](https://github.com/microsoft/BotFramework-WebChat/issues/1560), [#1625](https://github.com/microsoft/BotFramework-WebChat/issues/1625) and [#1635](https://github.com/microsoft/BotFramework-WebChat/issues/1635). Fixed carousel layout not showing date and alignment issues, by [@compulim](https://github.com/compulim) in PR [#1561](https://github.com/microsoft/BotFramework-WebChat/pull/1561) and [#1641](https://github.com/microsoft/BotFramework-WebChat/pull/1641) +- `playground`: Fixes [#1562](https://github.com/microsoft/BotFramework-WebChat/issues/1562). Fixed timestamp grouping "Don't group" and added "Don't show timestamp", by [@compulim](https://github.com/compulim) in PR [#1563](https://github.com/microsoft/BotFramework-WebChat/pull/1563) +- `component`: Fixes [#1576](https://github.com/microsoft/BotFramework-WebChat/issues/1576). Rich card without `tap` should be rendered properly, by [@compulim](https://github.com/compulim) in PR [#1577](https://github.com/microsoft/BotFramework-WebChat/pull/1577) +- `core`: Some sagas missed handling successive actions, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) +- `core`: `incomingActivitySaga` may throw null-ref exception if the first activity is from user, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) +- `component`: Fixes [#1328](https://github.com/microsoft/BotFramework-WebChat/issues/1328). Should not start microphone if input hint is set to `ignoringInput`, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) +- `component`: Fixes outgoing typing indicators are not sent and acknowledged properly, in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) +- Fixes [#1402](https://github.com/microsoft/BotFramework-WebChat/issues/1402). Add `messageBack` support, by [@corinagum](https://github.com/corinagum) in PR [#1581](https://github.com/microsoft/BotFramework-WebChat/pull/1581) +- Fixes [#1539](https://github.com/microsoft/BotFramework-WebChat/issues/1539). Fix outgoing typing indicators are not sent and acknowledged properly, in PR [#1541](https://github.com/microsoft/BotFramework-WebChat/pull/1541) +- `component`: Fix [#1547](https://github.com/microsoft/BotFramework-WebChat/issues/1547). Fixed unhandled activity type should be forwarded to custom middleware, by [@compulim](https://github.com/compulim) in PR [#1569](https://github.com/microsoft/BotFramework-WebChat/pull/1569) +- `playground`: Fix [#1610](https://github.com/microsoft/BotFramework-WebChat/issues/1610). Fixed bot and user avatar initials not working, by [@compulim](https://github.com/compulim) in PR [#1611](https://github.com/microsoft/BotFramework-WebChat/pull/1611) +- `bundle`: Fix [#1613](https://github.com/microsoft/BotFramework-WebChat/issues/1613). Pass conversationId to DirectLineJS constructor, by [@neetu-das](https://github.com/neetu-das) in PR [#1614](https://github.com/microsoft/BotFramework-WebChat/pull/1614) +- `component`: Fix [#1626](https://github.com/microsoft/BotFramework-WebChat/issues/1626). Fixed `Number.isNaN` is not available in IE11, by [@compulim](https://github.com/compulim) in PR [#1628](https://github.com/microsoft/BotFramework-WebChat/pull/1628) +- `bundle`: Fix [#1652](https://github.com/microsoft/BotFramework-WebChat/issues/1652). Pass `pollingInterval` to DirectLineJS constructor, by [@neetu-das](https://github.com/neetu-das) in PR [#1655](https://github.com/microsoft/BotFramework-WebChat/pull/1655) +- `core`: Reworked logic on connect/disconnect for reliability on handling corner cases, by [@compulim](https://github.com/compulim) in PR [#1649](https://github.com/microsoft/BotFramework-WebChat/pull/1649) +- `core`: Fix [#1521](https://github.com/microsoft/BotFramework-WebChat/issues/1521). Add connectivity status component and update localization, by [@corinagum](https://github.com/corinagum) in PR [#1679](https://github.com/microsoft/BotFramework-WebChat/pull/1679) +- `core`: Fix [#1057](https://github.com/microsoft/BotFramework-WebChat/issues/1057). Fixed suggested actions destined for other recipients should not show up, by [@compulim](https://github.com/compulim) in PR [#1706](https://github.com/microsoft/BotFramework-WebChat/pull/1706) +- `component`: Fixed pt-br locale not being selected, added `X minutes ago` and missing translations, by [@pedropacheco92](https://github.com/pedropacheco92) in PR [#1745](https://github.com/microsoft/BotFramework-WebChat/pull/1745) +- `component`: Fix [#1741](https://github.com/microsoft/BotFramework-WebChat/issues/1741) where `scrollToEndButton` does not have `type="button"`by [@corinagum](https://github.com/corinagum) in PR [#1743](https://github.com/microsoft/BotFramework-WebChat/pull/1743) +- `component`: Fix [#1625](https://github.com/microsoft/BotFramework-WebChat/issues/1625) to update `README.md` by [@corinagum](https://github.com/corinagum) in PR [#1752](https://github.com/microsoft/BotFramework-WebChat/pull/1752) ### Removed -- `botAvatarImage` and `userAvatarImage` props, as they are moved inside `styleOptions`, in PR [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) -- `sendTyping` props is now renamed to `sendTypingIndicator`, by [@compulim](https://github.com/compulim), in PR [#1584](https://github.com/microsoft/BotFramework-WebChat/pull/1584) +- `botAvatarImage` and `userAvatarImage` props, as they are moved inside `styleOptions`, in PR [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) +- `sendTyping` props is now renamed to `sendTypingIndicator`, by [@compulim](https://github.com/compulim), in PR [#1584](https://github.com/microsoft/BotFramework-WebChat/pull/1584) ### Samples -- `core`: [Programmatic access to post activity](https://microsoft.github.io/BotFramework-WebChat/04.api/d.post-activity-event/), in [#1568](https://github.com/microsoft/BotFramework-WebChat/pull/1568) -- `component`: [Hide upload button](https://microsoft.github.io/BotFramework-WebChat/02.branding-styling-and-customization/f.hide-upload-button/), in [#1491](https://github.com/microsoft/BotFramework-WebChat/pull/1491) -- `component`: [Avatar image](https://microsoft.github.io/BotFramework-WebChat/02.branding-styling-and-customization/d.display-sender-images/), in [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) -- `core`: [Incoming activity to JavaScript event](https://microsoft.github.io/BotFramework-WebChat/04.api/c.incoming-activity-event/), in [#1567](https://github.com/microsoft/BotFramework-WebChat/pull/1567) -- `core`: [Send welcome event](https://microsoft.github.io/BotFramework-WebChat/15.b.backchannel-send-welcome-event/), in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) -- `core`: [Send typing indicator](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/b.send-typing-indicator), in [#1541](https://github.com/microsoft/BotFramework-WebChat/pull/1541) -- `component`: [Password input activity](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/f.password-input/), in [#1569](https://github.com/microsoft/BotFramework-WebChat/pull/1569) -- `*`: Updated [minimizable Web Chat](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/) sample to use `WEB_CHAT/SEND_EVENT` action, in [#1631](https://github.com/microsoft/BotFramework-WebChat/pull/1631) -- `component`: [Hybrid speech engine](https://microsoft.github.io/BotFramework-WebChat/06.f.hybrid-speech/), in [#1617](https://github.com/microsoft/BotFramework-WebChat/pull/1617) -- `component`: Use Speech Services token for [speech UI sample](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/b.speech-ui/), in [#1634](https://github.com/microsoft/BotFramework-WebChat/pull/1634) -- `component`: [Selectable Activity](https://microsoft.github.io/BotFramework-WebChat/04.api/f.selectable-activity/), in [#1624](https://github.com/microsoft/BotFramework-WebChat/pull/1624) -- `component`: [Chat Send History](https://microsoft.github.io/BotFramework-WebChat/04.api/g.chat-send-history/), in [#1678](https://github.com/microsoft/BotFramework-WebChat/pull/1678) -- `*`: Update `README.md`'s for samples 05-10 [#1444](https://github.com/microsoft/BotFramework-WebChat/issues/1444) and improve accessibility of anchors [#1681](https://github.com/microsoft/BotFramework-WebChat/issues/1681), by [@corinagum](https://github.com/corinagum) in PR [#1710](https://github.com/microsoft/BotFramework-WebChat/pull/1710) -- `component`: [Customizing open URL behavior](https://microsoft.github.io/BotFramework-WebChat/04.api/i.open-url), in PR [#1704](https://github.com/microsoft/BotFramework-WebChat/pull/1704) +- `core`: [Programmatic access to post activity](https://microsoft.github.io/BotFramework-WebChat/04.api/d.post-activity-event/), in [#1568](https://github.com/microsoft/BotFramework-WebChat/pull/1568) +- `component`: [Hide upload button](https://microsoft.github.io/BotFramework-WebChat/02.branding-styling-and-customization/f.hide-upload-button/), in [#1491](https://github.com/microsoft/BotFramework-WebChat/pull/1491) +- `component`: [Avatar image](https://microsoft.github.io/BotFramework-WebChat/02.branding-styling-and-customization/d.display-sender-images/), in [#1486](https://github.com/microsoft/BotFramework-WebChat/pull/1486) +- `core`: [Incoming activity to JavaScript event](https://microsoft.github.io/BotFramework-WebChat/04.api/c.incoming-activity-event/), in [#1567](https://github.com/microsoft/BotFramework-WebChat/pull/1567) +- `core`: [Send welcome event](https://microsoft.github.io/BotFramework-WebChat/15.b.backchannel-send-welcome-event/), in PR [#1286](https://github.com/microsoft/BotFramework-WebChat/pull/1286) +- `core`: [Send typing indicator](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/b.send-typing-indicator), in [#1541](https://github.com/microsoft/BotFramework-WebChat/pull/1541) +- `component`: [Password input activity](https://microsoft.github.io/BotFramework-WebChat/05.custom-components/f.password-input/), in [#1569](https://github.com/microsoft/BotFramework-WebChat/pull/1569) +- `*`: Updated [minimizable Web Chat](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/) sample to use `WEB_CHAT/SEND_EVENT` action, in [#1631](https://github.com/microsoft/BotFramework-WebChat/pull/1631) +- `component`: [Hybrid speech engine](https://microsoft.github.io/BotFramework-WebChat/06.f.hybrid-speech/), in [#1617](https://github.com/microsoft/BotFramework-WebChat/pull/1617) +- `component`: Use Speech Services token for [speech UI sample](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/b.speech-ui/), in [#1634](https://github.com/microsoft/BotFramework-WebChat/pull/1634) +- `component`: [Selectable Activity](https://microsoft.github.io/BotFramework-WebChat/04.api/f.selectable-activity/), in [#1624](https://github.com/microsoft/BotFramework-WebChat/pull/1624) +- `component`: [Chat Send History](https://microsoft.github.io/BotFramework-WebChat/04.api/g.chat-send-history/), in [#1678](https://github.com/microsoft/BotFramework-WebChat/pull/1678) +- `*`: Update `README.md`'s for samples 05-10 [#1444](https://github.com/microsoft/BotFramework-WebChat/issues/1444) and improve accessibility of anchors [#1681](https://github.com/microsoft/BotFramework-WebChat/issues/1681), by [@corinagum](https://github.com/corinagum) in PR [#1710](https://github.com/microsoft/BotFramework-WebChat/pull/1710) +- `component`: [Customizing open URL behavior](https://microsoft.github.io/BotFramework-WebChat/04.api/i.open-url), in PR [#1704](https://github.com/microsoft/BotFramework-WebChat/pull/1704) ## [4.2.0] - 2018-12-11 ### Added -- Build: Development build now include instrumentation code, updated build scripts - - `npm run build` will build for development with instrumentation code - - `npm run prepublishOnly` will build for production - - `npm run watch` will also run Webpack in watch loop -- Build: Automated testing using visual regression testing technique in [#1323](https://github.com/microsoft/BotFramework-WebChat/pull/1323) - - [Docker-based](https://github.com/SeleniumHQ/docker-selenium) automated testing using headless Chrome and [Web Driver](https://npmjs.com/packages/selenium-webdriver) - - Screenshot comparison using [`jest-image-snapshot`](https://npmjs.com/packages/jest-image-snapshot) and [`pixelmatch`](https://npmjs.com/package/pixelmatch) - - Code is instrumented using [`istanbul`](https://npmjs.com/package/istanbul) - - Test report is hosted on [Coveralls](https://coveralls.io/github/microsoft/BotFramework-WebChat) -- Added French localization, by [@tao1](https://github.com/tao1) in PR [#1327](https://github.com/microsoft/BotFramework-WebChat/pull/1327) -- Resolve [#1344](https://github.com/microsoft/BotFramework-WebChat/issues/1344), by updating `README.md` and adding validation logic for `userID` props, in [#1447](https://github.com/microsoft/BotFramework-WebChat/pull/1447) - - If `userID` props present and also embedded in Direct Line token, will use the one from Direct Line token - - If `userID` props present, they must be string and not prefixed with `dl_`, to avoid confusion between `userID` props and Direct Line embedded user ID (which is forgery-proof) - - If `userID` props does not pass the validation test or not specified, Web Chat will use `default-user` instead -- Added support for Cognitive Services Speech to Text and Text to Speech in PR [#1442](https://github.com/microsoft/BotFramework-WebChat/pull/1442) +- Build: Development build now include instrumentation code, updated build scripts + - `npm run build` will build for development with instrumentation code + - `npm run prepublishOnly` will build for production + - `npm run watch` will also run Webpack in watch loop +- Build: Automated testing using visual regression testing technique in [#1323](https://github.com/microsoft/BotFramework-WebChat/pull/1323) + - [Docker-based](https://github.com/SeleniumHQ/docker-selenium) automated testing using headless Chrome and [Web Driver](https://npmjs.com/packages/selenium-webdriver) + - Screenshot comparison using [`jest-image-snapshot`](https://npmjs.com/packages/jest-image-snapshot) and [`pixelmatch`](https://npmjs.com/package/pixelmatch) + - Code is instrumented using [`istanbul`](https://npmjs.com/package/istanbul) + - Test report is hosted on [Coveralls](https://coveralls.io/github/microsoft/BotFramework-WebChat) +- Added French localization, by [@tao1](https://github.com/tao1) in PR [#1327](https://github.com/microsoft/BotFramework-WebChat/pull/1327) +- Resolve [#1344](https://github.com/microsoft/BotFramework-WebChat/issues/1344), by updating `README.md` and adding validation logic for `userID` props, in [#1447](https://github.com/microsoft/BotFramework-WebChat/pull/1447) + - If `userID` props present and also embedded in Direct Line token, will use the one from Direct Line token + - If `userID` props present, they must be string and not prefixed with `dl_`, to avoid confusion between `userID` props and Direct Line embedded user ID (which is forgery-proof) + - If `userID` props does not pass the validation test or not specified, Web Chat will use `default-user` instead +- Added support for Cognitive Services Speech to Text and Text to Speech in PR [#1442](https://github.com/microsoft/BotFramework-WebChat/pull/1442) ### Changed -- Core: Saga will run after custom middleware, in [#1331](https://github.com/microsoft/BotFramework-WebChat/pull/1331) - - Custom middleware run before saga to allow user to modify default behavior -- Build: Bump dependencies, in [#1303](https://github.com/microsoft/BotFramework-WebChat/pull/1303) - - `@babel` - - `@babel/cli@7.1.2` - - `@babel/core@7.1.2` - - `@babel/plugin-proposal-class-properties@7.1.0` - - `@babel/plugin-proposal-object-rest-spread@7.0.0` - - `@babel/plugin-transform-runtime@7.1.0` - - `@babel/preset-env@7.1.0` - - `@babel/preset-react@7.0.0` - - `@babel/preset-typescript@7.1.0` - - `@babel/runtime@7.1.2` - - `concurrently@4.0.1` - - `jest` - - `babel-jest@23.6.0` - - `jest@23.6.0` - - `ts-jest@23.10.4` - - `typescript@3.1.6` - - `webpack` - - `webpack@4.24.0` - - `webpack-command@0.4.2` -- Fixes Russian localization by [@odysseus1973](https://github.com/odysseus1973) in PR [#1377](https://github.com/microsoft/BotFramework-WebChat/pull/1377) +- Core: Saga will run after custom middleware, in [#1331](https://github.com/microsoft/BotFramework-WebChat/pull/1331) + - Custom middleware run before saga to allow user to modify default behavior +- Build: Bump dependencies, in [#1303](https://github.com/microsoft/BotFramework-WebChat/pull/1303) + - `@babel` + - `@babel/cli@7.1.2` + - `@babel/core@7.1.2` + - `@babel/plugin-proposal-class-properties@7.1.0` + - `@babel/plugin-proposal-object-rest-spread@7.0.0` + - `@babel/plugin-transform-runtime@7.1.0` + - `@babel/preset-env@7.1.0` + - `@babel/preset-react@7.0.0` + - `@babel/preset-typescript@7.1.0` + - `@babel/runtime@7.1.2` + - `concurrently@4.0.1` + - `jest` + - `babel-jest@23.6.0` + - `jest@23.6.0` + - `ts-jest@23.10.4` + - `typescript@3.1.6` + - `webpack` + - `webpack@4.24.0` + - `webpack-command@0.4.2` +- Fixes Russian localization by [@odysseus1973](https://github.com/odysseus1973) in PR [#1377](https://github.com/microsoft/BotFramework-WebChat/pull/1377) ### Fixed -- Fixes [#1397](https://github.com/microsoft/BotFramework-WebChat/issues/1397). Patched activities without `from` field, in PR [#1405](https://github.com/microsoft/BotFramework-WebChat/pull/1405) -- Fixes [#1237](https://github.com/microsoft/BotFramework-WebChat/issues/1237). Added new sample called `migration`, by [@corinagum](https://github.com/corinagum) in PR [#1398](https://github.com/microsoft/BotFramework-WebChat/pull/1398) -- Fixes [#1332](https://github.com/microsoft/BotFramework-WebChat/issues/1332). Updated sample names and add table to README, by [@corinagum](https://github.com/corinagum) in PR [#1435](https://github.com/microsoft/BotFramework-WebChat/pull/1435) -- Fixes [#1125](https://github.com/microsoft/BotFramework-WebChat/issues/1125). Added error handling for Adaptive Card JSON render, by [@corinagum](https://github.com/corinagum) in PR [#1395](https://github.com/microsoft/BotFramework-WebChat/pull/1395) -- Build: Webpack watch mode now emits non-minified code for shorter dev RTT, in [#1331](https://github.com/microsoft/BotFramework-WebChat/pull/1331) +- Fixes [#1397](https://github.com/microsoft/BotFramework-WebChat/issues/1397). Patched activities without `from` field, in PR [#1405](https://github.com/microsoft/BotFramework-WebChat/pull/1405) +- Fixes [#1237](https://github.com/microsoft/BotFramework-WebChat/issues/1237). Added new sample called `migration`, by [@corinagum](https://github.com/corinagum) in PR [#1398](https://github.com/microsoft/BotFramework-WebChat/pull/1398) +- Fixes [#1332](https://github.com/microsoft/BotFramework-WebChat/issues/1332). Updated sample names and add table to README, by [@corinagum](https://github.com/corinagum) in PR [#1435](https://github.com/microsoft/BotFramework-WebChat/pull/1435) +- Fixes [#1125](https://github.com/microsoft/BotFramework-WebChat/issues/1125). Added error handling for Adaptive Card JSON render, by [@corinagum](https://github.com/corinagum) in PR [#1395](https://github.com/microsoft/BotFramework-WebChat/pull/1395) +- Build: Webpack watch mode now emits non-minified code for shorter dev RTT, in [#1331](https://github.com/microsoft/BotFramework-WebChat/pull/1331) ### Samples -- Backchannel: [Inject custom data into every `POST_ACTIVITY`](https://microsoft.github.io/BotFramework-WebChat/15.backchannel-piggyback-on-outgoing-activities/), in [#1331](https://github.com/microsoft/BotFramework-WebChat/pull/1331) -- UI: [Minimizable Web Chat](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/), in [#1290](https://github.com/microsoft/BotFramework-WebChat/pull/1290) -- Others: [Using Web Chat v3](https://microsoft.github.io/BotFramework-WebChat/webchat-v3/), in [#1287](https://github.com/microsoft/BotFramework-WebChat/pull/1287) -- Speech: [Cognitive Services Speech to Text and Text to Speech](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/06.c.cognitive-services-speech-services-js) (both subscription key and authorization token flow) -- Speech: [Cognitive Services Speech to Text using lexical result](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/06.e.cognitive-services-speech-services-with-lexical-result) (text normalization) +- Backchannel: [Inject custom data into every `POST_ACTIVITY`](https://microsoft.github.io/BotFramework-WebChat/15.backchannel-piggyback-on-outgoing-activities/), in [#1331](https://github.com/microsoft/BotFramework-WebChat/pull/1331) +- UI: [Minimizable Web Chat](https://microsoft.github.io/BotFramework-WebChat/06.recomposing-ui/a.minimizable-web-chat/), in [#1290](https://github.com/microsoft/BotFramework-WebChat/pull/1290) +- Others: [Using Web Chat v3](https://microsoft.github.io/BotFramework-WebChat/webchat-v3/), in [#1287](https://github.com/microsoft/BotFramework-WebChat/pull/1287) +- Speech: [Cognitive Services Speech to Text and Text to Speech](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/06.c.cognitive-services-speech-services-js) (both subscription key and authorization token flow) +- Speech: [Cognitive Services Speech to Text using lexical result](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/06.e.cognitive-services-speech-services-with-lexical-result) (text normalization) ## [4.1.0] - 2018-10-31 ### Added -- Initial release of Web Chat v4 +- Initial release of Web Chat v4 diff --git a/__tests__/adaptiveCards.js b/__tests__/adaptiveCards.js index dcc23b3002..1ba611d521 100644 --- a/__tests__/adaptiveCards.js +++ b/__tests__/adaptiveCards.js @@ -1,5 +1,6 @@ -import { imageSnapshotOptions, timeouts } from './constants.json'; +import { logging } from 'selenium-webdriver'; +import { imageSnapshotOptions, timeouts } from './constants.json'; import allImagesLoaded from './setup/conditions/allImagesLoaded'; import minNumActivitiesShown from './setup/conditions/minNumActivitiesShown'; import scrollToBottomCompleted from './setup/conditions/scrollToBottomCompleted'; @@ -152,3 +153,17 @@ test('broken card of invalid version', async () => { expect(base64PNG).toMatchImageSnapshot(imageSnapshotOptions); }); + +test('unknown card', async () => { + const { driver, pageObjects } = await setupWebDriver(); + + await driver.wait(uiConnected(), timeouts.directLine); + await pageObjects.sendMessageViaSendBox('card unknown', { waitForSend: true }); + + await driver.wait(minNumActivitiesShown(2), timeouts.directLine); + + const browserConsoleErrors = await driver.manage().logs().get(logging.Type.BROWSER); + + expect(browserConsoleErrors[0].level.name_).toEqual('WARNING'); + expect(browserConsoleErrors[0].message).toContain('No renderer for attachment for screen reader of type'); +}); diff --git a/__tests__/html/__jest__/setupRunHTMLTest.js b/__tests__/html/__jest__/setupRunHTMLTest.js index 58b45ef6ea..f2844e5e7c 100644 --- a/__tests__/html/__jest__/setupRunHTMLTest.js +++ b/__tests__/html/__jest__/setupRunHTMLTest.js @@ -21,7 +21,7 @@ global.runHTMLTest = async ( const preferences = new logging.Preferences(); - preferences.setLevel(logging.Type.BROWSER, logging.Level.WARNING); + preferences.setLevel(logging.Type.BROWSER, logging.Level.SEVERE); chromeOptions.setLoggingPrefs(preferences); const driver = global.docker diff --git a/packages/api/src/hooks/Composer.js b/packages/api/src/hooks/Composer.js index e760b533ce..9a0fea44b3 100644 --- a/packages/api/src/hooks/Composer.js +++ b/packages/api/src/hooks/Composer.js @@ -412,7 +412,6 @@ const Composer = ({ }, [typingIndicatorMiddleware, typingIndicatorRenderer]); /** - * * This is a heavy function, and it is expected to be only called when there is a need to recreate business logic, e.g. * - User ID changed, causing all send* functions to be updated * - send @@ -536,10 +535,10 @@ ComposeWithStore.propTypes = { export default ComposeWithStore; /** -// @todo TODO: [P3] We should consider moving some data from Redux store to props -// Although we use `connectToWebChat` to hide the details of accessor of Redux store, -// we should clean up the responsibility between Context and Redux store -// We should decide which data is needed for React but not in other environment such as CLI/VSCode + * @todo TODO: [P3] We should consider moving some data from Redux store to props + * Although we use `connectToWebChat` to hide the details of accessor of Redux store, + * we should clean up the responsibility between Context and Redux store + * We should decide which data is needed for React but not in other environment such as CLI/VSCode */ Composer.defaultProps = { activityMiddleware: undefined, diff --git a/packages/component/src/ScreenReaderActivity.js b/packages/component/src/ScreenReaderActivity.js index bfe142b775..2fa9489cd5 100644 --- a/packages/component/src/ScreenReaderActivity.js +++ b/packages/component/src/ScreenReaderActivity.js @@ -82,6 +82,7 @@ const ScreenReaderActivity = ({ activity }) => { {!!attachmentForScreenReaderRenderers.length && (
    {attachmentForScreenReaderRenderers.map((render, index) => ( + // eslint-disable-next-line react/no-array-index-key
  • {render()}
  • ))}
From 5b5d2862b793d6bde96d0f59f1496efc6bbe8184 Mon Sep 17 00:00:00 2001 From: Corina <14900841+corinagum@users.noreply.github.com> Date: Mon, 1 Feb 2021 15:41:50 -0800 Subject: [PATCH 4/8] Fix test --- ...nts-in-live-region-unknown-card-1-snap.png | Bin 17419 -> 18511 bytes __tests__/html/__jest__/setupRunHTMLTest.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-unknown-card-js-accessibility-requirement-attachments-in-live-region-unknown-card-1-snap.png b/__tests__/__image_snapshots__/html/accessibility-live-region-attachment-unknown-card-js-accessibility-requirement-attachments-in-live-region-unknown-card-1-snap.png index acc618d3b38db6698c3fff9dadcb7a0430bc37c6..815845cf1a2739007d4351179af2ed63cf66f17b 100644 GIT binary patch literal 18511 zcmeIacTm(@n=aZ0444Cg3AWm(pnytHiDqq3kStjxXB3be%v%xAMnEJfA~`4$1fju* zWF$D|$@&fz@EZ)WbTIyK*!b7oG}y;ZaS*$UYG>$TqXzE4`*J1>8F1^Xs;3Wc(Q zcIJc0|^(Ri!1sb}JBmAh@<;-Sfz*6vBs!#ZsbGn^Z(Gjf`=!z-s|GL2luwZprgdgT|NrBFH+ zYIiTCP)fazEbx4>M1*qa{(tTdUFw{_YxO*IM9phd#`>B({M+V+!sk>5etaG&+>@;B z-?qT!be?%~PE?kCcVXK=%<;P`CtGf=a@|u|QBjqwCv*GOtr(BFS#ihy7SWI{Q(>dx z^C~KjM|Mofd%yK_2Oc8WR9Bd!?& z8w9muj7pyJ@$#NL_f+ItrGktAtv^yncH`B5~Of^|o2hUtl8Y(eU@A3WyTh>U8R&}iMt~AriQ#Ti_P*PJ1 zz-GR1>B~IL?R%Q6nfrL_Vw#e(bJl?a2dFf;fW3+h>6X=rS_j>x2lC^zGLrDH&#(2? zljXd0>5_Bj%fQkp;l<}EqwC%nl^mdrHrkeHn3=_W&d=A<)eWv35Taabv<=& zEPLzIjEvIVXPo_hYGs&K?({QYx{ZYf1@$()tG#jaW^a=Nb7bqg)4tpRAt603joD7N z-Bq!Etbuh3l9yh;etoUy`+i~JqJo0gj~_qw^2xDjJ?3X%ojq{JZLG;*wEyF(DbZPl z-sYSJY8@WJwP@|ywLJs*JY!M;2IM(HLbk{$C}gA<7S+EglkV2iOEXh-nP?9zDYn3N zk9Nq+9cFTI)_bs;b2hA9dwChBpos9BgoM53^{KHdHi>*KE?&tkX>yyLBgLWFDc>Pm zK2*G}zxCr#sGg?g)1V-!p<-dRX!)%Yj{VQt+uQ5PpC3=OY5foo8tPU$w74bLHTko| zwVs&BNa_k6X>GEV%-PX{C<0nVeVTciSvCJmpF{4DCG(B3LZWu2l6h^CK)>Gd#Vfaz zKiY9R6(vBcSg=a+*=C(h#dd28vq^&2)sz3a>B&enIEo#=Ra z*fuJ%QvJ1lzEAbc7?btRw|B&Oq^;oR-Bxf8XNN-8>!Xn_E*^tcV(m0DIkHUh+WGV6ujl8kzkdBXBQxYtKtL3Bqse`$m#yBTyC!kM{Z2(^ zxIX^PD2ti=_3IfN-*^XBv$*^8+h!M*)JS)&0zPDI2Gc!0HC2R{O4YX6OEWIvJn}wt z#7ga@tpED;>mz0T`P;SJcOH@Pt`3@8BE&2I{{4H+bc>*7_bJP*;&x|Bf)CcB;n@%V zq~R4}RO8j0d(&!5o$SYzu{3PX%7VLh|4tY>^x~PmUg5ZUVS>gR5uC7@Ddt=a_I{?h ztZg8~z7N%Ut*eUWo$RiOz8ulci@}>y2|7`W0*0kp6VP{+)DdW)fDm`&Y2_X!oJ^qCj<= zeP-LKQ>Wq_2YzVgy3c5Ivx|?ueBiP3SD?%7x(sW*k>B5r(`Yp3@z%RD(z>YO(yW()~umNzIwH<=}P`q=aFi4)f5972cOajH0fHD$P4^G9$ha`)PXWPAW?p> z+403wG0V7n>vl~B*Nw;YH}~BIY%FnQbjC z7gb}lK#=cBy%mjy+yeV(!NET7L^Zs#*QPWx0< zyp(fO_uHiqwzvQLtk0Y>o|IIz^vtkwP!P^|%!|{$x^^Mq61HhmxpPyw^{+17#L?)e zb?4*b6TkZNZ%mEdox^)PX?{CnQ6CfOa`N&uA8s$RM<0@-I}iVUj%wDa)SExw-PV25 zr#0lTZGu9$^sfi4(WTNC}|RFMsyp%-FC0C1j-UCu$(^=*>kn3^$kV#>_V_BO||mdvO{~tiR>` z25xRE>_Q3}hUV+bpA&HU(=F-_OttaMna~sPsOeYQP6-PKOFE@sFjp1^2$dXaSr@*~hytVN$>82=|!1p>N%gUecF4=k8~q zAT{#XlF4Xt$oBG{v)ys(!K?D}^YJRN^pW0%T5P8oU_$!sWt{c#$qX}kg3DN6x_z#tAr71{&i!cHZ$e>_X`bZAglp=o&>|9fDIfRhU<38r{c_N zF&S>>=u!ip)=fyyTllO+(x}5}@p6jIxq&^_l$PD|S5SPmm;Yb*LyX?ZXB{QM(FAoE z7Cz4Wsb3r}qlcAL1|msrDNfSU^O#8!x9^Jl@!3nSJC>5GF%N@BCBv%e=YS*rr_JC3RG$}j2T+FE<;xKm4|d&& z8T>nUp2EzgQ+appjKe8cw`=CCe0Ayg3U0}9&aIVtXlUwqr=$@PPo{`X)-Xq~!I?9ETV-|bJbCh@&ftEd zvam#%nN9`Gch?fP@7TdhGp|Yb)}5T|{xVAAA_nOB>NwTpx^YV5wPvj?cpcSf`Owr$ z9~W(vxK^BeGbo7Lwg2eMc$=@f#SOX&ngtpq>qZ98{P}{e8AgCM1hEK}(${lxI@GAX z$#2WdF4&Ow_Db7u-hx%yHT$I}ey%GC67FCxS>h=tcp(k7AA927T7J#c80)$lY|F@k z#3@J1o1w@St=JTa$&MO2<|{oJBWCganfuISXX{-a>5lz+t^+5Vt~FS8RlM}-s*aDA zav42C|DSrm=UyO4(>ro!W(AU+z| zt_=d3kpPoF8~Qqg+7!YhW23{IWibF$FI;${i+5#apEMIb0aWxv^YQ*xGU1}+L*qItqvL_cWNEZV)I^$zH@X6T5dkXHIxvRQXmZl%(+ zGOP%C5CRk~ExRYRv7-Oryt^GQj~ zWDl_=xfmH?tP0b_^uH{ZXao9wg(`0tA82zc8trQ`-?nXAIxrj{U14Dg&TRd&qc@9- z_lk;EQ|l&2x_hE;Yq$Zg=_G6@PoKO6;Ux`2<-TNSI!ILx_6t=N5f;Iy!?3-D1Qo{-U& zsFhLr;p0bvJ$s7q4ivd_Wp3Vx$v9CJg(*7A1s$_j66RBK;aSdY>Y%rN5{88L8#Xc7}{o- z67FSVvNC#fi|O$Jg0yi?)zU3ATt@4R%UovjMg*B0!$V~<$qm-IIzY~5bty0F(=Fq{ zjmB&KJvf&;d*F~wi>J?)!x88eG&;9q%RGNDJvz{KBu>m3I;)baj&qt?vTh>7 zZ7R$mfm7GM6Mvb6oPo6#viq}27gOW{@&pR z6d~?B97C|lX6x*4V{7eD4EKF}N*z4eIrw+)*l~PnjFtQQ;=sVb{d@Pw39ZU;aS+gB zG-mXn`>Bl8N?NtW!VhoKrO7iP5vROhQcUEkU1DL~;JS{$p2A~!!W;t9c!8$_^*sBpy zlc+T%#mvh)!W^gDbye}T|NJ>#V{B}^hf4jF(bPUU;b=UKhV%_5cd)4|>-%i(ry&k5 zF2@?}>w11e%{N!Fvn$Qb&ZuJMcysMPR?#_^=gwUsJa>J3=$EFA&8q+bttcR0Eo_p~ z(616vhd%94NhhVHOPAuA{B>P=MOSPV>$#C%P+BT2HQ|-Le_R<5Yj`H}%%kmDbF)(z z=)2J)!|Xph3L2NPv^(Z1ZF8sk-icb)iwNjssSsQYp&|aT?JpC2`1|+oD?LAUdpc~W zj3D%t?^*zJ0r(`1j@<7hW1zdv&(cP*u96R>_n7#~U)NYiDPs?1xGYPKkC3XPiv8 zYU-*Tr4Rpp;Ty)`Rp`H`2)sp7aynw_^godBL@Bd4)x1^^jk_d+KpKJ%!#rl42wjj1 z6hvQr>^#<&D5#S)F2%I%Waj3|1_~y+uyWLaAE8&IpYr8)Ywlfu$u`9}mo%gD$UEAP-6g3?D#c%C!tN zN$6r+GUoDb;y^q<#&+`5DF{I0eT(&aY->@LS*>?A4};53=njTw#!0qyg#Y;Z^=tXh z0zbFzp}|2BtHwhFXL7oAx_`O3N;+n4b}X0iyCh6Xi)^6V+T-Fg%eVn6D=_C&Utd0X z`_7#>ATdpbYv$T@>t;4}xT0G}1HX;*)G0eO*#~YqXqAwfnmS~~15%lsJFAHkQcF(Z z+un(g%zAGxuS!gnGcF?S-nQZX`Vg%K-8o> z4=ZK~s>5*L;M{xRqJUO#Q#4V6xc7i3@kb4HLU240d5neGA}y(g_!_YI(0`{p@l5H;Xp0OOJaw}|pE+*v7b z=+Jj+`xH}eZnD;vv0(b+DwzuqiT0uw;9MAjnv2m!%a58YNGp&WWy?LWisb%)D%-ZncGmk!Bq2@$^5bHUKas0+eNpxvZu z9%K+v_vvxDEb&DxVyv_<%Cui_aC| zXc7PJ-Mg6`?!pHSh+O@7W(EbBdq;SIO`45Yn|O-Jx9vIoAC}$!`|om$3cKIs+kkY= zt&*AU7nzK&jKqcHtVl1qMTl1@}K@gmHoQk6GI*G8gGn%#aq+D*eTQ7 zU9XoG6;(djufKlXI$MDbTitv2?wK{D_ojs{qD)_&Pc?bA+psO)+$dIT1HmB}a&fn-)1eh{< z+QM23b9F6^ocrG|UMk`lzw-zkZH+y(^6xb}sTcnET05Jp!VVv||CHCeuknw9IJw<+26n2P^e2@;wE2ps^-*sTDnzkrq+1lxa=a8V&Ndb3l<)+U>eE8_HW8Pra+&u^G^Y1eu+ znFIfmz{e)8PI;@+ELUd=Hth`2f@m{nfQ7|LUuXX?3)Lj;i8+PxZq-n6`%9&V<3F&5fxPhd&&LkNIAcnZKYkT(o1rF%rNB(OG>KIfCm$W zG*e9&E)^%eHmDjIMX~(Wan{R-iK!8vA@BNvG^kU|L5M#a#y?Fzf|?H!&^^%+KGu}= zwXkr|oEdS_OIC?t>jtYqB}qH8Xm;;m%9%ON-@Y=l7l@I8scHZ7>za|iCap4=x$LV~ zua?$72k(uff_(jLXz;v{ZB5-N?S8iA+MuPDA|>B#WO5B#s8?SI%TtJUtQ!wTpmSoG<^dup~%7 z=Fqw@6&_PNtJU?Y`)@WzjHy0)sj+ zL;R>SW4UwHa24EaF;Bf2<3E=93+iY#W!WoVy_$lzj|S}cTI~L{3kpY-j05afLiu?+Ynsfsqr=fvC zj7qGMyJeZc%DiovnVFv^)DytT*_`c9Je!xNNWk*R|JWbK4IvP~YJmb#ue#M3+#7$H zoE|Dm?mASv;Qu9}Yj=QFJs%%;^h|Si0uzsB2nYb7nXiceVSZBK><;s z?yu*IAdt5rlE$!IhIhGkE!}zwunCOcq%!Ip!%+Xr14SrrSaA*vPPi&&EqT`oonFt) zodoX?W<^ItSrM-=rSyz~f>8M=l(`L?Hkr*0$;|0PN4|Y7T)GLLGtrvK0E)cYE<5BX z`G+}T1r7G7C#6C_)UdEfU~v%%3<7x(ae>0!MuU2pxy%hhx)yYcJkNQf(Dmz~mYH0+ za%E=$v|i`tiCedBeFyR%6mV&|zId;oU}hEPVq*Lk*zdy<%cDAbY|MDTZFe$=+E2CE1WrG+GMa|A&KR zK*|~bY?eLWUo#BH8f|?cm=+WlLm)8*e0g(_=~@Xev{yi&B;v)3-sg9@`OC`^{*uw3 zzv58jv+LYo-M|&~SW35|ooAn1B-&tcaSwso&Ld_p^#>BerCic!DUdau25IXZ4Bww|$g}%9V5oiNxr2QB_LXP!IOI-+!VTO-V_&vR84f9dND%j9 zka@^rF{Y@r#jCi7dzB%3`tQ}K7#k0^W+-ZFYctx!Oe=ogFL?)}VS+nwx8gAfX@waU zpx#{wIUqA~1@g(8Bl!e{;iGVD-W+Tl49TwxOy)5aR0 zy20?vUZSAZn>4Ghy}l?(pGb6P&U|&MRR}t8k{~(1o##ZL*SUdEZGu><(EtIY!^IVv zD%;}49a=c7ulER>b|&b{(Pw(}n8aU0&?g!eE$2Ab#*G{K)e@daaw{-KoLWdlgHc)YNFODIkM~}YEj&2FcJhi*m{Cf&-FQEXBwR-ex$eH+3T~N-ry0p z(agR@+{TekfNr_kgc8{Ield><$RqKKVTTbewn@a~p;>KGqNgW?5bAK(!F!~U!Xf*O z1EmCt2|L`wjS=5KVm=^V)rerFf-0cT=nyekP(1wY+e0NGhn0~VIgfreJ6W6C1>O^A z?=v^uA;Yn0Q(Tyo%cPq`D|E8+V0Tqu%sBtDFrh13-rr2aVO+trFE2v}LaQ`rfe^%ld5hqX?hwyL3Z(c3j_^TdF?U4SMe{n55=24{SR#1>e{sAaD*nl0@8oI_WLte)rVj?Y#A0L7b3*aZ8N89v_3YmGmDQ ziT`AN-o=16G&I!dHf`ZAC@iGcc8|EYFjj4{IRlFcg2c1N#zu1~4sABwWOYOk*q8LP z>YtE|;M>ph{;3^3IH#^j$y4^v@u)$a!7IeM86LK)PSTlTFYPOAW#5!% z-+{cAA_$_;)FG0!LYJ^(GqSU{VO!CXm0?`Q?Y-r&5|MYT>y`;+KZ9QtgNgeTjhHbr zszp;mh`_ER)PY}ESQ%M3M)BFZt9Xc`F|^edLJ|9l71gaD@A?M?#e$#Ovzm2K$Np4| znG=|8kAwIQ9lC(pRe?>c>(tI6HP!QmeaVt?Yw)CMZafh?~D)0UQ`TQ}{rn!qCa=AooI68cCR$KYuB{IzmZV*}l#Dpc#yvIK>xt zn6@1o7UL-pUfFv1>IpsfiI+Y+GD(ORkjRgn4BXJCqULeHQ1nRHM_Z*`FVM+zG� zv#(keNF^NyGDUrkO9qM90hGznNxBC9?`|jpm1EzF?WV`C5UC&XEPS!MjJa7C@?%Gj9wnOyab5*FjqA5uuKB2?mJw%S zUjSpB0>mT{0Jze7JMH$BoW(qROm&05Qdn9VKqb*O==MrD130!QqBaR5Xuv3B#g@#f zL@jkaw-J9xi2O9oe;I`E5D@h7$HYVzKM%K>O7q{NUK1VeuKBEC^IGe*^WVxZgc^wq zr|qxeZx1#K1Mc$TvA|*o zTV#;0OHKUrb1!>|6*6neN}C-?_9!SOz?3M_>JSjEXP^^eHF#;!3vvLq(g5&|bQE)r z{s)flzY{dc%`Fjx???K!l~rGL$SQYzED)5<^{eyJ=J(sWdjvN@Ekw-k*VGM*7Fozu z7_D~zg6t8tJ(SNX3P1|x$AdjdD9mjB1*JD@{r@)-Em?8bXM5h1RXsnxn3$o!UKoz& zA*`ic{>;u4BS;X=?XR+M57FqW0SLztw~uq{kP=$3rfxEmY0lQ7{v(df8O2E=7P0|* zW68up4(WEYW7`U3Jk<#R0CY;ODR*~5*c8Epcjn@YDQ_RfU(*|K? zMc%r#5LxH5B)59@Y;pCb*$6TK%*Dhg<85&|M~Ss5Au*NEj&VR7I9P6>))SD&s$QI4 zg}UVjVEB_94i#_L%C+lMLX0)uCA{4-O7yZOA7=Iuc{%$YGdOMBc+URA0(+kc8UAukmD$899zUYAWzYfsbFp!vuHu zjr@mHhwUqjQqU4)e8riAI7Fu44)jP=WC7>}d_1DVgBuWLahltS%AA-3;E5*M`sYud ze#6yqFPoE6iy^MohLD<>IaHRrCN`3=TLZ&0#LJ{B*xIG%o4DOU6+PEsFJ?X*97Yy4<^sEsCxO4&BYrrY~qG2Wc zNtg!&frgfyFA1~`Sq@=Kf~cECOwKdhtkL;hdS2%j7bhSOPs}~^YQ_k_Wg0r}W<*|tf{-aI zIQ4+*l93UTl>3uw&5z$%PEyCN`CFu%Q-gv)yuSm=B6SCUWoLo(+_Wt-9RW)b+9*)n zlOPQsA!1z+y3??Ht9TW)4x3x%G>eec0a`k$!LfUOA7!?RDO zgR98B4|}+5yz{&97a8HvjXbXX*GUayn-$0kflkrsB`502Qjh z2N7uBNu+P_Ydud`+&vrNdQ5P;NOITB&6sNg{DXH%bbrUGXZ*bjE8!)Fa4?v#=jQ+$!6gby%SO?6)u+X?;!1dM_6om#J!I~LzKcGp;ej;6 zB8>LbGk`5BNF)FF@naa4f;rr1&TMDK6I9h!8Fxu$3ILC;4UccWZD~8m&+h(lqbP(r ze*>db!=O#T=U;E)!5MZO$69rMjsr`V#BT`YEz>kMnuK(s8g+JKu5T?Oe1E#iuH_(2 z31~X;COnn5%(oS0^4Rk-hWAI z@aqnUIX`*JcI@7L2Jo-~KG8@?P(gd0@iiz)OjV+|``(4#-gPSv)hG zoUSmJzQaUyA&^IJ>TUm)`MbG%CnkJK|AmyKb+qjju7ol*)bvy%#o*qLwzf22e)CDK zN44*mlXDrKL#+)x)2WUFmodD}f0sWe04Ei|1YGWj_vV9YV0uX-!<1?EH6}7mSBnJ5 z1Ch)iKrOnqWO4H+cx(9xH$L^Ce-fmEJrsvB_$>4mv;YV zXnwrOwJwR#^9~iTgyah0mtSA7_;GNsOIpV*=4vpPzyDsswy^*5%JIXw3sz9Z4X@PA z|EJvN-@w!0l-%lZRcp#yNwyiY1-Ty8E@-(#l6kcKq@ei?O23xBzyC|zHX?hM+&jbg z{3tkBE@WQIf%SY!kw+Z1y_K*eZeIEDm=V*##cF#Z+_=Zz3f(D7$jXu24r?a@nwi}%r2~HJc z-hqkS@}+T$=FTdfB=k;!3$KnK5?_u+OQa*_B!nDuILVVgyoBt~0se58X!&aLeS*j< zpo*rVeZ%)Z{pWI3Cq^&7R(g-2lqscO?rqoDvyS4R7mx#xb3FqM=}-O(6O05X=t$$N zB1~Xn7su*n@QG#VvmG9@r{VBcBb||I&6K89Ksi!nxH^%4?khR?H`LY$%+46JSJ`vt z{HcUAA`3xCQ)DHRHw7OXGFh8h_yLOc8g;31j1iKOBzOxfA|AklUoqkn+t`4kBs~%b zlBR?qg84$)8`OKUG)QsLBe$Qt4`uQc(UaoTlanwmz80t2cdMx;YN}%5Rlo}-mM~U# z&)&T~U19qu+S}ON{a!sIcjJKH%)z$EP<<+58i7E1NwV9`8#i1%RxVj`9&8MPF~{oF z53P0ng<%IYYBuZ)9jSS+`(y9%M=FTqO2 zXC>jclXs-AU$dswt1F0gTnZ(5eWx}U9MO{iesEO;I2RC13Hm5*i40?nNcNPhG18gX zM^%UftaE26Z@I_a*ziNfcf3X;e%X2r>MmS5`>S?V-<_Wv@Me&H*aP!Nzc&95(A0Rl+dw;F%DyJ zH-{dH=m+%3SiB?KWZ-g2i)P!hDY!P%aR>iTZj@#tBFm_;rBFf^FpU;de12?L{J(yg z>_8V!=t?EHxj>Gnon0!?@SZ$*vS51dHX|i zv?qmiRPQTP4pP;)>Zx0DiArN-5BVVK>hRt&%dRs5KvZ`mlQKT?1dm^hdDqgcr_y%6A68UWCReTItcp|J1DSY&n}ko1GOYj<_@SkSSJN{Pq_|6g zWQf>zsgS-1IYH6RZdhnTH#`TD{{q=o@3LXT#gdmKTdt433y}y{GiRQbEX^BXoqgs< zr;|$*grY#bEf8AU9q;V*Q4}G_ETn}aWu{wKO#~=lZE)&UF|kA;zNA?-Y0AuwzYw!- zPJm&DUU8goxnswUQE9+bl>}n}Y2ucvK61x3TOAso1E_@AHljdG0kkKJ^kyT#ktPB> z$jv__7s<_8DEsCxl!z)%#75F-$mIZ8St9BoizPEdw$YEJ`X00pp`;|pXDW1(6Xn~s z?I>8{w=t$iGP2T$;_YU-lF&QJ#XG}oB9I8}UJg=FR-2E+`i&c7gM^LE@NtN()|Wjb z|Bu`_?hE6(!*3E-0a+xT8B`;}N*VgmQBhrpd=aVwd8@<43UX0T?Igr1H^kc}XQx>9 zM1Hz^Hy$6-3>J>{1ITFRkkcmtRyo$Jd5+ySLBa(qqK43=V5jlI5C!xSm?P3|`0d%*AKK@O=TE>4n3xG6)W;XWYo5XhxU0z8?ydQclHachet zxr2g;d_lSe=v2ms4o-GpB9)MLWC@(M1LopYk0ME$D zwSn?gRab8-Isk8acyx3S7pPmWX6_ae+O_tcO<&_-5?{l3yrG-S^SaSQL`h3a?)2%! zkQWRQb8O6U2}HQ);lqb{SnDNsKlU_atctHL#EULnbQ7=pt*Obo$!al|>ei(n&Qz({ z{k6LM1`9vh?D#6|yzo+7tUB%L>U!4r2am_}JkO%`icwg44}*ifsI(^~M(phDCRSEa z85x0yv|XK>bp!moA|85S?*>WkRW0*Fg(#H81LXGtAaW%lD!Rg{3F=3P{H{PDy_(S( zhzqId>1IwY;bo_(v$WEhlb+Y!N7E5Nn<>g===JfO2yR)U}m=!Y%W-W|5@ zT2H}spl$2fTd%!)ePQo~M76@g!g1iNhlUfk+bP_>cOeu!K@ToA62?k@w-B41>=sI7 ztUq}PNBn#5HALetWM1VB4Gpb#^N#Xac!~P$y5rly!a`ZZ*$ZL*zHaD+9RY%M%HCe| z+_`fvHmx}DT(ca0@>^{|K|Myo%cWIn7IvHd!c~f2tOT_^tu{}h6~eEwnx%%F-Oe&} z=u~hYuFe^siHV6Vl8z6Pk_3^1JZo$FCSV7P#fnZ$6o|54(PDGR^LpJ=3~3>^aAD(8 z*VwjVqc@|6rKR1!y5S{l4n1J9qH}Y@>)sgWhwKm*_Jgn(dVcqbt5**gy$O2ybQ5-s z^zscSu5$(~IQvxO9#DsA?7cJ88xgyyyLK&D(7EyE`_+}qhXDb13JfaJPivjNv2TlL zN$ZHSp7ZvwCaVq%=<%6ZMTdRzF_aY#0|WDM>85{b2LE^nx0jSuRXJ>nhfL?$OK>e; zyL?e6i)9QCaeuy~%jg4m<;z`~kThMsXaVwzFJHZS`0JNZqt!t=^;<)O9Chu+$9vRn z8tq>1{L;mBR`R2w^44z=wm-k!c>fm#LeafCbh?!IcrQc)h?(v_(awpx3kUJb3uwoV z%}4w%zxUdU%Fa`Jv0@!)>m67IM@WSBxxkgZ&i5lsa^*zQJdVsHy@=g$)N!NrkZ966 z!6On|R`y(zfXB9jmzT}2;8tblgTucjJY%djd!Kr6YDdc6A)x71;$vqz7v|{tHuV0& zhGSd%8Z(bOIUU~Dzv>8`DzHQvzdNF3rT^W&?rxWF0=XNy97urv;o(LkGv_V1o)Q^( zi%wr#-_S5H;krfKZV4*+V=LEd$t^1@YihngZjZCy^x;Uqy4L2Dy{nwc@UY>37C$5` zj9XJv6EGF)W%EhD+BLPlf?H17`2(8?m&wV4qM`%+t;YpwxAbCX_BX&gJ&3ZSQmOlJ zE$l<;ErE-xPr3sI^)uiZ9tkX7Vyka?0wBSn{Bh7x~QF2jnE6D*!2+W<&uhCoySnagRA@%4pwhmk6eG_$Fg2seC^btPgcN7fS;32sv_I(V zj)3^B8Q(hZ*VL%ZzwSA@8TIgDH#;2V?R=Z8l|ZG!rAEqJ9ibq_$p+0~%LWR{n^o`L&>+6)9qLyGNM8 z?GegKO1RUw$ZLbZc4=wu@UpuRyEQMm_@N-df%3XX1|gF|G+I9YI%Q;Je6x-x&U}UtG{dTI_h1BV3 zS7&EufRV*+Zf=N=D5|L~S}wWWy7BF!J9ie5$FQ~*s*F}J1~l2Lnfm*7Eq+JFd)An+ zb#wNU8Nom=218mtT>6~8{)-wuMJ1((t;(93g;0?vpm1TMes*+_D+1m&j+L@Ui;V5QX_B;ih+T_c@2$wWgWQ7;&Cdv@=}^+Y+T$23o(7M;M02-$0Q{D z#B~epEW4$5KfVWmbebIIgRycEMyM+?5U#kdUR7JGtfS*yV)U_X;JlVrycF$0n$N;* zns&}@mJ8cWlnj<{WWgNs0U`lt`GViPQnD-Db$%Y;YaPQ)LN_@Ok);)yy?r{}eSJot zIVvhD%h?~}i==D7Xkv_ZpW40#B=7de){98UB+pE*yB)C`EseJ9D_S9R*gKdVxL7*w zlN;KvXFKrYq?x&STCYd73JXW7cL-so%g%@L8{)3rkLbq{>gw)(t(jOHDlwL*ospc3 zU-H3yWwb{_TwMGDZt-em_IW7o<1)bAsY9Xi0JaaQ_pl3SH_e)E?CZRqHjmc|1Q=vA zpgF(CXI4?URol&0Zq!b=jdtQPH@rV-RL;)guq1?}B&-u~aOyH`cWv;xjT$rA!F@~J zcpumIRMU0d-rhYplQjCPItvR}56hpgYhIGZ)273ve1FI4CFgZ?5=$Z!wTdxWw@AA_ z0T1X0Xv%&Qyl&yq@q?R{J@3qQ7+Z*K24$>g9Qo_W$&;U-@t$Ejy82e2@Gr`W1yv4lCvmC4kl2^ z@rY!}90AE0?%K}Gt-4ij?whH3Q}zCsuCm&0Ip^Eo-oLQc`mOCh7cZPyw}yQUg+f_J zJ9|orLRn%+p)9@i$4dO4RQ4Y+_}3C^r86fe$>lrxD3o0k+Nt9z4$pozJGwkF__4S+ zNn5|k=M?o+V(O<&%TrHn+^5L5Nt5q%W87l}KGV1Wqx6Wi13|_H8g-}p9>npatEsBS zCD|oK)owL8VY>171as0OWpp!hwNl{3xQk@>u*Kj&_MmTHiR+-X)ln}2Sqg>e&@{N3 zLP_>Iw(M5aA3~H%p8vJq^eb%Zoosd2RZUP+og8dl^y?^?pJ?RKNQ-T8VkWtWNmHC1 zawl7y<1fF7-m%`}d%8)C<7ju58s|}qW6M^p_w)AlUb&7va`XNRO+|5GqSoDVD^{&y z{%ZfAuGN~ND`vRozeF0?s&bXdEBMcYZ;dDJ^qI-D~{rM)t^iH60Q)X&+ML55VOhJNKN4ur-P*c<3@RB*P z%yT2}*YY0_5>io+8uzQNuBOsb@@L}1oca$=PfeYrZ`!nJ3l~?4i0StO($YHG**1zw zN_48xNaq(GwZxznhmLi$>K~sTvhLiOG&9cBwf)7=ah9KKvi26Y`x&c|Zk%PNc}OSs z(jyL0wG^Ga+E~TCdB5JTrAJ1b@s4+2T(CO20~;8~Jo<1epOT7--(cRPjxDoZo>wjL zv+xBQn>2CT{!XW7!NG9`;jU__sj1nE3$u04k1vy&AFE;PnEm+A=KlJmr;<`q=~i9m znw^L8l4na99E*2;{=6xLW#IcYGR#7$eZC6Piqj)qWRuR)OB3Tl4eqCQ&a=dhkd|X?w76)h}a_ z+~x7%MNF8}Igj-_>C}DP+&ugCou;SVY&eo`)~tbjs0j&h&el55i(@ zZf>mmskzR$!TMb+rKj~P!c3{bfx2!DR4O&7x7X0u*SABX6)!jX;~{@GCkv*DptdaII)_sV+x<>TYieXc%P+vHrpA)_OLf{z4>+qk6IMsMIZ9#8yeTfUcK<_=v6B#tJ1$W?v+FG$jizWu~u;1 znzhQ?iY-^y(t0NQh&>92+S|Igkb#7y8hv=MP9w)IiPPoRamGZR^JG1aDedZq2a=1Q zEas*xL&a^+IZyobp-Rp4M(}99O{5+?eE0&Q(%)tw>`i2X&T%|b(ap_`#A1qg{YY1d zuu1(PT2IQg;zt}YXE+@{+Hy7a*%*I*vfIqNIo(8EHCgL20^ZJKj$`AF9fx9S;+{O& zAbj)N#o390oSRR_nG9ymP<{hKPsE;Tlr`_mtH-08t;!{k)Aq6-?CxD zbLYXVGc_>^fz*Bb_y7LPHeHw9eRB!kC^xZk!AFu)bMx|8H*6r$nVEU?#`Wu&I+vGZ zT9%*R=Cxf=)}L2BprD`to2*r0Kh(lUTeEt#B_FSP^0UZM{x{6Jgus~F5fKrroSeys z_&B}d$LvCePfT*f9JqG@Bc`D=U&xSX`PGg3yGkr05d;i8+u^o>~%IB-Y z^>9w4Do>C0n4rQs^+g4$q+UBMA1bbD-Cdg1m9mwh72J3uPAls*wack58--1aDJd!0 zly4=D2&cv=$6U~Ob>%inQBts=f$>mF9?E0TU^eq`#$)BTH!ts_QZuE@E?#`%xs@-z z?5U{k+rz)twC$SP8}*=NEC0M$5hlgDZCeaUy@3wI)AZ{`mf6W6^{SVrS=rbQ&_+f_ zYf!6VP<7Nld9o_MIB~x=&)MD;$#d@9IVF@nbK^luQ-|GiW^G(VZ0rH~5TP&WKRdi- z)KGT!?Ab#NEtpS5`9jF_Hf32S|DpTk^^FoC=ZTvPJ!~r?=fd&h$4Na!>QJ=>BDXoW z-CkwW`FUgB>|hSP+=E|OSePLa=;j%rTj0hnsPCngc&R-*MDG0glF@I2kKI!X3y-lL zx^z)y?$=!}0ddP8_b!A>yEa=Mwrw|_lv$kietWaw<#0!FPP#6Nj!l2S=X~ z?|ucf)_hlMQ$~`eDEXg=Fn{X!&jw`_x16Mc<;&-~wB{bSW7+bk+>dJdgxcHNyBiF` zg;9l)$5*dj9gUAfBgVM7xr@?F80DzAnf3e{X`lUgRKG4?xiVySsGxPMzpi8ppGK|A zuXn2g^CYs2>v)ti%(QFXnrha(IJv4OL7m@vX3R*>O8^x_aA9E~8eyVe8YB>X)@Kj5 zv~)|NR#x>~>*9R4&-Iy!0h708&BiFYqZKlu029Jd=lqW-Dk^gG@O&L+CV2Jg z)oA^)5dE&N{@pbSGQwo}SXDQGNjCrn_n||jTX@w<<-#PVvuAau#8A>o$xaEGHGLZ! zYHfWcVSkvhqvDyE9vZ*l>({TfN)R=rgUvbG-WjHi`lzA$ckbRTi=_F=Sy{c_{@0aT zKGz@oxt-43e2g+uezjD!Wyvy1liJ)@j{h=5`@bN(eua&_E7or94Ran;{6gPnKE>AR zzL>`@YL*Ci()vEQISWuGa$=w{!LaIOhBHs0Za^`*TV2%oZDKpt*Ck$7#@1!@Gg4A2 zD=(6w$E>hY@JS1jmpZ6ErB#wEauZi_`h1 z!2H7OP{z$Wbd|(Q0(_TVwS{DGNlGTWX6Tnc6C(hZx17EOrLsZw&4>2PtS{Z~riMGl zdn3GCY6Z3)){4!t?rC|seaWjY!U=ZWrQ265Umk1G{yzBzN^Lb7SQ6Q11R1-yO>A{d zjqPBQnACKq@Aua?9EMAe~`@z>Yrl{CQOA;o;#r&I7`XZ0nx#IMnKF6tKED<^7+Eii`oQ z>5=>eb4vTp2dE@zqzl>ht1zS+Gt2|2sEmdHusqt?Y0>geqqhs{#{!t)JOY113bI}A z-@mVomgfL+{#;R^V4go6&AfzG!+zA_`S%R-l=4ssUMvtOi!`Id&SC1wT5;L7OvHs9 zJrdc<^f|-n^P&Bsv2na+hjzcex{e|iEM)oPRK`Sse+9$3LTW!cI}SJQ#Qil^;-Q{i zUMknF{ZQ>$+cXSp)lu|FmL4o-9i7z%ICkXp!>z)bx#cYQB>pcr3#E{arjHWwpFx#^ zML}(CR|MVW92gx4@TZ_JIh@{HGA+wjt;*qK;SeeH<5e$@jErQ{^CAUn^_n$D=yGrL z%S!L9-VAhUU{yBsX`8N)uyO5Q#ok<^Vq#+5WumP@VPRq1!oqdHcTaYolq(6~lee>b zYf^sNbBjR1;zEu<(QlZklAu;*n+s0C?(XhRP$OO)Xe3%8TsnEYIonnc6*Kqd957MP zvu8U5uYLSO`PG%qjyUzpkLZH}gs}ir7ZK>3Ihe*2T%M`L^`z zkr;(=JCj@hvDee4uW7Vn^T$wdp z*>~K!{MBuS@+Nuq>^V^uBCO1;PpSj;Vax!P@b21mjMNxv+?98CNc2cgwJpn7IC9i& zF7raDcof!tmd@!qrsxm)M<efo}Qjc*m*7f<3OxQ zPo6x{T6F+`RY^(7=I6Im=K8Imp1*!sfB~N;3r7jjVv-u)lINU&lwMSHbUX^Wdh^1GO8~bvW4($|k&&I^?npEspzMYBak>Th zJgV`LeKj#9Y!L&E8KkDofTK}qh)`wxY7R?@iHR|Bp?xhcS3^vgxMELSTwJson-k9$ z=d^_{&c$$FcoxJ|V~kHM?hWHtP^c*BUNaZ0HO`p^P)!5_?5;6L9=&{Vm7S3g|JuuQPFb2FM)#M5sx7X1)cteWgGcPZ%QQv}cj=S5= zpFeLspLOxY38zkQY zKfehy+cLDxcT!)pttR**NE`A2F=l<$pl&gp||RMc_%5JSW>nJ0&LK z8=V~-n#Ne8kuxhf*iVQ&;L!_MFYR)$Na#>=ZZL-n{9QAvqWdxHaNj*ge5`^DY zew{;obN)X&zxdW=nCsH4@|Nd+&+E8R63{in(u8aPtWri3MuIWjevM1p??hA{x$(6Z zSzwpfSzw{+_%15^$5|S!swdoiP$L{{0$7)c_FFJ`esb;aUJQb4ecBwI_Z$w;b<;`l z#kHIW>l$z()qEGn>6sbQC(zwUOMQ|>N*+vkGHodUCzNF)2Jmk%cwpv zcr^=)D8P>}TCy-obFw|_Ha?B(1mZ!hF+gL!IWswAj&|0g(F)|Gj4o@9FADDL?9>`M z3-0)}Hc69_X4+V9(_8tD;Og;z?to#FVyc{^AuOn0%BCE7cH?F)E^{bMrRVwcu7kMB zqfVC1O^-ej=xH7H_Vhf0qvzhU=RNtNEr%{u=1zP!fi4l|zTl{wtR==6j*$z#Mpgwv zD~Ff;{dt6lcKFD*G$Y^NZ?b;9h%dK1splehSFSrkFMWReE-Bk$_Jhy*7%Ac8hm2~X z9~o6g{&P9aunH3%aMV&nq+y2@r0698yxabkb zsP$ROl=A1vV-leB0bQd{D8FK!3}qbs8pt2cv^;g{lpD)xiu;;r&R*( z+0gDKZ3??v%`GVuvp>1sEc97erErmd z|Nb*zhw5r-^#fsRMsC;isa(189J*?bh#jOe>5A32o<8Q3;*pV&VdYWjwNqFzy$chX zg9i`t=;UT37T7Ge0Eh~9S#PbAPI8QvvZk4{Xefuxws=DW^*ZMQIll$v~l%jMVYx%qj2fBz^Dfk&7aR7j3` z;T84*xPAKcsSj!)!&S#DXvvjFA3uJSG!1|9VteB_s=xQkArN{Xt2Cn;x!X%ul!~^xbW8|9j*?F|t|K3u9xmo81LFEU zQlbU}Z9fIf-cIX=gkn|p20IpwgV%4$v`oIiBKhl<5p*;>s5?sY_qXt6;gkI9u@FwQq#pk!gAPAT|#pEi8zVCdu_~7EgWP#?^UZ1^Zy1z$X`{YS5 zXHihoZ52*sNIy@%cI{f)wNGnk)!6q~ER6?JD;T&hb)ezRnN=*D(1wymgoZT#IkwFH6~6gv zadA&P6YMkouy!^cEK3Nq+rqQ~vTgA70HWPm3VWOe`eDt-s}%V;DLBohA$8vut&xgRTgPK_bt7v^wSj-H#>)3@ZVl+-BT~X%)K~k;O ztX*4DlWV?j>AI$Op4<47{rvnAlDV*X8gFmLZQLtM)I*-juOmUD?3+7grlxvpPpZ9qN1Y6WHl>bajZtcxbpdJYTT)RHsQ+xkoHkTH37|{MLa`2itG2 zwCEtj_lCZHJl>NC9hiwHp>)P$=sEK1*To3gM`;%AC&;p)b14_N&8x(#9HjLO>FN&j zPuyO`S&3{Af{tg}l6x7XvJx%HZKu3-o83PeJk2X>eXYDdOkkN&s zgZhx;D$$-lJE;7KUAQ(zfeSL38iu}AudaSbGiw%KhuM3&ww#<7k|O~kUCzQDlkaJ9 z`P1DTB+f976cwI)diwcoiAxQyZ;V4u>Id({l(Fj8l4W3fqVtmli~dw86h32cYD7sL z<~hWhfz@J}N2P&`< zsx_zERJ+NbwG^g4AxAA=V*L^jHR_XGpIwOAdg#*gbN)PW(5B*b^0LW)LT8PKM3Fpz z=i9awE;)VXOiqBXQT3@+>vvp4<-2p|j+sMC#+?tHJv+@Pj&wi2Na$;gQtLV+a_79V z?)+ED+o2ye;{IV_ZaFcxUFcz9hhu8`CMI0Cgs%8Nmfb1irgi!9Wz1kcueuPUeEat8 zkzW==--C#IC-c)1O2D2<%9Vpl*Zn{J#%fVrgHpH&^zJpXXFmq&h=Z12mP9}O`0dzY^X5HPJ(dy<)Wj&~L3i+u9MLvIF#$>ym-?L|l2%jGDZe%NorOwXlkPvx5 zyCGqz$05s}g21eIfqjBOG0>c&PEWHR(h)ZOu7Zw1kA%QYN}pLp=&@x}%Dk%a ze#GLyr}>slS7zGoviJoB_15R>=;$QNK&(3e5J>k63E|=5;$nzHlzo4HEiZOkHD0AE zOv)MOafny}?%zMSd-w4owt?0HT@20aoClZV@OR?}Q6a6R%1cXaw40qA9D1wyyK|?U z(-UCz@!)d1^udFL49tZg7d#Dlh<8>}R@U}@Bp~iQkqBg?8mF`mwM!w#Za@h?*45Ru z51UTT2V>R>)_LY`#L*v!-?dv0RbmoCpwl`Ikyr?r^zv0TY!MhjoTa&Rbe4{) z6aj$2i+93jFk`aWS@Yq;NlX_?Mzv70;&k1nPeZE;peFrG_k%%$1kuu^OVgajjnPOI z>BP7+|LX&bV|L!|VeZ|xBPUoH49BP}o%=%4ji3nL(Gl1f`xwH$V5B-+|qF zUfB641Q4t5PK1!~YxWtGSi0au@iwlF+8H zB-5|4Ro@=E{Pgs6R{k!IOje*be{^FE`C13#DD{@JulMotK0MkH0GPiasZkcFBYc&l0Rw)JVXEsygMmh#Q#xtfJH@O{A-rpW_C`$%GjaiI(O}C= zLzhvs&gW|f5CcWLV#EVX2zoW}NGaHRYFEl)3dX@_=mywn7APKo%5?i|0B~Y{6PX>=M2O? z>$2ewEHWx^m2?dZBtg|QM0+NCghG`vwIfk8;{tdR)ZCKvTxgU|-N6P_8VG?? za8s;UvEty-qn8vUhfgJs7F@!Z@B3TR1PpS3e{!T2HRpG%T(!ysdMf#_3W^n37kpSK z+4(2&W7mUl7RojOvvYECHulPaK(*U-b#?cCnVOys#_THyhl}1{p82*R%Q^-& zjP*N1Oj4Z8JN&v8*?zDF&tBdPRLU zA?+VLo?;B&CEktI!k0(fGC;2&D%*i&eXa-a>kfXmgYO2DXHoMoFe519WIF8Y@89)Z z|Kr~q@dsEGYlS;DNS1y%$Idjl3xMVbpuP>x-hy)*GN$U!?MFUhX%a)ZdMGk@P%dn@ zMGOW5Or|P5Nn*6ZyXTcnUp2RghzKJWwhU9?C5ulz9mZyzi<*VH$MfAhJGd67JYXP5 zM2%&FkJO_$%H1lnN;}iy z>Zjsj673|O0rFObidh%gvP>-H;tJRD-nrhRba9rE2^!J~DBh5Y#Mj>F{pe8{Yao21 zuoNGI15ezd?N-2HZDJQWc<9j2c(Mc9p_pmqub9EfpOcr*yXgp*0#MF=hU!xZA`8&zRt+N<2O<^E z(@AeY92;ToqVf9rKfpWO=)>4dW0VCA*j$8D!cvM$O3tGwm8JiLQVQ2$H*6xKU2ORi(dkXSSW_%Wx6}MMgJ09YtIE7!J{lY|+clTi zX>cN0(pR4Vi4j_X)S;KRZUXTA_n1b5{3lH4dEi_#O-}fL%+Rq8U#p(@<;$1k8wIcx zV0w)OVS>x)(6)qhKrp!ayDZWU&7wN|`X8+S*kwMlukziyckGf5uVf$Zh+CX3Sgc{_ zx+ei?^b^~*i%TvUrh3IfSs|Fv=r6XWKV#kQ%!f}owj z1=t@Cn}{sHo}!#w>AG-bbnZ0wMYnZa(po@EAxCa_qNQ7xxe`?-F7muPOOc+j)qSW9Ok-(z9}m;oUhZ!|CHgMn8Siy22o z9268(ZgrbY%C-ZMN+r|n`)jxH071e2OB_hoy{fR^#PYt#fQb_o%t05=c7 z*nr`jsEf3vr6s$VRU|Q+*ClIf0xf1?-m<^XMJOc_BWOZX(9)7#o_-jQs?^_-mjjc` zh|Rb&F~0O;JX#MYZ!FQO(!JMJ?7o$2$tK!bMT2MY?Afz!6~!7wZ0MgaK}sRl!;-E4v1yrKqwbx; z6sKi{WnY-;9GUY8EuiE6fUOYsY?L=Izf}-FHf93@L#)H_4>QxD3BJb=o__pE5q*Kv zaLiu&PU`>9ioIXsZ9DPMbFfELWKjykHBd}JZGlr@Xb)Xy4SNO*+Ba_8X#UknX-g^X zv*G#cuZx_VgW4Q9|FVzH|2}E_jXfvbqq-I^r(V0?T^`D-=k-0!D5AUUY3r{x4pB1| zq&{Tg7aYCt9;1srvx9HZTo55sK1;6E%ojc)xSBZT>bP-bMQNqzC!o38(=Q(GPlC^Zj8sZQF3Q~a& zx~r!ruweh6l#H`st<=&4$bE(onnJ{F<6)_QlEmHzQ>dkhF1i#WTuM^X4<3x#S`|kJ zhfWQ3bYQUfuMCDdjIrX7N$p@Z0wLg)kkCXO7Iz$>s#j13516f*LER@D8lz)=+E>s@ z*BOBHliS=6wtQ;k7{C_bKoj7eAl7d}sr(OX&%ADAAB06)`NDQL1vRw*T-1moP9M}LQ6X+h(|WVkA4gGqi7@uYpaP`iBmsSS+k1wFhO%Xz zg@z`9T4XNF!RFHoT0)P+XkJ}~--WB6v{|8cD3-CXhG`(=sR#M^V(%Pj?J5|ciF8G`0eB+Q1L87O#g2h=8^MSJ z9;t%1B8(OUDeoK|+kqPdhe6e`flL@F6aoENSy{U#BDv6D%btlTo97NcpvFP@hk?JOv6#ZtFQ>y0wu?qQr4x_|;>2$Nn9TbXsVMfD} z|955Scai8RT>fXWCMT}E6FQx+rv3L;3HxXsV3 zVPR1}cC3&~WP)$)7{n3&oDgZpkw|Df=5-qwwJ%SvB?y<(9hZLAtY5E&lhQ7M7BK8l zx}q@r3|v2?iV*E!uqg|2!}N!1t|d$7=OuBz06Gz9ldYHDjFS-&IO~8jWUpO`fR{tc>0%8C(Zg?H# zwm5HZ+M2K3*VhM?yavzWhr07SCB^{LO%PP1N}f1z!Unb?6tQ#aJM2+5NE8#BZ~U>_ zOOv5o@iX8S8pj1TVn{?}*MZ#GqC=2-2GBuOar+0PcMpyDhif54Yo)BgBrh2fA@P~f zBXRlaGPK<9sd^rW#VAmn5@LRFA?wQnO?MirI+K3=%ch-@4i}+EWe?@gZow4q@*Dj= z)I>5)e$^1sl9{WLVKN&=v91BXTj$_+Sl`6YgD+gE*>^Z;18 zh3yBmY=>I3i`ZQ8#;~6$V^OH5n1IdDFq=yabNI0uC1Av}V*$z&p;D|HH@0i!W55P> zT7tE}g>?2%ZG&;1@4h^+z8zbZ$Mymvg!Ngh(oZ*jE0-%yA-rtn;CxTBJe8_Y#FaHVlshrojf~15H8>e$!1o59W7Q~H5EuMw!M|R(HZ#_ zdM-adwj|xCMixmC=uuqf{t-AHmj>=ZZr-wS;|pLy1j|`mT7zkv%w!JF`5NN=aMdZi zHrLS_D(9347z?K%ujpaUO=6snFh z*a9yv_)eyq4$+GdT99ZDlG;wD)VS)!%r)yYSguv_X?Onj865g=^na2?DiXVEgz`b4 z7Vg;cVRAM1KziLsVD_EEkU)qu4M{cAY_nFTXWo>^F?4n7fo(V>AX|ve=Wq`SCv1>B zI{?w?#ful&^#wz?adDEAPViV&pFOA35U32P5n_Cnb~(zZOQ-rDRF`=>Y+;>NW?3p) zM27oDT#r=x4siiI)NE>9QGv?yeQ{v5&~HJx>7?Rd>xrIGo?aG}vEs1g1!O2t+UqxO z#^**WdcMPYcm@n#eP;$zZ)9Yo8elDvOxjTF$$`Sb07d?~SJqFR;roWsNQb^1{8Hsu zLY-ym!yzBtLqG<^4xXu1!awI5fGZTF>;M#|q52VRjc`Tc=q1<&Y7mBVncXwkPWhm} zj)UF+z1V9vyF>I$9xe})Vmj#@wriiiz1BL>b-bBVO>m(<0orroEx)3bOuGX8&}GH7dyD{u?8LM z#rSrW7TF;|K)vHJoO4TdYnhfE8i?G-7#|_z+R76ge4YNMgNTKN}8IPjZBXk@bL2PjV_!ItTWyxA;A$|VIa3^ZCq^Zm76!c_;vFU8Q)r4 z4Xmu_7&1m|4fXMP*Wb^B!HuNb99wvWM>13PRWtXS2D!_Zx5vlRgMx@dC?vXl*x~Gj z3q=EV))p3py}bu;oAKL#9Ysw|?c$dEKY#uVAI!LPC`gWb>(;Fn;-N0{GycKB+rwns z%gf8x7Z(@fXR%n^;I6H&f5{YAR#x5^_0TZcXG1G4sBhBY4ix&%-jFcsx%gUlsQ#XcJ6gM^PfQoY|NlimjlO`{}Pgr=| zV|EEU2S;#l@Ks00;L=jLkdTn0l9HY1N4REC+0a0?)UctMF;ozeK;7XsFDkVF{o@rc6P|*P-{(9)sn)`pa00q%ZrWwIx{nqZe~Bp zx8aYTZ`IztPxucX z28>*W1Ih)l36lw(YDD=0jJqni7!lwU{_Gi>x2TB79@(RMNeQ8d&B4JR!w#=Bl5)|A zFO+lqxw4_LQSa*2+XDlp8X6jdow@E2s54H^&M>tU_u0HWux500^y8;b%?;yQSkA}h z4i^ibha_QOYWiqq#_8FG{qgZj*%C(T84SI6{;}%nO>f@3f%Co1D$C8$RwwQ4+qZ0N zY`ggQ)@3xBmO5-GsJJOo)6(*o!MtH;_{V9*R}DAQGBQfGh+FcW=wO@N9lyyV+GuQi ze0zf7iNzq;uGzS_3~X)vaowf4F>v#Vzhy3~ELpc$Z-A|and)1#5&Pjlrp8*O-S;*W zaQEMOkP!7bKK}LFw=0hwKfa`{u1|>{5+Cc7H7MwM{wk$HoZi^ZOh2$kL9j z-F?c7erxNAzuERJ;k&m%;2im>YkteqHk|l)V71}ydw(moQc@FhtS@QJ;P2I-P-v$w LoJu}%<<9>Cub+lC diff --git a/__tests__/html/__jest__/setupRunHTMLTest.js b/__tests__/html/__jest__/setupRunHTMLTest.js index f2844e5e7c..58b45ef6ea 100644 --- a/__tests__/html/__jest__/setupRunHTMLTest.js +++ b/__tests__/html/__jest__/setupRunHTMLTest.js @@ -21,7 +21,7 @@ global.runHTMLTest = async ( const preferences = new logging.Preferences(); - preferences.setLevel(logging.Type.BROWSER, logging.Level.SEVERE); + preferences.setLevel(logging.Type.BROWSER, logging.Level.WARNING); chromeOptions.setLoggingPrefs(preferences); const driver = global.docker From 5dc2d8ada1dc7690e12074dabea01eb5769d63c4 Mon Sep 17 00:00:00 2001 From: Corina <14900841+corinagum@users.noreply.github.com> Date: Mon, 1 Feb 2021 15:51:21 -0800 Subject: [PATCH 5/8] Linting fixes --- .github/CONTRIBUTING.md | 1 - .github/ISSUE_TEMPLATE/question-template.md | 1 - README.md | 2 +- packages/api/src/hooks/internal/ErrorBox.js | 1 + packages/api/src/hooks/utils/ErrorBoundary.js | 8 ++++++-- packages/api/src/patchStyleOptions.js | 1 + .../src/adaptiveCards/Attachment/AdaptiveCardRenderer.js | 1 + .../AttachmentForScreenReader/RichCardAttachment.js | 2 ++ ...reateCognitiveServicesSpeechServicesPonyfillFactory.js | 2 +- packages/component/src/BasicTranscript.js | 3 +-- packages/component/src/Composer.js | 1 + packages/component/src/ErrorBox.js | 3 --- .../AttachmentForScreenReader/AudioAttachment.js | 1 + .../AttachmentForScreenReader/FileAttachment.js | 1 + .../AttachmentForScreenReader/ImageAttachment.js | 1 + .../AttachmentForScreenReader/TextAttachment.js | 1 + .../AttachmentForScreenReader/VideoAttachment.js | 1 + .../src/hooks/internal/useRegisterScrollToEnd.js | 2 +- packages/directlinespeech/src/createAdapters.js | 2 +- .../README.md | 2 +- 20 files changed, 23 insertions(+), 14 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 4ef5d28e06..0f858f4c49 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -117,7 +117,6 @@ If your development box has less than 4 cores, you will need to reduce the numbe Our CI pipeline run tests with 4 agents simultaneously. If new tests are added, please make sure they can run simultaneously. - ### Troubleshooting the test suite We run test suite on every commit and requires 100% test pass. If the test suite did not complete successfully, they are likely: diff --git a/.github/ISSUE_TEMPLATE/question-template.md b/.github/ISSUE_TEMPLATE/question-template.md index e1e0a509e5..539937ccfd 100644 --- a/.github/ISSUE_TEMPLATE/question-template.md +++ b/.github/ISSUE_TEMPLATE/question-template.md @@ -20,5 +20,4 @@ This repo focuses on the development of Web Chat, a client/channel for Bot Frame | Bot Framework Questions | Ask implementation questions related to the BotFramework SDK | https://stackoverflow.com/questions/tagged/botframework | | Bot Builder | A comprehensive list of Bot Framework SDKs and tools | https://github.com/microsoft/BotBuilder | - [Question] diff --git a/README.md b/README.md index e176b3f5fc..63840e5f51 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,8 @@ This repo is part of the [Microsoft Bot Framework](https://github.com/microsoft/ > This section points out important version notes. For further information, please see the related links and check the [`CHANGELOG.md`](https://github.com/microsoft/BotFramework-WebChat/blob/master/CHANGELOG.md) ## API refactor into new package in Web Chat 4.11.0 -The Web Chat API has been refactored into a separate package. To learn more, check out the [API refactor summary](https://github.com/microsoft/BotFramework-WebChat/pull/3543). +The Web Chat API has been refactored into a separate package. To learn more, check out the [API refactor summary](https://github.com/microsoft/BotFramework-WebChat/pull/3543). ## Direct Line Speech support in Web Chat 4.7.0 diff --git a/packages/api/src/hooks/internal/ErrorBox.js b/packages/api/src/hooks/internal/ErrorBox.js index 69d98ec578..a5437831ac 100644 --- a/packages/api/src/hooks/internal/ErrorBox.js +++ b/packages/api/src/hooks/internal/ErrorBox.js @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ import { createElement, useEffect } from 'react'; import PropTypes from 'prop-types'; diff --git a/packages/api/src/hooks/utils/ErrorBoundary.js b/packages/api/src/hooks/utils/ErrorBoundary.js index f7c90af392..ddab8e23bb 100644 --- a/packages/api/src/hooks/utils/ErrorBoundary.js +++ b/packages/api/src/hooks/utils/ErrorBoundary.js @@ -11,13 +11,17 @@ class ErrorBoundary extends Component { } componentDidCatch(error) { + const { onError } = this.props; this.setState({ hasError: true }); - this.props.onError(error); + onError(error); } render() { - return !this.state.hasError && {this.props.children}; + const { children } = this.props; + const { hasError } = this.state; + + return !hasError && {children}; } } diff --git a/packages/api/src/patchStyleOptions.js b/packages/api/src/patchStyleOptions.js index b9d5500608..b50a248695 100644 --- a/packages/api/src/patchStyleOptions.js +++ b/packages/api/src/patchStyleOptions.js @@ -22,6 +22,7 @@ function parseBorder(border) { const PIXEL_UNIT_PATTERN = /^\d+px$/u; +// eslint-disable-next-line complexity export default function patchStyleOptions( options, { groupTimestamp: groupTimestampFromProps, sendTimeout: sendTimeoutFromProps } diff --git a/packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardRenderer.js b/packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardRenderer.js index 93d609c098..b7b3dc643b 100644 --- a/packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardRenderer.js +++ b/packages/bundle/src/adaptiveCards/Attachment/AdaptiveCardRenderer.js @@ -11,6 +11,7 @@ import useAdaptiveCardsPackage from '../hooks/useAdaptiveCardsPackage'; const { ErrorBox } = Components; const { useDisabled, useLocalizer, usePerformCardAction, useRenderMarkdownAsHTML, useScrollToEnd, useStyleSet } = hooks; +// eslint-disable-next-line no-undef const node_env = process.env.node_env || process.env.NODE_ENV; function addClass(element, className) { diff --git a/packages/bundle/src/adaptiveCards/AttachmentForScreenReader/RichCardAttachment.js b/packages/bundle/src/adaptiveCards/AttachmentForScreenReader/RichCardAttachment.js index 86b2d1d1de..eb49468f12 100644 --- a/packages/bundle/src/adaptiveCards/AttachmentForScreenReader/RichCardAttachment.js +++ b/packages/bundle/src/adaptiveCards/AttachmentForScreenReader/RichCardAttachment.js @@ -1,3 +1,5 @@ +/* eslint-disable react/forbid-dom-props */ +/* eslint-disable react/no-array-index-key */ import PropTypes from 'prop-types'; import React from 'react'; import { hooks } from 'botframework-webchat-component'; diff --git a/packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.js b/packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.js index 360c4ccb36..8b3ed82cf1 100644 --- a/packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.js +++ b/packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.js @@ -69,7 +69,7 @@ export default function createCognitiveServicesSpeechServicesPonyfillFactory({ // We will not need this code when using Speech SDK 1.14.0 or up. // TODO: [P1] #3575 Remove the following lines when bumping to Speech SDK 1.14.0 or higher source.createAudioContext = () => { - if (!!source.privContext) { + if (!source.privContext) { return; } diff --git a/packages/component/src/BasicTranscript.js b/packages/component/src/BasicTranscript.js index 2af5ff3187..481852573d 100644 --- a/packages/component/src/BasicTranscript.js +++ b/packages/component/src/BasicTranscript.js @@ -704,9 +704,8 @@ const SetScroller = ({ activityElementsRef, scrollerRef }) => { } return values.reduce((minValue, value) => Math.min(minValue, value), Infinity); - } else { - return Infinity; } + return Infinity; }, [ activityElementsRef, diff --git a/packages/component/src/Composer.js b/packages/component/src/Composer.js index df24451ab0..9bc1ab4454 100644 --- a/packages/component/src/Composer.js +++ b/packages/component/src/Composer.js @@ -30,6 +30,7 @@ import WebChatUIContext from './hooks/internal/WebChatUIContext'; const { useReferenceGrammarID, useStyleOptions } = hooks; +// eslint-disable-next-line no-undef const node_env = process.env.node_env || process.env.NODE_ENV; const emotionPool = {}; diff --git a/packages/component/src/ErrorBox.js b/packages/component/src/ErrorBox.js index 120c9dea8a..99339ab9a2 100644 --- a/packages/component/src/ErrorBox.js +++ b/packages/component/src/ErrorBox.js @@ -29,13 +29,10 @@ const ErrorBox = ({ error, type }) => { }; ErrorBox.defaultProps = { - children: undefined, - error: undefined, type: '' }; ErrorBox.propTypes = { - children: PropTypes.any, error: PropTypes.instanceOf(Error).isRequired, type: PropTypes.string }; diff --git a/packages/component/src/Middleware/AttachmentForScreenReader/AudioAttachment.js b/packages/component/src/Middleware/AttachmentForScreenReader/AudioAttachment.js index cdb720dad2..3fe4d8bea8 100644 --- a/packages/component/src/Middleware/AttachmentForScreenReader/AudioAttachment.js +++ b/packages/component/src/Middleware/AttachmentForScreenReader/AudioAttachment.js @@ -1,3 +1,4 @@ +/* eslint-disable react/forbid-dom-props */ import { hooks } from 'botframework-webchat-api'; import React from 'react'; diff --git a/packages/component/src/Middleware/AttachmentForScreenReader/FileAttachment.js b/packages/component/src/Middleware/AttachmentForScreenReader/FileAttachment.js index 752f17eed8..95bc57a2a3 100644 --- a/packages/component/src/Middleware/AttachmentForScreenReader/FileAttachment.js +++ b/packages/component/src/Middleware/AttachmentForScreenReader/FileAttachment.js @@ -1,3 +1,4 @@ +/* eslint-disable react/forbid-dom-props */ import { hooks } from 'botframework-webchat-api'; import PropTypes from 'prop-types'; import React from 'react'; diff --git a/packages/component/src/Middleware/AttachmentForScreenReader/ImageAttachment.js b/packages/component/src/Middleware/AttachmentForScreenReader/ImageAttachment.js index 060215e653..f6728db1a1 100644 --- a/packages/component/src/Middleware/AttachmentForScreenReader/ImageAttachment.js +++ b/packages/component/src/Middleware/AttachmentForScreenReader/ImageAttachment.js @@ -1,3 +1,4 @@ +/* eslint-disable react/forbid-dom-props */ import { hooks } from 'botframework-webchat-api'; import React from 'react'; diff --git a/packages/component/src/Middleware/AttachmentForScreenReader/TextAttachment.js b/packages/component/src/Middleware/AttachmentForScreenReader/TextAttachment.js index 0d3d1ab5c5..c6d5cb72e6 100644 --- a/packages/component/src/Middleware/AttachmentForScreenReader/TextAttachment.js +++ b/packages/component/src/Middleware/AttachmentForScreenReader/TextAttachment.js @@ -1,3 +1,4 @@ +/* eslint-disable react/forbid-dom-props */ import { hooks } from 'botframework-webchat-api'; import PropTypes from 'prop-types'; import React from 'react'; diff --git a/packages/component/src/Middleware/AttachmentForScreenReader/VideoAttachment.js b/packages/component/src/Middleware/AttachmentForScreenReader/VideoAttachment.js index 04c75041f2..efff299809 100644 --- a/packages/component/src/Middleware/AttachmentForScreenReader/VideoAttachment.js +++ b/packages/component/src/Middleware/AttachmentForScreenReader/VideoAttachment.js @@ -1,3 +1,4 @@ +/* eslint-disable react/forbid-dom-props */ import { hooks } from 'botframework-webchat-api'; import React from 'react'; diff --git a/packages/component/src/hooks/internal/useRegisterScrollToEnd.js b/packages/component/src/hooks/internal/useRegisterScrollToEnd.js index 4033ecf856..91ecbee72a 100644 --- a/packages/component/src/hooks/internal/useRegisterScrollToEnd.js +++ b/packages/component/src/hooks/internal/useRegisterScrollToEnd.js @@ -12,5 +12,5 @@ export default function useRegisterScrollTo(callback) { scrollToEndCallbacks.push(callback); return () => removeInline(scrollToEndCallbacks, callback); - }, [scrollToEndCallbacksRef]); + }, [callback, scrollToEndCallbacksRef]); } diff --git a/packages/directlinespeech/src/createAdapters.js b/packages/directlinespeech/src/createAdapters.js index 129b0bc245..0b201126a3 100644 --- a/packages/directlinespeech/src/createAdapters.js +++ b/packages/directlinespeech/src/createAdapters.js @@ -79,7 +79,7 @@ export default async function create({ const { privSource: source } = audioConfig; source.createAudioContext = () => { - if (!!source.privContext) { + if (!source.privContext) { return; } diff --git a/samples/01.getting-started/i.protocol-direct-line-app-service-extension/README.md b/samples/01.getting-started/i.protocol-direct-line-app-service-extension/README.md index e0a083da31..1ba6e38d22 100644 --- a/samples/01.getting-started/i.protocol-direct-line-app-service-extension/README.md +++ b/samples/01.getting-started/i.protocol-direct-line-app-service-extension/README.md @@ -140,7 +140,7 @@ Check out the hosted samples and source code for other CDN bundle options below. - [Full bundle bot](https://microsoft.github.io/BotFramework-WebChat/01.getting-started/a.full-bundle) | [(Full bundle source code)](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/01.getting-started/a.full-bundle) - [Full bundle with polyfills for ES5 browsers bot](https://microsoft.github.io/BotFramework-WebChat/01.getting-started/c.es5-bundle) | [(Full bundle with polyfills for ES5 browsers source code)](https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/01.getting-started/c.es5-bundle) - [Direct Line App Service Extension](https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-directline-extension?view=azure-bot-service-4.0) -- [Cross-Origin Resource Sharing (CORS)](https://docs.microsoft.com/en-us/learn/modules/set-up-cors-website-storage/) +- [Cross-Origin Resource Sharing (CORS)](https://docs.microsoft.com/en-us/learn/modules/set-up-cors-website-storage/) ## Full list of Web Chat hosted samples From c801ad72026f7ebcb498a2ef5fa0ded074999a17 Mon Sep 17 00:00:00 2001 From: Corina <14900841+corinagum@users.noreply.github.com> Date: Mon, 1 Feb 2021 17:35:32 -0800 Subject: [PATCH 6/8] Update prettier & eslint --- lint-staged.config.js | 6 ++++-- package.json | 8 +++----- packages/api/package.json | 2 +- packages/bundle/package.json | 2 +- packages/component/package.json | 2 +- packages/core/package.json | 2 +- packages/directlinespeech/package.json | 2 +- packages/isomorphic-react-dom/package.json | 2 +- packages/isomorphic-react/package.json | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lint-staged.config.js b/lint-staged.config.js index fc79c206f9..27af537e89 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -6,8 +6,10 @@ function prettierMarkdown(filenames) { return filenames.map(filename => `prettier --write ${filename} --tab-width 3 --single-quote true`); } +// eslint-disable-next-line no-undef module.exports = { - '{__tests__,samples}/**/*.{html,js,jsx,ts,tsx}': prettierCode, + '{__tests__,docs,samples}/**/*.{html,js,jsx,ts,tsx}': prettierCode, '**/*.md': prettierMarkdown, - 'packages/{bundle,component,core,embed,playground}/src/**/*.{js,jsx,ts,tsx}': prettierCode + 'packages/{api,bundle,component,core,directlinespeech,playground}/src/**/*.{js,jsx,ts,tsx}': prettierCode, + '*.{js,jsx,ts,tsx}': 'npm run eslint' }; diff --git a/package.json b/package.json index 85885c7be7..32982bfa17 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "homepage": "https://github.com/microsoft/BotFramework-WebChat#readme", "husky": { "hooks": { - "pre-commit": "lint-staged --no-stash" + "pre-commit": "lint-staged --no-stash --config lint-staged.config.js" } }, "keywords": [], @@ -25,9 +25,7 @@ "bootstrap": "lerna bootstrap --ci", "build": "lerna run --ignore playground --stream build", "coveralls": "cat ./coverage/lcov.info | coveralls", - "eslint": "lerna run --parallel --stream eslint", - "posteslint": "npm run prettier-readmes", - "prettier-readmes": "prettier --write **/**/*.md --tab-width 3 --single-quote true", + "eslint": "lerna run --parallel --stream eslint -- ", "start": "concurrently --kill-others --raw \"serve\" \"serve -p 5001 -c serve-test.json\" \"lerna run --ignore playground --parallel --stream start\"", "start:docker": "npm run start:docker:build && npm run start:docker:up", "start:docker:build": "docker-compose -f docker-compose-wsl2.yml build --parallel", @@ -75,4 +73,4 @@ "xmlbuilder": "^15.1.1" }, "dependencies": {} -} +} \ No newline at end of file diff --git a/packages/api/package.json b/packages/api/package.json index ce4097dea6..1a55debb09 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -21,7 +21,7 @@ "build:babel": "babel src --copy-files --extensions .js,.ts,.tsx --ignore **/*.spec.js,**/*.spec.ts,**/*.spec.tsx,**/*.test.js,**/*.test.ts,**/*.test.tsx,__tests__/**/*.js,__tests__/**/*.ts,__tests__/**/*.tsx --no-copy-ignored --out-dir lib --verbose", "build:globalize": "node scripts/createPrecompiledGlobalize.js", "build:typescript": "tsc --project src/tsconfig.json", - "eslint": "eslint src/**/*.js src/**/*.ts", + "eslint": "eslint src/**/*.js src/**/*.ts --fix", "prestart": "npm run build:babel", "start": "concurrently --kill-others --names \"babel,globalize,tsc\" \"npm run start:babel\" \"npm run start:globalize\" \"npm run start:typescript\"", "start:babel": "npm run build:babel -- --skip-initial-build --watch", diff --git a/packages/bundle/package.json b/packages/bundle/package.json index 9ba9a248cc..a45b7e64ec 100644 --- a/packages/bundle/package.json +++ b/packages/bundle/package.json @@ -21,7 +21,7 @@ "build:babel": "babel src --extensions .js,.ts,.tsx --ignore **/*.spec.js,**/*.spec.ts,**/*.spec.tsx,**/*.test.js,**/*.test.ts,**/*.test.tsx,__tests__/**/*.js,__tests__/**/*.ts,__tests__/**/*.tsx --out-dir lib --verbose", "build:typescript": "tsc --project src/tsconfig.json", "build:webpack": "webpack-cli", - "eslint": "eslint src/**/*.js src/**/*.ts", + "eslint": "eslint src/**/*.js src/**/*.ts --fix", "prestart": "npm run build:babel", "start": "concurrently --kill-others --names \"babel,tsc,webpack\" \"npm run start:babel\" \"npm run start:typescript\" \"npm run start:webpack\"", "start:babel": "npm run build:babel -- --skip-initial-build --watch", diff --git a/packages/component/package.json b/packages/component/package.json index 0cf0406dde..14677d9c43 100644 --- a/packages/component/package.json +++ b/packages/component/package.json @@ -20,7 +20,7 @@ "build": "npm run build:typescript && npm run build:babel", "build:babel": "babel src --copy-files --extensions .js,.ts,.tsx --ignore **/*.spec.js,**/*.spec.ts,**/*.spec.tsx,**/*.test.js,**/*.test.ts,**/*.test.tsx,__tests__/**/*.js,__tests__/**/*.ts,__tests__/**/*.tsx --no-copy-ignored --out-dir lib --verbose", "build:typescript": "tsc --project src/tsconfig.json", - "eslint": "eslint src/**/*.js src/**/*.ts", + "eslint": "eslint src/**/*.js src/**/*.ts --fix", "prestart": "npm run build:babel", "start": "concurrently --kill-others --names \"babel,tsc\" \"npm run start:babel\" \"npm run start:typescript\"", "start:babel": "npm run build:babel -- --skip-initial-build --watch", diff --git a/packages/core/package.json b/packages/core/package.json index 3f1e59eee2..f05e17acde 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -20,7 +20,7 @@ "build": "npm run build:typescript && npm run build:babel", "build:babel": "babel src --extensions .js,.ts,.tsx --ignore **/*.spec.js,**/*.spec.ts,**/*.spec.tsx,**/*.test.js,**/*.test.ts,**/*.test.tsx,__tests__/**/*.js,__tests__/**/*.ts,__tests__/**/*.tsx --out-dir lib --verbose", "build:typescript": "tsc --project src/tsconfig.json", - "eslint": "eslint src/**/*.js src/**/*.ts", + "eslint": "eslint src/**/*.js src/**/*.ts --fix", "prestart": "npm run build:babel", "start": "concurrently --kill-others --names \"babel,tsc\" \"npm run start:babel\" \"npm run start:typescript\"", "start:babel": "npm run build:babel -- --skip-initial-build --watch", diff --git a/packages/directlinespeech/package.json b/packages/directlinespeech/package.json index 4c1d37bfed..ec17ca6f05 100644 --- a/packages/directlinespeech/package.json +++ b/packages/directlinespeech/package.json @@ -13,7 +13,7 @@ "build:webpack": "concurrently --names \"dev,prod\" \"npm run build:webpack:development\" \"npm run build:webpack:production\"", "build:webpack:development": "cross-env node_env=development webpack-cli", "build:webpack:production": "cross-env node_env=production webpack-cli", - "eslint": "eslint src/**/*.js", + "eslint": "eslint src/**/*.js --fix", "prestart": "npm run build:babel", "start": "npm run start:babel && concurrently --kill-others --names \"babel,serve,webpack\" \"npm run start:babel:watch\" \"npm run start:serve\" \"npm run start:webpack\"", "start:babel": "npm run build:babel --", diff --git a/packages/isomorphic-react-dom/package.json b/packages/isomorphic-react-dom/package.json index a440f95fa6..23db49cdbc 100644 --- a/packages/isomorphic-react-dom/package.json +++ b/packages/isomorphic-react-dom/package.json @@ -8,7 +8,7 @@ "build": "npm run build:babel && npm run build:webpack", "build:babel": "babel src --out-dir lib --verbose", "build:webpack": "webpack-cli", - "eslint": "eslint src/**/*.js", + "eslint": "eslint src/**/*.js --fix", "start": "npm run start:note && npm run start:babel && npm run start:webpack", "start:babel": "npm run build:babel", "start:note": "echo \"isomorphic-react-dom is not under active development; running in non-watch mode.\"", diff --git a/packages/isomorphic-react/package.json b/packages/isomorphic-react/package.json index dd7d9a211f..22020d034b 100644 --- a/packages/isomorphic-react/package.json +++ b/packages/isomorphic-react/package.json @@ -7,7 +7,7 @@ "build": "npm run build:babel && npm run build:webpack", "build:babel": "babel src --out-dir lib --verbose", "build:webpack": "webpack-cli", - "eslint": "eslint src/**/*.js", + "eslint": "eslint src/**/*.js --fix", "start": "npm run start:note && npm run start:babel && npm run start:webpack", "start:babel": "npm run build:babel", "start:note": "echo \"isomorphic-react is not under active development; running in non-watch mode.\"", From 7eda1eaf825595d14c0197c2daedbd61ef6900ac Mon Sep 17 00:00:00 2001 From: Corina <14900841+corinagum@users.noreply.github.com> Date: Thu, 4 Feb 2021 13:05:28 -0800 Subject: [PATCH 7/8] Revert linting fix --- .../createCognitiveServicesSpeechServicesPonyfillFactory.js | 3 ++- packages/directlinespeech/src/createAdapters.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.js b/packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.js index 8b3ed82cf1..8ac1094a21 100644 --- a/packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.js +++ b/packages/bundle/src/createCognitiveServicesSpeechServicesPonyfillFactory.js @@ -69,7 +69,8 @@ export default function createCognitiveServicesSpeechServicesPonyfillFactory({ // We will not need this code when using Speech SDK 1.14.0 or up. // TODO: [P1] #3575 Remove the following lines when bumping to Speech SDK 1.14.0 or higher source.createAudioContext = () => { - if (!source.privContext) { + // eslint-disable-next-line no-extra-boolean-cast + if (!!source.privContext) { return; } diff --git a/packages/directlinespeech/src/createAdapters.js b/packages/directlinespeech/src/createAdapters.js index 0b201126a3..c0fe56753e 100644 --- a/packages/directlinespeech/src/createAdapters.js +++ b/packages/directlinespeech/src/createAdapters.js @@ -79,7 +79,8 @@ export default async function create({ const { privSource: source } = audioConfig; source.createAudioContext = () => { - if (!source.privContext) { + // eslint-disable-next-line no-extra-boolean-cast + if (!!source.privContext) { return; } From 9d9d6264e0e86df58d0aa8b68c9f599c1ffc432e Mon Sep 17 00:00:00 2001 From: Corina <14900841+corinagum@users.noreply.github.com> Date: Thu, 4 Feb 2021 16:38:29 -0800 Subject: [PATCH 8/8] Apply review suggestions --- docs/ACCESSIBILITY.md | 2 +- packages/api/src/hooks/Composer.js | 1 + packages/api/src/hooks/utils/ErrorBoundary.js | 1 + .../AttachmentForScreenReader/AdaptiveCardAttachment.js | 4 ++-- packages/component/src/BasicTranscript.js | 1 + 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/ACCESSIBILITY.md b/docs/ACCESSIBILITY.md index 3e8b9f020c..96a4d2a48f 100644 --- a/docs/ACCESSIBILITY.md +++ b/docs/ACCESSIBILITY.md @@ -224,7 +224,7 @@ Web Chat render components are accompanied by a screen reader renderer to maximi The Web Chat team **DOES NOT** recommend disabling warning messages regarding screen readers and accessibility. However, if the developer decides to suppress these messages, it can be done by adding the following code to `attachmentForScreenReaderMiddleware` in the `Composer` props. ```js -const attachmentForScreenReaderMiddleware = () => next => (...args) => { +const attachmentForScreenReaderMiddleware = () => next => () => { return false; }; ``` diff --git a/packages/api/src/hooks/Composer.js b/packages/api/src/hooks/Composer.js index 9a0fea44b3..e8ea4bff7a 100644 --- a/packages/api/src/hooks/Composer.js +++ b/packages/api/src/hooks/Composer.js @@ -327,6 +327,7 @@ const Composer = ({ console.warn(`No renderer for attachment for screen reader of type "${attachment.contentType}"`); return false; } + return () => { /** * @todo TODO: [P4] Might be able to throw without returning a function -- investigate and possibly fix diff --git a/packages/api/src/hooks/utils/ErrorBoundary.js b/packages/api/src/hooks/utils/ErrorBoundary.js index ddab8e23bb..229fbd489b 100644 --- a/packages/api/src/hooks/utils/ErrorBoundary.js +++ b/packages/api/src/hooks/utils/ErrorBoundary.js @@ -12,6 +12,7 @@ class ErrorBoundary extends Component { componentDidCatch(error) { const { onError } = this.props; + this.setState({ hasError: true }); onError(error); diff --git a/packages/bundle/src/adaptiveCards/AttachmentForScreenReader/AdaptiveCardAttachment.js b/packages/bundle/src/adaptiveCards/AttachmentForScreenReader/AdaptiveCardAttachment.js index daee2ad8a8..fb266e4da5 100644 --- a/packages/bundle/src/adaptiveCards/AttachmentForScreenReader/AdaptiveCardAttachment.js +++ b/packages/bundle/src/adaptiveCards/AttachmentForScreenReader/AdaptiveCardAttachment.js @@ -97,6 +97,7 @@ const AdaptiveCardAttachment = ({ content }) => { return inputs; }, [ + card, ChoiceSetInput, DateInput, NumberInput, @@ -105,8 +106,7 @@ const AdaptiveCardAttachment = ({ content }) => { SubmitAction, TextInput, TimeInput, - ToggleInput, - card + ToggleInput ]); const cardLabel = localize('ATTACHMENT_CARD', card.speak || '', '', ''); diff --git a/packages/component/src/BasicTranscript.js b/packages/component/src/BasicTranscript.js index 481852573d..cec43e1fa1 100644 --- a/packages/component/src/BasicTranscript.js +++ b/packages/component/src/BasicTranscript.js @@ -705,6 +705,7 @@ const SetScroller = ({ activityElementsRef, scrollerRef }) => { return values.reduce((minValue, value) => Math.min(minValue, value), Infinity); } + return Infinity; }, [