Releases: microsoft/BotFramework-WebChat
Releases · microsoft/BotFramework-WebChat
Release list
[4.15.5] - 2022-11-16
Subresource Integrity
The CDN URL will be online in about a day after we completed publish to NPM.
<script
crossorigin="anonymous"
integrity="sha384-yZ3Ugoikjn2nnqUATWlZR3e2PfDz/fopbI/J77anxs6pnoauHENVS3hObWSAOxmr"
src="https://cdn.botframework.com/botframework-webchat/4.15.5/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-t278QukjDZq/zQN4GdMwm+wPjb3glhiqydECL5o9le9PfgGwgACfwkARzlGj6GeI"
src="https://cdn.botframework.com/botframework-webchat/4.15.5/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-L/K5c9oKPS2+VbgxTOXnHL/fQQg9G+agAc1eB3I3t/+XnXdGHOqs8kMB9ViQTSMQ"
src="https://cdn.botframework.com/botframework-webchat/4.15.5/webchat-minimal.js"
></script>Changelog
Fixed
- Card action image alt text should use
imageAltTextfield and fallback totextfield, by @compulim in PR #4333 - Fixes #4472. Removed
roleattributes for notification bar and use<div>instead of<ul>/<li>, by @compulim in PR #4475 - Fixes #4393. Renders
<section role="feed">only if there are one or more activities contained within, by @beyackle2 and @compulim, in PR #4420 - Fixes #4473. Bumped
strip-ansi@6.0.1fortest-harnessas@^7does not support CommonJS project, by @compulim in PR #4474 - Fixes #4476. When focus on the keyboard help screen, it should focus on the close button, by @compulim in PR #4479
- Fixes #4442. Change the keyboard help screen string "Leave message" to "Exit message", by @compulim in PR #4479
Changed
- Bumped Adaptive Cards to
adaptivecards@2.11.1, by @compulim in PR #4424 - Bumped Microsoft Cognitive Services Speech SDK to
microsoft-cognitiveservices-speech-sdk@1.23.0, by @compulim in PR #4424- Also bumped
web-speech-cognitive-services@7.1.2
- Also bumped
- Bumped all dependencies to the latest versions, by @compulim in PR #4423 and #4435
- Production dependencies
- Development dependencies
@babel/core@7.19.1@babel/plugin-transform-runtime@7.19.1@babel/plugin-transform-typescript@7.19.1@babel/preset-env@7.19.1@babel/runtime@7.19.0@types/node@18.7.22@types/react@18.0.21@typescript-eslint/eslint-plugin@5.38.0@typescript-eslint/parser@5.38.0babel-jest@29.0.3concurrently@7.4.0core-js@3.25.3dotenv@16.0.2esbuild@0.15.9eslint-plugin-react@7.31.8eslint@8.24.0jest-image-snapshot@5.2.0jest-junit@14.0.1jest@29.0.3lerna@5.5.2nodemon@2.0.20terser-webpack-plugin@5.3.6typescript@4.8.3webpack-stats-plugin@1.1.0
[4.15.4] - 2022-09-15
Subresource Integrity
<script
crossorigin="anonymous"
integrity="sha384-hm7B00mbtnkFvRyz6+PZuG2yfM3JaBdEUPYw7BEPKQWZqu1s3G8KFiyOIqOMEk+v"
src="https://cdn.botframework.com/botframework-webchat/4.15.4/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-9pDJTvPL0wLKBbhzIDeYtyOXpMQgf3VVqPMKPWKTs+p/J8oOqOEy0piRhj9Atlzz"
src="https://cdn.botframework.com/botframework-webchat/4.15.4/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-yyVMTpA21TwmR+Cfm3ktfuYwApD/XUCxVYOSfUssIKI05H25L/2D5bJQ817fFsMp"
src="https://cdn.botframework.com/botframework-webchat/4.15.4/webchat-minimal.js"
></script>Changelog
Fixed
- Fixes #4403. Patched Unicode CLDR database which caused file upload in Polish to appear blank, by @compulim, in PR #4404
- Fixes #4412. Fixed inconsistent in
packages/support/cldr-data/package.json, by @compulim, in PR #4411
Changed
- Bumped all dependencies to the latest versions, by @compulim in PR #4392
- Production dependencies
- Development dependencies
@babel/cli@7.18.10@babel/core@7.18.10@babel/plugin-proposal-class-properties@7.18.6@babel/plugin-proposal-object-rest-spread@7.18.9@babel/plugin-transform-runtime@7.18.10@babel/plugin-transform-typescript@7.18.12@babel/preset-env@7.18.10@babel/preset-react@7.18.6@babel/preset-typescript@7.18.6@babel/runtime@7.18.9@emotion/react@11.10.0@fluentui/react@8.87.1@types/node@18.7.1@types/react@18.0.17@typescript-eslint/eslint-plugin@5.33.0@typescript-eslint/parser@5.33.0babel-jest@28.1.3babel-loader@8.2.5babel-plugin-transform-inline-environment-variables@0.4.4concurrently@7.3.0core-js@3.24.1dotenv@16.0.1error-stack-parser@2.1.4esbuild@0.15.1eslint-plugin-prettier@4.2.1eslint-plugin-react-hooks@4.6.0eslint-plugin-react@7.30.1eslint-plugin-security@1.5.0eslint@8.21.0express@4.18.1http-proxy-middleware@2.0.6husky@8.0.1jest-environment-node@28.1.3jest-image-snapshot@5.1.0jest-junit@14.0.0jest-trx-results-processor@3.0.1jest@28.1.3lerna@5.4.0lint-staged@13.0.3node-dev@7.4.3nodemon@2.0.19nopt@6.0.0prettier@2.7.1react-scripts@5.0.1selenium-webdriver@4.4.0serve@14.0.1source-map-loader@4.0.0strip-ansi@7.0.1terser-webpack-plugin@5.3.3typescript@4.7.4webpack-cli@4.10.0webpack@5.74.0
[4.14.2] - 2022-09-06
Subresource Integrity
<script
crossorigin="anonymous"
integrity="sha384-TX+6Xqq20HcCfn9vFBfivPrnGantvLj6bVoeZMiRt3TDf7QL0l3y0h5NfXPHeMYD"
src="https://cdn.botframework.com/botframework-webchat/4.14.2/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-rICoECir+m94sA3D9FN2nWP76JKfcGJA5uhCZ/nSM3JNYWtnqUk5mHCgVvgWE+if"
src="https://cdn.botframework.com/botframework-webchat/4.14.2/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-FDtL64x1C0SfN3jynhpEExETYworgZHfADHx+04wRT4RGxeXQulwMv7u9s8gUkkZ"
src="https://cdn.botframework.com/botframework-webchat/4.14.2/webchat-minimal.js"
></script>Changelog
Fixed
[4.15.3] - 2022-08-10
Subresource Integrity
<script
crossorigin="anonymous"
integrity="sha384-Va7pNFHjKGxgI1g9J4tvLCSGEhtfpZzf76PDRDDKkaI+ZZXMCz7FplIZdjUrjkxg"
src="https://cdn.botframework.com/botframework-webchat/4.15.3/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-G/4GhuAj4f+IvvVgyTT1u6m5DjjdPI7hcrfgXmnWKC6uWtZkrI+jDkVk2MmJoclR"
src="https://cdn.botframework.com/botframework-webchat/4.15.3/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-1CAMb60XukTImMnaUTHJvRYbYckPlkzXGVibWExFb5e8WbLsCrfkbQM+K1smVB5a"
src="https://cdn.botframework.com/botframework-webchat/4.15.3/webchat-minimal.js"
></script>Changelog
Breaking changes
- Suggested actions is now a
role="toolbar"and adopted roving tab index- TAB key will now land on the container, instead of individual button
- While the focus is on the container, LEFT/RIGHT arrow keys are used to select different buttons (UP/DOWN for stacked layout)
- Visual focus indicator is now two tiered. The default styling is same as the one we use in chat history
- New style options added
suggestedActionsVisualKeyboardIndicatorColor,suggestedActionsVisualKeyboardIndicatorStyle,suggestedActionsVisualKeyboardIndicatorWidth
- New style options added
- Suggested actions container will be unmounted when there are no suggested action button to display
- Suggested actions container is not longer a live region. The suggested action buttons will now be narrated by the chat history live region
- Published NPM packages will now include
/dist,/lib, and/srcfolders- The
/distfolder was previously missing from our NPM packages
- The
- The
activity.channelData.stateproperty is being deprecated in favor of the updatedactivity.channelData['webchat:send-status']property. Main differences include:- Previously, we would set the
stateproperty to"send failed"when the chat adapter failed to send the activity, or after passing a timeout as defined instyleOptions.sendTimeout - The new
'webchat:send-status'property will be set to"send failed"when the chat adapter fails to send the activity or after passing a hardcoded timeout of 5 minutes - See PR #4362 for details
- Previously, we would set the
Changed
- Resolves #4301. Updated
Dockerfileto support secure container supply chain, by @compulim in PR #4303 - Resolves #4317. Updated
package.jsonto allowlist/dist,/lib,/src, by @compulim in PR #4318 - Resolves #4322. Improved error messages for sending activities, by @compulim in PR #4362
- Resolves #4211. Added new
useSendStatusByActivityKeyhook to check the UI send status of an outgoing activity, by @compulim in PR #4362- The send status returned by this hook is designed to display different UIs that reflect the "sending", "send failed" or "sent" status of the activity
- When modifying
styleOptions.sendTimeoutprop, the send status returned by this hook may transition from"send failed"to"sending", and vice versa - This is different from the send status provided by the chat adapter, namely
activity.channelData['webchat:send-status']
Fixed
- Fixes #4293 and #4296. Fixed accessibility issues for suggested actions, by @compulim, in PR #4314
- Centralized live region of suggested actions into chat history live region for better live region control
- Suggested actions container is now a
role="toolbar"and uses roving tab index for multiple suggested action
- Fixes #4319. Fixed navigation keys not working in suggested actions under IE Mode, by @compulim, in PR #4320
- Fixes #4315. Cleaned up localization strings for suggested actions, by @compulim, in PR #4323
- Fixes #4294. Screen reader should not read message twice when navigating in the chat history, by @compulim, in PR #4323
- Fixes #4295. Screen reader should not read suggested actions twice when message arrive in live region, by @compulim, in PR #4323
- Fixes #4325.
aria-keyshortcutsshould use modifier keys according toKeyboardEventkey values spec, by @compulim, in PR #4323 - Fixes #4327. In Adaptive Cards,
TextBlockwithstyle="heading"should havearia-levelset, by @compulim, in PR #4329 - Fixes #3949. For accessibility reasons, buttons in Adaptive Cards should be
role="button"instead ofrole="menubar"/role="menuitem", by @compulim, in PR #4263 - Fixes #4211. Screen reader should read when an activity was failed to send, by @compulim, in PR #4362, also fixed:
- The "send failed" status on the activity should show up as soon as the chat adapter failed to send the activity
- Fixes #4312.
groupActivityMiddlewarereturning invalid value should not throw exceptions, by @compulim, in PR #4378. - Fixes #4386. Clicking on Adaptive Cards should not throw exception under IE11, by @compulim, in PR #4387, also fixed:
- Prop type warning should not be shown for
<ActivityRow>
- Prop type warning should not be shown for
Changes
Samples
- Added
01.getting-started/l.sharepoint-web-partfor hosting Web Chat as a SharePoint web part, in PR #4385, by @compulim
[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
[4.15.1] - 2022-03-04
Subresource Integrity
<script
crossorigin="anonymous"
integrity="sha384-e2zspajCn8G7DzOMi/9M6fdAPERyN5S11E5QzrAK0HXxMwyw7a6/FHLie73RUzdD"
src="https://cdn.botframework.com/botframework-webchat/4.15.1/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-9o6xJEK8DboSm23+cyRi/6ROyiQFbCXgSN+GkpMXVtIC0QeYRPA9lD8MlXPikyub"
src="https://cdn.botframework.com/botframework-webchat/4.15.1/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-gy9DN+p1zEnZY24LW0HtuFhmhF17qhO8QM0vlrZupIXggEUih+uYAPZ+uGCTT1f7"
src="https://cdn.botframework.com/botframework-webchat/4.15.1/webchat-minimal.js"
></script>Changelog
Fixed
[4.15.0] - 2022-03-03
Subresource Integrity
<script
crossorigin="anonymous"
integrity="sha384-w3rSEnqXidJWdUi5rzyfT+ge4heH7DfPfZnzwfFPqRx5s/TxTRhFbizmbX6kQe2v"
src="https://cdn.botframework.com/botframework-webchat/4.15.0/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-TtowdQBmshxMHrPmS4fj8c7Y1++TrzO2Z7TvQ1lF9EskDY6cchxo8RO9/JT21JTL"
src="https://cdn.botframework.com/botframework-webchat/4.15.0/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-oQJ4itwTnOHHjD3Gkl9pUfcNMZDSG9LixGJ5H5ib50uBihBhAtWkkFzvOvUK9YPj"
src="https://cdn.botframework.com/botframework-webchat/4.15.0/webchat-minimal.js"
></script>Changelog
Breaking changes
- New
Mapobject polyfill is required for IE11 when using NPM version of Web Chat:Mapobject polyfill is not required when using ES5 bundle of Web Chat from our CDN (webchat-es5.js)- If you are seeing new errors while loading NPM version of Web Chat under IE11, please add a polyfill
- We recommend
core-jspackage, it can be loaded byimport 'core-js/features/map' - Our current list of required polyfills can be found in
packages/bundle/src/polyfill.ts
- Style options are introduced to send button for improved accessibility:
suggestedActionBackgroundandsuggestedActionXXXBackgroundare being deprecated in favor ofsuggestedActionBackgroundColorandsuggestedActionBackgroundColorOnXXXrespectively, for consistencies when porting to other platformssuggestedActionDisabledXXXis being renamed tosuggestedActionXXXOnDisabled, for consistencies with other style optionssuggestedActionXXXOnActive,suggestedActionXXXOnFocus,suggestedActionXXXOnHoverare introduced for styling per user gesturessuggestedActionKeyboardFocusIndicatorXXXare introduced for styling the "focus ring" when focused using a keyboard
Added
- Adds
eslint-plugin-security, consolidate.eslintrc.ymlat project root, and treat warnings as errors, by @compulim, in PR #4079 - Adds allowed protocol list to file attachment and OAuth card, by @compulim, in PR #4143
Fixed
- Fixes #4018. When using TAB or SHIFT + TAB key to focus on the transcript, it should select the last activity, by @compulim, in PR #4035
- Fixes #4020. With or without scan mode turned on, screen reader users should be able to press ENTER to focus on interactive activity, by @compulim, in PR #4041
- Fixes #4021. For screen reader usability, suggested actions container should not render "Is empty" alt text initially, by @compulim, in PR #4041
- Fixes #4029. Added new keyboard focus indicator for suggested actions, by @compulim, in PR #4035
- New style options are introduced:
suggestedActionXXXOnActive,suggestedActionXXXOnFocus,suggestedActionXXXOnHover,suggestedActionKeyboardFocusIndicatorXXX - Style options are renamed:
suggestedActionDisabledXXXbecomesuggestedActionXXXOnDisabled
- New style options are introduced:
- Fixes #4028. Added new keyboard focus indicator for send box buttons, by @compulim, in PR #4035
- New style options are introduced:
sendBoxButtonXXXOnActive,sendBoxButtonXXXOnFocus,sendBoxButtonXXXOnHover,sendBoxButtonKeyboardFocusIndicatorXXX
- New style options are introduced:
- Fixes #4015. Added
role="heading"to titles of rich card, by @compulim, in PR #4074 - Fixes #4081. Updated typing for
StyleOptions.suggestedActionsStackedOverflow, by @compulim, in PR #4083 - Fixes #4075. Added
box-sizing: border-boxto all descendants under Adaptive Cards, by @compulim, in PR #4084 - Fixes #4104 and #4105. Fixed invalid entry in
core/package-lock.json, removedplayground/host, and added script to rebase URLs inpackage-lock.json, by @compulim, in PR #4106 - Fixes #3933, #3934, #3994 and #4019, for various accessibility improvements, by @compulim, in PR #4108
- Added a new keyboard help screen
- Reduce repetitions when reading message content and briefier readings
- Separated hints for links and interactive widgets
- Focus trap when focus is on interactive attachments or Adaptive Cards
- Using
role="feed"/role="article"for chat history and its messages - Always assign a message to
aria-activedescendantfor chat history - Updated verbiage from "transcript" to "chat history"
- Fixed overlapping hit zone causing clicking on bottom edge of message bubble may focus on the next activity instead
- Fixed typings of
useFocusanduseLocalizer
- Fixes #3165 and #4094. Allowlist
aria-labelfor links in Markdown and skip unrecognized attributes or invalid curly brackets, by @compulim, in PR #4095 - Fixes #4190. Recent Markdown curly bracket fix should not break IE11 due to unsupported "u" flag in
RegExp, by @compulim, in PR #4191
Changed
- Bumped all dependencies to the latest versions, by @compulim in PR #4074 and PR #4123
- Production dependencies
- Development dependencies
@babel/cli@7.15.7@babel/core@7.15.8@babel/plugin-proposal-object-rest-spread@7.15.6@babel/plugin-transform-runtime@7.15.8@babel/preset-env@7.15.8@babel/preset-typescript@7.15.0@types/node@16.10.9@types/react@17.0.29@typescript-eslint/eslint-plugin@4.33.0@typescript-eslint/parser@4.33.0babel-jest@27.2.5botbuilder@4.15.0concurrently@6.3.0core-js@3.18.3esbuild@0.12.29- [
eslint-plugin-prettier@3.4.1](https://n...
[4.14.1] - 2021-09-08
Subresource Integrity
<script
crossorigin="anonymous"
integrity="sha384-uJWBe8iPb6wN8/AaLQ0UKjgYEtWY9uIVgpkAID5kUNo2sV9hYmFbTDQXeRXyq7bl"
src="https://cdn.botframework.com/botframework-webchat/4.14.1/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-R4Eevwf75H8RQkTqCaFNpvO0V9nq+heLX30jLGKNrAICynjuHUbMo7D2usohGsRu"
src="https://cdn.botframework.com/botframework-webchat/4.14.1/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-Xyp6O3TOCrP+PVhd15I1Ehs8QTga7zqc/KYj6Idr9MbR10/SX5p6pSBhTAvAT/Sd"
src="https://cdn.botframework.com/botframework-webchat/4.14.1/webchat-minimal.js"
></script>Changelog
Fixed
Changed
- Resolves #4017. In samples, moved
react-scriptstodevDependencies, in PR #4023 - Forked
cldr-dataandcldr-data-downloader, in PR #3998- Moved source code to under
./srcfolder - Moved to
fs.readFileSync()fromrequire()when reading JSON files - Moved to
node:fs.mkdir()and removedmkdirp - Moved tests from
node:assertto Jest - Updated Unicode CLDR download folder to
/dist/folder from project root - Moved from Grunt/JSHint to
eslint - Upgraded from CommonJS to ES Module
- Use
read-pkg-upto determines parentpackage.json- In Web Chat, since we use
lernato run theinstallscript, we need to relax howcldr-dataread from parentpackage.json
- In Web Chat, since we use
- Moved source code to under
- Updated peer dependency of
reactto>= 16.8.6, in PR #3996 - Bumped all dependencies to the latest versions and sample bumps, by @compulim in PR #3996, PR #3998, and PR #4023
- Production dependencies
- Development dependencies
@babel/cli@7.14.5@babel/core@7.14.6@babel/plugin-proposal-class-properties@7.14.5@babel/plugin-proposal-object-rest-spread@7.14.7@babel/plugin-transform-runtime@7.14.5@babel/preset-env@7.14.7@babel/preset-react@7.14.5@babel/preset-typescript@7.14.5@babel/runtime@7.14.6@emotion/react@11.4.0@fluentui/react@8.22.3@types/node@16.3.1@types/react-dom@17.0.9@types/react@17.0.14@typescript-eslint/eslint-plugin@4.28.3@typescript-eslint/parser@4.28.3babel-jest@27.0.6concurrently@6.2.0core-js@3.15.2dotenv@10.0.0esbuild@0.12.15eslint-plugin-prettier@3.4.0eslint-plugin-react@7.24.0eslint@7.30.0http-proxy-middleware@2.0.1husky@7.0.1jest-environment-node@27.0.6jest-image-snapshot@4.5.1jest-junit@12.2.0jest@27.0.6lint-staged@11.0.0node-dev@7.0.0nodemon@2.0.12p-defer@4.0.0prettier@2.3.2sanitize-html@2.4.0selenium-webdriver@4.0.0-beta.4serve@12.0.0strip-ansi@6.0.0typescript@4.3.5webpack@5.45.1
- Dependencies used by samples
[4.14.0] - 2021-07-09
Subresource Integrity
<script
crossorigin="anonymous"
integrity="sha384-hXz10Qsp8m3FpR+4hxcQCYezS77mZKSB/k/G62JsQqdgIAn23zLkarnuK+5Qrjz2"
src="https://cdn.botframework.com/botframework-webchat/4.14.0/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-apZcViyYAeDhjrDJ0l1qVdlGkejY0+pIk8wsQBGc8xN1OqbWbDTjRbY2AlvgJMQW"
src="https://cdn.botframework.com/botframework-webchat/4.14.0/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-Zj/ZWIYzMSTk+hREAhqE9Jq2whlhUh3jtWC11HH8w6KMdmAuZtJKmdvzMDLfNqDa"
src="https://cdn.botframework.com/botframework-webchat/4.14.0/webchat-minimal.js"
></script>Changelog
Breaking changes
- A new style option
scrollToEndButtonBehavioris introduced to control when the scroll to end button should show (formerly "new messages" button):styleOptions.hideScrollToEndButtonhas been deprecated. To hide the scroll to end button, setstyleOptions.scrollToEndButtonBehaviortofalse;styleOptions.newMessageButtonFontSizehas been renamed tostyleOptions.scrollToEndButtonFontSizeto better reflect its purpose.
Added
- Cleanup repo URLs to point to main branch, by @corinagum, in PR #3870
- Resolves #3557 and #3736. Improved test harness and added browser pooling, by @compulim, in PR #3871
- Resolves #3788. Added
localTimestampandlocalTimezone(if available) to all outgoing activities, by @compulim, in PR #3896 - Resolves #3925. Added
scrollToEndButtonBehaviorto control when the scroll to end button should show, removedhideScrollToEndButton, and renamednewMessagesButtonFontSizetoscrollToEndButtonFontSize, by @compulim, in PR #3926.- Values for
scrollToEndButtonBehavior:- If unset, will maintain same behavior as previous versions, same as
"unread"; "unread"will show when there are any unread and offscreen messages (default);"any"will show when there are any offscreen messages;falsewill always hide the button.
- If unset, will maintain same behavior as previous versions, same as
- Added new
scrollToEndButtonMiddlewareto customize the appearance of the scroll to end button.
- Values for
- Resolves #3752. Added typings (
*.d.ts) for all public interfaces, by @compulim, in PR #3931 and #3946 - Resolves #2316. Added blessing/priming of
AudioContextwhen clicking on microphone button, by @compulim, in PR #3974
Fixed
- Fixes #3814. Allow carousel's scrollable content to be tabbable, by @corinagum in PR #3841
- Fixes #3834. Ensure carousel attachments are read by AT on tab focus, by @corinagum in PR #3841
- Fixes #3812. Update
adaptiveCardHostConfigto accessible text color-contrasts, by @corinagum in PR #3853 - Fixes #3816. De-bumped Node.js engine requirement for Direct Line Speech SDK to
>= 10.14.2from>= 12.0.0, by @compulim in PR #3854 - Fixes #3842. Updated
husky,lint-stagedand correspondingprecommitscripts, by @compulim, in PR #3871 - Improved test reliability and added snapshots to console of test harness in development mode, by @compulim, in PR #3891
- Fixes #3757. IE11: Send box should not be disabled after pressing ESCAPE key in the transcript, by @compulim, in PR #3902
- Fixes #3901. IE11: SVG icons for buttons should not be focusable, by @compulim, in PR #3902
- Fixes #3825. Add
role="presentation"to all decorative<svg>, by @compulim, in PR #3903 - Fixes #3360 and #3615. Use
channelData['webchat:fallback-text']field for screen reader text, before stripping Markdown fromactivity.textfield, by @compulim, in PR #3917 - Fixes #3856. Fix missing typings, by @compulim and @corinagum, in PR #3931
- Fixes #3943. Auto-scroll should skip invisible activities, such as post back or event activity, by @compulim, in PR #3945
- Fixes #3947. Adaptive Cards: all action sets (which has
role="menubar") must have at least 1 or morerole="menuitem", by @compulim, in PR #3950 - Fixes #3823 and #3899. Fix speech recognition and synthesis on Safari, by @compulim, in PR #3974
- Fixes #3977. Fix bundle not work in Internet Explorer 11 due to
p-defer, by @compulim, in PR #3978 - Fixes #3979. Fix Direct Line Speech should work in environments without microphone access, by @compulim, in PR #3980
Changed
- Bumped all dependencies to the latest versions and sample bumps, by @compulim in PR #3831, PR #3846, PR #3917, PR #3965, and PR #3966
- Development dependencies
@azure/storage-blob@12.5.0@babel/cli@7.13.14@babel/core@7.13.14@babel/plugin-proposal-async-generator-functions@7.13.8@babel/plugin-proposal-class-properties@7.13.0@babel/plugin-proposal-object-rest-spread@7.13.8@babel/plugin-transform-runtime@7.13.10@babel/preset-env@7.13.12@babel/preset-react@7.13.13@babel/preset-typescript@7.13.0@babel/runtime@7.13.10- [
@babel/standalone@7.13.14](https://npmjs.com/package/@babel...
- Development dependencies
[4.13.0] - 2021-04-05
Visual breaking changes for 4.13.0
- PR #3817
- Markdown anchors will now include an icon and accessibility label indicating that the link will send to an external resource.
Subresource Integrity
<script
crossorigin="anonymous"
integrity="sha384-Xm4uX5+AacO2cl3ffEKrytyC+iHBSsNvXrJTTzodBhgkiuxIS0YWHGq1KFcf0Rr+"
src="https://cdn.botframework.com/botframework-webchat/4.13.0/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-wwdw+KudAKGhnGV4ewfJL1KE1dqx8DgQ6TrY3z4hIHXc1GHjuI/HwoEx4p5VOGx1"
src="https://cdn.botframework.com/botframework-webchat/4.13.0/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-WoHYVO0be3nxbYXAhMO3COEoH9aBH2TGHj/LkphxECLKvlDDsobF2v8LOzeKvGSV"
src="https://cdn.botframework.com/botframework-webchat/4.13.0/webchat-minimal.js"
></script>Changelog
Added
- Resolves #3087. External links in Markdown will now be appended with an "open in new window" icon and accessibility label, by @compulim in PR #3817
- Resolves #2100. Add types declarations for Style Options in api bundle, by @corinagum, in PR #3818
Changed
- Bumped all dependencies to the latest versions and sample bumps, by @corinagum in PR #3805
- Development dependencies
@babel/cli@7.13.10@babel/core@7.13.10@babel/plugin-proposal-class-properties@7.13.0@babel/plugin-proposal-object-rest-spread@7.13.8@babel/plugin-transform-runtime@7.13.10@babel/preset-env@7.13.10@babel/preset-react@7.12.13@babel/preset-typescript@7.13.0@babel/runtime@7.13.10@types/node@14.14.35@types/react@16.9.55@typescript-eslint/eslint-plugin@4.18.0@typescript-eslint/parser@4.18.0babel-jest@26.6.3eslint-plugin-prettier@3.3.1eslint-plugin-react-hooks@4.2.0eslint-plugin-react@7.22.0eslint@7.22.0husky@4.3.0jest-image-snapshot@4.2.0jest-junit@12.0.0jest-trx-results-processor@2.2.0jest@26.6.3lint-staged@10.5.1lolex@6.0.0node-dev@6.4.0node-fetch@2.6.1prettier@2.2.1source-map-loader@1.1.2terser-webpack-plugin@4.2.3typescript@4.2.3webpack-cli@4.2.0webpack-stats-plugin@1.0.2webpack@4.44.2
- Production dependencies
- Development dependencies