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
apipackage, 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
apipackage. Some hooks are only available on the existingcomponentpackage, due to their platform dependency or coupling with visual components. For example, Web Worker, 2D canvas,useMicrophoneButton*are not available on theapipackage - Most implementations of middleware are only available in
componentpackage due to their coupling with visual components or platform features. Some implementations, (e.g. card action middleware and activity grouping middleware) are available onapipackage. For example:- Carousel layout and stacked layout is only available on
componentpackage due to their coupling with their respective visual components - For card action middleware,
imBack,messageBackandpostBackactions are available onapipackage, butcall,openUrland other platform-dependent actions are only available oncomponentpackage
- 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-roledescriptionis 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
speakproperty 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,
glamoris being replaced bycreate-emotion. The CSS hash and rule name is being prefixed withwebchat--csswith a random value.
Fixed
- Fixes #3431. Removed delay of first activity with
replyToIdpointing 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.MessagePortandwindow.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.botAvatarInitialsandstyleOptions.userAvatarInitialsto 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.showAvatarInGrouptotrue.
- If you want to switch back to previous behaviors, please set
- Default
botAvatarInitialsanduserAvatarInitialsis 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
replyToIdthat reference an activity which is not ACK-ed, for up to 5 seconds - Disabled widgets will have
tabindex="-1"set, instead ofdisabledattribute - 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
classNameprop 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
openUrlcard 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
openUrlcard 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
tapActionshould 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 noreferreris not sanitized, by @compulim in PR #3220 - Fixed #3223. Tap an
openUrlcard action should open URL in a new tab withnoopener noreferrerset, 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-labelattribute 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
useFocushook and deprecatinguseFocusSendBoxhook, by @compulim in PR #3123- Modify
setFocusargument ofuseTextBoxSubmitto supportmainandsendBoxWithoutKeyboard
- Modify
Fixed
- Fixes #2989. Fix
observeOnceto use ES Observable call pattern, by @compulim in PR #2993 - Fixes #3024. Using bridge package
markdown-it-attrs-es5for consumingmarkdown-it-attrsfor 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
relattribute in therenderMarkdownfunction, by @tdurnford in PR #3033 - Fixes #2933. Fix
textshould not be ignored inmessageBackaction 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
speakproperty is falsy, by @compulim in PR #3059 - Fixes #2876.
messageBackandpostBackshould send even if bothtextandvalueis 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
corebundlecomponentdirectlinespeechembed
- 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.localewhen sending to the bot, by @compulim in PR #3095 - Fixes #3096. Use
<ScreenReaderText>instead ofaria-labelfor 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
localeprop:zh-YUEhas been renamed toyueto conform with Unicode standard.zh-YUEwill 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
overideLocalizedStringsprop for customization - String IDs have been refreshed and now use a standard format
- If the new strings are undesirable, please use the
useLocalizeanduseLocalizeDateis deprecated. Please useuseLocalizeranduseDateFormatterinstead
- Customizable typing indicator: data and hook related to typing indicator are being revamped in PR #2912
lastTypingAtreducer is deprecated, usetypinginstead. The newer reducer contains typing indicator from the useruseLastTypingAt()hook is deprecated, useuseActiveTyping(duration?: number)instead. For all typing information, passInfinitytodurationargument
- Customizable activity status: new
nextVisibleActivityto control activity status visibility- Previously, we use
timestampClassNameto control if the activity should show or hide timestamp. ThetimestampClassNamewas added as aclassattribute the DOM element which contains the timestamp - Today,
activityandnextVisibleActivityare passed to the middleware, so theactivityRendererMiddlewarecan 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 -
useTimeranduseIntervalSince- to replace the headlessTimercomponent, by @tdurnford, in PR #2771 - Resolves #2720, added customizable activity status using
activityStatusMiddlewareprops, by @compulim, in PR #2788 - Added default
onErrorprop to theDictationcomponent, 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.waitfor conditions - Fixes #2776. Wait until button is shown/hid before taking screenshot
- Use a new timeout
fetchImagefor images
- Fixes #2780. Added the
telprotocol to theallowedSchemain thesanitize-htmloptions, by @tdurnford in PR #2787 - Fixes #2747. Moved
Timestampinto theSendStatuscomponent and removed theTimestampstyle set, by @tdurnford in PR #2786 - Fixes #2647. Update the
CroppedImagecomponentPropType, 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/...