Releases: sendbird/sendbird-chat-sdk-javascript
Releases · sendbird/sendbird-chat-sdk-javascript
v4.11.3
Improvement
- Added
keys
property toMessageTemplateListParams
- Fixed a bug that database migration fails in a certain condition
- Improvement stability
v4.11.2
v4.11.1
Improvement
- Fixed a bug that
markAsRead()
with messages wrongly signals updating messages inNotificationCollection
- Improvement stability
v4.11.0
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
inAppInfo
- Added
getMessageTemplatesByToken()
, andgetMessageTemplate()
inMessageModule
Improvement
- Fixed a bug where channel list of
GroupChannelCollection
was not removed when leaving a public group - Added get message template feature
- Improvement stability
v4.10.10
Improvement
- Fixed a bug where
thumbnails
are not being set properly - Improvement stability
v4.10.9
Notifications
- Added
priority
inNotificationMessage
Message threading
- Added
ThreadedParentMessageListQuery
- Added
createThreadedParentMessageListQuery()
inGroupChannel
- Added
markThreadAsRead()
inBaseMessage
- Added
setPushNotificationEnabled()
inBaseMessage
- Added
totalUnreadReplyCount
inBaseChannel
- Added
unreadReplyCount
,memberCount
,isPushNotificationEnabled
inThreadInfo
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
v4.10.8
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
toUserMessageCreateParams
- Improvement stability
v4.10.7
v4.10.6
v4.10.5
Improvement
- Added
prevResultLimit/nextResultLimit
inBaseMessageCollectionParams
/**
* @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[])
inFeedChannel
- (internal) Removed
markAsReadBy(messages: NotificationMessage[])
inFeedChannel
- Fixed bug where
is_reply_to_channel
parsing error inBaseMessage
- Fixed bug where
onMessagesUpdated()
event do not called iflocalCacheEnable
isfalse
- Improvement stability