Releases: microsoft/BotFramework-WebChat
Releases · microsoft/BotFramework-WebChat
[4.11.0] - 2020-11-04
Subresource integrity
CDN release will be published on 2020-11-05.
<script
crossorigin="anonymous"
integrity="sha384-VaCCB1kZvCsUv3mrVO7ND25gqCPmUGP9NMOJEveBa1vsLyQw3i4pdOq03UZtMLE8"
src="https://cdn.botframework.com/botframework-webchat/4.11.0/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-vkX1C8fopQ2J+lXKsoiEUWsLnvq9bfoS54SzU4P1iM+AafCMLUL9sbC2NY0ktBnL"
src="https://cdn.botframework.com/botframework-webchat/4.11.0/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-PdctqL/ALsZSOXP2iRI8dVVKzmLMeS+dEnE8tfv/4K0TGnCM17yiMsa0wcC7xELV"
src="https://cdn.botframework.com/botframework-webchat/4.11.0/webchat-minimal.js"
></script>
Changelog
[4.11.0] - 2020-11-04
Added
- Resolves #3281. Added documentation on speech permissions for Cordova apps on Android, by @corinagum, in PR #3508
- Resolves #3316. Refactored platform-neutral APIs into the new
api
package, to be reused on React Native component, in PR #3543 by @compulim- The new layering is
core
->api
->component
(HTML-only) ->bundle
- Includes composition mode, platform-neutral React hooks, and localization resources
- Most hooks are available in the new
api
package. Some hooks are only available on the existingcomponent
package, due to their platform dependency or coupling with visual components. For example, Web Worker, 2D canvas,useMicrophoneButton*
are not available on theapi
package - Most implementations of middleware are only available in
component
package due to their coupling with visual components or platform features. Some implementations, (e.g. card action middleware and activity grouping middleware) are available onapi
package. For example:- Carousel layout and stacked layout is only available on
component
package due to their coupling with their respective visual components - For card action middleware,
imBack
,messageBack
andpostBack
actions are available onapi
package, butcall
,openUrl
and other platform-dependent actions are only available oncomponent
package
- Carousel layout and stacked layout is only available on
activityMiddleware
,attachmentMiddleware
, etc, now support arrays for multiple middleware
- The new layering is
Fixed
- Fixes #3489. [Accessibility]: Fix AT saying 'Bot undefined said', by @corinagum in PR #3524
- Fixes #3547. [Accessibility]: Add attachment middleware for screen reader, by @compulim in PR #3548
- Fixes #3371. [Accessibility]: Add alt property for image in HeroCards, by @corinagum in PR #3541
- Fixes #3310. Add quantity, tap and text field to ReceiptCards, by @corinagum in PR #3541
- Fixes #3514. Fix PoliCheck language errors, by @corinagum in PR #3545
- Fixes #3537. [Accessibility]: Ensure
aria-roledescription
is only used on elements with implicit/explicit role based off of WAI ARIA role attributes, by @corinagum in PR #3551, #3583, and #3587 - Fixes #3431. Activities should not be delayed due to missing activity of type "typing", by @compulim in PR #3554
- Fixes #3574. Creates workaround for Cognitive Services Speech SDK 1.13.1 regarding removed support of macOS/iOS, by @compulim in PR #3576
- Fixes #3570. Adaptive Card
speak
property should be narrated by screen reader, by @compulim in PR #3573 and PR #3584 - Fixes #3571. Error box should be hidden for Adaptive Card renderer when running in production mode, by @compulim in PR #3573
Changed
- Bumped development dependency
[email protected]
in PR #3467 by @dependabot - Bumped Cognitive Services Speech SDK to 1.13.1, by @compulim in PR #3432
Samples
- Fixes #3526. Add info on composition mode in sample 06.d, by @corinagum in PR #3541
[4.10.1] - 2020-09-10
Subresource integrity
<script
crossorigin="anonymous"
integrity="sha384-ZT32ehV2SkikXkWvH8cO0OsMgQoYg+zd09eBP5oJrcrL3FJWqPSB1IGifTBYKccw"
src="https://cdn.botframework.com/botframework-webchat/4.10.1/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-FT3pdxVxoyBtfEc83Xt1uxb8vm/KVuyBicVG6gM41mgXeGw/S3Q2/CThAtFXhxcN"
src="https://cdn.botframework.com/botframework-webchat/4.10.1/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-GJIjDHDbUXiw9rCIhtfjJoyzI9eZktEvt9bVGgfki4OkUdR7XAEpvy3RrVZvvTFv"
src="https://cdn.botframework.com/botframework-webchat/4.10.1/webchat-minimal.js"
></script>
Changelog
[4.10.1] - 2020-09-10
Breaking changes
- To support Content Security Policy,
glamor
is being replaced bycreate-emotion
. The CSS hash and rule name is being prefixed withwebchat--css
with a random value.
Fixed
- Fixes #3431. Removed delay of first activity with
replyToId
pointing to a missing activity, by @compulim in PR #3450
Changed
- Support Content Security Policy, in PR #3443 by @compulim
- Moved from
[email protected]
to[email protected]
- Inlined assets are now using
blob:
scheme, instead ofdata:
scheme - Detect Web Worker support by loading a dummy Web Worker, instead of checking
window.MessagePort
andwindow.Worker
- Data URI used in image of attachments will be converted to URL with scheme of
blob:
- Bumped dependencies
- Moved from
- Bumped all dependencies to the latest versions, by @corinagum in PR #3380, #3442
- Development dependencies
- Root package
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[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]
- Removed unused package
@azure/[email protected]
- Other packages
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[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]
- Root package
- Production dependencies
@babel/[email protected]
@babel/[email protected]
@babel/[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]
- Development dependencies
Samples
[4.10.0] - 2020-08-18
Subresource integrity
<script
crossorigin="anonymous"
integrity="sha384-4key3rVGP7b1Yaaqp04c11GMmgLeYgSIgZQ7gtn0rR/wL3fnkFpiAAuOv2Glo6DH"
src="https://cdn.botframework.com/botframework-webchat/4.10.0/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-nB4tinBxptD4DwQRrhIiZL2tKeB0n2aHg2b+/RoBi801c0zU2BRRL21pKMYYhr/j"
src="https://cdn.botframework.com/botframework-webchat/4.10.0/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-2XHvA/fH49BWL345uPZgXXqINkPfHP4jkGtLeg7GrDYpzaEBDcJBpxOSi6jj+jde"
src="https://cdn.botframework.com/botframework-webchat/4.10.0/webchat-minimal.js"
></script>
[4.10.0] - 2020-08-18
Breaking changes
- Due to the complexity, we are no longer exposing
<CarouselLayout>
and<StackedLayout>
. Please use<BasicTranscript>
to render the transcript instead. - With the new activity grouping feature:
- Customized avatar cannot be wider than
styleOptions.avatarSize
. If you want to show a wider avatar, please increasestyleOptions.avatarSize
. - If customized avatar is rendering
false
, bubble will still be padded to leave a gutter for the empty customized avatar. To hide gutter, please setstyleOptions.botAvatarInitials
andstyleOptions.userAvatarInitials
to falsy.
- Customized avatar cannot be wider than
- Default bubble nub offset is set to
0
, previously"bottom"
(or-0
)- Previously, we put the bubble nub at the bottom while keeping the avatar on top. This is not consistent in the new layout.
- By default, we will group avatar per status group.
- If you want to switch back to previous behaviors, please set
styleOptions.showAvatarInGroup
totrue
.
- If you want to switch back to previous behaviors, please set
- Default
botAvatarInitials
anduserAvatarInitials
is changed toundefined
, from""
(empty string)- When the initials is
undefined
, no gutter space will be reserved for the avatar. - When the initials is
""
(empty string), gutter space will be reserved, but not avatar will be shown.
- When the initials is
Changed
- Bumped all dependencies to the latest versions, by @compulim in PR #3380, #3388, and #3418
- Development dependencies
- Root package
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[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]
- Removed unused package
@azure/[email protected]
- Other packages
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[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]
- Root package
- Production dependencies
@babel/[email protected]
@babel/[email protected]
@babel/[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]
- Development dependencies
Added
[4.9.2] - 2020-07-14
Subresource integrity
<script
crossorigin="anonymous"
integrity="sha384-G0VCa1atd2kw41Vc47SQAzxRtXJ0VUF7STjAmsS/VBtJ30ohQxOkKPOR6iqtUG/H"
src="https://cdn.botframework.com/botframework-webchat/4.9.2/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-Un9Ro5fniKQ6ajmXFs5WHQDeflWbRClv9AjCiEQ6AGsxAxww91IKPE8KBheuTEIf"
src="https://cdn.botframework.com/botframework-webchat/4.9.2/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-wLx+ilIRSYD2v2BUIDlJAfELEXQjrxliC/t6JaeMCn3U+KX2q2uFd6KdPYKUSH2l"
src="https://cdn.botframework.com/botframework-webchat/4.9.2/webchat-minimal.js"
></script>
Changelog
Added
- Resolves #3182. Added stacked suggested actions height properties, by @corinagum, in PR #3235
- Localized strings in Cantonese (
yue
), by @compulim, in PR #3289
Fixes
- Fixes #3265. Fix styling specificity regression on microphone button, by @corinagum in PR #3276
- Fixes #3279. Fix relative timestamp errored out when showing a time before yesterday, by @compulim in PR #3282
- Fixes #3236, by @compulim in PR #3287
- Isolated screen reader only live region for incoming activities and added a new
<ScreenReaderActivity>
component - Removed screen reader text for activities outside of live region, including
<CarouselFilmstrip>
,<StackedLayout>
,<TextContent>
, and<Timestamp>
- Updated some accessibility texts
- Rectified activities render order by delaying activities with
replyToId
that reference an activity which is not ACK-ed, for up to 5 seconds - Disabled widgets will have
tabindex="-1"
set, instead ofdisabled
attribute - Remove
tabindex="-1"
from Adaptive Cards container - Hide activities of type
invoke
- Isolated screen reader only live region for incoming activities and added a new
- Fixes #3294. Fix blank screen on missing middlewares, by @compulim in PR #3295
- Fixes #3297. Fix
className
prop is not honored in<ReactWebChat>
, by @compulim in PR #3300
Samples
- Resolves #3218 and #2811. Adds documentation on reconnecting to a conversation in minimizable sample, by @corinagum, in PR #3239
[dev-preview-timestamp-fix] - 2020-07-08
Tarballs can be found in this workflow, https://github.com/microsoft/BotFramework-WebChat/actions/runs/161358565.
Build time | Workflow ID | Source version | Branch | Package version |
---|---|---|---|---|
2020-07-08 01:27:42.503Z
|
161358565
|
8696a8e
|
preview-timestamp-fix
|
4.9.2-preview-timestamp-fix.8696a8e
|
Force push on tag name |
Script tags
<script src="https://github.com/microsoft/BotFramework-WebChat/releases/download/dev-preview-timestamp-fix/webchat.js"></script>
<script src="https://github.com/microsoft/BotFramework-WebChat/releases/download/dev-preview-timestamp-fix/webchat-es5.js"></script>
<script src="https://github.com/microsoft/BotFramework-WebChat/releases/download/dev-preview-timestamp-fix/webchat-minimal.js"></script>
[4.9.1] - 2020-06-09
Subresource integrity
<script
crossorigin="anonymous"
integrity="sha384-Q1EIOjL3Bf1TgDSIVoQ0+I5X3P5LX+k1OIJPaVmNOkUjXNlSoR1bkAPJZNuK54x2"
src="https://cdn.botframework.com/botframework-webchat/4.9.1/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-iUFVOYPvwT6u1UqxL7JaKPyO1VGrqJ0zg/fD+g1QKLH3xi6MzFyYtUKQM51LHuob"
src="https://cdn.botframework.com/botframework-webchat/4.9.1/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-GM+djQ1F0fU5UT7u/+8oFgNtU9I/eJZkjgBNVmCjNkMxhG30zzxCah0U/5McEpvv"
src="https://cdn.botframework.com/botframework-webchat/4.9.1/webchat-minimal.js"
></script>
Changelog
Breaking changes
- Affecting Adaptive Cards, legacy cards and suggested actions
- For
openUrl
card action, we are now whitelisting the URL scheme using the same whitelist from the default Markdown + sanitize engine, which includesdata
,http
,https
,ftp
,mailto
,sip
, andtel
- To whitelist a different set of URL schemes, please implement the card action middleware to override this behavior
- For
Added
- Resolves #3205. Added Direct Line App Service Extension protocol, by @compulim in PR #3206
- Resolves #3225. Support allowed scheme with
openUrl
card action, by @compulim in PR #3226
Fixed
- Fixes #1340. Card container should not be focusable if they do not have
tapAction
, by @compulim in PR #3193 - Fixed #3196. Cards with
tapAction
should be executable by ENTER or SPACEBAR key, by @compulim in PR #3197 - Fixed #3203. "New messages" button should be narrated by assistive technology, by @compulim in PR #3204
- Fixed #3217. Make sure
rel="noopener noreferrer
is not sanitized, by @compulim in PR #3220 - Fixed #3223. Tap an
openUrl
card action should open URL in a new tab withnoopener noreferrer
set, by @compulim in PR #3224
Changed
- Bumped Adaptive Cards dependencies, by @compulim in PR #3193
- Bumped dependencies due to a bug in Babel and Node.js, by @compulim in PR #3177
- Development dependencies
- Production dependencies
- Updated localization strings for Estonian (Estonia) (
et-EE
), by @LiweiMa in PR #3183 - Bumped
[email protected]
, by @compulim in PR #3206
Samples
- Resolves #3205. Added Direct Line App Service Extension chat adapter sample, by @compulim in PR #3206
[4.9.0] - 2020-05-13
Subresource integrity
<script
crossorigin="anonymous"
integrity="sha384-gn41zgXj4uDFglvcUFGeHzl+pEV0vpsJ0p/ITM3AV1apUs7OGo/FO1gl8i1EJMr4"
src="https://cdn.botframework.com/botframework-webchat/4.9.0/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-f6BvsOUIP9DrTw62SdcJwOm2oa+4Eu21Dzdlh2bfOA2axKA9dL812USg0fMy3CP4"
src="https://cdn.botframework.com/botframework-webchat/4.9.0/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-N8YF6H5wP3LtjcC9zCauWxFJH8q6LkRXGyH11jkATU9iCbdPH4qoLNhVz25D2hjO"
src="https://cdn.botframework.com/botframework-webchat/4.9.0/webchat-minimal.js"
></script>
Changelog
Added
- Resolves #2897. Moved from JUnit to VSTest reporter with file attachments, by @compulim in PR #2990
- Added
aria-label
attribute support for default Markdown engine, by @patniko in PR #3022 - Resolves #2969. Support sovereign cloud for Cognitive Services Speech Services, by @compulim in PR #3040
- Resolves #2481. Support selecting different audio input devices for Cognitive Services Speech Services, by @compulim in PR #3079
- Resolves #2850. Added new
useFocus
hook and deprecatinguseFocusSendBox
hook, by @compulim in PR #3123- Modify
setFocus
argument ofuseTextBoxSubmit
to supportmain
andsendBoxWithoutKeyboard
- Modify
Fixed
- Fixes #2989. Fix
observeOnce
to use ES Observable call pattern, by @compulim in PR #2993 - Fixes #3024. Using bridge package
markdown-it-attrs-es5
for consumingmarkdown-it-attrs
for IE11, by @compulim in PR #3025 - Fixes #2818. Fix user ID is not set when passing to embed as query parameter, by @p-nagpal in PR #3031
- Fixes #3026. Fix link
rel
attribute in therenderMarkdown
function, by @tdurnford in PR #3033 - Fixes #2933. Fix
text
should not be ignored inmessageBack
action in hero card, by @geea-develop and @compulim in PR #3003 - Fixes #2562. Fix timestamps should not stop updating, by @compulim in PR #3066
- Fixes #2953. Direct Line Speech should not synthesize when the
speak
property is falsy, by @compulim in PR #3059 - Fixes #2876.
messageBack
andpostBack
should send even if bothtext
andvalue
is falsy orundefined
, by @compulim in PR #3120 - Fixes #2668. Disable Web Audio on insecure connections, by @compulim in PR #3079
- Fixes #2850. After click suggested action, should focus to send box without keyboard, by @compulim in PR #3123
- Fixes #3133. Associate ARIA labels with buttons in hero card and Adaptive Cards, by @compulim in PR #3146.
- Remove browser-based detection from
<ScreenReaderText>
because it is no longer needed. - After stripping Markdown syntax for accessibility labels, cache the result to improve rendering performance.
- Skip stripping Markdown for non-Markdown text content.
- Remove browser-based detection from
- Fixes #3155. Patch incoming activities with null fields, by @compulim in PR #3154
Changed
- Bumped all dependencies to latest versions, by @compulim in PR #2985 and #3012
- Development dependencies
- Root package
@azure/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
@babel/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
- Other packages
- Root package
- Production dependencies
core
bundle
component
directlinespeech
embed
- Development dependencies
- Bumped Chrome Docker image to
3.141.59-zirconium
(Chrome 80.0.3987.106), by @compulim in PR [#2992](https://github.com/microsoft/Bo...
[4.8.1] - 2020-04-22
Subresource integrity
<script
crossorigin="anonymous"
integrity="sha384-ckY8pga99BTkPPRbRxLlErL5DeaTwspGDoieGGvI4X8X3w4I2OcLXlHeo6P375yw"
src="https://cdn.botframework.com/botframework-webchat/4.8.1/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-8wbIBXOC04g3ze/UjsvmVyPV2JWVW6zErr0Vhn/aLSIZ24vFo1jiqkDns/53ye8h"
src="https://cdn.botframework.com/botframework-webchat/4.8.1/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-wOaf1uqEf5k63cybZfnId3htE1b9OLv6FJgAORyLau4vP+EAh+jEYPU5Te5scmnw"
src="https://cdn.botframework.com/botframework-webchat/4.8.1/webchat-minimal.js"
></script>
Changelog
Fixed
- Fixes #3075. Fix usability issues around accessibility, by @compulim in PR #3076
- Fix timestamp should not be narrated more than once.
- Associate the activity text with its attachments, by adding a
role="region"
to the activity DOM element.
- Fixes #3074. Keep
props.locale
when sending to the bot, by @compulim in PR #3095 - Fixes #3096. Use
<ScreenReaderText>
instead ofaria-label
for message bubbles, by @compulim in PR #3097
Daily build (qfe)
This build will be updated daily. Please do not use this build in production environment.
Build time | Build ID | Release ID | Source version | Branch | Package version |
---|---|---|---|---|---|
2020-04-15 11:53:37Z | 120273 |
2025 |
e640dc5 | qfe |
4.8.1 |
<script
crossorigin="anonymous"
integrity="sha384-ckY8pga99BTkPPRbRxLlErL5DeaTwspGDoieGGvI4X8X3w4I2OcLXlHeo6P375yw"
src="https://github.com/microsoft/BotFramework-WebChat/releases/download/daily-qfe/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-8wbIBXOC04g3ze/UjsvmVyPV2JWVW6zErr0Vhn/aLSIZ24vFo1jiqkDns/53ye8h"
src="https://github.com/microsoft/BotFramework-WebChat/releases/download/daily-qfe/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-wOaf1uqEf5k63cybZfnId3htE1b9OLv6FJgAORyLau4vP+EAh+jEYPU5Te5scmnw"
src="https://github.com/microsoft/BotFramework-WebChat/releases/download/daily-qfe/webchat-minimal.js"
></script>
Note: the SHA384 hash may change daily.
Changes:
- #3097: Use in favor of aria-label
- #3095: Keep props.locale when sending to bot
- #3076: Fix usability on accessibility
- #2982: [HIGH] Bump to 4.8.1-0
This list of changes was auto generated.
[4.8.0] - 2020-03-05
Subresource integrity
<script
crossorigin="anonymous"
integrity="sha384-EAMohwVGPGHagMPKSsrNj19/AUPEveyotCJG2ZriygMOR7dujHk9iLMoKOeZiETX"
src="https://cdn.botframework.com/botframework-webchat/4.8.0/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-kBFopxfE3U3wq2fCUCdxNFihClv3I5jnxsQqqeShIPDs7wpWg9K8NSKUINSzPuJs"
src="https://cdn.botframework.com/botframework-webchat/4.8.0/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity="sha384-85eymmymrLVw3ykXTOZtd2ApKmykFvEq8/GZeU9ebWsrq1zktTdd/pq2oLe+fdcQ"
src="https://cdn.botframework.com/botframework-webchat/4.8.0/webchat-minimal.js"
></script>
Changelog
Breaking changes
- Localization
locale
prop:zh-YUE
has been renamed toyue
to conform with Unicode standard.zh-YUE
will continue to work with warnings- Most strings have been validated and retranslated by the Microsoft localization team, with the exception of English (US), Egyptian Arabic, Jordan Arabic, and Chinese Yue
- If the new strings are undesirable, please use the
overideLocalizedStrings
prop for customization - String IDs have been refreshed and now use a standard format
- If the new strings are undesirable, please use the
useLocalize
anduseLocalizeDate
is deprecated. Please useuseLocalizer
anduseDateFormatter
instead
- Customizable typing indicator: data and hook related to typing indicator are being revamped in PR #2912
lastTypingAt
reducer is deprecated, usetyping
instead. The newer reducer contains typing indicator from the useruseLastTypingAt()
hook is deprecated, useuseActiveTyping(duration?: number)
instead. For all typing information, passInfinity
toduration
argument
- Customizable activity status: new
nextVisibleActivity
to control activity status visibility- Previously, we use
timestampClassName
to control if the activity should show or hide timestamp. ThetimestampClassName
was added as aclass
attribute the DOM element which contains the timestamp - Today,
activity
andnextVisibleActivity
are passed to the middleware, so theactivityRendererMiddleware
can decide whether the timestamp should be shown or not. For example, developers can group timestamp based on activity type
- Previously, we use
Added
- Resolves #2753. Added support for updating an activity by the ID, by @compulim in PR #2825
- Added custom hooks -
useTimer
anduseIntervalSince
- to replace the headlessTimer
component, by @tdurnford, in PR #2771 - Resolves #2720, added customizable activity status using
activityStatusMiddleware
props, by @compulim, in PR #2788 - Added default
onError
prop to theDictation
component, by @tonyanziano, in PR #2866 - Resolves #1976. Added RTL support with localization for Hebrew and Arabic, by @corinagum, in PR #2890
- Resolves #2755. Added notification system and toast UI, by @compulim, in PR #2883
- Please read this article on how to use notification
- Slow connection timer can now be set using
styleOptions.slowConnectionAfter
(in milliseconds)
- Resolves #2871. Moved typing indicator to transcript, by @compulim, in PR #2883
- Resolves #2756. Improved localizability and add override support for localized strings, by @compulim in PR #2894
- Will be translated into 44 languages, plus 2 community-contributed translations
- For details, please read the documentation on the localization
- Resolves #2213. Added customization for typing activity, by @compulim, in PR #2912
- Resolves #2754. Added telemetry system, by @compulim, in PR #2922
- Resolves #2857. Added the ability to customize the avatar on a per activity basis, by @compulim, in PR #2943
- Resolves #2944. Updated Azure locale mapping in embed page, by @compulim in PR #2965
Fixed
- Fixes #2611. Fix sample 21: hooks errors, by @corinagum in PR #2740
- Fixes #2609. Fix sample 12: minimizable button is causing another reconnect on restore, by @compulim in PR #2758
- Fixes #2773. Import ES5 version of the following bundles, by @compulim in PR #2774
- Fixes the following issues and improves test reliability, by @compulim in PR #2777
- Fixes #2612. Wait until language change
- Fixes #2653. Scroll-to-bottom check will do 5 consecutive checks to determine stickiness.
- Fixes #2691. Wait until button is shown/hid before taking screenshot
- Fixes #2737. Use
driver.wait
for conditions - Fixes #2776. Wait until button is shown/hid before taking screenshot
- Use a new timeout
fetchImage
for images
- Fixes #2780. Added the
tel
protocol to theallowedSchema
in thesanitize-html
options, by @tdurnford in PR #2787 - Fixes #2747. Moved
Timestamp
into theSendStatus
component and removed theTimestamp
style set, by @tdurnford in PR #2786 - Fixes #2647. Update the
CroppedImage
componentPropType
, by @tdurnford in PR #2795 - Fixes #2794. Fix change locale sample, by @corinagum in PR #2798
- Fixes #2510. Host hybrid-react and clear-after-idle samples, by @corinagum in PR #2798
- Fixes #2772. Updated Adaptive Cards HostConfig to include container styles, by @tdurnford in PR #2810
- Fixes #2145. Updated Adaptive Cards styles to include action styles, by @tdurnford in PR #2810
- Fixes #2459. Updated Cognitive Services Speech Services to use latest fetch credentials signature, by @compulim in PR [#2740](https://github.com/...