From 1fcc14d842ab8e10f13da21e3dabcb8932395f5b Mon Sep 17 00:00:00 2001 From: HoonBaek Date: Fri, 10 Nov 2023 16:00:03 +0900 Subject: [PATCH 1/3] add CHANGELOG for v3.8.1 --- CHANGELOG.md | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cdc4e956f..5c9171f7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,59 @@ # Changelog - v3 +## [v3.8.1] (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 ( + { + return ( + ( + + )} + renderMessageBody={(props: MessageBodyProps) => ( + + )} + renderMessageHeader={(props: MessageHeaderProps) => ( + + )} + /> + ) + }} + /> + ) + } + ``` + +### 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 + ## [v3.8.0] (Nov 3 2023) ### Feat: From 66aee4d7da0569698801fcad94e1c62ffb2e1146 Mon Sep 17 00:00:00 2001 From: chohongm Date: Fri, 10 Nov 2023 16:03:34 +0900 Subject: [PATCH 2/3] changelog update --- CHANGELOG.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c9171f7d..47abd54e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,8 @@ ## [v3.8.1] (Nov 10 2023) ### Features: -* MessageContent is not customizable with three new optional properties: - * renderSenderProfile, renderMessageBody, and renderMessageHeader +* `MessageContent` is not customizable with three new optional properties: + * `renderSenderProfile`, `renderMessageBody`, and `renderMessageHeader` * How to use? ```tsx import Channel from '@sendbird/uikit-react/Channel' @@ -45,14 +45,14 @@ ### 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 +* 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 +* 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 +* Use `channel.members` instead of fetching for non-super group channels in the `SuggestedMentionList` ## [v3.8.0] (Nov 3 2023) From 873a979885c4b5a631c9b801607929bdc49a96f5 Mon Sep 17 00:00:00 2001 From: chohongm Date: Fri, 10 Nov 2023 16:06:20 +0900 Subject: [PATCH 3/3] package version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0f8865d03..f2e32606d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sendbird/uikit-react", - "version": "3.8.0", + "version": "3.8.1", "description": "Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.", "keywords": [ "sendbird",