[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/plugin-proposal-class-properties@7.10.4@babel/plugin-proposal-object-rest-spread@7.11.0@babel/plugin-transform-runtime@7.11.0@babel/preset-env@7.11.0@babel/preset-react@7.10.4@babel/preset-typescript@7.10.4@babel/runtime@7.11.0babel-jest@26.2.2concurrently@5.2.0core-js@3.6.5global-agent@2.1.12husky@4.2.5jest@26.2.2jest-image-snapshot@4.1.0jest-junit@11.1.0jest-trx-results-processor@2.0.3lerna@3.22.1lint-staged@10.2.11prettier@2.0.5serve@11.3.2serve-handler@6.1.3- Removed unused package
@azure/storage-blob@12.1.0
- Other packages
@babel/cli@7.10.5@babel/core@7.11.0@babel/plugin-proposal-class-properties@7.10.4@babel/plugin-proposal-object-rest-spread@7.11.0@babel/plugin-transform-runtime@7.11.0@babel/preset-env@7.11.0@babel/preset-react@7.10.4@babel/preset-typescript@7.10.4@types/node@14.0.27@typescript-eslint/eslint-plugin@3.8.0@typescript-eslint/parser@3.8.0babel-jest@26.2.2concurrently@5.2.0copy-webpack-plugin@6.0.3core-js@3.6.5cross-env@7.0.2css-loader@4.2.0eslint-plugin-prettier@3.1.4eslint-plugin-react-hooks@4.0.8eslint-plugin-react@7.20.5eslint@7.6.0global-agent@2.1.12globalize-compiler@1.1.1html-webpack-plugin@4.3.0http-proxy-middleware@1.0.5jest@26.2.2node-dev@5.1.0prettier@2.0.5pug@3.0.0serve@11.3.2simple-update-in@2.2.0source-map-loader@1.0.1terser-webpack-plugin@3.1.0typescript@3.9.7webpack-cli@3.3.12webpack-stats-plugin@0.3.2webpack@4.44.1
- Root package
- Production dependencies
@babel/plugin-proposal-async-generator-functions@7.10.5@babel/runtime@7.11.0@babel/standalone@7.11.0abort-controller-es5@1.2.0botframework-directlinejs@0.13.0core-js@3.6.5event-iterator@2.0.0event-target-shim-es5@1.2.0expect@25.5.0globalize@1.5.0markdown-it-attrs-es5@1.2.0markdown-it-attrs@3.0.3markdown-it@11.0.0math-random@2.0.0memoize-one@5.1.1on-error-resume-next@1.1.0p-defer-es5@1.2.1react-say@2.0.1sanitize-html@1.27.2simple-update-in@2.2.0url-search-params-polyfill@8.1.0web-speech-cognitive-services@7.0.1whatwg-fetch@3.2.0
- 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
useObserveScrollPositionanduseScrollTohook, 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-idlesample, by @compulim, in PR #3376 - Added custom Emoji set sample, by @corinagum, in PR #3405