[4.9.1] - 2020-06-09
Subresource integrity
<script
crossorigin="anonymous"
integrity="sha384-Q1EIOjL3Bf1TgDSIVoQ0+I5X3P5LX+k1OIJPaVmNOkUjXNlSoR1bkAPJZNuK54x2"
src="https://cdn.botframework.com/botframework-webchat/4.9.1/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-iUFVOYPvwT6u1UqxL7JaKPyO1VGrqJ0zg/fD+g1QKLH3xi6MzFyYtUKQM51LHuob"
src="https://cdn.botframework.com/botframework-webchat/4.9.1/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-GM+djQ1F0fU5UT7u/+8oFgNtU9I/eJZkjgBNVmCjNkMxhG30zzxCah0U/5McEpvv"
src="https://cdn.botframework.com/botframework-webchat/4.9.1/webchat-minimal.js"
></script>
Changelog
Breaking changes
- Affecting Adaptive Cards, legacy cards and suggested actions
- For
openUrl
card action, we are now whitelisting the URL scheme using the same whitelist from the default Markdown + sanitize engine, which includesdata
,http
,https
,ftp
,mailto
,sip
, andtel
- To whitelist a different set of URL schemes, please implement the card action middleware to override this behavior
- For
Added
- Resolves #3205. Added Direct Line App Service Extension protocol, by @compulim in PR #3206
- Resolves #3225. Support allowed scheme with
openUrl
card action, by @compulim in PR #3226
Fixed
- Fixes #1340. Card container should not be focusable if they do not have
tapAction
, by @compulim in PR #3193 - Fixed #3196. Cards with
tapAction
should be executable by ENTER or SPACEBAR key, by @compulim in PR #3197 - Fixed #3203. "New messages" button should be narrated by assistive technology, by @compulim in PR #3204
- Fixed #3217. Make sure
rel="noopener noreferrer
is not sanitized, by @compulim in PR #3220 - Fixed #3223. Tap an
openUrl
card action should open URL in a new tab withnoopener noreferrer
set, by @compulim in PR #3224
Changed
- Bumped Adaptive Cards dependencies, by @compulim in PR #3193
- Bumped dependencies due to a bug in Babel and Node.js, by @compulim in PR #3177
- Development dependencies
- Production dependencies
- Updated localization strings for Estonian (Estonia) (
et-EE
), by @LiweiMa in PR #3183 - Bumped
[email protected]
, by @compulim in PR #3206
Samples
- Resolves #3205. Added Direct Line App Service Extension chat adapter sample, by @compulim in PR #3206