Skip to content

Releases: sendbird/sendbird-chat-sdk-javascript

v4.19.4

09 Jul 01:53
Compare
Choose a tag to compare

Improvement

  • Added summary field to Conversation class

v4.19.3

03 Jul 03:35
Compare
Choose a tag to compare

Improvement

  • Fixed a bug where sb.connect() would not correctly throw the error received from the server

v4.19.2

19 Jun 01:28
Compare
Choose a tag to compare

Improvement

  • Added knownActiveChannelUrl to MessengerSettingsParams to support N-active conversations
  • Added onUserMarkedRead and onUserMarkedUnread to GroupChannelHandler
  • Added EVENT_CHANNEL_UNREAD to CollectionEventSource
  • Deprecated onUnreadMemberStatusUpdated in GroupChannelHandler

v4.19.1

10 Jun 06:23
Compare
Choose a tag to compare

Improvement

  • Added userIdsFilter and searchFilter in GroupChannelFilterParams

v4.19.0

05 Jun 02:07
Compare
Choose a tag to compare

Features

AI Agent support is now available natively in the Chat SDK 🎉

You can now enhance your chat with smart AI-driven interactions without separate integration.
Includes conversation list, message templates, CSAT, agent handoff, and more — fully embedded in the SDK.

  • AIAgentModule

    • Added requestMessengerSettings(params: MessengerSettingsParams): Fetch settings such as startup options and UI preferences for the AI agent.
    • Added createConversationListQuery(params: ConversationListQueryParams): Create a query to retrieve the user's AI agent conversation list.
    • Added getMessageTemplates(params: AIAgentMessageTemplateListParams): Fetch a list of available AI message templates for UI rendering.
  • GroupChannel

    • Added submitCSAT(params: CSATSubmitParams): Submit a CSAT (Customer Satisfaction) rating for a conversation.
    • Added markConversationAsHandoff(): Mark a conversation as handed off to a human agent.
  • Etc

    • Added AI_AGENT enum value in SendbirdProduct for analytics.

v4.18.1

28 May 05:47
Compare
Choose a tag to compare

Improvement

  • Added metadataKey, metadataValues, metadataValueStartsWith in GroupChannelFilter
    • Metadata-related filters work with includeMetaData to be set to true

v4.18.0

21 May 04:46
Compare
Choose a tag to compare

Feature

A new feature has been added that allows you to mark messages in the channel as unread from a specific message.

  • Added markAsUnread() to GroupChannel
await groupChannel.markAsUnread(message);

sb.groupChannel.addGroupChannelHandler('EVENT_HANDLER_UNIQUE_KEY', {
    onChannelChanged: (channel: GroupChannel) => {
        // broadcast when the channel's read status and unread message count changes
    },
    ...
});

sb.addUserEventHandler('EVENT_HANDLER_UNIQUE_KEY', {
    onTotalUnreadMessageCountChanged: (unreadMessageCount) => {
        // broadcast when the channel's total unread message count changes
    },
    ...
);

Improvement

  • Fixed MMKV dependency conflict in React Native

v4.17.4

29 Apr 06:03
Compare
Choose a tag to compare

Improvements

  • Fixed a bug that caused a stack overflow error when receiving large compressed data over websocket

v4.17.3

10 Apr 06:17
Compare
Choose a tag to compare

Improvements

  • Fixed a bug that caused an Command received no ack. error when markAsRead was called multiple times
  • Fixed a bug where the API path for the notification statLog was incorrect

v4.17.2

28 Mar 07:22
1a8ab3f
Compare
Choose a tag to compare

Improvements

  • Fixed a bug that can't resend a failed MultipleFilesMessage