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, whenenforce_unique_usernames
is enabled. #5896 - Introduce
getUnreadCounts
to theChatClient
. #5897
stream-chat-android-ui-common
✅ Added
- Introduce
ChannelAttachmentsViewController
,ChannelAttachmentsViewAction
,ChannelAttachmentsViewEvent
, andChannelAttachmentsViewState
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
andChannelAttachmentsViewModelFactory
. #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 singlePlayer
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
, andMessage Reactions
. #5904
✅ Added
- Introduce
ChannelAttachmentsViewModel
andChannelAttachmentsViewModelFactory
. #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
, andcontentColor
toAttachmentPickerTheme
. #5903
⚠️ Changed
- Deprecate
StreamAttachmentFactories.defaultFactories()
in favor ofStreamAttachmentFactories.defaults()
. #5908 - Deprecate
GiphyAttachmentContent
in favor ofGiphyAttachmentContent
with theonItemClick
lambda parameter that accepts aGiphyAttachmentClickData
. #5908 - Deprecate
LinkAttachmentContent
in favor ofLinkAttachmentContent
with theonItemClick
lambda parameter that accepts aLinkAttachmentClickData
. #5908 - Deprecate
MediaAttachmentContent
in favor ofMediaAttachmentContent
with theonItemClick
lambda parameter that accepts aMediaAttachmentClickData
. #5908 - Deprecate
GiphyAttachmentFactory
constructor that acceptsonContentItemClick
in favor of the one that acceptsonItemClick
lambda parameter that accepts aGiphyAttachmentClickData
. #5908 - Deprecate
LinkAttachmentFactory
constructor that acceptsonContentItemClick
in favor of the one that acceptsonItemClick
lambda parameter that accepts aLinkAttachmentClickData
. #5908 - Deprecate
MediaAttachmentFactory
constructor that acceptsonContentItemClick
in favor of the one that acceptsonItemClick
lambda parameter that accepts aMediaAttachmentClickData
. #5908