Skip to content

Releases: GetStream/stream-chat-js

v3.2.0

09 Mar 09:02
Compare
Choose a tag to compare

Feature

  • Added the Client.queryBannedUsers function to query banned users with optional filters #625

v3.1.4

05 Mar 10:27
Compare
Choose a tag to compare

Fix

  • Clear (set to false) isUpToDate flag, when channel watcher is disconnected #624

v3.1.3

02 Mar 14:53
Compare
Choose a tag to compare

Chore

  • Change stream client header from x-stream-client to X-Stream-Client #622

v3.1.2

26 Feb 19:03
Compare
Choose a tag to compare

Fix

  • Fixed regression introduced in 3.1.0 causing ChannelState.messages not to update on incoming reaction events #621

v3.1.1

23 Feb 21:04
Compare
Choose a tag to compare

Fix

  • Channel state message list mutation #619

v3.1.0

17 Feb 09:02
Compare
Choose a tag to compare

Feature

  • sendMessage accepts a skip_push flag to skip sending push notifications #608

Fix

  • Sync own_reactions in the events #606
  • Missing user_id in channel instantion by members #610

v3.0.1

11 Feb 21:47
Compare
Choose a tag to compare
  • Add back some deprecated functions for convenience #615

v3.0.0

10 Feb 18:31
Compare
Choose a tag to compare

BREAKING CHANGES ⚠️

  • Removed seamless-immutable library completely for client/channel state management in favor of pure JS objects #602. This will likely require some changes to frontend usage of these states with spread operators for deeply nested data updates
  • Changed channel state messageToImmutable function to formatMessage #602
  • channel.sendReaction(messageID: string, reaction: Reaction, user_id?: string, enforce_unique?: boolean) is changed to channel.sendReaction(messageID: string, reaction: Reaction, options?: { enforce_unique?: boolean }). The removed user_id parameter should be added to reaction.
  • client.setUser() function is removed in favor of client.connectUser() #612
  • client.setAnonymousUser() function is removed in favor of client.connectAnonymousUser() #612
  • client.updateUser() function is removed in favor of client.upsertUser() #612
  • client.updateUsers() function is removed in favor of client.upsertUsers() #612
  • client._userAgent() function is removed in favor of client.getUserAgent() #612

Fix

  • Added types for auto translations #602
  • Added missing options for gdpr endpoints #609

Chore

  • Upgrade Dependencies #613

v2.12.0

28 Jan 12:26
Compare
Choose a tag to compare

Feature

  • New StreamChat.getInstance function to be use instead of new StreamChat() #599
  • Types for file and image upload app configuration #582

Fix

  • Allow consecutive calls with a warning to client.connectUser for the same user #600

v2.11.5

21 Jan 11:45
Compare
Choose a tag to compare

Fix

  • Skip sorting channel members while instantiating a channel without id #591