Skip to content

Commit 0a2fcf4

Browse files
committed
v3.12.1
1 parent 8ca1f97 commit 0a2fcf4

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
11
# Changelog - v3
22

3+
## [v3.12.1] (Feb 26, 2024)
4+
5+
### Fixes:
6+
- Added loading status to the `ChannelSettings` module and addressed some layout issues
7+
- Added support for multiple lines in the `MessageInput` on mobile devices
8+
- Fixed hard-coded text to localization text for uploading file size and count limits
9+
- Fixed the `MessageListParams` type in the `ChannelProvider`
10+
- Fixed requests for empty image paths during the image optimization process
11+
- Fixed an infinite loop issue occurring when using the `GroupChannel/components/Message` and `Channel/components/Message` components in the `renderMessage` method of the `GroupChannel` and `Channel` modules
12+
- The `renderMessage` method of the `GroupChannel` module no longer nests messages under the `Message` component. If a container element for the `Message` component is needed, use it as follows:
13+
```tsx
14+
import { GroupChannel } from '@sendbird/uikit-react/GroupChannel';
15+
import { Message } from '@sendbird/uikit-react/GroupChannel/components/Message';
16+
17+
const GroupChannelPage = () => {
18+
return (
19+
<GroupChannel
20+
renderMessage={(props) => {
21+
return (
22+
<Message message={props.message}>
23+
<div>{props.message.messageId}</div>
24+
</Message>
25+
)
26+
}}
27+
/>
28+
)
29+
}
30+
```
31+
32+
- The `renderMessage` prop of the `Channel/components/Message` and `GroupChannel/components/Message` components has been deprecated. Instead, use the `children` prop to customize message sub-elements
33+
```tsx
34+
<Message message={props.message}>
35+
<div>{props.message.messageId}</div>
36+
</Message>
37+
```
38+
39+
- Added detailed comments for customizing-related props in the `GroupChannel` module
40+
41+
342
## [v3.12.0] (Feb 16, 2024)
443

544
### Features:

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.12.0",
3+
"version": "3.12.1",
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)