Skip to content

Releases: sendbird/sendbird-chat-sdk-javascript

v4.1.1

26 Oct 08:58
Compare
Choose a tag to compare

Changelog

v4.1.1 (Oct 26, 2022)

  • Exported existing interfaces including MessageSearchQueryParams and others (22 in total)

v4.1.0

14 Oct 08:30
Compare
Choose a tag to compare

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.onMessagesUpdated is 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()
      • PollCreateParams
      • UserMessageCreateParams.pollId
  • Read
    • PollModule.get()
      • PollRetrievalParams
    • SendbirdChat.createPollListQuery()
      • PollListQueryParams
    • GroupChannel.createPollListQuery()
    • UserMessage.poll
  • Update
    • GroupChannel.updatePoll()
      • PollUpdateParams
    • GroupChannel.closePoll()
  • Delete
    • GroupChannel.deletePoll()
  • Others:
    • Poll
    • GroupChannel.getPollChangeLogsSinceTimestamp()
    • GroupChannel.getPollChangeLogsSinceToken()
    • PollData
    • GroupChannelHandlerParams.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:
    • PollOption
    • GroupChannelHandlerParams.onPollVoted()
    • PollStatus
    • PollVoteEvent
    • PollUpdateEvent
    • CollectionEventSource.EVENT_POLL_UPDATED
    • CollectionEventSource.EVENT_POLL_VOTED
    • CollectionEventSource.SYNC_POLL_CHANGELOGS

Scheduled Messages

  • Create
    • GroupChannel.createScheduledUserMessage()
    • GroupChannel.createScheduledFileMessage()
  • Read
    • ScheduledMessageListQuery
    • BaseMessage.getScheduledMessage()
      • ScheduledMessageRetrievalParams
  • Update
    • GroupChannel.updateScheduledUserMessage()
    • GroupChannel.updateScheduledFileMessage()
  • Delete
    • GroupChannel.cancelScheduledMessage()
  • Others
    • ScheduledInfo
    • SendingStatus.SCHEDULED
    • BaseMessage.scheduledInfo
    • GroupChannelModule.getTotalScheduledMessageCount()
      • TotalScheduledMessageCountParams

v4.0.13

28 Sep 07:22
Compare
Choose a tag to compare

v4.0.13 (Sep 28, 2022)

  • Added nicknameStartsWithFilter and nicknameExactMatchFilter in GroupChannelListQueryParams
  • Implemented channel membership history where clients can retrieve whether users have joined or left the channel
  • Added constructor support for SessionHandler, ConnectionHandler, and UserEventHandler
  • BaseChannel.resendFileMessge() now takes FileCompat instead of Blob in order to support React Native
  • Improved stability

v4.0.12

29 Sep 06:17
Compare
Choose a tag to compare

v4.0.12 (Sep 23, 2022)

  • Fixed a bug in GroupChannel.setMyPushTriggerOption() to include channel url in request body
  • Fixed a bug where resendUserMessage() and resendFileMessage() in BaseChannel not using the given failedMessage.reqId
  • Added missed export for enums: ScheduledMessageListOrder, ScheduledStatus, UnreadItemKey, and MutedMemberFilter
  • Deprecated BaseChannel.isPushEnabled

v4.0.11

31 Aug 07:43
Compare
Choose a tag to compare

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

19 Aug 07:44
Compare
Choose a tag to compare

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

03 Aug 06:30
Compare
Choose a tag to compare

v4.0.9 (Aug 03, 2022)

  • Fixed a bug where numeric zero values are being removed from request url
  • Improved stability

v4.0.8

26 Jul 05:08
Compare
Choose a tag to compare

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 when groupChannel.lastMessage is updated
  • Fixed a bug where file upload failed messages are not resendable
  • Improved stability

v.4.0.7

20 Jul 05:07
Compare
Choose a tag to compare

v4.0.7 (Jul 20, 2022)

  • Fixed a bug where groupChannelCollection.hasNext is always true.
  • Fixed a bug where messageCollection.initialize() returning the result in reverse order.
  • Fixed a bug where channelHandler.onMentionReceived() returning a channel with mentionedCount value not updated when expected to be updated.
  • Params parameter of getUnreadItemCount(), getTotalUnreadMessageCount(), getTotalScheduledMessageCount(), createDistinctChannelIfNotExist() in GroupChannelModule are now made optional.
  • Deprecated sessionHandler.onSessionExpired().
  • Improved stability.

v4.0.6

08 Jul 09:15
Compare
Choose a tag to compare

https://sendbird.atlassian.net/browse/CORE-2604?filter=-4&jql=project%20%3D%20CORE%20AND%20fixVersion%20%3D%20%22js_core%404.0.6%22%20order%20by%20created%20DESC

## v4.0.6 (Jul 8, 2022)

- Fixed a bug `messageRequestHandler.onFailed()` to always return a failed message.
- Improved stability.