[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/node@18.14.1
@types/react@18.0.28
@typescript-eslint/eslint-plugin@5.53.0
@typescript-eslint/parser@5.53.0
adm-zip@0.5.10
babel-jest@29.4.3
babel-loader@9.1.2
chalk@5.2.0
concurrently@7.6.0
core-js@3.28.0
dotenv@16.0.3
esbuild@0.17.10
eslint-config-prettier@8.6.0
eslint-plugin-react@7.32.2
eslint-plugin-security@1.7.1
eslint@8.34.0
express@4.18.2
glob@8.1.0
http-proxy-middleware@2.0.6
husky@8.0.3
jest-image-snapshot@6.1.0
jest-junit@15.0.0
jest@29.4.3
lerna@6.5.1
lint-staged@13.1.2
node-dev@8.0.0
node-fetch@2.6.9
nopt@7.0.0
prettier@2.8.4
restify@11.1.0
selenium-webdriver@4.8.1
serve-handler@6.1.5
serve@14.2.0
source-map-loader@4.0.1
typescript@4.9.5
webpack-cli@5.0.1
webpack-stats-plugin@1.1.1
webpack@5.75.0
- Sample dependencies
@azure/storage-blob@12.13.0
@babel/cli@7.21.0
@babel/core@7.21.0
@babel/preset-env@7.20.2
@babel/preset-react@7.18.6
botbuilder-dialogs@4.19.1
botbuilder@4.19.1
classnames@2.3.2
dotenv@16.0.3
eslint-config-standard@17.0.0
eslint-plugin-import@2.27.5
http-proxy-middleware@2.0.6
node-dev@8.0.0
node-fetch@2.6.9
nodemon@2.0.20
react-dom@18.2.0
react-redux@8.0.5
react-scripts@5.0.1
react@18.2.0
redux@4.2.1
restify@11.1.0
uuid@9.0.0
- Bumped Docker containers, by @compulim, in PR #4654