Releases: GetStream/stream-chat-js
Releases · GetStream/stream-chat-js
v2.7.2
Fix
- Improve types of
sendMessage()
, updateMessage()
, ChannelFilters
and AppSettingsAPIResponse
#480 #483
Shadow Ban
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
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
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
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
Feature
- BlockLists #437. Refer to docs on how to use this new feature
Fix
Channel.keystroke
not firing for the first typing event #440