github GetStream/stream-chat-android 4.23.0

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

November 25th, 2021 - 4.23.0

Common changes for all artifacts

🐞 Fixed

⬆️ Improved

  • Improved logs for errors in the SDK.

stream-chat-android-offline

🐞 Fixed

  • Deprecated QueryChannelsController::mutedChannelsIds. Use ChatDomain.mutedChannels instead
  • Fix issue when sent attachments from Android SDK don't show title in iOS.

✅ Added

  • Added new extension function ChatClient::replayEventsForActiveChannels.
  • Added new extension function ChatClient::setMessageForReply.
  • Added new extension function ChatClient::downloadAttachment to download attachments without ChatDomain.

stream-chat-android-ui-common

✅ Added

  • Made ThreeTenInitializer public to allow manual invocations of it. See the new documentation for more details.

stream-chat-android-ui-components

🐞 Fixed

  • Removed ripple effect for attachements in message options.

⬆️ Improved

  • More customization for AvatarView. Now it is possible to choose between Square and Circle. Use new fields in AvatarStyle to customize AvatarView the way you prefer.

✅ Added

  • Added setter MessageListView.setMessageBackgroundFactory to set a factory to provide a background for messages.
  • Added MessageInputViewModel::sendMessageWithCustomAttachments function allowing to send message with custom attachments list.
  • Added MessageInputView::submitCustomAttachments function allowing setting custom attachments in MessageInputView.
  • Added SelectedCustomAttachmentViewHolderFactory interface and BaseSelectedCustomAttachmentViewHolderclass allowing defining how previews of custom attachments in MessageInputView should be rendered.

⚠️ Changed

  • Added MessageSendHandler::sendMessageWithCustomAttachments and MessageSendHandler::sendToThreadWithCustomAttachments allowing to intercept sending custom attachments actions.

stream-chat-android-compose

🐞 Fixed

  • Fixed the information about channel members shown in the MessageListHeader subtitle.

⬆️ Improved

  • Updated a lot of documentation around the Messages features
  • Improved the subtitle text in the MessageListHeader component.
  • Now, the MessageComposer component supports sending typing.start and typing.stop events when a user starts or stops typing.
  • Made the ChannelNameFormatter, ClipboardHandler and MessagePreviewFormatter interfaces functional for ease of use.

✅ Added

  • Added the "mute" option to the ChannelInfo action dialog.
  • Added a wrapper for the message input state in the form of MessageInputState
  • Added attachmentsContentImageWidth, attachmentsContentImageHeight, attachmentsContentGiphyWidth, attachmentsContentGiphyHeight, attachmentsContentLinkWidth, attachmentsContentFileWidth and attachmentsContentFileUploadWidth options to StreamDimens, to make it possible to customize the dimensions of attachments content via ChatTheme.
  • Added a thread separator between a parent message and thread replies.
  • Added the threadSeparatorGradientStart and threadSeparatorGradientEnd options to StreamColors, to make it possible to customize the thread separator background gradient colors via ChatTheme.
  • Added the threadSeparatorVerticalPadding and threadSeparatorTextVerticalPadding options to StreamDimens, to make it possible to customize the dimensions of thread separator via ChatTheme.
  • Added a typing indicator to the MessageListHeader component.
  • Added the messageOverlayActionItemHeight option to StreamDimens, to make it possible to customize the height of an action item on the selected message overlay via ChatTheme.
  • Added the messageAlignmentProvider field to the ChatTheme that allows to customize message horizontal alignment.
  • Added the maxAttachmentCount and maxAttachmentSize parameters to the MessagesViewModelFactory, to make it possible to customize the allowed number and size of attachments that can be sent via the MessageComposer component.

⚠️ Changed

  • Made the MessageMode subtypes to the parent class, to make it easier to understand when importing
  • Renamed the MessageMode.Thread to MessageMode.MessageThread for clarity
  • Changed the signature of the MessageComposer to accommodate for the MessageInputState
  • Moved common state to the io.getstream.chat.android.common package
  • Made the AttachmentFactory.previewContent field nullable.
  • Exposed MessageReactions as a public component so users can use it to display a message reactions bubble in their custom UI.

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

NewReleases is sending notifications on new releases.