Skip to content

Commit

Permalink
v3.0.124
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisallo committed May 22, 2020
1 parent a99dc9e commit 22f0298
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 25 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog

## v3.0.124(MAY 23, 2020)

- Bug-fix: Failure in `getMessageList()`.

## v3.0.123(MAY 22, 2020)

- Added message thread feature support
- Added `parentMessageId`, `parentMessageText`, `threadInfo` in `UserMessage` and `FileMessage`.
- Added `onThreadInfoUpdated()` in `ChannelHandler`.
Expand Down
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,11 @@ Check out [Basic Sample with SyncManager](https://github.com/sendbird/SendBird-J

# [Documentation](https://docs.sendbird.com/javascript)

## v3.0.123(MAY 22, 2020)
## v3.0.124(MAY 23, 2020)

If you want to check the record of other version, go to [Change Log](https://github.com/sendbird/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md).

- Added message thread feature support
- Added `parentMessageId`, `parentMessageText`, `threadInfo` in `UserMessage` and `FileMessage`.
- Added `onThreadInfoUpdated()` in `ChannelHandler`.
- Added `getThreadedMessagesByTimestamp()`, `applyThreadInfoUpdateEvent()` in `UserMessage` and `FileMessage`.
- Added thread-related parameters in `GroupChannelListQuery`.
- Added emoji feature support
- Added `getAllEmoji()`, `getEmojiCategory()`, and `getEmoji()` in `SendBird`.
- Added parameter classes for message retrieval.
- Bug-fix: Crash on IE strict mode.
- Bug-fix: Failure in `getMessageList()`.

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

Expand Down
31 changes: 20 additions & 11 deletions SendBird.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Type Definitions for SendBird SDK v3.0.123
* Type Definitions for SendBird SDK v3.0.124
* homepage: https://sendbird.com/
* git: https://github.com/sendbird/SendBird-SDK-JavaScript
*/
Expand Down Expand Up @@ -344,7 +344,11 @@ declare namespace SendBird {
serialize(): Object;
getMetaArraysByKeys(keys: Array<string>): Array<MessageMetaArray>;
applyReactionEvent(event: ReactionEvent): void;
getThreadedMessagesByTimestamp(timestamp: number, params: ThreadedMessageListParams, callback: threadedMessageListCallback): void;
getThreadedMessagesByTimestamp(
timestamp: number,
params: ThreadedMessageListParams,
callback: messageListCallback
): void;
applyThreadInfoUpdateEvent(threadInfoUpdateEvent: ThreadInfoUpdateEvent): boolean;

metaArray: Object; // DEPRECATED
Expand Down Expand Up @@ -621,8 +625,16 @@ declare namespace SendBird {
callback: getMessageChangeLogsHandler
): void;

getMessageChangeLogsSinceToken(token: string, params: MessageChangeLogsParams, callback: getMessageChangeLogsHandler): void;
getMessageChangeLogsSinceTimestamp(timestamp: number, params: MessageChangeLogsParams, callback: getMessageChangeLogsHandler): void;
getMessageChangeLogsSinceToken(
token: string,
params: MessageChangeLogsParams,
callback: getMessageChangeLogsHandler
): void;
getMessageChangeLogsSinceTimestamp(
timestamp: number,
params: MessageChangeLogsParams,
callback: getMessageChangeLogsHandler
): void;

getMyMutedInfo(callback: getMyMutedInfoHandler): void;
createOperatorListQuery(): OperatorListQuery;
Expand Down Expand Up @@ -1173,13 +1185,10 @@ declare namespace SendBird {
}

type threadedMessageList = {
parentMessage: UserMessage | FileMessage | AdminMessage,
threadedReplies: Array<UserMessage | FileMessage | AdminMessage>
parentMessage: UserMessage | FileMessage | AdminMessage;
threadedReplies: Array<UserMessage | FileMessage | AdminMessage>;
};
type threadedMessageCallback = (
threadedMessageList: threadedMessageList,
error: SendBirdError
) => void;
type threadedMessageCallback = (threadedMessageList: threadedMessageList, error: SendBirdError) => void;

interface PreviousMessageListQuery {
hasMore: boolean;
Expand Down Expand Up @@ -1494,7 +1503,7 @@ declare namespace SendBird {
interface ThreadInfo {
new (): ThreadInfo;
replyCount: number;
mostRepliedUsers: Array<User>
mostRepliedUsers: Array<User>;
lastRepliedAt: number;
}
interface ThreadInfoUpdateEvent {
Expand Down
4 changes: 2 additions & 2 deletions SendBird.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sendbird",
"version": "3.0.123",
"version": "3.0.124",
"authors": ["SendBird <[email protected]>"],
"homepage": "https://github.com/sendbird/SendBird-SDK-JavaScript",
"description": "SendBird JavaScript SDK",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sendbird",
"version": "3.0.123",
"version": "3.0.124",
"description": "SendBird JavaScript SDK",
"main": "SendBird.min.js",
"dependencies": {
Expand Down

0 comments on commit 22f0298

Please sign in to comment.