github GetStream/stream-chat-android v5.0.0

latest releases: v6.9.0, v6.8.0, v6.7.0...
2 years ago

Common changes for all artifacts

🐞 Fixed

  • Fixed memory leaks related to image loading. #2979

⬆️ Improved

  • Replaced KAPT with KSP. #3113

⚠️ Changed

  • Updated AGP version to 7.1.2 and Gradle version to 7.4. #3159

stream-chat-android-client

✅ Added

  • Added possibility to configure RetryPolicy using ChaClient.Builder(). #3069

⚠️ Changed

  • Add Channel::image, Channel:name, User::image, User::name properties. #3139
  • Deprecated Member:role in favor of Member:channelRole #3189

stream-chat-android-offline

🐞 Fixed

  • Unread count for muted channels no longer increments when the channel is muted and new messages are received. #3112
  • Fixed marking the channel as read if it was opened offline previously. #3162

❌ Removed

  • Moved RetryPolicy related logic to ChatClient. #3069

stream-chat-android-ui-common

❌ Removed

  • Removed ChatMarkdown in favor of ChatMessageTextTransformer #3189

stream-chat-android-ui-components

🐞 Fixed

  • Fixed an issue with message flickering when sending a message with file attachments. #3209
  • Fixed a crash when overriding ChatUI::imageHeadersProvider caused by compiler issue. #3237

✅ Added

  • Added a separate LinkAttachmentsViewHolder for handling messages containing link attachments and no other types of attachments. #3070
  • Added a separate FileAttachmentsViewHolder for handling messages containing file attachments of different types or file attachments not handled by one of the other ViewHolders. #3091
  • Introduced InnerAttachmentViewHolder as an inner ViewHolder for custom attachments. #3183
  • Introduced AttachmentFactory as a factory for custom attachment ViewHolders. #3116
  • Introduced AttachmentFactoryManager as a manager for the list of registered attachment factories. The class is exposed via ChatUI. #3116
  • Added an attribute to customize the color state list of the AttachmentsDialog buttons called streamUiAttachmentTabButtonColorStateList. #3242

⚠️ Changed

  • Separated the Giphy attachments and content to a GiphyAttachmentViewHolder. #2932
  • Created a GiphyMediaAttachmentView and its respective style to customize giphies. #2932
  • You can now use original sized giphies that apply resizing based on the GIF size. #2932
  • Use fixedHeight or fixedHeightDownsampled giphies to use a fixed height that keeps the aspect ratio and takes up less memory. #2932
  • Make sure to check out our giphy attachment styles (GiphyMediaAttachmentView) for customization.
  • Created an ImageAttachmentViewHolder that represents images in the message list. #3067
  • Renamed MediaAttachmentViewStyle and its attributes to ImageAttachmentViewStyle. #3067
  • Messages containing link attachments and no other types of attachments are no longer handled by TextAndAttachmentsViewHolder, instead they are handled by LinkAttachmentsViewHolder. #3070
  • Messages containing file attachments of different file types or types not handled by one of the other ViewHolders are no longer handled by TextAndAttachmentsViewHolder, instead they are handled by FileAttachmentsViewHolder. #3091
  • Updated the structure of UI components documentation. UI Components documentation. #3186
  • Updated the code snippets from the UI Components documentation in the stream-chat-android-docs module. 3205

❌ Removed

  • All usage of ChatDomain. #3190
  • Removed "Pin message", "Reply", "Thread reply" message actions for messages that are not synced. #3226

stream-chat-android-compose

🐞 Fixed

  • Mitigated the effects of ClickableText consuming all pointer events when messages contain links by passing long press handlers to MessageText. #3137
  • Fixed an issue with message flickering when sending a message with file attachments. #3209
  • Fixed ripple color in dark mode. #3211
  • Long user names no longer break layout in the message list. #3219
  • Fixed the click handler on the last item in the image attachments content. #3221

⬆️ Improved

  • Allowed passing long press handlers to MessageText. #3137

✅ Added

  • Added code snippets from the Compose documentation to the stream-chat-android-docs module. 3197
  • Added support for delivery indicator in the message list. #3218

⚠️ Changed

  • Replaced the reactionTypes field in ChatTheme with the new reactionIconFactory field that allows customizing reaction icons. #3046
  • MessageText now requires the parameter onLongItemClick: (Message) -> Unit. This was done in order to mitigate ClickableText consuming all pointer events. #3137
  • Renamed the state.channel package to state.channels for consistency. #3143
  • Renamed the viewmodel.channel package to viewmodel.channels for consistency. #3143
  • Moved the contents of the ui.imagepreview and ui.mediapreview packages to ui.attachments.preview. #3143
  • Moved the preview handlers from the ui.filepreview package to ui.attachments.preview.handler #3143

❌ Removed

  • Removed "Pin message", "Reply", "Thread reply" message actions for messages that are not synced. #3226

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

NewReleases is sending notifications on new releases.