Common changes for all artifacts
⚠️ Changed
stream-chat-android-client
🐞 Fixed
- Fixed the missing disconnected state in
ClientState.connectionState
. #3943
⬆️ Improved
- Offline data is clear after the user is disconnect by calling
ChatClient.disconnect(true)
. #3917 - Adding logs to understand more about unrecoverable errors in socket connection. #3946
- Added the ClientState.initializationState. Now you can check when the current state of the initialization progress. #3962
✅ Added
- Added a check if
lastSyncedAt
is no later than 30 days when callingChatClient::getSyncHistory
. #3934 - Added
ClientState::isNetworkAvailable
which gives you information about device's internet connection status.#3880
⚠️ Changed
- Queries that require active socket connection will be postponed until connection is established: #3952
stream-chat-android-offline
🐞 Fixed
- Fixed preview for channels when sending messages offline. 3933
- Fixed marking the channel as read when opening it from a push notification. Previously the SDK would fail to make the call. #3985
stream-chat-android-ui-common
✅ Added
- Added more file sources to the file provider used when sending file attachments. 3958
⚠️ Changed
- Deprecated
MessageAction.MuteUser
. The option to mute users via a message options has been deprecated and will be removed. #3953
stream-chat-android-ui-components
🐞 Fixed
- Fixed the display of disconnected state in channel list and message list headers. #3943
- Fixed list state race condition while switching filters in channel list. #3939
✅ Added
- Added
android:inputType
customization option toMessageComposerView
andMessageInputView
. #3942 - Added
streamUiOptionsOverlayEditReactionsMargin
,streamUiOptionsOverlayUserReactionsMargin
andstreamUiOptionsOverlayMessageOptionsMargin
attributes toMessageInputView
to customize the spacing between the elements on the message options overlay. #3950 - Added
MessageListViewModel.Event.BanUser
. This event is used to ban a user by using callingMessageListViewModel.onEvent(Event)
and providing it as an argument. For the difference between banning and shadow banning, you can read the documentation here. #3953 - Added
MessageListViewModel.Event.UnbanUser
. This event is used to unban a user by using callingMessageListViewModel.onEvent(Event)
and providing it as an argument. For the difference between banning and shadow banning, you can read the documentation here. #3953 - Added
MessageListViewModel.Event.ShadowBanUser
. This event is used to shadow ban a user by using callingMessageListViewModel.onEvent(Event)
and providing it as an argument. For the difference between banning and shadow banning, you can read the documentation here. #3953 - Added
MessageListViewModel.Event.RemoveShadowBanFromUser
. This event is used to remove a shadow ban from a user by using callingMessageListViewModel.onEvent(Event)
and providing it as an argument. For the difference between banning and shadow banning, you can read the documentation here. #3953
⚠️ Changed
- Deprecated
LegacyDateFormatter
,PorterImageView
andPorterShapeImageView
classes as they are unused. 3923 - Deprecated
DefaultTypingUpdatesBuffer
. Should you wish to create your own implementation of a typing buffer, you can create a custom implementation ofTypingUpdatesBuffer
. #3968 - Deprecated
MessageListViewModel.BlockUser
. UseMessageListViewModel.ShadowBanUser
if you want to retain the same functionality, orMessageListViewModel.BanUser
if you want to outright ban the user. For the difference between banning and shadow banning, you can read the documentation here. #3953 - Deprecated
MessageListView::setUserMuteHandler
. The option to mute users via message option has been deprecated and will be removed. #3953 - Deprecated
MessageListView::setUserUnmuteHandler
. The option to unmute users via message option has been deprecated and will be removed. #3953 - Deprecated
MessageListView::setMuteUserEnabled
. The option to mute users via message option has been deprecated and will be removed. #3953 - Deprecated
MessageListView.UserMuteHandler
. The option to mute users via message option has been deprecated and will be removed. #3953 - Deprecated
MessageListView.UserUnmuteHandler
. The option to unmute users via message option has been deprecated and will be removed. #3953 - Deprecated
MessageListView::setBlockUserEnabled
. The option to block users via message option has been deprecated and will be removed. #3953 - Deprecated
MessageListView.UserBlockHandler
. The option to block users via message option has been deprecated and will be removed. #3953 - Deprecated the following
MessageListViewAttributes
:streamUiMuteOptionIcon
,streamUiUnmuteOptionIcon
,streamUiMuteUserEnabled
,streamUiBlockOptionIcon
andstreamUiBlockUserEnabled
. The options to block and mute user usingMessageListView
message options have been deprecated and will be removed. #3953 - Deprecated the
MessageListViewStyle
constructor containing paramsmuteIcon
,unmuteIcon
,muteEnabled
,blockIcon
andblockEnabled
. Use the constructor which does not contain these parameters. #3953
stream-chat-android-compose
🐞 Fixed
- Fixed the display of disconnected state in channel list and message list headers. #3943
✅ Added
- Added
KeyboardOptions
customization option toMessageInput
composable. #3942 - Added
MessageListViewModel::banUser
. You can use it to ban a user belonging to the current channel. For the difference between banning and shadow banning, you can read the documentation here. #3953 - Added
MessageListViewModel::unbanUser
. You can use it to unban a user belonging to the current channel. For the difference between banning and shadow banning, you can read the documentation here. #3953 - Added
MessageListViewModel::shadowBanUser
. You can use it to shadow ban a user belonging to the current channel. For the difference between banning and shadow banning, you can read the documentation here. #3953 - Added
MessageListViewModel::removeShadowBanFromUser
. You can use it to remove a shadow ban from a user belonging to the current channel. For the difference between banning and shadow banning, you can read the documentation here. #3953 - Added
MessageListViewModel::muteUser
. You can use it to mute a user belonging to the current channel. #3953 - Added
MessageListViewModel::unmuteUser
. You can use it to mute a user belonging to the current channel. #3953