Skip to content

Conversation

@TazmanianDI
Copy link
Contributor

BREAKING CHANGE: Classnames and styles are now injected by default when using WebChatCustomElement.

BREAKING CHANGE: Classnames and styles are now injected by default when using WebChatCustomElement.
package.json Outdated
"test": "jest"
},
"dependencies": {
"semver-compare": "^1.0.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets use the other semver package that is a module and wasn't taken down from the other PR.

Also probably a good time to bump up from node 14 here.

BREAKING CHANGE: Classnames and styles are now injected by default when using WebChatCustomElement.
@TazmanianDI TazmanianDI force-pushed the custom-element-changes branch from 715e83e to 84ba0aa Compare July 16, 2024 20:08
@TazmanianDI TazmanianDI merged commit 13ef8f7 into main Jul 17, 2024
@TazmanianDI TazmanianDI deleted the custom-element-changes branch July 17, 2024 13:43
watson-github-bot pushed a commit that referenced this pull request Jul 17, 2024
# [2.0.0](v1.1.1...v2.0.0) (2024-07-17)

### Bug Fixes

* made some changes and fixes ([#27](#27)) ([182d185](182d185))
* made some changes to fix custom elements not being sized correctly ([#28](#28)) ([13ef8f7](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.
@watson-github-bot
Copy link

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

4 participants