Skip to content

Commit 0674b70

Browse files
committed
docs: Update changelog and version
1 parent 8c35558 commit 0674b70

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# CHANGELOG.md
22

3+
## v2.0.0-beta.37 (19-05-2025)
4+
5+
**Added:**
6+
- Added a new export `RcbEvent` that is an enum for all React ChatBotify events
7+
- Added a new `useOnRcbEvent` that accepts `RcbEvent` as the first parameter and an event handler as the second parameter
8+
9+
**Note:**
10+
This update is primarily meant for **plugin developers**. The addition of `useOnRcbEvent` should make registering of events much
11+
cleaner (especially within plugins). Filtering of bot ids is handled automatically within this hook, which means multi-bot
12+
users (and plugin developers) no longer have to check for bot ids to prevent chatbot events being caught by each other. A custom
13+
CLI tool will also be released soon to facilitate setups for developing plugins, themes etc. These changes are all part of an
14+
overall effort to improve developer experience.
15+
316
## v2.0.0-beta.36 (16-05-2025)
417

518
**Fixed:**

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"files": [
1414
"./dist"
1515
],
16-
"version": "2.0.0-beta.36",
16+
"version": "2.0.0-beta.37",
1717
"description": "A modern React library for creating flexible and extensible chatbots.",
1818
"type": "module",
1919
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)