Releases: sendbird/sendbird-uikit-react
Releases · sendbird/sendbird-uikit-react
[v3.16.1] (Mar 5 2025)
[v3.16.0] (Feb 28 2025)
[v3.16.0] (Feb 28 2025)
Fixes:
- Added the missing import paths for the following interfaces
GroupChannelState
GroupChannelProviderProps
ChannelSettingsState
ChannelSettingsContextProps
- Fixed an issue where some of the context properties are not defined in a certain case
Chore
- Updated
dompurify
dependency version tov3.2.4
[v3.15.15] (Feb 14 2025)
Fixes:
- Added the missing import paths for the following deprecated interfaces.
useSendbirdStateContext
withSendbird
- Fixed an issue where
VoiceMessageInput
failed to record the audio at first.
Chore
- Updated
@sendbird/chat
version to 4.16.4
[v3.15.14] (Feb 7 2025)
[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
andactions
properties.- Added
useGroupChannelList
, replacinguseGroupChannelListContext
- Added
useCreateChannel
, replacinguseCreateChannelContext
- Added
useChannelSettings
, replacinguseChannelSettingsContext
- Added
useGroupChannel
, replacinguseGroupChannelContext
- Added
useMessageSearch
, replacinguseMessageSearchContext
- Added
useThread
, replacinguseThreadContext
- How to Use?
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(); }; // ... }
- Added
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:
- Added React 19 compatibility
- Added
messageSearchQuery.keyword
when searching in MessageSearch modulesearchString
now takes higher priority, whilemessageSearchQuery.keyword
is assigned secondary priority.
Fixes:
- Fixed the width of the messages in open channel
[v3.15.12] (Jan 9 2025)
Features:
- Provided
useConnectionState
that you can get the connection state of
SDK.
Fixes:
- Improved the stability with the latest Chat SDK version.
[v3.15.11] (Dec 19 2024)
- Fixed an issue where the bubble type typing indicator appeared but was not visible because the scroll did not move to the bottom.
[v3.15.10] (Dec 12 2024)
Features:
- Added
scrollRef
in GroupChannelList context
Fixes:
- Fixed broken UI
- MessageInput height becomes short when it's disabled.
- Empty UserListItem menu appears on the ChannelSettings member list of normal channel member who is not an operator of the channel.
- Displayed members' name instead of default AI chatbot channel name, like the
Group Channel
does. - Fixed an issue where editing a text parent message in a channel did not update the corresponding parent message in the Thread area in real-time.
- Fixed a GroupChannel UI error when the
Open in Channel
action is triggered in a different channel.- The
Open in Channel
implementation invokes bothsetCurrentChannel
andsetStartingPoint
.
ThesetCurrentChannel
function triggers asynchronous side effects that updatechannel
,messagesDataSource
, andstartingPoint
.
IfsetStartingPoint
is invoked before these updates are completed, it can result in the channel not being updated correctly or the starting point being improperly set.
- The
[v3.15.9] (Nov 21 2024)
Fixes:
- Fixed error handling in message handlers:
- Allow void return type in
onBefore-
handlers - Add proper error handling via
eventHandlers.message
for:- onSendMessageFailed
- onUpdateMessageFailed
- onFileUploadFailed
- Users no longer need to return an empty object from
onBefore-
due to type constraints
- Allow void return type in
- Fixed a bug where profile bottom position was not updating correctly for messages with feedback and replies:
- Profile bottom position now updates properly when messages contain feedback and reply components
- Ensures consistent profile positioning across all message types and states
[v3.15.8] (Nov 7th, 2024)
Fixes:
- Fixed an issue where the
dir
attribute was not being properly applied to message containers:- Removed
useMessageLayoutDirection
hook in favor of a more React-friendly solution - Updated
MessageList
component to directly handle text direction through thedir
attribute
- Removed
- Fixed an issue in TypingIndicatorBubble component where null was returned before hook execution
- Fixed SDK initialization parameter override issue:
- Modified Object.assign order to allow proper parameter override
- Added test case to verify
localCacheEnabled
override functionality - Ensures
sdkInitParams.localCacheEnabled
properly overrides default settings;localCacheEnabled: true