[4.10.0] - 2020-08-18
Subresource integrity
<script
crossorigin="anonymous"
integrity_no="sha384-4key3rVGP7b1Yaaqp04c11GMmgLeYgSIgZQ7gtn0rR/wL3fnkFpiAAuOv2Glo6DH"
src="https://cdn.botframework.com/botframework-webchat/4.10.0/webchat.js"
></script>
<script
crossorigin="anonymous"
integrity_no="sha384-nB4tinBxptD4DwQRrhIiZL2tKeB0n2aHg2b+/RoBi801c0zU2BRRL21pKMYYhr/j"
src="https://cdn.botframework.com/botframework-webchat/4.10.0/webchat-es5.js"
></script>
<script
crossorigin="anonymous"
integrity_no="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
- Resolves #3250. Added activity grouping feature, by @compulim, in PR #3365
- Resolves #3354. Added access key (ALT + SHIFT + A for Windows and CTRL + OPTION + A for Mac) to suggested actions, by @compulim, in PR #3367
- Resolves #3247. Support activity ID on
useObserveScrollPosition
anduseScrollTo
hook, by @compulim, in PR #3372 - Added support for Redux DevTools, by @tpdewolf and @compulim, in PR #3277
- Resolves #3249. Convert typed emoticons into Emoji, by @corinagum and @compulim, in PR #3405
Fixed
- Fixes #2675. Added alt text to images in suggested actions, by @compulim in PR #3375
- Fixes #3383. Fixed notification toast should not break when most fields are
undefined
, by @compulim in PR #3384
Samples
- Fixes #2828. Updated
04.api/h.clear-after-idle
sample, by @compulim, in PR #3376 - Added custom Emoji set sample, by @corinagum, in PR #3405