Skip to content

Releases: GetStream/stream-chat-js

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

v2.6.0

12 Oct 10:32
Compare
Choose a tag to compare

Feature

  • Typing events for thread #445
  • Hard deleted messages are removed from channel.state.messages #454
  • Simplify and document flag/unflag functions for server side usage #462

Fix

  • BlockList types #455
  • Channel.countUnread() returns correct unread #452
  • type key-value pair added to image uploads to fix React Native Android image upload failures #464

v2.5.0

01 Oct 09:55
Compare
Choose a tag to compare

Feature

  • Add permission for using frozen channels UseFrozenChannel #444
  • sendFile accepts buffer and other types of streams #448

Fix

  • Discard reservered fields from channel.update() #439
  • Custom Command handler in AppSettingsAPIResponse renamed to custom_action_handler_url from custom_command_url #409
  • Regenerate yarn.lock file #449
  • sendFile properly check for File instances #448

Block Lists

24 Sep 07:30
Compare
Choose a tag to compare

Feature

  • BlockLists #437. Refer to docs on how to use this new feature

Fix

  • Channel.keystroke not firing for the first typing event #440

v2.1.3

07 Sep 07:36
Compare
Choose a tag to compare
  • Move @types dependencies to devDependencies #418