Skip to content

Commit 093abf9

Browse files
authored
Merge pull request #56 from sendbird/release/2.2.0
[SDKRLSD-615] Release/2.2.0
2 parents 726c9fc + bd7ab21 commit 093abf9

File tree

77 files changed

+849
-480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+849
-480
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,35 @@
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+
## [2.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v2.1.0...v2.2.0) (2023-01-03)
7+
8+
9+
### Features
10+
11+
* added group channel notifications fragment ([dfb891d](https://github.com/sendbird/sendbird-uikit-react-native/commit/dfb891d76e79ad33f1b184c248e0d0688add2c13))
12+
* **foundation:** added dynamic header to bottom sheet ([850cb68](https://github.com/sendbird/sendbird-uikit-react-native/commit/850cb68cca6927c4f76c682b182bbe91b688a154))
13+
* **foundation:** added mention related props to group channel preview ([507a1af](https://github.com/sendbird/sendbird-uikit-react-native/commit/507a1af747ca5190e436028c4755f5ebab685cad))
14+
* **foundation:** added reaction ui color ([5b272e5](https://github.com/sendbird/sendbird-uikit-react-native/commit/5b272e57bbec5ece4bbcdaecb88fddd5ec3759f4))
15+
* **uikit:** added emoji manager ([1cad175](https://github.com/sendbird/sendbird-uikit-react-native/commit/1cad175228c89ea995743279ddcbf6ddc0b099e8))
16+
* **uikit:** added reaction addons ([1a0db30](https://github.com/sendbird/sendbird-uikit-react-native/commit/1a0db308f517d2da280db68f2d81a743174dccfb))
17+
* **uikit:** added reaction bottom sheets ([07ae1ad](https://github.com/sendbird/sendbird-uikit-react-native/commit/07ae1ad0608ed9c28760c135fe631ced17159bb1))
18+
* **uikit:** added reaction user list bottom sheet ([e9ef7e9](https://github.com/sendbird/sendbird-uikit-react-native/commit/e9ef7e9b4715e49a41802453aae95f283917e03b))
19+
20+
21+
### Bug Fixes
22+
23+
* added missing keyExtractor to list components of modules ([4ee1108](https://github.com/sendbird/sendbird-uikit-react-native/commit/4ee110878522e1486882285869b68ad7ec98438f))
24+
* android selection bug ([d2b4c8c](https://github.com/sendbird/sendbird-uikit-react-native/commit/d2b4c8c8b6a7216a4dedf6445daf0f951f34b4c9))
25+
* **chat-hooks:** admin message is not added via onMessagesAdded handler ([0bbb499](https://github.com/sendbird/sendbird-uikit-react-native/commit/0bbb499187ce7a4861c8738d802b0d572d79289a))
26+
* **chat-hooks:** fixed wrong error variable name in the useUserList query catch ([82c6f6f](https://github.com/sendbird/sendbird-uikit-react-native/commit/82c6f6fc612de6f8732ec5d6f602783409bc9d52))
27+
28+
29+
### Improvements
30+
31+
* update time format ([708be93](https://github.com/sendbird/sendbird-uikit-react-native/commit/708be932005f0911e63a5d77ace1cb779357beb9))
32+
33+
34+
635
## [2.1.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v2.0.3...v2.1.0) (2022-12-06)
736

837

docs-validation/4_key-functions/ChattingInAChannel/ChatInAGroupChannel.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ function _context(_: GroupChannelContextsType) {
4040
const fragment = useContext(_.Fragment);
4141
fragment.headerTitle;
4242
fragment.channel;
43-
fragment.editMessage;
44-
fragment.setEditMessage;
43+
fragment.messageToEdit;
44+
fragment.setMessageToEdit;
4545
fragment.keyboardAvoidOffset;
4646

4747
const typing = useContext(_.TypingIndicator);
@@ -57,8 +57,8 @@ const Component = () => {
5757
const {
5858
headerTitle,
5959
channel,
60-
editMessage,
61-
setEditMessage,
60+
messageToEdit,
61+
setMessageToEdit,
6262
keyboardAvoidOffset,
6363
} = useContext(GroupChannelContexts.Fragment);
6464
};

docs-validation/4_key-functions/ConfiguringChannelSettings/ConfigureGroupChannelSettings.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,17 @@ const GroupChannelSettingsScreen = ({ params }: { params: { channelUrl: string }
1919
const navigateToGroupChannelMembersScreen = () => {};
2020
const navigateToGroupChannelModerationScreen = () => {};
2121

22+
// Only required when you enabled mention.
23+
const navigateToGroupChannelNotificationScreen = () => {};
24+
2225
return (
2326
<GroupChannelSettingsFragment
2427
channel={channel}
2528
onPressHeaderLeft={navigateToBack}
2629
onPressMenuLeaveChannel={navigateToGroupChannelListScreen}
2730
onPressMenuMembers={navigateToGroupChannelMembersScreen}
2831
onPressMenuModeration={navigateToGroupChannelModerationScreen}
32+
onPressMenuNotification={navigateToGroupChannelNotificationScreen}
2933
/>
3034
);
3135
};
@@ -76,13 +80,17 @@ const GroupChannelSettingsScreen2 = ({ params }: { params: { channelUrl: string
7680
const navigateToGroupChannelMembersScreen = () => {};
7781
const navigateToGroupChannelModerationScreen = () => {};
7882

83+
// Only required when you enabled mention.
84+
const navigateToGroupChannelNotificationScreen = () => {};
85+
7986
return (
8087
<GroupChannelSettingsFragment2
8188
channel={channel}
8289
onPressHeaderLeft={navigateToBack}
8390
onPressMenuLeaveChannel={navigateToGroupChannelListScreen}
8491
onPressMenuMembers={navigateToGroupChannelMembersScreen}
8592
onPressMenuModeration={navigateToGroupChannelModerationScreen}
93+
onPressMenuNotification={navigateToGroupChannelNotificationScreen}
8694
menuItemsCreator={(items) => {
8795
items.unshift({
8896
icon: 'channels',

docs-validation/4_key-functions/CreatingAChannel/CreateAGroupChannel.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ const Component2 = () => {
7171
* Customization
7272
* {@link https://sendbird.com/docs/uikit/v3/react-native/key-functions/creating-a-channel/create-a-group-channel#2-customization}
7373
* */
74-
import { CustomQuery, UserStruct } from '@sendbird/uikit-chat-hooks';
74+
import type { UserStruct } from '@sendbird/uikit-utils';
75+
import { CustomQuery } from '@sendbird/uikit-chat-hooks';
7576
import { createGroupChannelCreateFragment } from '@sendbird/uikit-react-native';
7677

7778
interface MyAppUser extends UserStruct {

docs-validation/4_key-functions/InviteUsers.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ const Component2 = () => {
8282
* Customization
8383
* {@link https://sendbird.com/docs/uikit/v3/react-native/key-functions/creating-a-channel/create-a-group-channel#2-customization}
8484
* */
85-
import { CustomQuery, UserStruct } from '@sendbird/uikit-chat-hooks';
85+
import type { UserStruct } from '@sendbird/uikit-utils';
86+
import { CustomQuery } from '@sendbird/uikit-chat-hooks';
8687
// import { useSendbirdChat, createGroupChannelInviteFragment } from '@sendbird/uikit-react-native';
8788
// import { useGroupChannel } from '@sendbird/uikit-chat-hooks';
8889

docs-validation/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
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+
## [2.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v2.1.0...v2.2.0) (2023-01-03)
7+
8+
**Note:** Version bump only for package @sendbird/docs-validation
9+
10+
11+
12+
13+
614
## [2.1.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v2.0.3...v2.1.0) (2022-12-06)
715

816

docs-validation/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sendbird/docs-validation",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"private": true,
55
"scripts": {
66
"test": "tsc --project tsconfig.build.json",
@@ -42,6 +42,6 @@
4242
"react-dom": "17.0.2",
4343
"react-native-monorepo-tools": "^1.1.4",
4444
"react-test-renderer": "17.0.2",
45-
"typescript": "^4.4.4"
45+
"typescript": "4.9.4"
4646
}
4747
}

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
],
77
"npmClient": "yarn",
88
"useWorkspaces": true,
9-
"version": "2.1.0",
9+
"version": "2.2.0",
1010
"command": {
1111
"publish": {
1212
"conventionalCommits": true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"react-native-safe-area-context": "^3.3.2",
6969
"react-test-renderer": "^17.0.2",
7070
"typedoc": "^0.23.7",
71-
"typescript": "4.7.4"
71+
"typescript": "4.9.4"
7272
},
7373
"jest": {
7474
"testEnvironment": "node",

packages/uikit-chat-hooks/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
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+
## [2.2.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v2.1.0...v2.2.0) (2023-01-03)
7+
8+
9+
### Features
10+
11+
* **uikit:** added reaction addons ([1a0db30](https://github.com/sendbird/sendbird-uikit-react-native/commit/1a0db308f517d2da280db68f2d81a743174dccfb))
12+
13+
14+
### Bug Fixes
15+
16+
* added missing keyExtractor to list components of modules ([4ee1108](https://github.com/sendbird/sendbird-uikit-react-native/commit/4ee110878522e1486882285869b68ad7ec98438f))
17+
* **chat-hooks:** admin message is not added via onMessagesAdded handler ([0bbb499](https://github.com/sendbird/sendbird-uikit-react-native/commit/0bbb499187ce7a4861c8738d802b0d572d79289a))
18+
* **chat-hooks:** fixed wrong error variable name in the useUserList query catch ([82c6f6f](https://github.com/sendbird/sendbird-uikit-react-native/commit/82c6f6fc612de6f8732ec5d6f602783409bc9d52))
19+
20+
21+
622
## [2.1.0](https://github.com/sendbird/sendbird-uikit-react-native/compare/v2.0.3...v2.1.0) (2022-12-06)
723

824

0 commit comments

Comments
 (0)