Releases: sendbird/sendbird-chat-sdk-javascript
Releases · sendbird/sendbird-chat-sdk-javascript
v4.9.14
Notification
- Added
messageStatus
inNotificationMessage
- Added
markAsReadBy(notificationIds)
inFeedChannel
- Added
logImpression(notificationIds)
inFeedChannel
Improvements
- Fixed a bug that
MessageCollection
has wronghasPrevious
andhasNext
in a certain condition - Fixed a bug that
groupChannel.refresh()
does not triggeronChannelUpdated
inMessageCollection
- Fixed a bug that
metaArrays
parameter does not work inupdateUserMessage()
andupdateFileMessage()
v4.9.13
v4.9.12
Notifications
- Added
NotificationMessage
NotificationMessage
usesnotificationId
as key instead ofmessageId
FeedChannel
to haveNotificationMessage
aslastMessage
Improvements
- Fixed a bug that
markAsRead()
fails withauthenticateFeed()
- Fixed a bug that
onSessionClosed()
is called unintentionally
v4.9.11
Improvements
- Fixed a bug that session refreshes even if the session is revoked or deactivated
- Improvement stability
v4.9.10
Notification
- Added
isCategoryFilterEnabled
inFeedChannel
. - Added
isTemplateLabelEnabled
inFeedChannel
. - Added
notificationCategories
inFeedChannel
. - Added
tags
inNotificationData
Improvements
- Added
enableAutoResend
inLocalCacheConfig
to control auto-resending feature when local cache is enabled - Fixed a bug that cache is cleared unintentionally
- Improvement stability
v4.9.9
Notification
- Added
authenticateFeed()
inSendbirdChat
to log in without connection - Added
refreshNotificationCollections()
inSendbirdChat
to manually catch up the recent updates - Added
notificationData
inBaseMessage
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
v4.9.8
v4.9.8 (Aug 9, 2023)
Features
- Added
BaseChannel.copyMessage()
that supports user, file, and multiple files message - Added
BaseChannel.resendMessage()
that supports user, file, and multiple files message
// Copy a succeeded multiple files message.
channelA.copyMessage(channelB, multipleFilesMessageToCopy)
.onPending((message: MultipleFilesMessage) => {
// ...
})
.onFailed((err: SendbirdError, message: MultipleFilesMessage) => {
// ...
})
.onSucceeded((message: MultipleFilesMessage) => {
// ...
});
// Resend a failed or canceled multiple files message.
channel.resendMessage(failedOrCanceledMultipleFilesMessage)
.onPending((message: MultipleFilesMessage) => {
// ...
})
.onFailed((err: SendbirdError, message: MultipleFilesMessage) => {
// ...
})
.onSucceeded((message: MultipleFilesMessage) => {
// ...
})
.onFileUploaded((
requestId: string,
index: number,
uploadableFileInfo: UploadableFileInfo,
err?: Error
) => {
// ...
});
Deprecated
- Deprecated
BaseChannel.copyUserMessage()
- Deprecated
BaseChannel.copyFileMessage()
- Deprecated
BaseChannel.resendUserMessage()
- Deprecated
BaseChannel.resendFileMessage()
Improvements
- Changed
MessageHandler
,FailedMessageHandler
,MessageRequestHandler
, andMultipleFilesMessageRequestHandler
to have generic message type - Fixed the bug where reply messages were not being automatically resent
- Fixed the bug where initializing the message collection without result handler throws an error
- Fixed the bug where message collection updating the left group channel
- Added
createdAfter
andcreatedBefore
filters inGroupChannelListQuery
v4.9.7
v4.9.7 (Aug 3, 2023)
Improvements
- Fixed a bug where
HugeGabCheck
inMessageCollection
has missed some filters
v4.9.6
Notifications
- Added
FeedChannelModule
FeedChannelModule
could be imported from@sendbird/chat/feedChannel
- Added
createMyFeedChannelListQuery()
to createFeedChannelListQuery
- Added
getChannel()
,getMyFeedChannelChangeLogsByTimestamp()
,getMyFeedChannelChangeLogsByToken()
to fetchFeedChannel
data - Added
getGlobalNotificationChannelSetting()
to get notification settings - Added
getNotificationTemplateListByToken()
,getNotificationTemplate()
to fetchNotificationTemplate
- Added
FeedChannelHandler
- Added
FeedChannel
- Added
FEED
channel type - Added
createNotificationCollection()
to createNotificationCollection
- Added
refresh()
to refresh the feed channel - Added
markAsRead()
- Added
- Added
FeedChannelListQuery
- Added
NotificationCollection
NotificationCollection
acts as same asMessageCollection
- Added
isChatNotification
inGroupChannel
- Added
includeChatNotification
inGroupChannelListQuery
,GroupChannelListParams
,GroupChannelChangeLogsParams
- Added
notificationInfo
inAppInfo
- Added
onTotalUnreadMessageCountChanged
inUserEventHandler
- Deprecated
onTotalUnreadMessageCountUpdated
inUserEventHandler
- Deprecated
Improvements
- Added meta data and meta counter related event to pass to
GroupChannelCollection
- Fixed a bug in parsing parent message info
- Fixed a bug where a deactivated or deleted user hangs on reconnect
- Fixed a bug where the removed metadata would not be updated when receiving the channel's metadata from the server
- Improved stability
v4.9.5
v4.9.5 (July 27, 2023)
Improvements
- Fixed bug when received
CHANNEL_INVITE
event inviter is null - Updated
MessageCollectionEventHandler
members to be optional