[4.9.0] - 2020-05-13
Subresource integrity
<script
crossorigin="anonymous"
integrity="sha384-gn41zgXj4uDFglvcUFGeHzl+pEV0vpsJ0p/ITM3AV1apUs7OGo/FO1gl8i1EJMr4"
src="https://cdn.botframework.com/botframework-webchat/4.9.0/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-f6BvsOUIP9DrTw62SdcJwOm2oa+4Eu21Dzdlh2bfOA2axKA9dL812USg0fMy3CP4"
src="https://cdn.botframework.com/botframework-webchat/4.9.0/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-N8YF6H5wP3LtjcC9zCauWxFJH8q6LkRXGyH11jkATU9iCbdPH4qoLNhVz25D2hjO"
src="https://cdn.botframework.com/botframework-webchat/4.9.0/webchat-minimal.js"
></script>Changelog
Added
- Resolves #2897. Moved from JUnit to VSTest reporter with file attachments, by @compulim in PR #2990
- Added
aria-labelattribute support for default Markdown engine, by @patniko in PR #3022 - Resolves #2969. Support sovereign cloud for Cognitive Services Speech Services, by @compulim in PR #3040
- Resolves #2481. Support selecting different audio input devices for Cognitive Services Speech Services, by @compulim in PR #3079
- Resolves #2850. Added new
useFocushook and deprecatinguseFocusSendBoxhook, by @compulim in PR #3123- Modify
setFocusargument ofuseTextBoxSubmitto supportmainandsendBoxWithoutKeyboard
- Modify
Fixed
- Fixes #2989. Fix
observeOnceto use ES Observable call pattern, by @compulim in PR #2993 - Fixes #3024. Using bridge package
markdown-it-attrs-es5for consumingmarkdown-it-attrsfor IE11, by @compulim in PR #3025 - Fixes #2818. Fix user ID is not set when passing to embed as query parameter, by @p-nagpal in PR #3031
- Fixes #3026. Fix link
relattribute in therenderMarkdownfunction, by @tdurnford in PR #3033 - Fixes #2933. Fix
textshould not be ignored inmessageBackaction in hero card, by @geea-develop and @compulim in PR #3003 - Fixes #2562. Fix timestamps should not stop updating, by @compulim in PR #3066
- Fixes #2953. Direct Line Speech should not synthesize when the
speakproperty is falsy, by @compulim in PR #3059 - Fixes #2876.
messageBackandpostBackshould send even if bothtextandvalueis falsy orundefined, by @compulim in PR #3120 - Fixes #2668. Disable Web Audio on insecure connections, by @compulim in PR #3079
- Fixes #2850. After click suggested action, should focus to send box without keyboard, by @compulim in PR #3123
- Fixes #3133. Associate ARIA labels with buttons in hero card and Adaptive Cards, by @compulim in PR #3146.
- Remove browser-based detection from
<ScreenReaderText>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.
- Remove browser-based detection from
- Fixes #3155. Patch incoming activities with null fields, by @compulim in PR #3154
Changed
- Bumped all dependencies to latest versions, by @compulim in PR #2985 and #3012
- Development dependencies
- Root package
@azure/storage-blob@12.1.0@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.7@babel/preset-react@7.8.3@babel/preset-typescript@7.8.3@babel/runtime@7.8.7babel-jest@25.1.0concurrently@5.1.0core-js@3.6.4cross-env@7.0.2get-port@5.1.1husky@4.2.3jest@25.1.0jest-image-snapshot@2.12.0lerna@3.20.2lint-staged@10.1.1selenium-webdriver@4.0.0-alpha.7
- Other packages
@babel/core@7.8.7@babel/preset-env@7.8.7babel-jest@25.1.0babel-plugin-istanbul@6.0.0concurrently@5.1.0eslint-plugin-prettier@3.1.2eslint-plugin-react-hooks@2.5.0eslint-plugin-react@7.18.3eslint@6.8.0terser-webpack-plugin@2.3.5typescript@3.8.3webpack-cli@3.3.11webpack-stats-plugin@0.3.1webpack@4.42.0
- Root package
- Production dependencies
corebundlecomponentdirectlinespeechembed
- Development dependencies
- Bumped Chrome Docker image to
3.141.59-zirconium(Chrome 80.0.3987.106), by @compulim in PR #2992 - Added
4.8.0toembed/servicingPlan.json, by @compulim in PR #2986 - Bumped
microsoft-cognitiveservices-speech-sdk@1.10.1andweb-speech-cognitive-services@6.1.0, by @compulim in PR #3040 - Resolved #2886 and #2987, converged all references of
microsoft-cognitiveservices-speech-sdkto reduce footprint, by @compulim in PR #3079
Samples
- Resolves #2806, added Single sign-on with On Behalf Of Token Authentication sample, by @tdurnford in #2865
- Resolves #2481, added selectable audio input device sample, by @compulim in PR #3079