|
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 |
0 commit comments