Skip to content

Commit 1712de6

Browse files
authored
release/3.13.0 (#997)
1 parent 2a4a642 commit 1712de6

File tree

3 files changed

+62
-6
lines changed

3 files changed

+62
-6
lines changed

CHANGELOG.md

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

3+
## [v3.13.0] (Feb 29, 2024)
4+
#### Template message feature
5+
Now we are supporting template message feature!
6+
7+
A message with valid `extendedMessagePayload.template` value will be displayed with `TemplateMessageItemBody`.
8+
9+
* Added new ui components:
10+
* `MessageTemplate`
11+
* `TemplateMessageItemBody`
12+
* `FallbackTemplateMessageItemBody`
13+
* `LoadingTemplateMessageItemBody`
14+
15+
#### Others
16+
* Added `showSuggestedRepliesFor` global option
17+
* How to use?
18+
```tsx
19+
<App
20+
appId={appId}
21+
userId={userId}
22+
uikitOptions={{
23+
groupChannel: {
24+
// Below setting always shows `SuggestedReplies` component of a message. Default value is 'last_message_only'.
25+
showSuggestedRepliesFor: 'always',
26+
}
27+
}}
28+
/>
29+
```
30+
* Added `renderSuggestedReplies` in `Message` module
31+
* How to use?
32+
```tsx
33+
<Channel
34+
renderSuggestedReplies={(suggestedRepliesProps) => {
35+
const { replyOptions, onSendMessage, message } = suggestedRepliesProps;
36+
return <CustomSuggestedReplies options={replyOptions} />;
37+
}}
38+
/>
39+
```
40+
* Added `renderMobileMenuOnLongPress` in `MessageContentProps`
41+
* How to use?
42+
```tsx
43+
<Channel
44+
renderMessageContent={(props) => (
45+
<MessageContent
46+
{...props}
47+
renderMobileMenuOnLongPress={(mobileMenuProps: MobileBottomSheetProps) => (
48+
<CustomMobileMenu {...mobileMenuProps} />
49+
)}
50+
/>
51+
)}
52+
/>
53+
```
54+
55+
### Fixes
56+
- Fixed a bug where bouncing animation is applied to pending message
57+
- Fixed a bug `useChannelSettingsContext` not returning channel on initial mount due to channel requests being made before the SDK connection success
58+
359
## [v3.12.1] (Feb 26, 2024)
460

561
### 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.12.1",
3+
"version": "3.13.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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# Manual release steps (Updated on 2024-02-08)
2424
1. At main branch, make sure everything is ready to deployment.
2525
2. Checkout release branch `git checkout -b release/{X.X.X}`.
26-
3. In the branche update two files:
26+
3. In the branch update two files:
2727
- In `package.json`, update new version.
2828
- In `CHANGELOG.md`, add a new changelog.
2929
5. Commit and push to the branch.
@@ -33,10 +33,10 @@
3333
- Update changelog link to the correct path: `CHANGELOG.md`.
3434
- Add all merged [SBISSUES tickets](https://sendbird.atlassian.net/jira/dashboards/11202?maximized=25045) in the `Linked issues` as `blocks` (When the ticket status changes to `Released`, Atlassan automatically adds a comment to each linked issues).
3535
8. Ask EM to review the release ticket and await for `Release approved`.
36-
9. In the release branch, create a new tag `v{X.X.X}` and the push the tag `git push v{X.X.X} origin`
37-
10. In the root, `yarn build` to create new build files. Once created, make sure files in `dist` is newly created/updated.
38-
11. Change directory to `./dist` and then publish `npm publish`
36+
9. In the root, `yarn build` to create new build files. Once created, make sure files in `dist` is newly created/updated.
37+
10. Change directory to `./dist` and then publish `npm publish`
38+
11. In the release branch, create a new tag `v{X.X.X}` and the push the tag `git push v{X.X.X} origin`.
3939
12. After release do the followings:
4040
- Update release ticket to `Released`
4141
- In the [releases](https://github.com/sendbird/sendbird-uikit-react/releases) draft a new release note with the new tag (write changelog in the description) and then publish release.
42-
- In the `sdk-release`, post a release message.
42+
- In the `sdk-release`, post a release message.

0 commit comments

Comments
 (0)