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
isCreated
flag 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
hiddenState
property inGroupChannel
to 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
allowAutoUnhide
as the second parameter intohide()
to allow automatic unhide on new message. - Added
unhide()
inGroupChannel
to manually unhide the channel. - Added
hiddenChannelFilter
inGroupChannelListQuery
to filter byhiddenState
.unhidden_only
: Get all unhidden channels. (default)hidden_only
: Get all hidden channels whichhiddenState
ishidden_allow_auto_unhide
orhidden_prevent_auto_unhide
.hidden_allow_auto_unhide
: Get channels whichhiddenState
ishidden_allow_auto_unhide
.hidden_prevent_auto_unhide
: Get channels whichhiddenState
ishidden_prevent_auto_unhide
.
v3.0.88
- Changed type of
sender
property inUserMessage
andFileMessage
fromUser
to a new classSender
which extendsUser
.Sender
hasisBlockedByMe
property which indicates that the message sender is blocked by the current user (default: false).isBlockedByMe
is valid inGroupChannel
only.- Message from blocked user is delivered only when
block_mode
inApplication
is set toexplicit
mode. 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 setmetaDataValuesFilter
too.metaDataValuesFilter
: use to filter by user's metaData to get users. If you set this value, you should setmetaDataKeyFilter
too.
- Added
userIdsFilter
inBlockedUserListQuery
to get filtered by userIds among users blocked by currentUser. - Deprecated
createUserListQuery()
inSendBird
. We recommend that you usecreateApplicationUserListQuery()
.
v3.0.85
- Added
ScheduledUserMessage
feature to sendUserMessage
at the time specified by a user.- Added
ScheduledUserMessage
that is a scheduledUserMessage
. - Added
ScheduledUserMessageParams
inSendBird
to be delivered as a parameter to register scheduledUserMessage
. - Added
registerScheduledUserMessage
inGroupChannel
to 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_alphabetical
order inGroupChannelListQuery
andPublicGroupChannelListQuery
- Added
metadataOrderKeyFilter
inGroupChannelListQuery
andPublicGroupChannelListQuery
- Minor bug fixed
v3.0.83
- Added
getLastConnectedAt()
inSendBird
to 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
true
as first argument togetReadStatus()
inGroupChannel
. Passingfalse
or nothing togetReadStatus()
returns the read status without currentUser. - Added
getReadMembers()
inGroupChannel
to return a list of members who read the message. - Added
getUnreadMember()
inGroupChannel
to return a list of members who did not read the message. - Added
isEqual()
inGroupChannel
andBaseMessage
to deep-equal with other instance. - Added
isIdentical()
inGroupChannel
andBaseMessage
to 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
CLOSING
in ConnectionState inSendBird
. - Deprecated some
createChannel()
,createChannelWithUserIds()
inGroupChannel
andOpenChannel
. - Deprecated some
updateChannel()
inGroupChannel
andOpenChannel
. - 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