Releases: sendbird/sendbird-chat-sdk-javascript
Releases · sendbird/sendbird-chat-sdk-javascript
v4.19.4
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
knownActiveChannelUrl
toMessengerSettingsParams
to support N-active conversations - Added
onUserMarkedRead
andonUserMarkedUnread
toGroupChannelHandler
- Added
EVENT_CHANNEL_UNREAD
toCollectionEventSource
- Deprecated
onUnreadMemberStatusUpdated
inGroupChannelHandler
v4.19.1
Improvement
- Added
userIdsFilter
andsearchFilter
inGroupChannelFilterParams
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_AGENT
enum value inSendbirdProduct
for analytics.
- Added
v4.18.1
Improvement
- Added
metadataKey
,metadataValues
,metadataValueStartsWith
inGroupChannelFilter
- Metadata-related filters work with
includeMetaData
to 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 whenmarkAsRead
was called multiple times - Fixed a bug where the
API path
for thenotification statLog
was incorrect
v4.17.2
Improvements
- Fixed a bug that can't resend a failed
MultipleFilesMessage