[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@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.0abort-controller-es5@1.2.0abort-controller@3.0.0babel-loader@8.2.2base64-arraybuffer@0.2.0botbuilder-dialogs@4.12.0botbuilder@4.12.0classnames@2.3.1concurrently@6.0.1copy-webpack-plugin@6.4.1core-js@3.10.0cross-env@7.0.3css-loader@5.2.0dotenv@8.2.0eslint-config-standard@16.0.2eslint-plugin-import@2.22.1eslint-plugin-node@11.1.0eslint-plugin-promise@4.3.1eslint-plugin-react@7.23.1eslint-plugin-react@7.23.1eslint-plugin-standard@5.0.0eslint@7.23.0event-iterator@2.0.0global-agent@2.2.0html-webpack-plugin@4.5.2http-proxy-middleware@1.1.0husky@6.0.0jest-image-snapshot@4.4.1lerna@4.0.0lint-staged@10.5.4lolex@6.0.0math-random@2.0.1msal@1.4.9node-dev@6.6.0nodemon@2.0.7office-ui-fabric-react@7.165.2p-defer-es5@1.2.1p-defer@3.0.0prettier@2.2.1react-redux@7.2.3react-scripts@4.0.3redux@4.0.5restify@8.5.1selenium-webdriver@4.0.0-beta.2simple-update-in@2.2.0source-map-loader@1.1.3string-similarity@4.0.4style-loader@2.0.0uuid@8.3.2webpack-cli@4.6.0webpack-stats-plugin@1.0.3webpack@4.46.0
- Production dependencies
- Development dependencies
- Resolves #3693. Bumped to
microsoft-cognitiveservices-speech-sdk@1.17.0, by @compulim, in PR #3907