[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-hiddento 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
activityMiddlewareto customize the rendering
Added
- Resolved #4643. Decoupling
botframework-directlinejsfrom 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-corein 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
ponyfillprop 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
roleattribute, 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-hiddenbecause 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
setImmediateor without passingstoreprop, 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.0adm-zip@0.5.10babel-jest@29.4.3babel-loader@9.1.2chalk@5.2.0concurrently@7.6.0core-js@3.28.0dotenv@16.0.3esbuild@0.17.10eslint-config-prettier@8.6.0eslint-plugin-react@7.32.2eslint-plugin-security@1.7.1eslint@8.34.0express@4.18.2glob@8.1.0http-proxy-middleware@2.0.6husky@8.0.3jest-image-snapshot@6.1.0jest-junit@15.0.0jest@29.4.3lerna@6.5.1lint-staged@13.1.2node-dev@8.0.0node-fetch@2.6.9nopt@7.0.0prettier@2.8.4restify@11.1.0selenium-webdriver@4.8.1serve-handler@6.1.5serve@14.2.0source-map-loader@4.0.1typescript@4.9.5webpack-cli@5.0.1webpack-stats-plugin@1.1.1webpack@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.6botbuilder-dialogs@4.19.1botbuilder@4.19.1classnames@2.3.2dotenv@16.0.3eslint-config-standard@17.0.0eslint-plugin-import@2.27.5http-proxy-middleware@2.0.6node-dev@8.0.0node-fetch@2.6.9nodemon@2.0.20react-dom@18.2.0react-redux@8.0.5react-scripts@5.0.1react@18.2.0redux@4.2.1restify@11.1.0uuid@9.0.0
- Bumped Docker containers, by @compulim, in PR #4654