github GetStream/stream-chat-swift 2.3.0

latest releases: 4.89.0, 4.88.0, 4.87.0...
5 years ago

✅ Added

  • ChannelsPresenter.delete & ChannelsPresenter.rx.delete methods to delete a channel and remove it from items list #394
  • Mute/unmute a channel #428
    • Client.shared.mute(channel: channel) {} or channel.mute {}
    • Client.shared.rx.mute(channel: channel) or channel.rx.mute()
  • .notificationChannelMutesUpdated event type to get the current user updated when a channel was muted or unmuted #428
  • The memberCount variable added to Channel with the total number of members in the channel. It's no longer needed to query all members and count them #442
  • ChannelsQuery.membersLimit field added to ChannelsQuery. It's possible to limit the number of Member objects returned in the channel payload. When you query the channels and you don't need the members objects to be presented, setting this value to a lower number should significantly improve the overall performance. #442
  • ClientLogger measures the durations of API requests and JSON parsing. It's enabled by default on the .debug level #442
  • ClientLogger.logTaskStarted() and ClientLogger.logTaskFinished() API added for performance measurements #442

🔄 Changed

  • Podspec and Package Swift versions bumped to 5.2 #438

🐞 Fixed

  • Channels list (ChannelsViewController) not updated when recreating a channel after deleting it #392
  • If the user (JWT) token expires and websocket disconnects due to it, Client will renew the expiring JWT token and reconnect websocket automatically #429
  • Date separators in a chat appear after a new message #440
  • Device object sometimes failing to decode on API calls #266

Don't miss a new stream-chat-swift release

NewReleases is sending notifications on new releases.