[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/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@fluentui/[email protected]
@types/[email protected]
@types/[email protected]
@typescript-eslint/[email protected]
@typescript-eslint/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
- Production dependencies
- Development dependencies
- Resolves #3693. Bumped to
[email protected]
, by @compulim, in PR #3907