github GetStream/stream-chat-android 6.22.0

4 days ago

stream-chat-android-client

🐞 Fixed

  • Fix ChatClient.connectUser not propagating unrecoverable errors from the socket to the result. #5896

✅ Added

  • Add ChatErrorCode.DUPLICATE_USERNAME_ERROR covering the error case when a user tries to connect with an existing username, when enforce_unique_usernames is enabled. #5896
  • Introduce getUnreadCounts to the ChatClient. #5897

stream-chat-android-ui-common

✅ Added

  • Introduce ChannelAttachmentsViewController, ChannelAttachmentsViewAction, ChannelAttachmentsViewEvent, and ChannelAttachmentsViewState shared between XML and Compose SDKs and responsible for managing the state and events related to channel attachments, supporting pagination. #5882

stream-chat-android-ui-components

✅ Added

  • Introduce ChannelAttachmentsViewModel and ChannelAttachmentsViewModelFactory. #5882

stream-chat-android-compose

⬆️ Improved

  • Improve the uploaded attachment loading UI. #5889
  • Show message for unsupported file types during the system attachment upload. #5900
  • MediaGalleryPager now supports a single Player instead of creating a player for each video attachment. #5882
  • Scroll to the bottom when the current user sends a new message. #5907
  • Address the minor accessibility issues of Back Button, Send Button, Message Composer Cancel Button, and Message Reactions. #5904

✅ Added

  • Introduce ChannelAttachmentsViewModel and ChannelAttachmentsViewModelFactory. #5882
  • Introduce ChannelFilesAttachmentsScreen to display the channel files attachments. #5882
  • Introduce ChannelMediaAttachmentsScreen to display the channel media (photos & videos) attachments. #5882
  • Introduce ChannelMediaAttachmentsPreview, a full-screen pager that allows users to swipe through media attachments in a channel. #5882
  • Introduce checkIconBackgroundColor, checkIconTintColor, and contentColor to AttachmentPickerTheme. #5903

⚠️ Changed

  • Deprecate StreamAttachmentFactories.defaultFactories() in favor of StreamAttachmentFactories.defaults(). #5908
  • Deprecate GiphyAttachmentContent in favor of GiphyAttachmentContent with the onItemClick lambda parameter that accepts a GiphyAttachmentClickData. #5908
  • Deprecate LinkAttachmentContent in favor of LinkAttachmentContent with the onItemClick lambda parameter that accepts a LinkAttachmentClickData. #5908
  • Deprecate MediaAttachmentContent in favor of MediaAttachmentContent with the onItemClick lambda parameter that accepts a MediaAttachmentClickData. #5908
  • Deprecate GiphyAttachmentFactory constructor that accepts onContentItemClick in favor of the one that accepts onItemClick lambda parameter that accepts a GiphyAttachmentClickData. #5908
  • Deprecate LinkAttachmentFactory constructor that accepts onContentItemClick in favor of the one that accepts onItemClick lambda parameter that accepts a LinkAttachmentClickData. #5908
  • Deprecate MediaAttachmentFactory constructor that accepts onContentItemClick in favor of the one that accepts onItemClick lambda parameter that accepts a MediaAttachmentClickData. #5908

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

NewReleases is sending notifications on new releases.