[4.6.0] - 2019-10-30
Subresource integrity
<script
crossorigin="anonymous"
integrity="sha384-OMSDFQjj54XS4zo/4e+KTgG40iHCIfEk+WbICRZ98I5yJBZp6Uk60BeFjei8qpec"
src="https://cdn.botframework.com/botframework-webchat/4.6.0/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-ma13AI3QeruijNQ/ustpc3WpM3I2Ik6B+vzlq7KDiMujPuH7Fn9uKgW5W4zl8wpx"
src="https://cdn.botframework.com/botframework-webchat/4.6.0/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-CoClfeijBBmD7Fzyk/iwKYuWJ7ATbriSm9AfXEswaeiu3o6wHWGLZzYHUlHefSyR"
src="https://cdn.botframework.com/botframework-webchat/4.6.0/webchat-minimal.js"
></script>
Breaking changes
- We will no longer include
react
andreact-dom
in our NPM package, instead, we will requires peer dependencies ofreact@^16.8.6
andreact-dom@^16.8.6
Changed
*
: Bumps all dev dependencies to latest version, by @compulim, in PR #2182 and PR #2308*
: Bumps@babel/runtime@7.5.4
, by @compulim, in PR #2182*
: Bumps Docker container for headless Chrome toselenium/standalone-chrome:3.141.59-radium
, by @compulim, in PR #2182*
: Moves frombabel-plugin-version-transform
tobabel-plugin-transform-inline-environment-variables
, by @compulim, in PR #2182*
: Bumps ESLint and related dependencies to latest version, by @compulim, in PR #2185*
: Bumps React, Redux and their related dependencies to latest version, by @compulim, in PR #2184*
: Bumpslodash-*
(https://www.npmjs.com/package/lodash), by @compulim, in PR #2199- Bumps
web-speech-cognitive-services@4.0.1-master.6b2b9e3
, by @compulim in PR #2246, PR #2274, and PR #2338 - Fix for React hooks constraints: both app and component must share the same reference of
react
andreact-dom
, in PR #2274/
: Installreact
andreact-dom
todevDependencies
bundle
: Movereact
andreact-dom
fromdependencies
topeerDependencies
component
: Removereact
andreact-dom
fromdevDependencies
playground
: Removereact
andreact-dom
fromdependencies
samples/*
: Move to production version of Web Chat, and bump toreact@16.8.6
andreact-dom@16.8.6
- Moved the typing indicator to the send box and removed the typing indicator logic from the sagas, by @tdurnford, in PR #2321
component
: MoveComposer
to React hooks and functional components, by @compulim, in PR #2308component
: Fix #1818 Move to functional components by @corinagum, in PR #2322- Fix #2292. Added function to select voice to props,
selectVoice()
, by @compulim, in PR #2338 - Bumping dependencies, by @compulim, in PR #2500
*
:web-speech-cognitive-services@5.0.1
bundle
:botframework-directlinejs@0.11.6
component
:react-film@1.3.0
Fixed
- Fixes #2328. Updating submitSendBoxSaga.js to send sendBoxValue.trim(), by @jimmyjames177414 in PR #2331
- Fixes #2160. Clear suggested actions after clicking on a suggested actions of type
openUrl
, by @tdurnford in PR #2190 - Fixes #1954. Estimate clock skew and adjust timestamp for outgoing activity, by @compulim in PR #2208
- Fixes #2240. Fix microphone button should be re-enabled after error, by @compulim in PR #2241
- Fixes #2250. Fix React warnings related prop types, by @compulim in PR #2253
- Fixes #2245. Fix speech synthesis not working on Safari by priming the engine on the first microphone button click, by @compulim in PR #2246
- Fixes #1514. Added reference grammar ID when using Cognitive Services Speech Services, by @compulim in PR #2246
- Fixes #1515. Added dynamic phrases when using Cognitive Services Speech Services, by @compulim in PR #2246
- Fixes #2273. Add
ScreenReaderText
component, by @corinagum in PR #2278 - Fixes #2231. Fallback to English (US) if date time formatting failed, by @compulim in PR #2286
- Fixes #2298. Speech synthesize errors to be ignored, by @compulim in PR #2300
- Fixes #2243. Fixed sagas to correctly mark activities with speaking attachments, by @tdurnford in PR #2320
- Fixes #2365. Fix Adaptive Card
pushButton
appearance on Chrome, by @corinagum in PR #2382 - Fixes #2379. Speech synthesis can be configured off by passing
null
, by @compulim in PR #2408 - Fixes #2418. Connectivity status should not waste-render every 400 ms, by @compulim in PR #2419
- Fixes #2415 and #2416. Fix receipt card rendering, by @compulim in PR #2417
- Fixes #2415 and #2416. Fix Adaptive Cards cannot be disabled on-the-fly, by @compulim in PR #2417
- Fixes #2360. Timestamp should update on language change, by @compulim in PR #2414
- Fixes #2428. Should interrupt speech synthesis after microphone button is clicked, by @compulim in PR #2429
- Fixes #2435. Fix microphone button getting stuck on voice-triggered expecting input hint without a speech synthesis engine, by @compulim in PR #2445
- Fixes #2472. Update samples to use repo's version of React, by @corinagum in PR #2478
- Fixes #2473. Fix samples 13 using wrong region for Speech Services credentials, by @compulim in PR #2482
- Fixes #2420. Fix saga error should not result in an unhandled exception, by @compulim in PR #2421
- Fixes #2513. Fix
core-js
not loading properly, by @compulim in PR #2514 - Fixes #2516. Disable microphone input for
expecting
input hint on Safari, by @compulim in PR #2517 and PR #2520 - Fixes #2518. Synthesis of bot activities with input hint expecting, should be interruptible, by @compulim in PR #2520
- Fixes #2519. On Safari, microphone should turn on after synthesis of bot activities with input hint expecting, by @compulim in PR #2520
- Fixes #2521.
webchat-es5.js
should not contains non-ES5 code and must be loadable by IE11, by @compulim in PR #2522 - Fixes #2524. Version was not burnt into source code correctly, by @compulim in PR #2525
Added
- Resolves #2157, added
emitTypingIndicator
action and dispatcher, by @compulim, in PR #2413 - Resolves #2307. Added options to hide ScrollToEnd button, by @nt-7 in PR #2332
- Added bubble nub and style options, by @compulim, in PR #2137 and PR #2487
- Resolves #1808. Added documentation on activity types, by @corinagum in PR #2228
- Added
timestampFormat
option to the default style options and createdAbsoluteTime
component, by @tdurnford, in PR #2295 embed
: Added ES5 polyfills and dev server, by @compulim, in PR #2315- Resolves #2380. Added
botAvatarBackgroundColor
anduserAvatarBackgroundColor
to the default style options, by @tdurnford in PR #2384 - Added full screen capability to
IFRAME
in theYouTubeContent
andVimeoContent
components by @tdurnford in PR #2399 - Resolves #2461, added
isomorphic-react
andisomorphic-react-dom
packages, by @compulim and @corinagum, in PR #2478 and PR #2486 - Added missing Norwegian (nb-NO) translations, by @taarskog
- Added missing Italian (it-IT) translations, by @AntoT84
- Resolve #2481. Support alternative audio input source by adding
audioConfig
prop tocreateCognitiveServicesSpeechServicesPonyfillFactory
, by @corinagum, in PR #2491 - Added missing Finnish (fi-FI) translations, by @sk91swd, in PR #2501
Samples
- Single sign-on for Microsoft Teams apps, by @compulim in #2196
- Customize Web Chat with Reaction Buttons. Updated reaction handlers to send
messageReaction
activities, by @tdurnford in #2239 - Select voice for speech synthesis, by @compulim, in PR #2338
- Using different versions of React on a hosting app via NPM packages, by @compulim, in PR #2509