Skip to content

Commit

Permalink
v3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcho committed Dec 1, 2021
1 parent fa54362 commit 103abf8
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v3.1.2 (DEC 01, 2021)
- Fixed TypeScript interface in `PreviousMessageListQuery`.
- Deprecated `includeReplies` and `includeParentMessageText`.
- Added `replyType` and `includeParentMessageInfo`.

## v3.1.1 (NOV 24, 2021)
- `dns` dependency removed.

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,10 @@ Additionally, migration guide for clients currently using SyncManager will be av

## Changelogs

### v3.1.1 (NOV 24, 2021)
### v3.1.2 (DEC 01, 2021)

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

- `dns` dependency removed.
- Fixed TypeScript interface in `PreviousMessageListQuery`.
- Deprecated `includeReplies` and `includeParentMessageText`.
- Added `replyType` and `includeParentMessageInfo`.
10 changes: 9 additions & 1 deletion SendBird.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Type Definitions for Sendbird SDK v3.1.1
* Type Definitions for Sendbird SDK v3.1.2
* homepage: https://sendbird.com/
* git: https://github.com/sendbird/Sendbird-SDK-JavaScript
*/
Expand Down Expand Up @@ -1644,10 +1644,18 @@ declare namespace SendBird {
*/
includeReaction: boolean;
includeReactions: boolean;
/**
* @deprecated since version v3.0.159, please use {@link replyType} instead
*/
includeReplies: boolean;
/**
* @deprecated since version v3.0.159, please use {@link includeParentMessageInfo} instead
*/
includeParentMessageText: boolean;
includeThreadInfo: boolean;
showSubchannelMessagesOnly: boolean;
replyType: ReplyType[keyof ReplyType];
includeParentMessageInfo: boolean;
includePollDetails: boolean;

load(limit: number, reverse: boolean, messageType?: number | string, callback?: messageListCallback): Array<UserMessage | FileMessage | AdminMessage>;
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.1.1",
"version": "3.1.2",
"authors": [
"Sendbird <[email protected]>"
],
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.1.1",
"version": "3.1.2",
"description": "Sendbird JavaScript SDK",
"main": "SendBird.min.js",
"dependencies": {
Expand Down

0 comments on commit 103abf8

Please sign in to comment.