Skip to content

Commit

Permalink
docs: Update changelog and version
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed Oct 21, 2024
1 parent 953f42f commit 512c200
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# CHANGELOG.md

## v2.0.0-beta.20 (21-10-2024)

**Fixed:**
- Fixed an issue with the default chatbot footer icon
- Improved checks for desktop/mobile devices
- Reduced unnecessary re-renders (minor optimizations)
- Properly fixed chatbot svg icon on mobile

**Added:**
- Added new `replaceSettings`, `replaceStyles`, `replaceMessages`, `replacePaths` and `replaceToasts` utility functions to their respective hooks (replaces their respective state setters)

**Note:**
Hooks no longer directly expose state setters (not a great practice, and hinders optimizations that can be done within the library itself). The new functions serve as a drop-in replacement for the state setters.

## v2.0.0-beta.19 (18-10-2024)

**Fixed:**
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"files": [
"./dist"
],
"version": "2.0.0-beta.19",
"version": "2.0.0-beta.20",
"description": "A modern React library for creating flexible and extensible chatbots.",
"type": "module",
"main": "./dist/index.cjs",
Expand Down

0 comments on commit 512c200

Please sign in to comment.