Skip to content

Releases: sendbird/SendBird-SDK-JavaScript

v3.0.91

30 Nov 04:48
Compare
Choose a tag to compare
  • Minor bug fixed.

v3.0.90

23 Nov 03:06
Compare
Choose a tag to compare
  • Minor bug fixed.

v3.0.89

22 Nov 07:05
Compare
Choose a tag to compare
  • Added createDistinctChannelIfNotExist() in GroupChannel.
    • It creates distinct channel and gets the channel with isCreated flag which represents whether the channel is actually created or not.
  • Added getMessageChangeLogsByTimestamp() in SendBird.
    • It retrieves message change logs since the given timestamp.
  • Added hiddenState property in GroupChannel 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 into hide() to allow automatic unhide on new message.
  • Added unhide() in GroupChannel to manually unhide the channel.
  • Added hiddenChannelFilter in GroupChannelListQuery to filter by hiddenState.
    • unhidden_only: Get all unhidden channels. (default)
    • hidden_only: Get all hidden channels which hiddenState is hidden_allow_auto_unhide or hidden_prevent_auto_unhide.
    • hidden_allow_auto_unhide: Get channels which hiddenState is hidden_allow_auto_unhide.
    • hidden_prevent_auto_unhide: Get channels which hiddenState is hidden_prevent_auto_unhide.

v3.0.88

15 Nov 07:11
Compare
Choose a tag to compare
  • Changed type of sender property in UserMessage and FileMessage from User to a new class Sender which extends User.
    • Sender has isBlockedByMe property which indicates that the message sender is blocked by the current user (default: false).
    • isBlockedByMe is valid in GroupChannel only.
    • Message from blocked user is delivered only when block_mode in Application is set to explicit mode. Otherwise, it's not visible nor delivered.
  • Minor bug fixed.

v3.0.87

08 Nov 05:34
Compare
Choose a tag to compare
  • Added ApplicationUserListQuery.
    • It is used to get users created in the application.
    • It could be derived by createApplicationUserListQuery() in SendBird.
    • 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 set metaDataValuesFilter too.
    • metaDataValuesFilter: use to filter by user's metaData to get users. If you set this value, you should set metaDataKeyFilter too.
  • Added userIdsFilter in BlockedUserListQuery to get filtered by userIds among users blocked by currentUser.
  • Deprecated createUserListQuery() in SendBird. We recommend that you use createApplicationUserListQuery().

v3.0.85

31 Oct 07:10
Compare
Choose a tag to compare
  • Added ScheduledUserMessage feature to send UserMessage at the time specified by a user.
    • Added ScheduledUserMessage that is a scheduled UserMessage.
    • Added ScheduledUserMessageParams in SendBird to be delivered as a parameter to register scheduled UserMessage.
    • Added registerScheduledUserMessage in GroupChannel to register scheduled UserMessage.
  • Improved stability.
  • Minor bug fixed.

v3.0.84

26 Oct 03:25
Compare
Choose a tag to compare
  • Added getMyMutedInfo() in BaseChannel
  • Added muteUser(user, seconds, description, callback) and muteUserWithUserId(userId, seconds, description, callback) in BaseChannel
  • Added metadata_value_alphabetical order in GroupChannelListQuery and PublicGroupChannelListQuery
  • Added metadataOrderKeyFilter in GroupChannelListQuery and PublicGroupChannelListQuery
  • Minor bug fixed

v3.0.83

18 Oct 08:16
Compare
Choose a tag to compare
  • Added getLastConnectedAt() in SendBird to get currentUser's last connection timestamp.
  • Improved sendFileMessage() in BaseChannel. From now, message's order is guaranteed regardless of the file size uploaded.
  • Improved stability.
  • Minor bug fixed.

v3.0.82

11 Oct 07:47
Compare
Choose a tag to compare
  • Improved stability.
  • Minor bug fixed.

v3.0.81

21 Sep 06:32
Compare
Choose a tag to compare
  • Added readStatus of currentUser by passing true as first argument to getReadStatus() in GroupChannel. Passing false or nothing to getReadStatus() returns the read status without currentUser.
  • Added getReadMembers() in GroupChannel to return a list of members who read the message.
  • Added getUnreadMember() in GroupChannel to return a list of members who did not read the message.
  • Added isEqual() in GroupChannel and BaseMessage to deep-equal with other instance.
  • Added isIdentical() in GroupChannel and BaseMessage 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() in SendBird.
    • Deprecated CLOSING in ConnectionState in SendBird.
    • Deprecated some createChannel(), createChannelWithUserIds() in GroupChannel and OpenChannel.
    • Deprecated some updateChannel() in GroupChannel and OpenChannel.
    • Deprecated some sendUserMessage() and sendFileMessage().
    • Deprecated getChannelCount() in GroupChannel. Use newly added SendBird.getGroupChannelCount() instead.
    • Deprecated getTotalUnreadMessageCount() in GroupChannel. Use newly added SendBird.getTotalUnreadMessageCount() instead.
    • Deprecated getTotalUnreadChannelCount() in GroupChannel. Use newly added SendBird.getTotalUnreadChannelCount() instead.
    • Deprecated getUnreadItemCount() in GroupChannel. Use newly added SendBird.getUnreadItemCount() instead.