github GetStream/stream-chat-android v5.6.0

latest releases: 6.23.0, 6.22.1, 6.22.0...
3 years ago

Common changes for all artifacts

⚠️ Changed

  • 🚨 Breaking change: The class io.getstream.chat.android.offline.model.connection.ConnectionState was moved to io.getstream.chat.android.client.models.ConnectionState. Please update your imports to be able to compile code using this class. #3852.

stream-chat-android-client

✅ Added

  • Added a way to convert Flow into LiveData for Java users.
  • Base state of the SDK can be check using io.getstream.chat.android.client.setup.state.ClientState interface. Use this interface to receive the state of the SDK as StateFlows. #3852

⚠️ Changed

-. Call interface provides an await() suspend function implemented on every subclass and is not needed to use the extension function anymore. #3807

  • ChatLoggerHandler has a new function named logV. #3869
  • ChatClient.disconnect() is deprecated and a new ChatClient.disconnect(Boolean) method with a boolean argument is created. This method return a Call to be invoked for disconnection. #3817

❌ Removed

  • 🚨 Breaking change: Removed the Member.role field. 3851

stream-chat-android-offline

🐞 Fixed

  • Fixed initializing channels state when DB is empty and API requests fails. 3870
  • Fixed that causes a crash while reconnecting to the SDK multiple times. #3888

stream-chat-android-ui-components

🐞 Fixed

  • The reply option on the gallery screen and moderation options now work with MessageComposerView. #3864
  • Fixed potential crashes when showing dialogs after process recreation. #3857
  • Fixed potential unnecessary channel query on the channel list screen. #3895

⬆️ Improved

  • MessageListView now allows multiple re-bindings of MessageListViewModel provided that MessageListViewModel.deletedMessageVisibility has not been changed since MessageListView was first initialized. #3843

✅ Added

  • Added the ability to align system messages via a MessageListView attribute called streamUiSystemMessageAlignment. #3840
  • Added the MessageListViewModel::setMessagePositionHandler method to customize message position within a group. #3882
  • Added documentation for MessageComposerView. #3845
  • Added a new version of the Adding Custom Attachments guide that uses the new MessageComposerView. #3877

stream-chat-android-compose

🐞 Fixed

  • Fixed potential unnecessary channel query on the channel list screen. #3895

⬆️ Improved

  • Improved recomposition in MessagesScreen by deferring state reads to the latest possible point. #3667

⚠️ Changed

  • Show snackbar instead of toast when file exceeds the size limit. #3858

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

NewReleases is sending notifications on new releases.