Skip to content

Releases: GetStream/stream-chat-js

v2.11.0

11 Jan 16:52
Compare
Choose a tag to compare

Feature

  • Added support for quoted messages #561
  • Added support for enforce_unique param on send reaction API. When true, previous reaction (if any) from user will be replaced with the new reaction. 27ddd4f
  • Added event handler for event reaction.updated 27ddd4f
  • Added new flag on channel state isUpToDate (please check description for details) 588c0e9

Fix

  • Fixed types for client.user d855779

v2.10.0

21 Dec 17:05
Compare
Choose a tag to compare

Feature

  • New channel.updatePartial() function can be used to set and unset specific fields when it is necessary to retain additional custom data fields on Channel #550
  • client.testPushSettings() accepts skipDevices boolean attribute which skip config/device checks and sending to real devices #548
  • channel.sendReaction() accepts enforce_unique attribute to overwrite existing reactions if any #527

Fix

  • deprecate setUser and setAnonymousUser in favor of connectUser and connectAnonymousUser #529
  • Update channel read state when a new message is sent #536
  • Removed unused user_details field from query_channels #545
  • MessageResponse type #551
  • AppSettings type #541

v2.9.0

07 Dec 17:20
Compare
Choose a tag to compare
  • Adding recoverStateOnReconnect option - #534
  • Adding UpdatedMessage typescript type

v2.8.4

27 Nov 10:19
Compare
Choose a tag to compare

Fix

  • Reset unreadCount when channel gets truncated #521

v2.8.3

25 Nov 11:59
Compare
Choose a tag to compare

Fix

  • add custom_event to channel types #520

v2.8.2

25 Nov 10:14
Compare
Choose a tag to compare

Fix

  • Replace UUID with simple random generator #518

v2.8.1

20 Nov 14:20
Compare
Choose a tag to compare

Fix

  • Duplicate message from current user #509
  • Sort direction array for queries #501
  • Add enforce_unique_usernames to AppSettingsAPIResponse type #511

Channel Export

17 Nov 12:42
Compare
Choose a tag to compare

Feature

  • Channel export #504
  • New event notification.invite_rejected #467
  • Channel stopTyping accepts optional parent_id for typing in threads notification.invite_rejected #505

Fix

  • Mute users no longer counted in channel unread #498
  • AppSettingsAPIResponse type includes image_moderation_enabled #497
  • User ban function signature updated #502:
    client.banUser('user1', {user_id: 'user2'}) is replaced with client.banUser('user1', {banned_by_id: 'user2'})

Ban user by IP

06 Nov 08:46
Compare
Choose a tag to compare

Feature

  • Ban user by IP (Server-Side only) #485

v2.7.3

03 Nov 09:44
Compare
Choose a tag to compare

Fix

  • Browser file upload incorrect file name #487