Releases: sendbird/sendbird-chat-sdk-javascript
Releases · sendbird/sendbird-chat-sdk-javascript
v4.17.4
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
v4.17.1
Improvements
- Fixed a bug where closed WebSockets were not cleaned up when reconnecting
- Fixed a bug that the default value of
channelCustomType
works unexpectedly withMessageSearchQuery
- Improved sender profile update in super group channel
v4.17.0
Features
- Added new read-only property
messageDeletionTimestamp
on theGroupChannel
export default class GroupChannel extend BaseChannel {
...
// messageDeletionTimestamp is the message deletion timestamp from the message archive.
// At this point, groupChannel.messageDeletionTimestamp also has the updated value.
messageDeletionTimestamp: number = 0;
...
};
Improvements
- Fixed a bug Where don't get hidden channels in
BackgroundSync
v4.16.5
Improvements
- Fixed a bug where the last message in the channel would not be updated
v4.16.4
Improvements
- Fixed a bug that cached channel remains after channel deletion
v4.16.3
Improvements
- Added
AuthTokenType
to Enum Type
export enum AuthTokenType {
SESSION_TOKEN = 'session_token',
ACCESS_TOKEN = 'access_token',
}
- Added
authTokenType
parameter toauthenticate()
(Default Value: AuthTokenType.SESSION_TOKEN)
// using AccessToken
sb.authenticate('userId', 'access token', AuthTokenType.ACCESS_TOKEN);
// using SessionToken
sb.authenticate('userId', 'session token');
or
sb.authenticate('userId', 'session token', AuthTokenType.SESSION_TOKEN);
v4.16.2
Features
- Supports for
Poll
feature is added for all message types.- Added
poll
andapplyPoll(poll: Poll)
method inBaseMessage
. - Added
pollId
inFileMessageCreateParams
andMultipleFilesMessageCreateParams
.
- Added
Improvements
- Fixed a bug that the API fails while refreshing session
v4.16.1
Improvements
- Fixed a bug where excessive API calls in
MessageCollection