Skip to content

Commit 08c63bd

Browse files
authored
Merge pull request #152 from sendbird/release/3.3.0
chore(SDKRLSD-1055): release 3.3.0
2 parents 1c51127 + 51adda5 commit 08c63bd

File tree

17 files changed

+124
-37
lines changed

17 files changed

+124
-37
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [3.3.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.2.0...v3.3.0) (2023-11-23)
7+
8+
### Features
9+
10+
- add bottomSheetItem to props of renderMessage ([83f8710](https://github.com/sendbird/sendbird-uikit-react-native/commit/83f87108321a8c6a532afa5f24e40d95a6552a36))
11+
- add typing indicator bubble ui and logic ([9223b43](https://github.com/sendbird/sendbird-uikit-react-native/commit/9223b438f78d8b63da778c3c74329bdb383ba997))
12+
13+
### Bug Fixes
14+
15+
- add promise polyfills for hermes ([2f31a45](https://github.com/sendbird/sendbird-uikit-react-native/commit/2f31a4562aefcfb26e81d2525340857e9456ab4c))
16+
- adjust lineHeight of iOS TextInput ([c9c253e](https://github.com/sendbird/sendbird-uikit-react-native/commit/c9c253e5d2b863c87c22f4439e0bac6e9a9187de))
17+
- if the bubble renders and the scroll reaches the bottom, it should scroll to bottom on android ([a866422](https://github.com/sendbird/sendbird-uikit-react-native/commit/a866422b715b179337b11a6e8079c7c765a03a9d))
18+
619
## [3.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.1.2...v3.2.0) (2023-11-03)
720

821
### Features

CHANGELOG_DRAFT.md

Lines changed: 45 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,62 @@
1-
## v3.2.0
1+
## v3.3.0
22

3-
- Add chat init params to `chatOptions` in `SendbirdUIKitContainer` props.
4-
- Add `reaction.onPressUserProfile` to `SendbirdUIKitContainer` props.
5-
- Add `scrollToMessage` to `GroupChannelContexts.MessageList`.
6-
- Add Voice message
3+
- Add typing indicator bubble feature.
4+
5+
`TypingIndicatorBubble` is a new typing indicator UI that can be turned on through `typingIndicatorTypes` option.
6+
When turned on, it will be displayed in `GroupChannelMessageList` upon receiving typing event in real time.
77

88
```tsx
9+
import { SendbirdUIKitContainer, TypingIndicatorType } from '@sendbird/uikit-react-native';
10+
911
const App = () => {
1012
return (
1113
<SendbirdUIKitContainer
1214
uikitOptions={{
1315
groupChannel: {
14-
enableVoiceMessage: true,
16+
typingIndicatorTypes: new Set([TypingIndicatorType.Bubble]),
1517
},
1618
}}
17-
platformServices={{
18-
recorder: RecorderService,
19-
player: PlayerService,
20-
}}
2119
/>
2220
);
2321
};
2422
```
2523

26-
Before using it, you should implement the `RecorderService` and `PlayerService` platform services.<br/>
27-
You can implement this easily by using helper functions.
24+
- Add `bottomSheetItem` to the props of renderMessage.
25+
26+
`bottomSheetItem` is a new prop for `renderMessage` that can be utilized to add a custom item to the bottom sheet of a message.
27+
It can be used to add a custom menu item to the bottom sheet of a message.
28+
29+
```tsx
30+
import { GroupChannelMessageRenderer } from '@sendbird/uikit-react-native';
31+
import { useBottomSheet } from '@sendbird/uikit-react-native-foundation';
32+
33+
const GroupChannelScreen = () => {
34+
const { openSheet } = useBottomSheet();
35+
36+
const onOpenMessageMenu = () => {
37+
if (!props.bottomSheetItem) return;
2838

29-
> - CLI
30-
> - Install `react-native-permissions` and `react-native-audio-recorder-player`.
31-
> - Create platform services using `createNativeRecorderService` and `createNativePlayerService`.
32-
> - Expo:
33-
> - Install `expo-av`
34-
> - Create platform services using `createExpoRecorderService` and `createExpoPlayerService`.
39+
openSheet({
40+
...props.bottomSheetItem,
41+
sheetItems: [
42+
// Update bottomSheetItem.sheetItems or append your custom menu item
43+
...props.bottomSheetItem.sheetItems,
44+
{ icon: 'search', title: 'Search', onPress: () => console.log('Search') },
45+
],
46+
});
47+
};
48+
49+
return (
50+
<GroupChannelFragment
51+
renderMessage={(props) => {
52+
return (
53+
<GroupChannelMessageRenderer {...props} onLongPress={() => onOpenMessageMenu(props.bottomSheetItem)} />
54+
);
55+
}}
56+
/>
57+
);
58+
};
59+
```
3560

36-
- Fix the display of a message unavailable text if the message is not accessible.
37-
- Fix the search for messages within an accessible range.
38-
- Fix the usage of color variants in unknown group channel messages.
39-
- Fix the ensure that the UIKit configuration is always initialized, even in offline mode.
61+
- Fix the not found `Promise.allSettled` error in Hermes.
62+
- Fix the vertical alignment of iOS TextInput.

docs-validation/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [3.3.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.2.0...v3.3.0) (2023-11-23)
7+
8+
**Note:** Version bump only for package @sendbird/docs-validation
9+
610
## [3.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.1.2...v3.2.0) (2023-11-03)
711

812
### Features

docs-validation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sendbird/docs-validation",
3-
"version": "3.2.0",
3+
"version": "3.3.0",
44
"private": true,
55
"scripts": {
66
"test": "tsc --project tsconfig.build.json",

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"packages": ["packages/*", "sample", "docs-validation"],
33
"npmClient": "yarn",
44
"useWorkspaces": true,
5-
"version": "3.2.0",
5+
"version": "3.3.0",
66
"command": {
77
"publish": {
88
"conventionalCommits": true,

packages/uikit-chat-hooks/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [3.3.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.2.0...v3.3.0) (2023-11-23)
7+
8+
**Note:** Version bump only for package @sendbird/uikit-chat-hooks
9+
610
## [3.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.1.2...v3.2.0) (2023-11-03)
711

812
### Features

packages/uikit-chat-hooks/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sendbird/uikit-chat-hooks",
3-
"version": "3.2.0",
3+
"version": "3.3.0",
44
"description": "A set of React hooks for integrating Sendbird chat functionality into your React app.",
55
"keywords": [
66
"sendbird",
@@ -45,10 +45,10 @@
4545
"access": "public"
4646
},
4747
"dependencies": {
48-
"@sendbird/uikit-utils": "3.2.0"
48+
"@sendbird/uikit-utils": "3.3.0"
4949
},
5050
"devDependencies": {
51-
"@sendbird/uikit-testing-tools": "3.2.0",
51+
"@sendbird/uikit-testing-tools": "3.3.0",
5252
"@types/react": "*",
5353
"react": "17.0.2",
5454
"react-native-builder-bob": "^0.18.0",

packages/uikit-react-native-foundation/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [3.3.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.2.0...v3.3.0) (2023-11-23)
7+
8+
### Features
9+
10+
- add typing indicator bubble ui and logic ([9223b43](https://github.com/sendbird/sendbird-uikit-react-native/commit/9223b438f78d8b63da778c3c74329bdb383ba997))
11+
12+
### Bug Fixes
13+
14+
- adjust lineHeight of iOS TextInput ([c9c253e](https://github.com/sendbird/sendbird-uikit-react-native/commit/c9c253e5d2b863c87c22f4439e0bac6e9a9187de))
15+
616
## [3.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.1.2...v3.2.0) (2023-11-03)
717

818
### Features

packages/uikit-react-native-foundation/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sendbird/uikit-react-native-foundation",
3-
"version": "3.2.0",
3+
"version": "3.3.0",
44
"description": "A foundational UI kit for building chat-enabled React Native apps.",
55
"keywords": [
66
"sendbird",
@@ -48,7 +48,7 @@
4848
"access": "public"
4949
},
5050
"dependencies": {
51-
"@sendbird/uikit-utils": "3.2.0"
51+
"@sendbird/uikit-utils": "3.3.0"
5252
},
5353
"devDependencies": {
5454
"@types/react": "*",

packages/uikit-react-native/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [3.3.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.2.0...v3.3.0) (2023-11-23)
7+
8+
### Features
9+
10+
- add bottomSheetItem to props of renderMessage ([83f8710](https://github.com/sendbird/sendbird-uikit-react-native/commit/83f87108321a8c6a532afa5f24e40d95a6552a36))
11+
- add typing indicator bubble ui and logic ([9223b43](https://github.com/sendbird/sendbird-uikit-react-native/commit/9223b438f78d8b63da778c3c74329bdb383ba997))
12+
13+
### Bug Fixes
14+
15+
- add promise polyfills for hermes ([2f31a45](https://github.com/sendbird/sendbird-uikit-react-native/commit/2f31a4562aefcfb26e81d2525340857e9456ab4c))
16+
- adjust lineHeight of iOS TextInput ([c9c253e](https://github.com/sendbird/sendbird-uikit-react-native/commit/c9c253e5d2b863c87c22f4439e0bac6e9a9187de))
17+
- if the bubble renders and the scroll reaches the bottom, it should scroll to bottom on android ([a866422](https://github.com/sendbird/sendbird-uikit-react-native/commit/a866422b715b179337b11a6e8079c7c765a03a9d))
18+
619
## [3.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.1.2...v3.2.0) (2023-11-03)
720

821
### Features

0 commit comments

Comments
 (0)