Releases: sendbird/SendBird-SDK-JavaScript
Releases · sendbird/SendBird-SDK-JavaScript
v3.0.91
v3.0.90
- Minor bug fixed.
v3.0.89
- Added
createDistinctChannelIfNotExist()inGroupChannel.- It creates distinct channel and gets the channel with
isCreatedflag which represents whether the channel is actually created or not.
- It creates distinct channel and gets the channel with
- Added
getMessageChangeLogsByTimestamp()inSendBird.- It retrieves message change logs since the given timestamp.
- Added
hiddenStateproperty inGroupChannelto get channel's hidden state.unhidden: It's not hidden channel.hidden-allow-auto-unhide: It's hidden channel which is automatically unhidden when new message comes in.hidden-prevent-auto-unhide: It's hidden channel which is not unhidden when new message comes in.
- Added
allowAutoUnhideas the second parameter intohide()to allow automatic unhide on new message. - Added
unhide()inGroupChannelto manually unhide the channel. - Added
hiddenChannelFilterinGroupChannelListQueryto filter byhiddenState.unhidden_only: Get all unhidden channels. (default)hidden_only: Get all hidden channels whichhiddenStateishidden_allow_auto_unhideorhidden_prevent_auto_unhide.hidden_allow_auto_unhide: Get channels whichhiddenStateishidden_allow_auto_unhide.hidden_prevent_auto_unhide: Get channels whichhiddenStateishidden_prevent_auto_unhide.
v3.0.88
- Changed type of
senderproperty inUserMessageandFileMessagefromUserto a new classSenderwhich extendsUser.SenderhasisBlockedByMeproperty which indicates that the message sender is blocked by the current user (default: false).isBlockedByMeis valid inGroupChannelonly.- Message from blocked user is delivered only when
block_modeinApplicationis set toexplicitmode. Otherwise, it's not visible nor delivered.
- Minor bug fixed.
v3.0.87
- Added
ApplicationUserListQuery.- It is used to get users created in the application.
- It could be derived by
createApplicationUserListQuery()inSendBird. userIdsFilter: use to filter through userIds to get users.metaDataKeyFilter: use to filter by user's metaData to get users. If you set this value, you should setmetaDataValuesFiltertoo.metaDataValuesFilter: use to filter by user's metaData to get users. If you set this value, you should setmetaDataKeyFiltertoo.
- Added
userIdsFilterinBlockedUserListQueryto get filtered by userIds among users blocked by currentUser. - Deprecated
createUserListQuery()inSendBird. We recommend that you usecreateApplicationUserListQuery().
v3.0.85
- Added
ScheduledUserMessagefeature to sendUserMessageat the time specified by a user.- Added
ScheduledUserMessagethat is a scheduledUserMessage. - Added
ScheduledUserMessageParamsinSendBirdto be delivered as a parameter to register scheduledUserMessage. - Added
registerScheduledUserMessageinGroupChannelto register scheduledUserMessage.
- Added
- Improved stability.
- Minor bug fixed.
v3.0.84
- Added
getMyMutedInfo()inBaseChannel - Added
muteUser(user, seconds, description, callback)andmuteUserWithUserId(userId, seconds, description, callback)inBaseChannel - Added
metadata_value_alphabeticalorder inGroupChannelListQueryandPublicGroupChannelListQuery - Added
metadataOrderKeyFilterinGroupChannelListQueryandPublicGroupChannelListQuery - Minor bug fixed
v3.0.83
- Added
getLastConnectedAt()inSendBirdto get currentUser's last connection timestamp. - Improved
sendFileMessage()inBaseChannel. From now, message's order is guaranteed regardless of the file size uploaded. - Improved stability.
- Minor bug fixed.
v3.0.82
- Improved stability.
- Minor bug fixed.
v3.0.81
- Added readStatus of currentUser by passing
trueas first argument togetReadStatus()inGroupChannel. Passingfalseor nothing togetReadStatus()returns the read status without currentUser. - Added
getReadMembers()inGroupChannelto return a list of members who read the message. - Added
getUnreadMember()inGroupChannelto return a list of members who did not read the message. - Added
isEqual()inGroupChannelandBaseMessageto deep-equal with other instance. - Added
isIdentical()inGroupChannelandBaseMessageto check if the instance is identical to another. - Fixed to call
connect()callback function with an error when connection is lost while connecting to SendBird. - Minor bug fixed.
- Deprecated some feature.
- Deprecated
getCurrentUserId()inSendBird. - Deprecated
CLOSINGin ConnectionState inSendBird. - Deprecated some
createChannel(),createChannelWithUserIds()inGroupChannelandOpenChannel. - Deprecated some
updateChannel()inGroupChannelandOpenChannel. - Deprecated some
sendUserMessage()andsendFileMessage(). - Deprecated
getChannelCount()inGroupChannel. Use newly addedSendBird.getGroupChannelCount()instead. - Deprecated
getTotalUnreadMessageCount()inGroupChannel. Use newly addedSendBird.getTotalUnreadMessageCount()instead. - Deprecated
getTotalUnreadChannelCount()inGroupChannel. Use newly addedSendBird.getTotalUnreadChannelCount()instead. - Deprecated
getUnreadItemCount()inGroupChannel. Use newly addedSendBird.getUnreadItemCount()instead.
- Deprecated