Skip to content

Commit bcdaa4f

Browse files
committed
ver 3.0.50
1 parent 4070aed commit bcdaa4f

File tree

6 files changed

+23
-24
lines changed

6 files changed

+23
-24
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
## v3.0.50
5+
* Added `markAsReadWithChannelUrls()` in `SendBird` to simultaneously mark as read multiple channels the logged in user has joined.
6+
* Added `markAsReadAll()` in `SendBird` to mark as read all channels the logged in user has joined.
7+
* Deprecated `markAsReadAll()` in `GroupChannel`.
8+
* From now, if you pass param as `true` when you call `hide()`, the channel's unreadMessageCount set to 0.
9+
410
## v3.0.49
511
* Added `customTypesFilter` in `GroupChannelListQuery` to search groupChannel.
612
* Added `getOriginalProfileUrl()` in `User` for getting original profile image.

README.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,12 @@ If you have trouble importing `SendBird`, please check your `tsconfig.json` file
3939
# [Documentation](https://docs.sendbird.com/javascript)
4040

4141

42-
## Upgrading to v3.0.49
42+
## Upgrading to v3.0.50
4343
If you want to check the record of other version, go to [Change Log](https://github.com/smilefam/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md).
44-
* Added `customTypesFilter` in `GroupChannelListQuery` to search groupChannel.
45-
* Added `getOriginalProfileUrl()` in `User` for getting original profile image.
46-
* Added `Friend` feature.
47-
* uploadFriendDiscoveries(): add friend using discovery key.
48-
* deleteFriendDiscovery() / deleteFriendDiscoveries(): delete friend's discovery key.
49-
* addFriends(): add friend using friend's userID.
50-
* deleteFriend() / deleteFriends(): delete friend using friend's userID.
51-
* createFriendListQuery(): create object for getting friend list.
52-
* getFriendChangeLogsByToken(): get friend relation changed log.
53-
* addUserEventHandler(): add handler for receiving user event.
54-
* removeUserEventHandler() / removeAllUserEventHandler(): remove user event handler.
55-
* UserEventHandler: user event handler object.
56-
* From now, even when you call `connect()` before the previous `connect()` finishes, all of them get called back for the connection establishment result at the same time.
44+
* Added `markAsReadWithChannelUrls()` in `SendBird` to simultaneously mark as read multiple channels the logged in user has joined.
45+
* Added `markAsReadAll()` in `SendBird` to mark as read all channels the logged in user has joined.
46+
* Deprecated `markAsReadAll()` in `GroupChannel`.
47+
* From now, if you pass param as `true` when you call `hide()`, the channel's unreadMessageCount set to 0.
5748

5849

5950
## [Change Log](https://github.com/smilefam/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md)

SendBird.d.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Type Definitions for SendBird SDK v3.0.49
2+
* Type Definitions for SendBird SDK v3.0.50
33
* homepage: https://sendbird.com/
44
* git: https://github.com/smilefam/SendBird-SDK-JavaScript
55
*/
@@ -11,7 +11,6 @@ type userCallback = (user: User, error: Object) => void;
1111
type pushSettingCallback = (response: string, error: Object) => void;
1212

1313
type getFriendChangeLogs = {
14-
addedUsers: Array<User>,
1514
updatedUsers: Array<User>,
1615
deletedUserIds: Array<string>,
1716
hasMore: boolean,
@@ -120,6 +119,9 @@ interface SendBirdInstance {
120119
deleteFriends(userIds: Array<string>, callback: commonCallback): void
121120

122121
createFriendListQuery(): FriendListQuery;
122+
123+
markAsReadAll(callback: commonCallback): void;
124+
markAsReadWithChannelUrls(channelUrls: Array<string>, callback:commonCallback): void;
123125
}
124126

125127
interface FriendListQuery {
@@ -542,7 +544,7 @@ interface GroupChannelStatic {
542544
getChannel(channelUrl: string, callback: groupChannelCallback): void;
543545
getChannelWithoutCache(channelUrl: string, callback: groupChannelCallback): void;
544546

545-
markAsReadAll(callback: commonCallback): void;
547+
markAsReadAll(callback: commonCallback): void; // Deprecated
546548
}
547549

548550
type groupChannelListQueryCallback = (groupChannelList: Array<GroupChannel>, error: Object) => void;

SendBird.min.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sendbird",
3-
"version": "3.0.49",
3+
"version": "3.0.50",
44
"authors": [
55
"SendBird <[email protected]>"
66
],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sendbird",
3-
"version": "3.0.49",
3+
"version": "3.0.50",
44
"description": "SendBird JavaScript SDK",
55
"main": "SendBird.min.js",
66
"dependencies": {

0 commit comments

Comments
 (0)