Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: v3.15.14 #1309

Merged
merged 2 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
# Changelog - v3


## [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.

## [v3.15.13] (Jan 31 2025)

### Features:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sendbird/uikit-react",
"version": "3.15.13",
"version": "3.15.14",
"description": "Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.",
"keywords": [
"sendbird",
Expand Down