Releases: sendbird/sendbird-chat-sdk-javascript
Releases · sendbird/sendbird-chat-sdk-javascript
v4.19.3
Improvement
- Fixed a bug where
sb.connect()would not correctly throw the error received from the server
v4.19.2
Improvement
- Added
knownActiveChannelUrltoMessengerSettingsParamsto support N-active conversations - Added
onUserMarkedReadandonUserMarkedUnreadtoGroupChannelHandler - Added
EVENT_CHANNEL_UNREADtoCollectionEventSource - Deprecated
onUnreadMemberStatusUpdatedinGroupChannelHandler
v4.19.1
Improvement
- Added
userIdsFilterandsearchFilterinGroupChannelFilterParams
v4.19.0
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.
- Added
-
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.
- Added
-
Etc
- Added
AI_AGENTenum value inSendbirdProductfor analytics.
- Added
v4.18.1
Improvement
- Added
metadataKey,metadataValues,metadataValueStartsWithinGroupChannelFilter- Metadata-related filters work with
includeMetaDatato be set totrue
- Metadata-related filters work with
v4.18.0
Feature
A new feature has been added that allows you to mark messages in the channel as unread from a specific message.
- Added
markAsUnread()toGroupChannel
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
Improvements
- Fixed a bug that caused a stack overflow error when receiving large compressed data over websocket
v4.17.3
Improvements
- Fixed a bug that caused an
Command received no ack.error whenmarkAsReadwas called multiple times - Fixed a bug where the
API pathfor thenotification statLogwas incorrect
v4.17.2
Improvements
- Fixed a bug that can't resend a failed
MultipleFilesMessage
v4.17.1
Improvements
- Fixed a bug where closed WebSockets were not cleaned up when reconnecting
- Fixed a bug that the default value of
channelCustomTypeworks unexpectedly withMessageSearchQuery - Improved sender profile update in super group channel