Skip to content

Commit

Permalink
v3.0.130
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisallo committed Aug 7, 2020
1 parent 3df3d70 commit b15786c
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 20 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## v3.0.130(AUG 7, 2020)

- Added `order` in `GroupChannelMemberListQuery`. The value could be `member_nickname_alphabetical` (default) or `operator_then_member_alphabetical`.
- Added `isMuted` in `Member`.
- Removed value type check in `channel.createMetaData()` and `channel.updateMetaData()`.
- Bug-fix on `profileUrl` setter.

## v3.0.129(JUL 24, 2020)

- Renamed `includeReaction` to `includeReactions` in `channel.getMessageChangeLogs()` (`includeReaction` is deprecated).
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,14 @@ Check out [Basic Sample with SyncManager](https://github.com/sendbird/SendBird-J

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

## v3.0.129(JUL 24, 2020)
## v3.0.130(AUG 7, 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).

- Renamed `includeReaction` to `includeReactions` in `channel.getMessageChangeLogs()` (`includeReaction` is deprecated).
- Added `ogMetaData` in `BaseMessage`.
- `ogMetaData` holds open graph properties including `title`, `url`, `description`, and `defaultImage`.
- `ogMetaData.defaultImage` has the image-related properties including `url`, `secureUrl`, `type`, `width`, `height`, `alt` as defined in the target website.
- `ogMetaData` may not be set at the moment of sending. Once the message is sent, Sendbird service would fetch and analyze the open graph property and give the result as a form of message update event.
- Added `order` in `GroupChannelMemberListQuery`. The value could be `member_nickname_alphabetical` (default) or `operator_then_member_alphabetical`.
- Added `isMuted` in `Member`.
- Removed value type check in `channel.createMetaData()` and `channel.updateMetaData()`.
- Bug-fix on `profileUrl` setter.

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

Expand Down
21 changes: 12 additions & 9 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.129
* Type Definitions for SendBird SDK v3.0.130
* homepage: https://sendbird.com/
* git: https://github.com/sendbird/SendBird-SDK-JavaScript
*/
Expand Down Expand Up @@ -60,6 +60,8 @@ declare namespace SendBird {
}
interface SendBirdInstance {
currentUser: User;
appInfo: AppInfo;

User: UserStatic;
Member: MemberStatic;
OpenChannel: OpenChannelStatic;
Expand Down Expand Up @@ -255,11 +257,13 @@ declare namespace SendBird {
typingIndicatorThrottle: number;
}
interface AppInfo {
emojiHash: string;
uploadSizeLimit: number;
useReaction: boolean;
emojiHash: string;
premiumFeatureList: Array<string>;
applicationAttributes: Array<string>;
isUsingReaction: boolean;
}

interface FriendListQuery {
hasMore: boolean;
isLoading: boolean;
Expand Down Expand Up @@ -466,9 +470,8 @@ declare namespace SendBird {
messageType: 'file';
sender: Sender;
reqId: string;
url: string; // DEPRECATED
plainUrl: string;
secureUrl: string;
url: string;
name: string;
size: number;
type: string;
Expand Down Expand Up @@ -532,9 +535,8 @@ declare namespace SendBird {
}

interface ThumbnailObject {
url: string; // DEPRECATED
url: string;
plainUrl: string;
secureUrl: string;
height: number;
width: number;
real_height: number;
Expand All @@ -551,9 +553,8 @@ declare namespace SendBird {
interface User {
userId: string;
nickname: string;
profileUrl: string; // DEPRECATED
profileUrl: string;
plainProfileUrl: string;
secureProfileUrl: string;
metaData: Object;
connectionStatus: string;
lastSeenAt: string;
Expand Down Expand Up @@ -586,6 +587,7 @@ declare namespace SendBird {
interface Member extends User {
state: 'invited' | 'joined';
role: 'none' | 'operator';
isMuted: boolean;
isBlockedByMe: boolean;
isBlockingMe: boolean;
}
Expand Down Expand Up @@ -1789,6 +1791,7 @@ declare namespace SendBird {
limit: number;
hasNext: boolean;
isLoading: boolean;
order: 'member_nickname_alphabetical' | 'operator_then_member_alphabetical';
mutedMemberFilter: 'all' | 'muted' | 'unmuted';
operatorFilter: 'all' | 'operator' | 'nonoperator'; // DEPRECATED
memberStateFilter: 'all' | 'joined_only' | 'invited_only' | 'invited_by_friend' | 'invited_by_non_friend';
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.129",
"version": "3.0.130",
"authors": ["SendBird <[email protected]>"],
"homepage": "https://github.com/sendbird/SendBird-SDK-JavaScript",
"description": "SendBird JavaScript SDK",
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"name": "sendbird",
"version": "3.0.129",
"version": "3.0.130",
"description": "SendBird JavaScript SDK",
"main": "SendBird.min.js",
"dependencies": {
"ws": "6.0.0",
"xhr2": "0.1.4",
"agentkeepalive": "2.2.0",
"axios": "^0.19.2",
"form-data": "^3.0.0"
Expand Down

0 comments on commit b15786c

Please sign in to comment.