Skip to content

Releases: sendbird/sendbird-uikit-react

[v3.16.1] (Mar 5 2025)

05 Mar 02:47
Compare
Choose a tag to compare

[v3.16.1] (Mar 5 2025)

Fixes:

  • Fixed an unexpected error in MessageList

[v3.16.0] (Feb 28 2025)

28 Feb 22:50
Compare
Choose a tag to compare

[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 to v3.2.4

[v3.15.15] (Feb 14 2025)

14 Feb 06:35
Compare
Choose a tag to compare

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)

07 Feb 07:43
Compare
Choose a tag to compare

[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?
      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)

31 Jan 06:23
Compare
Choose a tag to compare

Features:

  • Added React 19 compatibility
  • Added messageSearchQuery.keyword when searching in MessageSearch module
    • searchString now takes higher priority, while messageSearchQuery.keyword is assigned secondary priority.

Fixes:

  • Fixed the width of the messages in open channel

[v3.15.12] (Jan 9 2025)

09 Jan 07:49
Compare
Choose a tag to compare

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)

19 Dec 08:17
cd3f10f
Compare
Choose a tag to compare
  • 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)

12 Dec 08:08
Compare
Choose a tag to compare

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 both setCurrentChannel and setStartingPoint.
      The setCurrentChannel function triggers asynchronous side effects that update channel, messagesDataSource, and startingPoint.
      If setStartingPoint is invoked before these updates are completed, it can result in the channel not being updated correctly or the starting point being improperly set.

[v3.15.9] (Nov 21 2024)

21 Nov 09:08
Compare
Choose a tag to compare

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
  • 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)

07 Nov 04:54
Compare
Choose a tag to compare

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 the dir attribute
  • 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