Releases: GetStream/stream-chat-js
Releases · GetStream/stream-chat-js
v2.8.4
Fix
- Reset
unreadCount
when channel gets truncated #521
v2.8.3
Fix
- add
custom_event
to channel types #520
v2.8.2
Fix
- Replace UUID with simple random generator #518
v2.8.1
Fix
- Duplicate message from current user #509
- Sort direction array for queries #501
- Add
enforce_unique_usernames
to AppSettingsAPIResponse
type #511
Channel Export
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
Feature
- Ban user by IP (Server-Side only) #485
v2.7.3
Fix
- Browser file upload incorrect file name #487
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