Skip to content

Commit 2f95583

Browse files
authored
Merge pull request #102 from sendbird/release/3.0.1
chore(SDKRLSD-895): release 3.0.1
2 parents b4b4263 + 6dbea50 commit 2f95583

File tree

17 files changed

+66
-165
lines changed

17 files changed

+66
-165
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
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.0.1](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.0.0...v3.0.1) (2023-07-04)
7+
8+
### Bug Fixes
9+
10+
- do not use scrollview enhancer if the platform is not android ([ff48e36](https://github.com/sendbird/sendbird-uikit-react-native/commit/ff48e36cf1fec3f5ede856360ac05b1523398834))
11+
- update expo modules and support backward compatibility ([5c45ee6](https://github.com/sendbird/sendbird-uikit-react-native/commit/5c45ee6ab025505633a09ea345e6cbc5be7b584b))
12+
613
## [3.0.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v2.5.0...v3.0.0) (2023-06-28)
714

815
### ⚠ BREAKING CHANGES

CHANGELOG_DRAFT.md

Lines changed: 13 additions & 150 deletions
Original file line numberDiff line numberDiff line change
@@ -1,150 +1,13 @@
1-
## v3.0.0
2-
3-
## Features
4-
5-
### Feature configurations
6-
7-
- The minimum @sendbird/chat version has been increased from 4.3.0 to 4.9.2.
8-
- You can now configure the features of UIKit through the `uikitOptions` prop of `SendbirdUIKitContainer`.
9-
10-
```tsx
11-
<SendbirdUIKitContainer
12-
uikitOptions={{
13-
common: {
14-
enableUsingDefaultUserProfile: true,
15-
},
16-
groupChannel: {
17-
enableMention: false,
18-
enableOgtag: true,
19-
enableReaction: true,
20-
enableTypingIndicator: true,
21-
input: {
22-
camera: {
23-
enablePhoto: true,
24-
enableVideo: true,
25-
},
26-
gallery: {
27-
enablePhoto: true,
28-
enableVideo: true,
29-
},
30-
enableDocument: true,
31-
},
32-
},
33-
groupChannelList: {
34-
enableTypingIndicator: true,
35-
enableMessageReceiptStatus: true,
36-
},
37-
groupChannelSettings: {
38-
enableMessageSearch: true,
39-
},
40-
openChannel: {
41-
enableOgtag: true,
42-
input: {
43-
camera: {
44-
enablePhoto: true,
45-
enableVideo: true,
46-
},
47-
gallery: {
48-
enablePhoto: true,
49-
enableVideo: true,
50-
},
51-
enableDocument: true,
52-
},
53-
},
54-
}}
55-
/>
56-
```
57-
58-
## Breaking changes
59-
60-
### Project configurations
61-
62-
#### The minimum React-Native version has been increased from 0.63.3 to 0.65.0.
63-
64-
- Supports stable Metro bundler version.
65-
- Supports stable React-Native APIs (e.g. EventSubscription).
66-
- Minimum iOS version for deployment has been changed to 11. ([link](https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes#Deprecations))
67-
- An increase in the minimum Gradle version is required for stable operation.
68-
- https://react-native-community.github.io/upgrade-helper/?from=0.63.5&to=0.65.3
69-
70-
#### Local cache is now a mandatory requirement.
71-
72-
- You must inject localCacheStorage into SendbirdUIKitContainer.
73-
74-
```tsx
75-
<SendbirdUIKitContainer chatOptions={{ localCacheStorage: AsyncStorage }} />
76-
```
77-
78-
### Code migrations and removal of deprecated items
79-
80-
#### Feature configurations
81-
82-
- The feature configuration options that were previously present in the `chatOptions` prop of `SendbirdUIKitContainer` have been moved to `uikitOptions` prop.
83-
84-
- `chatOptions.enableUserMention` is replaced with `uikitOptions.groupChannel.enableMention`
85-
- `chatOptions.enableGroupChannelOGTag` is replaced with `uikitOptions.groupChannel.enableOgtag`
86-
- `chatOptions.enableChannelListTypingIndicator` replaced with `uikitOptions.groupChannelList.enableTypingIndicator`
87-
- `chatOptions.enableChannelListMessageReceiptStatus` is replaced with `uikitOptions.groupChannelList.enableMessageReceiptStatus`
88-
- `chatOptions.enableMessageSearch` is replaced with `uikitOptions.groupChannelSettings.enableMessageSearch`
89-
- `chatOptions.enableOpenChannelOGTag` is replaced with `uikitOptions.openChannel.enableOgtag`
90-
- `chatOptions.enableUsingDefaultUserProfile` is replaced with `uikitOptions.common.enableUsingDefaultUserProfile`
91-
92-
#### Resources
93-
94-
- StringSet
95-
96-
- `OPEN_CHANNEL.LIST_BANNER_FROZEN` is replaced with `LABELS.CHANNEL_MESSAGE_LIST_FROZEN`
97-
- `GROUP_CHANNEL.LIST_BANNER_FROZEN` is replaced with `LABELS.CHANNEL_MESSAGE_LIST_FROZEN`
98-
- `GROUP_CHANNEL.DIALOG_MESSAGE_COPY` is replaced with `LABELS.CHANNEL_MESSAGE_COPY`
99-
- `GROUP_CHANNEL.DIALOG_MESSAGE_EDIT` is replaced with `LABELS.CHANNEL_MESSAGE_EDIT`
100-
- `GROUP_CHANNEL.DIALOG_MESSAGE_SAVE` is replaced with `LABELS.CHANNEL_MESSAGE_SAVE`
101-
- `GROUP_CHANNEL.DIALOG_MESSAGE_DELETE` is replaced with `LABELS.CHANNEL_MESSAGE_DELETE`
102-
- `GROUP_CHANNEL.DIALOG_MESSAGE_DELETE_CONFIRM_TITLE` is replaced with `LABELS.CHANNEL_MESSAGE_DELETE_CONFIRM_TITLE`
103-
- `GROUP_CHANNEL.DIALOG_MESSAGE_DELETE_CONFIRM_OK` is replaced with `LABELS.CHANNEL_MESSAGE_DELETE_CONFIRM_OK`
104-
- `GROUP_CHANNEL.DIALOG_MESSAGE_DELETE_CONFIRM_CANCEL` is replaced with `LABELS.CHANNEL_MESSAGE_DELETE_CONFIRM_CANCEL`
105-
- `GROUP_CHANNEL.DIALOG_MESSAGE_FAILED_RETRY` is replaced with `LABELS.CHANNEL_MESSAGE_FAILED_RETRY`
106-
- `GROUP_CHANNEL.DIALOG_MESSAGE_FAILED_REMOVE` is replaced with `LABELS.CHANNEL_MESSAGE_FAILED_REMOVE`
107-
- `GROUP_CHANNEL.DIALOG_ATTACHMENT_CAMERA(LABELS.CHANNEL_INPUT_ATTACHMENT_CAMERA)` is replaced with `LABELS.CHANNEL_INPUT_ATTACHMENT_CAMERA_PHOTO` and `LABELS.CHANNEL_INPUT_ATTACHMENT_CAMERA_VIDEO`
108-
- `GROUP_CHANNEL.DIALOG_ATTACHMENT_PHOTO_LIBRARY` is replaced with `LABELS.CHANNEL_INPUT_ATTACHMENT_PHOTO_LIBRARY`
109-
- `GROUP_CHANNEL.DIALOG_ATTACHMENT_FILES` is replaced with `LABELS.CHANNEL_INPUT_ATTACHMENT_FILES`
110-
- `GROUP_CHANNEL.INPUT_PLACEHOLDER_ACTIVE` is replaced with `LABELS.CHANNEL_INPUT_PLACEHOLDER_ACTIVE`
111-
- `GROUP_CHANNEL.INPUT_PLACEHOLDER_DISABLED` is replaced with `LABELS.CHANNEL_INPUT_PLACEHOLDER_DISABLED`
112-
- `GROUP_CHANNEL.INPUT_PLACEHOLDER_MUTED` is replaced with `LABELS.CHANNEL_INPUT_PLACEHOLDER_MUTED`
113-
- `GROUP_CHANNEL.INPUT_EDIT_OK` is replaced with `LABELS.CHANNEL_INPUT_EDIT_OK`
114-
- `GROUP_CHANNEL.INPUT_EDIT_CANCEL` is replaced with `LABELS.CHANNEL_INPUT_EDIT_CANCEL`
115-
- `GROUP_CHANNEL_MEMBERS.USER_BAR_ME_POSTFIX` is replaced with `LABELS.USER_BAR_ME_POSTFIX`
116-
- `GROUP_CHANNEL_MEMBERS.USER_BAR_OPERATOR` is replaced with `LABELS.USER_BAR_OPERATOR`
117-
118-
- Theme
119-
- `Messsage` in colors is replaced with `GroupChannelMessage` (`colors.ui.message` -> `colors.ui.groupChannelMessage`)
120-
121-
#### Components
122-
123-
- `GroupChannelFragment`(`GroupChannelProps`),
124-
125-
- In order to specify the local cache as mandatory, the `queryCreator` prop has been removed.
126-
127-
- `ChannelMessageList` (`GroupChannelProps`, `OpenChannelProps`)
128-
129-
- `onPressImageMessage` prop is replaced with `onPressMediaMessage`
130-
- `onLeaveScrollBottom` prop is replaced with `onScrolledAwayFromBottom`
131-
- `onPressAvatar` prop is replaced with `onShowUserProfile`
132-
133-
- `ChannelInput` (`GroupChannelProps`, `OpenChannelProps`)
134-
135-
- `onSendFileMessage` prop is replaced with `onPressSendUserMessage`
136-
- `onSendUserMessage` prop is replaced with `onPressSendUserMessage`
137-
- `onUpdateFileMessage` prop is replaced with `onPressUpdateUserMessage`
138-
- `onUpdateUserMessage` prop is replaced with `onPressUpdateFileMessage`
139-
140-
- `GroupChannelListFragment`(`GroupChannelListProps`)
141-
142-
- In order to specify the local cache as mandatory, the `queryCreator` prop has been removed.
143-
- `renderGroupChannelPreview` has been changed from `(channel: SendbirdGroupChannel, onLongPressChannel: () => void) => React.ReactElement | null` to `(props: { channel: SendbirdGroupChannel; onPress: () => void; onLongPress: () => void; }) => React.ReactElement | null`.
144-
145-
- `MessageRenderer` component is replaced with `GroupChannelMessageRenderer`
146-
147-
#### Hooks
148-
149-
- `useGroupChannelMessages`, `useOpenChannelMessages`
150-
- `nextMessages` and `newMessagesFromMembers` properties are replaced with `newMessages`
1+
## v3.0.1
2+
3+
### Update expo modules and support backward compatibility
4+
5+
- Update `expo-av` module
6+
- Update `expo-clipboard` module
7+
- Update `expo-document-picker` module
8+
- Update `expo-file-system` module
9+
- Update `expo-image-manipulator` module
10+
- Update `expo-image-picker` module
11+
- Update `expo-media-library` module
12+
- Update `expo-notifications` module
13+
- Update `expo-video-thumbnails` module

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.0.1](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.0.0...v3.0.1) (2023-07-04)
7+
8+
**Note:** Version bump only for package @sendbird/docs-validation
9+
610
## [3.0.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v2.5.0...v3.0.0) (2023-06-28)
711

812
### ⚠ BREAKING CHANGES

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.0.0",
3+
"version": "3.0.1",
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.0.0",
5+
"version": "3.0.1",
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.0.1](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.0.0...v3.0.1) (2023-07-04)
7+
8+
**Note:** Version bump only for package @sendbird/uikit-chat-hooks
9+
610
## [3.0.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v2.5.0...v3.0.0) (2023-06-28)
711

812
### ⚠ BREAKING CHANGES

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.0.0",
3+
"version": "3.0.1",
44
"description": "A set of React hooks for integrating Sendbird chat functionality into your React app.",
55
"keywords": [
66
"sendbird",
@@ -44,10 +44,10 @@
4444
"access": "public"
4545
},
4646
"dependencies": {
47-
"@sendbird/uikit-utils": "3.0.0"
47+
"@sendbird/uikit-utils": "3.0.1"
4848
},
4949
"devDependencies": {
50-
"@sendbird/uikit-testing-tools": "3.0.0",
50+
"@sendbird/uikit-testing-tools": "3.0.1",
5151
"@types/react": "*",
5252
"react": "17.0.2",
5353
"react-native-builder-bob": "^0.18.0",

packages/uikit-react-native-foundation/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.0.1](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.0.0...v3.0.1) (2023-07-04)
7+
8+
**Note:** Version bump only for package @sendbird/uikit-react-native-foundation
9+
610
## [3.0.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v2.5.0...v3.0.0) (2023-06-28)
711

812
### ⚠ BREAKING CHANGES

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.0.0",
3+
"version": "3.0.1",
44
"description": "A foundational UI kit for building chat-enabled React Native apps.",
55
"keywords": [
66
"sendbird",
@@ -47,7 +47,7 @@
4747
"access": "public"
4848
},
4949
"dependencies": {
50-
"@sendbird/uikit-utils": "3.0.0"
50+
"@sendbird/uikit-utils": "3.0.1"
5151
},
5252
"devDependencies": {
5353
"@types/react": "*",

packages/uikit-react-native/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
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.0.1](https://github.com/sendbird/sendbird-uikit-react-native/compare/v3.0.0...v3.0.1) (2023-07-04)
7+
8+
### Bug Fixes
9+
10+
- do not use scrollview enhancer if the platform is not android ([ff48e36](https://github.com/sendbird/sendbird-uikit-react-native/commit/ff48e36cf1fec3f5ede856360ac05b1523398834))
11+
- update expo modules and support backward compatibility ([5c45ee6](https://github.com/sendbird/sendbird-uikit-react-native/commit/5c45ee6ab025505633a09ea345e6cbc5be7b584b))
12+
613
## [3.0.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v2.5.0...v3.0.0) (2023-06-28)
714

815
### ⚠ BREAKING CHANGES

0 commit comments

Comments
 (0)