Skip to content

Commit 350890a

Browse files
committed
v3.10.0
1 parent cf2f64b commit 350890a

File tree

3 files changed

+60
-2
lines changed

3 files changed

+60
-2
lines changed

CHANGELOG.md

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

3+
## [v3.10.0] (Jan 19, 2024)
4+
5+
### Features:
6+
#### Feedback message feature
7+
Now we are supporting Feedback Message feature!
8+
Feedback message feature can be turned on through `enableFeedback` option. When turned on, feedback feature is applied to messages with non default `myFeedbackStatus` values.
9+
10+
11+
12+
* Added `enableFeedback` global option
13+
* How to use?
14+
```tsx
15+
<App
16+
appId={appId}
17+
userId={userId}
18+
uikitOptions={{
19+
groupChannel: {
20+
// Below turns on the feedback message feature. Default value is false.
21+
enableFeedback: true,
22+
}
23+
}}
24+
/>
25+
```
26+
27+
#### Others
28+
29+
* Added `labelType`, and `labelColor` props to `ButtonProps`
30+
* Added `renderMessageContent` in `ChannelUIProps`
31+
* Now you can customize `MessageContent` through `Channel` in two ways:
32+
1. Customize with `renderMessage`
33+
```tsx
34+
<Channel
35+
renderMessage={(props) => (
36+
<Message
37+
{...props}
38+
renderMessageContent={(props) => (
39+
<MessageContent {...props} />
40+
)}
41+
/>
42+
)}
43+
/>
44+
```
45+
2. **[Simpler]** Customize with `renderMessageContent`
46+
```tsx
47+
<Channel
48+
renderMessageContent={(props) => (
49+
<MessageContent {...props} />
50+
)}
51+
/>
52+
```
53+
54+
### Fixes:
55+
56+
* Fixed a bug in mobile view where channel view is displaying a default channel when there is no channel in channel list
57+
* Added missing props renderMessageContent in Channel
58+
* Fixed a bug where center alignment of `Badge` and `Button` components breaking in FireFox browser
59+
* Fixed a bug where messages sent by bot member in group channel are not triggering the expected hooks
60+
361
## [v3.9.3] (Jan 5, 2024)
462

563
### Fixes:

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.9.3",
3+
"version": "3.10.0",
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",

scripts/steps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Step 0 - Setup
44
1. Create a new branch for the release: `git checkout -b release/{X.X.X}` (before it was `release/v{X.X.X}`)
5-
2. Write/Generate changelog in CHANGELOG.md
5+
2. Write/Generate changelog in CHANGELOG.md and bump package version in package.json
66
3. Commit all changes, push to remote
77
4. Comment `/bot create ticket` on github PR to make release ticket automatically
88

0 commit comments

Comments
 (0)