Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@watson-github-bot watson-github-bot released this 17 Jul 13:48

2.0.0 (2024-07-17)

Bug Fixes

  • made some changes and fixes (#27) (182d185)
  • made some changes to fix custom elements not being sized correctly (#28) (13ef8f7)

BREAKING CHANGES

  • Classnames and styles are now injected by default when using WebChatCustomElement.
  • Removed the deprecated withWebChat hook.
  • Renamed the "renderCustomResponse" prop to "renderUserDefinedResponse".
  • Removed the CustomResponsePortalsContainer component.
  • Added support for the "userDefinedResponse" event added in web chat 8.2.0.
  • Fixed an order bug that can occur if a user defined response is fired during the render process
    in some cases. This meant reworking the portals container interface which was a breaking change
    and we decided to just remove it from the public API.
  • Added support for usages on cp4d so the library will properly calculate the endpoints for the
    web chat entry script.