Skip to content

Commit a958d38

Browse files
committed
v3.15.14
1 parent 9be7a49 commit a958d38

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

CHANGELOG.md

+38
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# Changelog - v3
22

3+
## [v3.15.14] (Feb 7 2025)
4+
5+
### Features:
6+
- Added custom hooks for each module replacing the previous context hook. The custom hook allows access to the provider's data, which are divided into `state` and `actions` properties.
7+
* Added `useGroupChannelList`, replacing `useGroupChannelListContext`
8+
* Added `useCreateChannel`, replacing `useCreateChannelContext`
9+
* Added `useChannelSettings`, replacing `useChannelSettingsContext`
10+
* Added `useGroupChannel`, replacing `useGroupChannelContext`
11+
* Added `useMessageSearch`, replacing `useMessageSearchContext`
12+
* Added `useThread`, replacing `useThreadContext`
13+
- How to Use?
14+
```tsx
15+
import { useGroupChannel } from '@sendbird/uikit-react/GroupChannel/context';
16+
17+
// Implement your code inside the react function component.
18+
const Component = () => {
19+
// const { currentChannel, scrollToBottom } = useGroupChannelContext();
20+
const {
21+
state : {
22+
currentChannel,
23+
},
24+
actions : {
25+
scrollToBottom
26+
},
27+
} = useGroupChannel();
28+
29+
const onScrollDownButtonClick = () => {
30+
scrollToBottom();
31+
};
32+
33+
// ...
34+
}
35+
```
36+
37+
### Fixes:
38+
- Fixed an issue where the pasting the formatted text to `MessageInput` did not shows properly.
39+
- Fixed a bug with forwardRef Rules of Hooks violation.
40+
341
## [v3.15.13] (Jan 31 2025)
442

543
### Features:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sendbird/uikit-react",
3-
"version": "3.15.13",
3+
"version": "3.15.14",
44
"description": "Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.",
55
"keywords": [
66
"sendbird",

0 commit comments

Comments
 (0)