github GetStream/stream-chat-android v5.7.0

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

Common changes for all artifacts

⚠️ Changed

  • Updated compile & target SDK to 32. #3965
  • Updated Kotlin version to 1.7.0.#3965

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 calling ChatClient::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 to MessageComposerView and MessageInputView. #3942
  • Added streamUiOptionsOverlayEditReactionsMargin, streamUiOptionsOverlayUserReactionsMargin and streamUiOptionsOverlayMessageOptionsMargin attributes to MessageInputView 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 calling MessageListViewModel.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 calling MessageListViewModel.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 calling MessageListViewModel.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 calling MessageListViewModel.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 and PorterShapeImageView 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 of TypingUpdatesBuffer. #3968
  • Deprecated MessageListViewModel.BlockUser. Use MessageListViewModel.ShadowBanUser if you want to retain the same functionality, or MessageListViewModel.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 and streamUiBlockUserEnabled. The options to block and mute user using MessageListView message options have been deprecated and will be removed. #3953
  • Deprecated the MessageListViewStyle constructor containing params muteIcon, unmuteIcon, muteEnabled, blockIcon and blockEnabled. 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 to MessageInput 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

⚠️ Changed

  • Deprecated RowScope.DefaultComposerInputContent to be marked internal. Use MessageInput directly instead. #3942
  • Updated Compose compiler and UI version to 1.2.0.#3965

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

NewReleases is sending notifications on new releases.