yarn stream-chat 3.0.0

latest releases: 8.33.0, 8.32.0, 8.31.0...
3 years ago

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

Don't miss a new stream-chat release

NewReleases is sending notifications on new releases.