Skip to content

Releases: GetStream/stream-chat-js

v4.3.0

01 Nov 22:37
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.2.0...v4.3.0

v4.2.0

16 Sep 18:54
Compare
Choose a tag to compare

Fixes

  • Fixed the behavior of isConnecting flag in StableWSConnection class. Also client.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 in exportChannels endpoint 33f627f

v4.1.0

24 Aug 15:10
Compare
Choose a tag to compare

Feature

  • Add own_capabilities attribute to channel response data #741
  • Add team filter for query flagged messages #754
  • queryChannel support user_id for server-side queries #753

Chore

  • Campaign namespace update #760

v4.0.0

12 Aug 10:39
Compare
Choose a tag to compare

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

  • Campaign feature flag, name and description added #745 #736
  • Campaign and Segment pagination option #737
  • queryChannels options to skip initialization of certain channels #743 #740

v3.13.1

29 Jul 12:42
Compare
Choose a tag to compare
  • Allowing listeners for channel.deleted and notification.channel_deleted before disconnecting the channel from client cc8796e
  • Fixing issue with presence indicator not updating feff028

v3.13.0

29 Jul 06:30
Compare
Choose a tag to compare

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

15 Jul 17:47
Compare
Choose a tag to compare

Issue fixes

  • Fixed an issue with event (message.updated, message.deleted etc) based updates to message list, which can cause messages to go out of sync than desired state. Please read the PR description for more details - #713

v3.12.0

13 Jul 12:18
Compare
Choose a tag to compare

Features/updates

  • Updates to client.search() and channel.search() endpoint #677

    • supports sorting results
    • returns next and previous 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)

  • Updated Permissions API methods (#707, #715)

  • Switched pinMessage and unpinMessage to partial update (#712)

Issue fixes

  • 704 Added missing team property to Event typescript type. #716

v3.11.0

08 Jun 20:57
Compare
Choose a tag to compare
  • Fixed timer throttling issue, which was introduced with recent release of Chrome browser #698
  • Fixed issues with unread count on muted channels #678

v3.10.0

21 May 13:50
Compare
Choose a tag to compare

Feature

  • client.partialUpdateMessage() to partially update messages #576
  • client.queryMessageFlags() to query flagged messages #676
  • client.createToken add support to have iat claim while generating tokens #674
  • client.revokeTokens() method to revoke/unrevoke tokens on an application level #674
  • client.revokeUserToken() method to revoke/unrevoke tokens on user level #674
  • client.revokenUsersToken() method to revoke/unrevoke tokens for multiple users at once #674