Skip to content

Releases: sendbird/SendBird-SDK-JavaScript

v3.0.58

Choose a tag to compare

@Alchemist85K Alchemist85K released this 23 Apr 03:09
  • Deprecated operatorFilter in GroupChannelMemberListQuery.
  • Added createOperatorListQuery in BaseChannel to search users that are operators in channel.
  • Minor bugfix.

v3.0.57

Choose a tag to compare

@Alchemist85K Alchemist85K released this 30 Mar 06:14
  • Added pushNotificationDeliveryOption in UserMessageParams and FileMessageParams to determine whether it’d deliver the push notification for a user/file message.
  • Added channelCustomTypes in getTotalUnreadMessageCount() to get an unread message count of GroupChannel with specific custom types.

v3.0.56

Choose a tag to compare

@Alchemist85K Alchemist85K released this 21 Mar 13:35
  • Changed an ephemeral GroupChannel to maintain fields of lastMessage and unreadMessageCount after connected.
  • Update SendBird.d.ts file.

v3.0.55

Choose a tag to compare

@Alchemist85K Alchemist85K released this 07 Mar 07:32
  • Added UserMessageParams feature.
    • This is used in sendUserMessage() of channel.
    • message: set text message to send. This value is required.
    • data: set message data to send.
    • customType: set message customType to send.
    • targetLanguages: set message translation target language list.
    • mentionedUserIds: set mentioned userId.
    • mentionedUsers: set mentioned User.
  • Added FileMessageParams feature.
    • This is used in sendFileMessage() of channel.
    • file or fileUrl is required.
    • file: set file to send.
    • fileUrl: set file's url to send.
    • fileName: set file's name to send. When you set a file and do not specify this value, it is specified by name of the file. When you set a fileUrl and do not specify this value, it is set as empty string.
    • fileSize: set file's size to send. When you set a file and do not specify this value, it is specified by size of the file. When you set a fileUrl and do not specify this value, it is set as 0.
    • mimeType: set file's type to send. When you set a file and do not specify this value, it is specified by type of the file. When you set a fileUrl and do not specify this value, it is specified by inferring from fileUrl.
    • data: set message data to send.
    • customType: set message customType to send.
    • thumbnailSizes: set size of the thumbnail to be created. This value only works when you use file not fileUrl.
    • mentionedUserIds: set mentioned userId.
    • mentionedUsers: set mentioned User.
  • Added sendUserMessage(UserMessageParams, CallBackFunction) in channel.
  • Added sendFileMessage(FileMessageParams, CallBackFunction) in channel.
  • Added mentionedUsers in UserMessage and FileMessage to check mentioned user.
  • Added isEphemeral in GroupChannel to indicate whether the channel supports message retention.
  • Added myMemberState in GroupChannel to check my joined state on GroupChannel.
  • Added operator feature in GroupChannel.
    • Added operators in GroupChannelParams to set operator.
    • Added operatorUserIds in GroupChannelParams to set operator.
  • Added banUser in GroupChannel to ban User.
  • Added banUserWithUserId in GroupChannel to ban User using userId.
  • Added unbanUser in GroupChannel to remove banned User using User object.
  • Added unbanUserWithUserId in GroupChannel to remove banned User using userId.
  • Added muteUser in GroupChannel to mute User using User object.
  • Added muteUserWithUserId in GroupChannel to mute User using userId.
  • Added unmuteUser in GroupChannel to unmute User using User object.
  • Added unmuteUserWithUserId in GroupChannel to unmute User using userId.
  • Added freeze in GroupChannel not to allow messages from members from the channel.
  • Added unfreeze in GroupChannel to allow messages from members from the channel.
  • Added isFrozen in GroupChannel to check if the channel is frozen or not.
  • From now, channel param in callbacks of the ChannelHandler below can come in either GroupChannel or OpenChannel.
    • onUserMuted(channel, user)
    • onUserUnmuted(channel, user)
    • onUserBanned(channel, user)
    • onUserUnbanned(channel, user)
    • onChannelFrozen(channel)
    • onChannelUnfrozen(channel)
  • Added createMemberListQuery() in GroupChannel to search members.

v3.0.54

Choose a tag to compare

