[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
scrollToEndButtonBehavior
is introduced to control when the scroll to end button should show (formerly "new messages" button):styleOptions.hideScrollToEndButton
has been deprecated. To hide the scroll to end button, setstyleOptions.scrollToEndButtonBehavior
tofalse
;styleOptions.newMessageButtonFontSize
has been renamed tostyleOptions.scrollToEndButtonFontSize
to 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
localTimestamp
andlocalTimezone
(if available) to all outgoing activities, by @compulim, in PR #3896 - Resolves #3925. Added
scrollToEndButtonBehavior
to control when the scroll to end button should show, removedhideScrollToEndButton
, and renamednewMessagesButtonFontSize
toscrollToEndButtonFontSize
, 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;false
will always hide the button.
- If unset, will maintain same behavior as previous versions, same as
- Added new
scrollToEndButtonMiddleware
to 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
AudioContext
when 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
adaptiveCardHostConfig
to 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.2
from>= 12.0.0
, by @compulim in PR #3854 - Fixes #3842. Updated
husky
,lint-staged
and correspondingprecommit
scripts, 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.text
field, 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
@fluentui/react@8.9.0
@types/node@14.14.37
@types/react@17.0.3
@typescript-eslint/eslint-plugin@4.21.0
@typescript-eslint/parser@4.21.0
abort-controller-es5@1.2.0
abort-controller@3.0.0
babel-loader@8.2.2
base64-arraybuffer@0.2.0
botbuilder-dialogs@4.12.0
botbuilder@4.12.0
classnames@2.3.1
concurrently@6.0.1
copy-webpack-plugin@6.4.1
core-js@3.10.0
cross-env@7.0.3
css-loader@5.2.0
dotenv@8.2.0
eslint-config-standard@16.0.2
eslint-plugin-import@2.22.1
eslint-plugin-node@11.1.0
eslint-plugin-promise@4.3.1
eslint-plugin-react@7.23.1
eslint-plugin-react@7.23.1
eslint-plugin-standard@5.0.0
eslint@7.23.0
event-iterator@2.0.0
global-agent@2.2.0
html-webpack-plugin@4.5.2
http-proxy-middleware@1.1.0
husky@6.0.0
jest-image-snapshot@4.4.1
lerna@4.0.0
lint-staged@10.5.4
lolex@6.0.0
math-random@2.0.1
msal@1.4.9
node-dev@6.6.0
nodemon@2.0.7
office-ui-fabric-react@7.165.2
p-defer-es5@1.2.1
p-defer@3.0.0
prettier@2.2.1
react-redux@7.2.3
react-scripts@4.0.3
redux@4.0.5
restify@8.5.1
selenium-webdriver@4.0.0-beta.2
simple-update-in@2.2.0
source-map-loader@1.1.3
string-similarity@4.0.4
style-loader@2.0.0
uuid@8.3.2
webpack-cli@4.6.0
webpack-stats-plugin@1.0.3
webpack@4.46.0
- Production dependencies
- Development dependencies
- Resolves #3693. Bumped to
microsoft-cognitiveservices-speech-sdk@1.17.0
, by @compulim, in PR #3907