Features
-
Address RTL UI Feedback
- Fixed an issue where the
htmlTextDirection
prop didn't work when usingSendbirdProvider
, but only worked in the App module. - Updated the paper plane icon to point left instead of right in RTL mode.
- Fixed an issue where the
-
Message Menu Customization in Threads
- Added
renderMessageMenu
andrenderEmojiMenu
props to the<ParentMessageInfo />
,<ThreadListItem />
, and<ThreadListItemContent />
components. - Example usage:
<Thread renderMessage={(props) => ( <ThreadListItem {...props} renderMessageMenu={(props) => ( <MessageMenu {...props} renderMenuItems={({ items }) => ( <> <items.CopyMenuItem /> <items.DeleteMenuItem /> </> )} /> )} /> )} />
- Added
Fixes
- Deprecation Marks on Channel & ChannelList Modules
- Marked
Channel
,ChannelProvider
,ChannelList
, andChannelListProvider
as deprecated. - For migration guidance, please refer to the Group Channel Migration Guide.
- Marked
Chore
- Improve Stability of
useMenuItems
- Improved the stability of the
useMenuItems
hook. - Exported
ChannelListQueryParamsType
. - Moved the
renderUserListItem
prop to the Provider from the UI component. - Exported the
ChannelSettingsMenuItem
component.
- Improved the stability of the
- Added
interop: "compat"
setting for the CommonJS output in Rollup Config to enhance the compatibility between ESM and CJS.