Skip to content

[4.10.0] - 2020-08-18

Compare
Choose a tag to compare
@corinagum corinagum released this 18 Aug 20:34
· 129 commits to master since this release

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 increase styleOptions.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 set styleOptions.botAvatarInitials and styleOptions.userAvatarInitials to falsy.
  • 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 to true.
  • Default botAvatarInitials and userAvatarInitials is changed to undefined, 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.

Changed

Added

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