Skip to content

0.11.0

Compare
Choose a tag to compare
@atoa atoa released this 13 Nov 17:50
· 1296 commits to master since this release

This release adds support for IE11 (text only, requires babel-polyfill as a
dependency). We made it easier to create a full-page standalone chatbot
page with a new JavaScript loader that takes care of loading
dependencies and configuration.

The CloudFormation stack has a new set of parameters
to configured commonly changed parameters: toolbar title and initial
messages. The sample parent page under 'src/website' is now also used
when deploying with CodePipeline. As usual, this release also includes
bug fixes and dependency updates.

Changed

  • Various changes to support IE11 in text mode (no voice). IE11 support
    requires babel-polyfil to be loaded [59e8d32, e5c6afd]
  • [BREAKING] Renamed bot-config.json file to chatbot-ui-loader.json
    to be consistent with the iframe loader and new chatbot loader script [146af6b]
  • Moved CloudFormation bootstrap bucket configuration from a map to a
    parameter to make it easier to deploy from different sources without
    modifying the template [787adfa]
  • Changed the parent page setup when using the CreatePipeline deployment
    from the CloudFormation templates. It now uses the same page, iframe
    loader and configuration as the pre-built deployment. The parent page is
    also mounted under /static/iframe/parent.html when running the localhost
    dev server (i.e. npm run dev under the lex-web-ui dir)
    [ce594f2]
  • Improved dist Makefile to only build the library when there are
    changes to the component. Additionally added support to build the new
    chatbot loader [34e5037]

Added

  • Added a chatbot loader script that can be used to load dependencies
    and config. The loader simplifies the creation of a full page chatbot
    site by removing the need to manually add the dependencies and config
    [293b377]
  • Added CloudFormation parameters to support setting basic chatbot
    UI configuration including toolbar title and initial messages. These
    parameters are used when deploying the pre-built library from the dist
    directory (default) [efebbba]
  • Added an allow="microphone" attribute to the iframe tag created by the
    iframe loader script. This was done to avoid issues with cross-origin
    iframes in newer versions of Chrome
    [ab4cee5]

Removed

  • Removed webrtc-adapter dependency from the recorder component [d674fc4]
  • Removed the deprecated parent page under lex-web-ui/static/iframe. The
    parent page in src/website is now copied dynamically during build time [3154725]

Fixed

  • Fixed issue causing iframeOrigin to be overwritten by event in
    sample parent.html. The iframe loader now defaults the iframeOrigin to
    window.location.origin only if it is not found in the config
    [93982e1]