Skip to content

Releases: GetStream/stream-chat-js

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

v2.7.2

30 Oct 15:57
Compare
Choose a tag to compare

Fix

  • Improve types of sendMessage(), updateMessage(), ChannelFilters and AppSettingsAPIResponse #480 #483

Shadow Ban

26 Oct 09:08
Compare
Choose a tag to compare

Feature

  • New functions to shadow ban a user from one or all channels #447
// global shadow ban on all channels
client.shadowBan(target_user_id);
client.removeShadowBan(target_user_id);

// channel speceifc shadow ban
channel.shadowBan(target_user_id);
channel.removeShadowBan(target_user_id);

Fix

  • Ignore shadowed messages in the unread count #475
  • Remove duplicated _initializeState call #473

Chore

  • Upgrade dependencies #477

v2.7.0

20 Oct 10:02
Compare
Choose a tag to compare

Fix

  • channel.addMessageSorted performance has been improved. It now accepts an extra parameter timestampChanged: boolean which needs to be set for updating a message in the state with the same id and different created_at #470