Releases: GetStream/stream-chat-js
v4.3.0
What's Changed
GetTask
endpoint to retrieve async task results by @gumuz in #770- Add Huawei push provider by @ferhatelmas in #772
- Change
Permission.Condition
type by @AnatolyRugalev in #775 - Fix unread count by excluding system messages by @khushal87 in #777
- Add search backend type by @ferhatelmas in #780
- Fixed conditions on
window.removeEventLister
to avoid breaking react-native by @vishalnarkhede in #781 - New
enrichURL
OG endpoint by @mahboubii in #771 - Add async
deleteChannels
endpoint by @yaziine in #769 & #788 - New
async_url_enrich_enabled
flag by @mahboubii in #793 - Add ExportChannel Options missing
include_truncated_messages
by @mahboubii in #794 - Expose
webhook_events
field by @nmerkulov in #792 - Added i
d_around
&created_at_around
to query messages by @gumuz in #798 - New
skip_enrich_url
flag by @mahboubii in #799 - Fix
queryMembers
sort type by @DanC5 in #787 - Deprecate
client.markAllRead
and addclient.markChannelsRead
by @yaziine in #800 - New endpoint for async batch delete users by @gumuz in #762
Full Changelog: v4.2.0...v4.3.0
v4.2.0
Fixes
- Fixed the behavior of
isConnecting
flag inStableWSConnection
class. Alsoclient.connecting
flag has been removed, so this could potentially be a breaking change for you, although this flag was never properly set so ideally you shouldn't be using
this flag. bb165f8
Features
- Added option
clear_deleted_message_text
inexportChannels
endpoint 33f627f
v4.1.0
v4.0.0
Breaking ⚠️
From now on client.connectUser()
should be awaited #747. All instances of connectUser()
should be changed to:
await connectUser()
// or
connectUser().then()
// ....
// queryChannels and other methods should be called after promise is resolved
The behavior is now improved for poor connections and connectUser
retries to establish the connection before throwing an error. Make sure to handle the failure gracefully and do not proceed to query channels or other methods until connectUser
resolves.
Feature
v3.13.1
v3.13.0
Issue fixes
- Clear channel from
client.activeChannels
when its deleted on backend #728 - Remove deleted properties from user objects on client when user-update related events are received #727
- Remove reference to quoted message, when message gets deleted #726
Features/updates
-
Added following enpoints to client:
createSegment
getSegment
listSegments
updateSegment
deleteSegment
createCampaign
getCampaign
listCampaigns
updateCampaign
deleteCampaign
scheduleCampaign
stopCampaign
resumeCampaign
testCampaign
-
Removed target user id from payload on
client.sendUserCustomEvent
function 8bfcca3 -
Added
grant
field types to AppSettings 991b8118
v3.12.1
v3.12.0
Features/updates
-
Updates to
client.search()
andchannel.search()
endpoint #677- supports sorting results
- returns
next
andprevious
parameters to get the next/previous page of results - supports pagination using the
next
parameter
-
Added new
channel.assignRoles
method for assigning custom roles to the channel members (#692) -
Switched
pinMessage
andunpinMessage
to partial update (#712)
Issue fixes
v3.11.0
v3.10.0
Feature
client.partialUpdateMessage()
to partially update messages #576client.queryMessageFlags()
to query flagged messages #676client.createToken
add support to haveiat
claim while generating tokens #674client.revokeTokens()
method to revoke/unrevoke tokens on an application level #674client.revokeUserToken()
method to revoke/unrevoke tokens on user level #674client.revokenUsersToken()
method to revoke/unrevoke tokens for multiple users at once #674