Skip to content

Releases: sendbird/sendbird-chat-sdk-javascript

v4.11.3

14 Mar 05:25
8b0b413
Compare
Choose a tag to compare

Improvement

  • Added keys property to MessageTemplateListParams
  • Fixed a bug that database migration fails in a certain condition
  • Improvement stability

v4.11.2

08 Mar 04:15
Compare
Choose a tag to compare

Improvement

  • Fixed a bug that markAsRead() with messages does not trigger any event in NotificationCollection

v4.11.1

07 Mar 06:27
b59e27a
Compare
Choose a tag to compare

Improvement

  • Fixed a bug that markAsRead() with messages wrongly signals updating messages in NotificationCollection
  • Improvement stability

v4.11.0

28 Feb 08:37
ca7e482
Compare
Choose a tag to compare

Features

MessageTemplate

Message templates created via platform API can be fetched with getMessageTemplatesByToken() and getMessageTemplate()

  • Added MessageTemplate
  • Added MessageTemplateList
  • Added MessageTemplateListParams
  • Added MessageTemplateListResult
  • Added MessageTemplateInfo
  • Added messageTemplateInfo in AppInfo
  • Added getMessageTemplatesByToken(), and getMessageTemplate() in MessageModule

Improvement

  • Fixed a bug where channel list of GroupChannelCollection was not removed when leaving a public group
  • Added get message template feature
  • Improvement stability

v4.10.10

21 Feb 05:13
ca7e482
Compare
Choose a tag to compare

Improvement

  • Fixed a bug where thumbnails are not being set properly
  • Improvement stability

v4.10.9

15 Feb 07:48
Compare
Choose a tag to compare

Notifications

  • Added priority in NotificationMessage

Message threading

  • Added ThreadedParentMessageListQuery
  • Added createThreadedParentMessageListQuery() in GroupChannel
  • Added markThreadAsRead() in BaseMessage
  • Added setPushNotificationEnabled() in BaseMessage
  • Added totalUnreadReplyCount in BaseChannel
  • Added unreadReplyCount, memberCount, isPushNotificationEnabled in ThreadInfo

Improvement

  • Fixed a bug that unreadMessageCount does not match in a certain condition
  • Fixed a bug with markAsRead() error in a certain condition
  • Improvement stability

v4.10.8

02 Feb 06:53
f083cc3
Compare
Choose a tag to compare

Improvement

  • Fixed a bug where onMentionReceived event is called when a mention is deleted
  • Fixed a bug: sendbird.min.js does not set the SDK to global object
  • Fixed bug where onMessagesUpdated() event do not called if localCacheEnable is false
  • Fixed bug in LogLevel order
  • Fixed issue where the parent message retrieved from the cache is a multiple files message and is not parsed correctly
  • Added appState check when throwing network exception
  • Added extendedMessagePayload to UserMessageCreateParams
  • Improvement stability

v4.10.7

17 Jan 18:15
Compare
Choose a tag to compare

Improvement

  • Fixed a bug that open channel messages are stored in cache
  • Improvement stability

v4.10.6

21 Dec 13:13
Compare
Choose a tag to compare

Improvement

  • Added uploadFile() in BaseChannel
  • Fixed a bug that lastMessage updates in a condition that it shouldn't

v4.10.5

08 Dec 03:13
81df2b8
Compare
Choose a tag to compare

Improvement

  • Added prevResultLimit/nextResultLimit in BaseMessageCollectionParams
  /**
  * @param limit Deprecated since v4.10.5. Use prevResultLimit/nextResultLimit instead.
  */
  groupChannel.createMessagecollection( { limit: 10 } );
  
  // or 
  
  groupChannel.createMessageCollection({ prevResultLimit: 5, nextResultLimit: 5, });
  • Added constructor in MessageFilter/GroupChannelFilter
 const filter: MessageFilter = new MessageFilter();
 filter.senderUserIdsFilter = [ ... ];
 
 // or
 
 const filter:MessageFilter = new MessageFilter({
   senderUserIdsFilter: [ ... ],
   ...
 });
 
 groupChannel.createMessagecollection( { filter } );
 const filter:GroupChannelFilter = new GroupChannelFilter();
 filter.includeEmpty = true;
  
  // or
  
 const filter:GroupChannelFilter = new GroupChannelFilter({
    includeEmpty: true,
    ...
 });
  
 sb.groupChannel.createGroupChannelCollection({ filter });
  • Added markAsRead(messages: NotificationMessage[]) in FeedChannel
  • (internal) Removed markAsReadBy(messages: NotificationMessage[]) in FeedChannel
  • Fixed bug where is_reply_to_channel parsing error in BaseMessage
  • Fixed bug where onMessagesUpdated() event do not called if localCacheEnable is false
  • Improvement stability