sendbird-chat-sdk-javascript

Sendbird Chat SDK for JavaScript.

OTHER License

Downloads
223.1K
Stars
25
Committers
8

Bot releases are hidden (Show)

sendbird-chat-sdk-javascript - v4.11.2

Published by chrisallo 8 months ago

Improvement

  • Fixed a bug that markAsRead() with messages does not trigger any event in NotificationCollection
sendbird-chat-sdk-javascript - v4.11.1

Published by sendbird-sdk-deployment 8 months ago

Improvement

  • Fixed a bug that markAsRead() with messages wrongly signals updating messages in NotificationCollection
  • Improvement stability
sendbird-chat-sdk-javascript - v4.11.0

Published by sendbird-sdk-deployment 8 months ago

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
sendbird-chat-sdk-javascript - v4.10.10

Published by danney-chun 8 months ago

Improvement

  • Fixed a bug where thumbnails are not being set properly
  • Improvement stability
sendbird-chat-sdk-javascript - v4.10.9

Published by chrisallo 8 months ago

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
sendbird-chat-sdk-javascript - v4.10.8

Published by danney-chun 9 months ago

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
sendbird-chat-sdk-javascript - v4.10.7

Published by chrisallo 9 months ago

Improvement

  • Fixed a bug that open channel messages are stored in cache
  • Improvement stability
sendbird-chat-sdk-javascript - v4.10.6

Published by chrisallo 10 months ago

Improvement

  • Added uploadFile() in BaseChannel
  • Fixed a bug that lastMessage updates in a condition that it shouldn't
sendbird-chat-sdk-javascript - v4.10.5

Published by danney-chun 11 months ago

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
sendbird-chat-sdk-javascript - v4.10.4

Published by chrisallo 11 months ago

Improvement

  • Fixed a bug of flooded cache in React Native
sendbird-chat-sdk-javascript - v4.10.3

Published by chrisallo 12 months ago

Notification

  • Added logCustom() in FeedChannel to log custom stat
sendbird-chat-sdk-javascript - v4.10.2

Published by danney-chun 12 months ago

Improvements

  • Fixed a bug where an exception wasn't thrown during connection()
sendbird-chat-sdk-javascript - v4.10.1

Published by danney-chun 12 months ago

Features

Introduced the extended_message_payload field to the messagePrototype

It simplifies the process by returning Record<{ [string]: any }>, eliminating the need to stringify values like extended_message. This improvement enhances the functionality of the AI chat bot, particularly in areas such as forms, suggested_replies, and custom_views.

Improvements

  • Added markAsClicked() in FeedChannel
  • Updated interface of markAsReadBy() in FeedChannel to take messages as a parameter
  • Updated interface of logImpression() in FeedChannel to take messages as a parameter
  • Fixed a bug where groupChannel.upsert
  • Fixed a bug where getMessageCommand parsing error
  • Fixed a bug where an unhandled exception
  • (internal) Fixed a bug where SessionRefreshAPIResponseCommand parsing
sendbird-chat-sdk-javascript - v4.10.0

Published by danney-chun about 1 year ago

Features

  • Added new read-only attribute messageReviewInfo on the UserMessage
  export default class UserMessage {
	  ...
	
	  // exist only if the message is in review or it has been approved
	  readonly messageReviewInfo: MessageReviewInfo?
	  ...
  }

  export default class MessageReviewInfo {
	  readonly status: MessageReviewStatus;
	  readonly originalMessageInfo?: OriginalMessageInfo;  // (exist only if the status is approved)
	  ...
  }

  export enum MessageReviewStatus {
	  INREVIEW = 'InReview',
	  APPROVED = 'Approved',
  }

  export interface OriginalMessageInfo {
	  createdAt: number;
	  messageId: number;
  }
  • Added getDeliveryStatus(includeAllMembers = true) interface

Improvements

  • Fixed a bug where a session refresh error occurred repeatedly
  • Fixed a bug where uploadableFileInfo.fileUrl does not include auth value when auth is required internally
  • (internal) Fixed a bug that channel refresh not triggering onChannelUpdated event
    • Please use changelog instead for improved stability
  • Fixed a bug that connect() timed out in a certain case
sendbird-chat-sdk-javascript - v4.9.14

Published by chrisallo about 1 year ago

Notification

  • Added messageStatus in NotificationMessage
  • Added markAsReadBy(notificationIds) in FeedChannel
  • Added logImpression(notificationIds) in FeedChannel

Improvements

  • Fixed a bug that MessageCollection has wrong hasPrevious and hasNext in a certain condition
  • Fixed a bug that groupChannel.refresh() does not trigger onChannelUpdated in MessageCollection
  • Fixed a bug that metaArrays parameter does not work in updateUserMessage() and updateFileMessage()
sendbird-chat-sdk-javascript - v4.9.13

Published by chrisallo about 1 year ago

Improvements

  • Improved stability
sendbird-chat-sdk-javascript - v4.9.12

Published by chrisallo about 1 year ago

Notifications

  • Added NotificationMessage
    • NotificationMessage uses notificationId as key instead of messageId
    • FeedChannel to have NotificationMessage as lastMessage

Improvements

  • Fixed a bug that markAsRead() fails with authenticateFeed()
  • Fixed a bug that onSessionClosed() is called unintentionally
sendbird-chat-sdk-javascript - v4.9.11

Published by danney-chun about 1 year ago

Improvements

  • Fixed a bug that session refreshes even if the session is revoked or deactivated
  • Improvement stability
sendbird-chat-sdk-javascript - v4.9.10

Published by chrisallo about 1 year ago

Notification

  • Added isCategoryFilterEnabled in FeedChannel.
  • Added isTemplateLabelEnabled in FeedChannel.
  • Added notificationCategories in FeedChannel.
  • Added tags in NotificationData

Improvements

  • Added enableAutoResend in LocalCacheConfig to control auto-resending feature when local cache is enabled
  • Fixed a bug that cache is cleared unintentionally
  • Improvement stability
sendbird-chat-sdk-javascript - v4.9.9

Published by chrisallo about 1 year ago

Notification

  • Added authenticateFeed() in SendbirdChat to log in without connection
  • Added refreshNotificationCollections() in SendbirdChat to manually catch up the recent updates
  • Added notificationData in BaseMessage

Improvements

  • Fixed a bug that reconnection hangs for deactivated user
  • Fixed bug not parsing for string array type thumbnails
  • Fixed a bug where message parsing throws the wrong exception
Package Rankings
Top 3.43% on Npmjs.org
Badges
Extracted from project README
npm
Related Projects