Releases: sendbird/sendbird-chat-sdk-javascript
Releases · sendbird/sendbird-chat-sdk-javascript
v4.1.3
v4.1.2
- Fixed a bug where Poll changelog being called when it's not enabled
- Fixed the wrong
MessageCollectionevent being triggered - Removed
isAnonymousin Poll, PollCreateParams, and PollUpdateParams - Improved
channel.messageOffsetTimestamplogic - Corrected session related error code
- Improved stability
v4.1.1
v4.1.0
Changelog
v4.1.0 (Oct 14, 2022)
Features
Polls
Polls is released 🎉 Here’s where we think it will be really powerful.
- Collect feedback and customer satisfaction
- Drive engagement by receiving participants in preferences
- Run surveys and quiz shows
- And many more!
Scheduled messages
Scheduled messages is released 🎊 Here’s where we think it will be really useful.
- Let your users queue their messages for the future
- Set helpful reminders and notifications to nudge certain actions
- And many more!
Improvements
- Fixed a cross domain issue in
OnlineDetector - Fixed a bug where
MessageCollectionEventHandler.onMessagesUpdatedis wrongly called for a message already added on connect or reconnect
Please note that both Polls and Scheduled Messages are released as beta features. Thus specific parameters and properties may change to improve client’s overall experience.
Stay tuned for updates as we are rolling out more exciting features and see below for exact specifications 👇
Specification
Polls
- Create
PollModule.create()PollCreateParamsUserMessageCreateParams.pollId
- Read
PollModule.get()PollRetrievalParams
SendbirdChat.createPollListQuery()PollListQueryParams
GroupChannel.createPollListQuery()UserMessage.poll
- Update
GroupChannel.updatePoll()PollUpdateParams
GroupChannel.closePoll()
- Delete
GroupChannel.deletePoll()
- Others:
PollGroupChannel.getPollChangeLogsSinceTimestamp()GroupChannel.getPollChangeLogsSinceToken()PollDataGroupChannelHandlerParams.onPollUpdated()GroupChannelHandlerParams.onPollDeleted()
Options
- Create
GroupChannel.addPollOption()
- Read
PollModule.getOption()PollOptionRetrievalParams
SendbirdChat.createPollVoterListQuery()PollVoterListQueryParams
GroupChannel.createPollVoterListQuery()
- Update
GroupChannel.updatePollOption()GroupChannel.votePoll()
- Delete
GroupChannel.deletePollOption()
- Others:
PollOptionGroupChannelHandlerParams.onPollVoted()PollStatusPollVoteEventPollUpdateEventCollectionEventSource.EVENT_POLL_UPDATEDCollectionEventSource.EVENT_POLL_VOTEDCollectionEventSource.SYNC_POLL_CHANGELOGS
Scheduled Messages
- Create
GroupChannel.createScheduledUserMessage()GroupChannel.createScheduledFileMessage()
- Read
ScheduledMessageListQueryBaseMessage.getScheduledMessage()ScheduledMessageRetrievalParams
- Update
GroupChannel.updateScheduledUserMessage()GroupChannel.updateScheduledFileMessage()
- Delete
GroupChannel.cancelScheduledMessage()
- Others
ScheduledInfoSendingStatus.SCHEDULEDBaseMessage.scheduledInfoGroupChannelModule.getTotalScheduledMessageCount()TotalScheduledMessageCountParams
v4.0.13
v4.0.13 (Sep 28, 2022)
- Added
nicknameStartsWithFilterandnicknameExactMatchFilterinGroupChannelListQueryParams - Implemented channel membership history where clients can retrieve whether users have joined or left the channel
- Added constructor support for
SessionHandler,ConnectionHandler, andUserEventHandler BaseChannel.resendFileMessge()now takes FileCompat instead of Blob in order to support React Native- Improved stability
v4.0.12
v4.0.12 (Sep 23, 2022)
- Fixed a bug in
GroupChannel.setMyPushTriggerOption()to include channel url in request body - Fixed a bug where
resendUserMessage()andresendFileMessage()inBaseChannelnot using the givenfailedMessage.reqId - Added missed export for enums:
ScheduledMessageListOrder,ScheduledStatus,UnreadItemKey, andMutedMemberFilter - Deprecated
BaseChannel.isPushEnabled
v4.0.11
v4.0.11 (AUG 31, 2022)
- Added getMessagesByMessageId() to BaseChannel
- Added MessageSearchQuery's totalCount and made it public
- Fixed reportUser() returning 404 Error
- Fixed a bug where after the user updates their profile and sends a message or is mentioned, their profile wasn't being updated in the received message
- Added parameter validation check in sb.connect()
- Improved stability
v4.0.10
v4.0.10 (Aug 119, 2022)
- Added sb.setOnlineListener() and sb.setOfflineListener() interfaces for non-browser environments
- Updated to stop all running sync jobs when GroupChannelCollection.dispose(), and MessageCollection.dispose() is called
- Added missing exports to sendbird.min.js
- Improved stability
v4.0.9
v4.0.8
v4.0.8 (Jul 26, 2022)
- Fixed a bug where request url is malformed when it includes a stringified array as a parameter value
- Fixed a bug where
groupChannelCollection.onChannelsUpdated()is not called whengroupChannel.lastMessageis updated - Fixed a bug where file upload failed messages are not resendable
- Improved stability