@Alchemist85K Alchemist85K released this 22 Feb 14:36
  • Minor bugfix for UserMessage and FileMessage.

v3.0.53

Choose a tag to compare

@Alchemist85K Alchemist85K released this 06 Feb 06:08
  • Deprecated userIdsFilter in GroupChannelListQuery.
  • Deprecated userIdsFilterExactMatch in GroupChannelListQuery.
  • Deprecated queryType in GroupChannelListQuery.
  • Added userIdsExactFilter in GroupChannelListQuery to replace userIdsFilter and userIdsFilterExactMatch.
  • Added userIdsIncludeFilter in GroupChannelListQuery to replace userIdsFilter and userIdsFilterExactMatch.
  • Added userIdsIncludeFilterQueryType in GroupChannelListQuery to replace queryType.
  • Added customTypeStartsWithFilter in GroupChannelListQuery to search channels based on customType.
  • Added superChannelFilter in GroupChannelListQuery to search channels that isSuper is true.
  • Added publicChannelFilter in GroupChannelListQuery to search channels that isPublic is true.
  • Added GroupChannelParams feature.
    • This is used in createChannel() and updateChannel() of GroupChannel.
    • isDistinct: set isDistinct on creation or update.
    • isSuper: set isSuper on creation.
    • isPublic: set isPublic on creation or update.
    • channelUrl: set url of channel on creation.
    • name: set name on creation or update.
    • data: set data on creation or update.
    • customType: set customType on creation or update.
    • coverUrl: set coverUrl on creation or update.
    • coverImage: set coverUrl using file on creation or update.
    • addUser(): add user to be invited using user instance.
    • addUsers(): add user to be invited using user instance array.
    • addUserId(): add user to be invited using userId.
    • addUserIds(): add user to be invited using userId array.
  • Added PublicGroupChannelListQuery in SendBird to search channels that isPublic is true.
    • limit: set list count for result.
    • includeEmpty: set whether to get channel that conversation is empty.
    • order: set order of result.
    • channelNameContainsFilter: set channelName to get channels based on.
    • channelUrlsFilter: set channelUrls to get channels based on.
    • customTypesFilter: set customTypes to get channels based on.
    • customTypeStartsWithFilter: set to get channels starting with the passed customType.
    • superChannelFilter: set whether to fetch all channels, super channels only, or non-super channels only.
    • membershipFilter: set whether to fetch according to the current user state of join.
    • next(): get channel list.

v3.0.52

Choose a tag to compare

@Alchemist85K Alchemist85K released this 29 Jan 14:17
  • Added channelUrlsFilter in GroupChannelListQuery.

v3.0.51

Choose a tag to compare

@Alchemist85K Alchemist85K released this 16 Jan 23:37
  • Added markAsReadWithChannelUrls() in SendBird to simultaneously mark as read multiple channels the logged in user has joined.
  • Added markAsReadAll() in SendBird to mark as read all channels the logged in user has joined.
  • Deprecated markAsReadAll() in GroupChannel.
  • From now, if you pass param as true when you call hide(), the channel's unreadMessageCount set to 0.

v3.0.49

Choose a tag to compare

@Alchemist85K Alchemist85K released this 05 Jan 13:20
  • Added customTypesFilter in GroupChannelListQuery to search groupChannel.
  • Added getOriginalProfileUrl() in User for getting original profile image.
  • Added Friend feature.
    • uploadFriendDiscoveries(): add friend using discovery key.
    • deleteFriendDiscovery() / deleteFriendDiscoveries(): delete friend's discovery key.
    • addFriends(): add friend using friend's userID.
    • deleteFriend() / deleteFriends(): delete friend using friend's userID.
    • createFriendListQuery(): create object for getting friend list.
    • getFriendChangeLogsByToken(): get friend relation changed log.
    • addUserEventHandler(): add handler for receiving user event.
    • removeUserEventHandler() / removeAllUserEventHandler(): remove user event handler.
    • UserEventHandler: user event handler object.
  • From now, even when you call connect() before the previous connect() finishes, all of them get called back for the connection establishment result at the same time.

v3.0.48

Choose a tag to compare

@Alchemist85K Alchemist85K released this 08 Dec 05:39
  • Added isActive in User.