Common changes for all artifacts
⚠️ Changed
- 🚨 Breaking change: The class
io.getstream.chat.android.offline.model.connection.ConnectionState
was moved toio.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
intoLiveData
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 namedlogV
. #3869ChatClient.disconnect()
is deprecated and a newChatClient.disconnect(Boolean)
method with a boolean argument is created. This method return aCall
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 ofMessageListViewModel
provided thatMessageListViewModel.deletedMessageVisibility
has not been changed sinceMessageListView
was first initialized. #3843
✅ Added
- Added the ability to align system messages via a
MessageListView
attribute calledstreamUiSystemMessageAlignment
. #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