Skip to content

Commit 285df35

Browse files
authored
Release v3.3.2 on Dec 8 (#378)
1 parent 5cad9c4 commit 285df35

File tree

3 files changed

+58
-3
lines changed

3 files changed

+58
-3
lines changed

CHANGELOG.md

+55
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,60 @@
11
# Changelog - v3
22

3+
## [v3.3.2] (Dec 8 2022)
4+
Features:
5+
* Add props `renderTitle` to the <ChannelListHeader /> component
6+
* `renderHeader` of <ChannelListHeader /> will be deprecated
7+
* Add interface overrideInviteUser
8+
9+
Add overrideInviteUser to ChannelList, CreateChannel and ChannelSettings
10+
11+
This interface overrides InviteMember functionality. Customer has to create the channel
12+
and close the popup manually
13+
14+
```javascript
15+
export type OverrideInviteUserType = {
16+
users: Array<string>;
17+
onClose: () => void;
18+
channelType: 'group' | 'supergroup' | 'broadcast';
19+
};
20+
export interface ChannelListProps {
21+
overrideInviteUser?(params: OverrideInviteUserType): void;
22+
}
23+
export interface CreateChannelProps {
24+
overrideInviteUser?(params: OverrideInviteUserType): void;
25+
}
26+
export type OverrideInviteMemberType = {
27+
users: Array<string>;
28+
onClose: () => void;
29+
channel: GroupChannel;
30+
};
31+
ChannelSettings.overrideInviteUser?(params: OverrideInviteMemberType): void;
32+
```
33+
34+
example:
35+
```javascript
36+
<ChannelList
37+
overrideInviteUser={({users, onClose, channelType}) => {
38+
createMyChannel(users, channelType).then(() => {
39+
onClose();
40+
})
41+
}}
42+
/>
43+
```
44+
45+
Fixes:
46+
* Allow to override entire message search query.
47+
Now message search query supports searching messages in multiple channels.
48+
* Modify type definitions for props `ThreadUIProps.renderMessage`.
49+
* Remove duplication of create channel button when using `renderHeader` of <ChannelList />.
50+
* The online status should work even configureSession is provided.
51+
This was disabled because of a bug in sessionHandler in SDK now, we can re-enable this.
52+
* Create channel sometimes had empty operatorID.
53+
Use sendbird state to access currentUserID and use it incase prop value is empty.
54+
Also, remove legacy HOC pattern.
55+
* Add the props type `isMentionEnabled` of <App />.
56+
* Change the props type `messageSearchQuery` of <MessageSearch /> to **MessageSearchQueryParams**.
57+
358
## [v3.3.1] (Nov 23 2022)
459
Fixes:
560
* Rename properties of `useThreadContext`

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sendbird/uikit-react",
3-
"version": "3.3.1",
3+
"version": "3.3.2",
44
"description": "React based UI kit for sendbird",
55
"main": "dist/index.js",
66
"style": "dist/index.css",

0 commit comments

Comments
 (0)