Skip to content

[4.12.1] - 2021-03-16

Compare
Choose a tag to compare
@corinagum corinagum released this 16 Mar 19:26
· 23 commits to master since this release
7a90b6c

[4.12.1] - 2021-03-16

<script
  crossorigin="anonymous"
  integrity="sha384-P85ESDfJwtC9CaJYhEZP2DXz7NfxR3wWdH6OyercA0qvUSUoAHJrU0776yEcnkxs"
  src="https://cdn.botframework.com/botframework-webchat/4.12.1/webchat.js"
></script>

<script
  crossorigin="anonymous"
  integrity="sha384-YT//LqZJgkEXrmVxm6RZJKs4dSZJQo5kEX0tE9dP1XaOaVsC7NEvwnlP2gW2KWcl"
  src="https://cdn.botframework.com/botframework-webchat/4.12.1/webchat-es5.js"
></script>

<script
  crossorigin="anonymous"
  integrity="sha384-Bm5FqTqjOwx2JWpJGYW1urz8ypnAJh2BELjekWc1XkYsT1lX7837Tlqxsbmoy/O8"
  src="https://cdn.botframework.com/botframework-webchat/4.12.1/webchat-minimal.js"
></script>

4.12.1 patch: New style property adaptiveCardsParserMaxVersion

Web Chat 4.12.1 patch includes a new style property allowing developers to choose the max Adaptive Cards schema version. See PR #3778 for code changes.

To specify a different max version, you can adjust the style options, shown below:

  window.WebChat.renderWebChat(
    {
      directLine,
      store,
      styleOptions: {
        adaptiveCardsParserMaxVersion: '1.2'
      }
    },
    document.getElementById('webchat')
  );
  • Web Chat will apply the maximum schema available according to the Adaptive Cards version (as of this patch, schema 1.3) by default.
  • An invalid version will revert to Web Chat's default.

CHANGELOG

Added

  • Resolves #3777. Added a new adaptiveCardsParserMaxVersion style options for selecting the maximum supported version when parsing an Adaptive Cards, by @compulim in PR #3778

Fixed

  • Fixes #3773. Remove replyToId when using Direct Line Speech adapter, by @compulim in PR #3776

Samples

  • Fixes #3632. Update reaction button sample : Add replyToId to the postActivity object, by @amal-khalaf in PR #3769