Skip to content

Commit 4d6e55e

Browse files
authored
release: v3.15.14 (#1309)
## [v3.15.14] (Feb 7 2025) ### Features: - 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. * Added `useGroupChannelList`, replacing `useGroupChannelListContext` * Added `useCreateChannel`, replacing `useCreateChannelContext` * Added `useChannelSettings`, replacing `useChannelSettingsContext` * Added `useGroupChannel`, replacing `useGroupChannelContext` * Added `useMessageSearch`, replacing `useMessageSearchContext` * Added `useThread`, replacing `useThreadContext` - How to Use? ```tsx import { useGroupChannel } from '@sendbird/uikit-react/GroupChannel/context'; // Implement your code inside the react function component. const Component = () => { // const { currentChannel, scrollToBottom } = useGroupChannelContext(); const { state : { currentChannel, }, actions : { scrollToBottom }, } = useGroupChannel(); const onScrollDownButtonClick = () => { scrollToBottom(); }; // ... } ``` ### Fixes: - Fixed an issue where the pasting the formatted text to `MessageInput` did not shows properly. - Fixed a bug with forwardRef Rules of Hooks violation.
1 parent 9be7a49 commit 4d6e55e

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

CHANGELOG.md

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

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

544
### 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)