Skip to content

v3.0.0

Compare
Choose a tag to compare
@mahboubii mahboubii released this 10 Feb 18:31
· 702 commits to master since this release

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