[4.15.8] - 2023-06-06
Subresource Integrity
The CDN URL will be online in about a day after we completed publish to NPM.
<script
crossorigin="anonymous"
integrity="sha384-4vGD9F0KRTew8maUTxtkCq0vbJDB+o05wRdhSEP3HGU6P6Nob7gt+OG//fYfvbYL"
src="https://cdn.botframework.com/botframework-webchat/4.15.8/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-aMT2td/gP8Wy5N+3pVTV0Wc85z8P9UoNGMZbLEHr8kqbySXFXGLJ1uzwYUGVmIQe"
src="https://cdn.botframework.com/botframework-webchat/4.15.8/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-Tzp6VuLIY8CEHwULCIzP6jdMkjhjWK7M13mHKSObh5Rh0MQoptGsA11NDs9qpvL6"
src="https://cdn.botframework.com/botframework-webchat/4.15.8/webchat-minimal.js"
></script>
Changelog
Breaking changes
- When
activity.channelData['webchat:fallback-text']
is present but empty, it will no longer appliesaria-hidden
to the activity- The activity will not be narrated through live region. However, when navigating the transcript, it will be narrated as empty
- To make an activity presentational or hide from screen reader, please use
activityMiddleware
to customize the rendering
Added
- Resolved #4643. Decoupling
botframework-directlinejs
from business logic of Web Chat for better tree-shaking, by @compulim, in PR #4645 and PR #4648 - Resolved #4650. Added automated accessibility check using
axe-core
- Add
axe-core
in end-to-end tests, by @compulim, in PR #4704 - HTML test: using
<main>
for the root container, by @compulim, in PR #4684 and PR #4704 - HTML test: changed contrast ratio in tests that use different background colors, by @compulim, in PR #4686 and PR #4704
- Added
ponyfill
prop to<ReactWebChat>
/<Composer>
andcreateStoreWithOptions
, by @compulim, in PR #4662- This is for development scenarios where fake timer is needed and will only applies to Web Chat only
- HTML test: fix accessibility issues on HTML file, by @compulim, in PR #4685
- HTML test: ensure all images has alternate text, by @compulim, in PR #4704
- Adaptive Cards: always set
role
attribute, by @compulim, in PR #4704 - Adaptive Cards: update host config to use lighter color for disabled inputs, by @compulim, in PR #4704
- Keyboard help screen: remove
<header>
container, by @compulim, in PR #4704 - Live region: added
<label>
for input fields in Adaptive Cards, by @compulim, in PR #4704
- Add
Fixed
- Fixes #4557. Flipper buttons in carousels and suggested actions is now renamed to "next/previous" from "left/right", by @compulim, in PR #4646
- Fixes #4652. Keyboard help screen, activity focus traps, and chat history terminator should not be hidden behind
aria-hidden
because they are focusable, by @compulim, in PR #4659 - Fixes #4665. Updated development server with latest ESBuild API, by @compulim, in PR #4662.
- Fixes #4706. Send button and ENTER key should function after reconnected, by @compulim, in PR #4707.
- Fixes #4708. Should function properly in browsers without
setImmediate
or without passingstore
prop, by @compulim, in PR #4709.
Changed
- Bumped all dependencies to the latest versions, by @compulim in PR #4647, PR #4655, and PR #4737
- Production dependencies
- Development dependencies
@types/[email protected]
@types/[email protected]
@typescript-eslint/[email protected]
@typescript-eslint/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
- Sample dependencies
@azure/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
- Bumped Docker containers, by @compulim, in PR #4654