Skip to content

Commit 34733db

Browse files
authored
Release/v3.8.2 (#845)
## [v3.8.2] (Nov 10 2023) ### Features: * `MessageContent` is not customizable with three new optional properties: * `renderSenderProfile`, `renderMessageBody`, and `renderMessageHeader` * How to use? ```tsx import Channel from '@sendbird/uikit-react/Channel' import { useSendbirdStateContext } from '@sendbird/uikit-react/useSendbirdStateContext' import { useChannelContext } from '@sendbird/uikit-react/Channel/context' import MessageContent from '@sendbird/uikit-react/ui/MessageContent' const CustomChannel = () => { const { config } = useSendbirdStateContext(); const { userId } = config; const { currentGroupChannel } = useChannelContext(); return ( <Channel ... renderMessage={({ message }) => { return ( <MessageContent userId={userId} channel={currentGroupChannel} message={message} ... renderSenderProfile={(props: MessageProfileProps) => ( <MessageProfile {...props}/> )} renderMessageBody={(props: MessageBodyProps) => ( <MessageBody {...props}/> )} renderMessageHeader={(props: MessageHeaderProps) => ( <MessageHeader {...props}/> )} /> ) }} /> ) } ``` ### Fixes: * Fix runtime error due to publishing modules * Add missing date locale to the `UnreadCount` banner since string * Use the more impactful value between the `resizingWidth` and `resizingHeight` * So, the original images' ratio won't be broken * Apply the `ImageCompression` to the `Thread` module * Apply the `ImageCompression` for sending file message and multiple files message ### Improvements: * Use `channel.members` instead of fetching for non-super group channels in the `SuggestedMentionList`
1 parent 9f96ea5 commit 34733db

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog - v3
22

3-
## [v3.8.1] (Nov 10 2023)
3+
## [v3.8.2] (Nov 10 2023)
44

55
### Features:
66
* `MessageContent` is not customizable with three new optional properties:
@@ -54,6 +54,8 @@
5454
### Improvements:
5555
* Use `channel.members` instead of fetching for non-super group channels in the `SuggestedMentionList`
5656

57+
## [v3.8.1] (Nov 10 2023) - DEPRECATED
58+
5759
## [v3.8.0] (Nov 3 2023)
5860

5961
### Feat:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sendbird/uikit-react",
3-
"version": "3.8.1",
3+
"version": "3.8.2",
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)