Skip to content

Commit

Permalink
v4.0.0-beta.10
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcho committed May 17, 2022
1 parent 26c24dd commit e6fca5b
Show file tree
Hide file tree
Showing 16 changed files with 463 additions and 471 deletions.
37 changes: 25 additions & 12 deletions CHANGES_FROM_V3.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,25 @@ import { GroupChannel } from '@sendbird/groupChannel';
## New features

- Added `onConnected()`, `onDisconnected()` to `ConnectionHandler`.
- Added `translationTargetLanguages` in `UserMessage`.
- Added `translationTargetLanguages` in `UserMessageUpdateParamsProperties`.
- Scheduled message support:
- Added `scheduledInfo` in `BaseMessage`.
- Added `ScheduledStatus`.
- Added `SCHEDULED` in `SendingStatus`.
- Added `ScheduledMessageRetrievalParams`.
- Added `ScheduledFileMessageCreateParams`.
- Added `ScheduledFileMessageUpdateParams`.
- Added `ScheduledUserMessageCreateParams`.
- Added `ScheduledUserMessageUpdateParams`.
- Added `TotalScheduledMessageCountParams`.
- Added `ScheduledMessageListOrder`.
- Added `ScheduledMessageListQuery`.
- Added `ScheduledMessageListQueryParams`.
- Added `getScheduledMessage()` in `MessageModule`, .
- Added `createScheduledMessageListQuery() in `GroupChannelModule`.
- Added `getTotalScheduledMessageCount() in `SendbirdChat`.
- Added `createScheduledUserMessage()`, `updateScheduledUserMessage()`, `createScheduledFileMessage()`, `updateScheduledFileMessage()`, `cancelScheduledMessage()`, `sendScheduledMessageNow() in `GroupChannel`.

## Changes

Expand Down Expand Up @@ -301,25 +320,15 @@ SendBird.getInstance()
sb.getApplicationId()
sb.getConnectionState()
sb.getLastConnectedAt()
channel.isGroupChannel()
channel.isOpenChannel()
channel.getCachedMetaData()
message.isUserMessage()
message.isFileMessage()
message.isAdminMessage()
message.isResendable()

// v4
SendbirdChat.instance
sb.appId
sb.connectionState
sb.lastConnectedAt
channel.isGroupChannel
channel.isOpenChannel
channel.cachedMetaData
message.isUserMessage
message.isFileMessage
message.isAdminMessage
message.isResendable
```

Expand All @@ -343,10 +352,14 @@ message.isResendable
|`channelHandler.onDeliveryReceiptUpdated()`|`groupChannelHandler.onUndeliveredMemberStatusUpdated()`|
|`groupChannel.cachedReadReceiptStatus`|`groupChannel.cachedUnreadMemberState`|
|`groupChannel.cachedDeliveryReceiptStatus`|`groupChannel.cachedUndeliveredMemberState`|
|`message.sendingStatus`|`message.requestState`|
|`message.requestedMentionUserIds`|`message.mentionedUserIds`|


> \* But stilling meaning the token for Android.
## Removes

- Removed `channel.getMessagesByID()`.
- Removed `channel.getMessagesByID()`.
- Removed `ScheduledUserMessageParams`.
- Removed `ScheduledUserMessage`.
- Removed `groupChannel.registerScheduledUserMessage()`.
1 change: 0 additions & 1 deletion __bundle-083b498b.js

This file was deleted.

2 changes: 1 addition & 1 deletion __bundle-96ae73c1.js → __bundle-2ae23ac6.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions __bundle-368767fc.js

This file was deleted.

15 changes: 15 additions & 0 deletions __bundle-45e61fc8.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion __bundle-72d7e125.js

This file was deleted.

1 change: 1 addition & 0 deletions __bundle-876572c8.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions __bundle-fd9b6bb9.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion groupChannel.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export {
ApplicationUserListQuery,
ApplicationUserListQueryParams,
Expand Down
Loading

0 comments on commit e6fca5b

Please sign in to comment.