Skip to content

Releases: sendbird/sendbird-chat-sdk-javascript

v4.17.3

10 Apr 06:17
Compare
Choose a tag to compare

Improvements

  • Fixed a bug that caused an Command received no ack. error when markAsRead was called multiple times
  • Fixed a bug where the API path for the notification statLog was incorrect

v4.17.2

28 Mar 07:22
1a8ab3f
Compare
Choose a tag to compare

Improvements

  • Fixed a bug that can't resend a failed MultipleFilesMessage

v4.17.1

13 Mar 04:36
Compare
Choose a tag to compare

Improvements

  • Fixed a bug where closed WebSockets were not cleaned up when reconnecting
  • Fixed a bug that the default value of channelCustomType works unexpectedly with MessageSearchQuery
  • Improved sender profile update in super group channel

v4.17.0

27 Feb 08:27
Compare
Choose a tag to compare

Features

  • Added new read-only property messageDeletionTimestamp on the GroupChannel
   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

13 Feb 04:40
Compare
Choose a tag to compare

Improvements

  • Fixed a bug where the last message in the channel would not be updated

v4.16.4

24 Jan 07:30
Compare
Choose a tag to compare

Improvements

  • Fixed a bug that cached channel remains after channel deletion

v4.16.3

16 Jan 05:11
Compare
Choose a tag to compare

Improvements

  • Added AuthTokenType to Enum Type
 export enum AuthTokenType {
  SESSION_TOKEN = 'session_token',
  ACCESS_TOKEN = 'access_token',
 }
  • Added authTokenType parameter to authenticate() (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

09 Jan 05:36
Compare
Choose a tag to compare

Features

  • Supports for Poll feature is added for all message types.
    • Added poll and applyPoll(poll: Poll) method in BaseMessage.
    • Added pollId in FileMessageCreateParams and MultipleFilesMessageCreateParams.

Improvements

  • Fixed a bug that the API fails while refreshing session

v4.16.1

05 Dec 02:21
Compare
Choose a tag to compare

Improvements

  • Fixed a bug where excessive API calls in MessageCollection

v4.16.0

20 Nov 13:50
Compare
Choose a tag to compare

Features

SDK now supports Custom Report Categories configured through Sendbird Dashboard, which takes effect after restarting the app.
Previous report categories will remain until app restart.

  • Added getReportCategoryInfoList()
  • Added ReportCategoryInfo
  • Deprecated ReportCategory
 const reportCategoryInfoList: ReportCategoryInfo[] = await sb.getReportCategoryInfoList();

 ...

 reportCategoryInfoList.forEach((reportCategoryInfo) => {
    // make Report Category list
    // use reportCategoryInfo.name
 });

Improvements

  • Added sampledUserInfoList in Reaction
  • Fixed a bug where called API with deprecated param in markAsDelivered