github GetStream/stream-chat-swift 4.23.0

latest releases: 4.88.0, 4.87.0, 4.86.0...
2 years ago

October 27, 2022

StreamChat

✅ Added

  • Added support for Stream's Image CDN v2 #2339
  • Expose EntityChange.item #2351

🐞 Fixed

  • Fix CurrentChatUserController+Combine initialValue hard coded to .noUnread instead of using the initial value from the current user data model #2334
  • Allow Message Search pagination when using sort parameters #2347
  • Fix TokenProvider sometimes being invoked two times when token is expired #2337

StreamChatUI

✅ Added

  • Uses Stream's Image CDN v2 to reduce the memory footprint #2339
  • Make ChatMessageListVC.tableView(heightForRowAt:) open #2342

🐞 Fixed

  • Fix message text not dynamically scalable with content size category changes #2328

🚨 Minor Breaking Changes

Although we don't usually ship breaking changes in minor releases, in some cases where they are minimal and important, we have to do them to keep improving the SDK long-term. Either way, these changes are for advanced customizations which won't affect most of the customers.

  • The ImageCDN protocol has some minor breaking changes that were needed to support the new Stream CDN v2 and to make it more scalable in the future.
    • urlRequest(forImage:) -> urlRequest(forImageUrl:resize:).
    • cachingKey(forImage:) -> cachingKey(forImageUrl:).
    • Removed thumbnail(originalURL:preferreSize:). This is now handled by urlRequest(forImageUrl:resize:) as well. If your CDN does not support resizing, you can ignore the resize parameter.

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

NewReleases is sending notifications on new releases.