[4.15.2] - 2022-05-09
Subresource Integrity
<script
crossorigin="anonymous"
integrity="sha384-+K6Bkp3HdwB6IL/MooiD8DGF4zg7iLJbYBq+ReT+PGBXW2skSoRPvF/ArXmbFD+K"
src="https://cdn.botframework.com/botframework-webchat/4.15.2/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-lUORlicC7NzeZQx9OQ8/uCjmblHgyo9cOV4Q4UlnTct4AXwWzNiS5+4w3rCcO/h5"
src="https://cdn.botframework.com/botframework-webchat/4.15.2/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-M00P0dYPmEonRFUbU5QwM2ozxxgVLHHbyoeOwd/x4IDxUhTBSnzbASfa4tk2yYmc"
src="https://cdn.botframework.com/botframework-webchat/4.15.2/webchat-minimal.js"
></script>Changelog
Breaking changes
- A new
type WebChatActivityis introduced in thebotframework-webchat-corepackage- If you are previously using the
type DirectLineActivity, you may need to move to this new type - All Web Chat APIs will use the newer
type WebChatActivity - The new
type WebChatActivityis a well-defined type for handling activities inside Web Chat - The existing
type DirectLineActivitywill be used solely for communicating withtype DirectLineJSBotConnection, a.k.a.botframework-directlinejspackage
- If you are previously using the
Fixed
- Fixes #4102. Fixed
cldr-data-downloaderpackage not working properly on Windows, by @compulim in PR #4223 - Fixes #4232. Added
blob:to allowed protocol list for file attachment UI (<FileContent>), by @compulim in PR #4233 - Fixes #4204. Sort using
activity.channelData['webchat:sequence-id']and fallback to epoch time ofactivity.timestamp, by @compulim, in PR #4203 - Fixes #4264. Fixed focus trap should leave when the activity no longer contains any tabbable elements (including elements with
aria-disabled="true"), by @compulim in PR #4265
Added
Changed
- Bumped all dependencies to the latest versions, by @compulim in PR #4195 and PR #4230
- Production dependencies
- Development dependencies
@babel/cli@7.17.6@babel/core@7.17.5@babel/plugin-proposal-class-properties@7.16.7@babel/plugin-proposal-object-rest-spread@7.17.3@babel/plugin-transform-runtime@7.17.0@babel/preset-env@7.16.11@babel/preset-react@7.16.7@babel/preset-typescript@7.16.7@babel/runtime@7.17.2@emotion/react@11.8.1@fluentui/react@8.57.0@types/node@17.0.21@types/react-dom@16.8.5@types/react@17.0.39@typescript-eslint/eslint-plugin@5.13.0@typescript-eslint/parser@5.13.0adm-zip@0.5.9babel-jest@27.5.1babel-loader@8.2.3babel-plugin-istanbul@6.1.1base64-arraybuffer@1.0.2botframework-directlinejs@0.15.1concurrently@7.0.0core-js@3.21.1dotenv@16.0.0error-stack-parser@2.0.7esbuild@0.14.24eslint-config-prettier@8.5.0eslint-plugin-prettier@4.0.0eslint-plugin-react-hooks@4.3.0eslint-plugin-react@7.29.3eslint@8.10.0express@4.17.3glob@7.2.0global-agent@3.0.0html-webpack-plugin@5.5.0http-proxy-middleware@2.0.3husky@7.0.4istanbul-lib-coverage@3.2.0jest-environment-node@27.5.1jest-trx-results-processor@2.2.1jest@27.5.1lint-staged@12.3.4memoize-one@6.0.0node-dev@7.1.0nodemon@2.0.15prettier@2.5.1prop-types@15.8.1read-pkg-up@9.1.0read-pkg@7.1.0restify@8.6.1selenium-webdriver@4.1.1source-map-loader@3.0.1terser-webpack-plugin@5.3.1typescript@4.6.2webpack-cli@4.9.2webpack@5.70.0