Releases: GetStream/stream-chat-js
Releases · GetStream/stream-chat-js
v2.11.0
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
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
- Adding
recoverStateOnReconnect
option - #534
- Adding
UpdatedMessage
typescript type
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