Releases: sendbird/sendbird-chat-sdk-javascript
Releases · sendbird/sendbird-chat-sdk-javascript
v4.3.0
Changelog
v4.3.0 (Feb 01, 2023)
Features
Participant class in Open Channel
Participant is a new interface for User who joined Open Channel. It's optimized for scalability and contains much lighter information about the User than a Member in Group Channel.
Now clients can implement Open Channels easier in SDK with more built-in capabilities. You can compare how Member, Participant, and User are different here
Participant
holds essential information about the participant like below. They contain their muted status (is_muted
) on top of basic User information
class Participant extends User {
readonly isMuted: boolean;
}
ParticipantListQuery.next()
now returnsPromise<Participant[]>
- For backward compatibility, the return type remains as
Promise<User[]>
, but the return value can be casted intoPromise<Participant[]>
v4.2.9
Changelog
v4.2.9 (Feb 01, 2023)
Features
- Added
SendbirdChatOptions.sessionTokenRefreshTimeout
. You can now set longer timeout value for session token expire. (Default: 60s, Maximum: 1800s). This means that Sendbird SDK will wait longer for your new session token, making it easier for you to reconnect to our service.
Improvements
- Improved stability
v4.2.8
v4.2.7
v4.2.6
v4.2.5
v4.2.5 (Jan 17, 2023)
Improvements
- Fixed a bug in
MessageCollection
onMessagesUpdated event triggered for old messages - Fixed a bug where calling
connect
while offline did notreconnect
even when the app came online - Improved stability
v4.2.4
v4.2.4 (Jan 11, 2023)
Improvements
- Fixed a bug in
MessageCollection
where old messages are being added to the view when app reconnects - Added argument validation in
GroupChannel.pinMessage()
andGroupChannel.unpinMessage()
- Fixed a bug where
GroupChannelHandler.onChannelChanged()
andGroupChannelHandler.onPinnedMessageUpdated()
events are not called whenchannel.lastPinnedMessage
is updated - Improved stability