Skip to content

Commit 35027e6

Browse files
chore(release): 2.0.0 [skip ci]
# [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.
1 parent 13ef8f7 commit 35027e6

File tree

3 files changed

+302
-3
lines changed

3 files changed

+302
-3
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
# [2.0.0](https://github.com/watson-developer-cloud/assistant-web-chat-react/compare/v1.1.1...v2.0.0) (2024-07-17)
2+
3+
4+
### Bug Fixes
5+
6+
* made some changes and fixes ([#27](https://github.com/watson-developer-cloud/assistant-web-chat-react/issues/27)) ([182d185](https://github.com/watson-developer-cloud/assistant-web-chat-react/commit/182d185aecd4011a304dd44fbe828f6b8c7c5183))
7+
* made some changes to fix custom elements not being sized correctly ([#28](https://github.com/watson-developer-cloud/assistant-web-chat-react/issues/28)) ([13ef8f7](https://github.com/watson-developer-cloud/assistant-web-chat-react/commit/13ef8f7308f46874e005d8993fe49361be8402f3))
8+
9+
10+
### BREAKING CHANGES
11+
12+
* Classnames and styles are now injected by default when using WebChatCustomElement.
13+
* Removed the deprecated withWebChat hook.
14+
* Renamed the "renderCustomResponse" prop to "renderUserDefinedResponse".
15+
* Removed the CustomResponsePortalsContainer component.
16+
17+
- Added support for the "userDefinedResponse" event added in web chat 8.2.0.
18+
- Fixed an order bug that can occur if a user defined response is fired during the render process
19+
in some cases. This meant reworking the portals container interface which was a breaking change
20+
and we decided to just remove it from the public API.
21+
- Added support for usages on cp4d so the library will properly calculate the endpoints for the
22+
web chat entry script.
23+
124
## [1.1.1](https://github.com/watson-developer-cloud/assistant-web-chat-react/compare/v1.1.0...v1.1.1) (2023-11-20)
225

326

0 commit comments

Comments
 (0)