Common changes for all artifacts
⚠️ Changed
- Updated external libraries version. Check the PR to get more details.#3976
- Updated Compose Compiler version to
1.3.0
, Compose UI version to1.2.1
, and Kotlin version to1.7.10
. #4019
stream-chat-android-client
🐞 Fixed
- Rename of field for optional multi bundle push provider. Now projects with multiple push providers will correct correctly. #4008
- Fixed blinking unread count indicator. #4030
- Fixed push notification reply action. #4046
✅ Added
- Added properties
originalHeight
andoriginalWidth
toAttachment
. These represent the original dimensions of an image attachment. #4011
stream-chat-android-offline
⬆️ Improved
- Improved updating channels after receiving
NotificationMessageNew
event. #3991 - Improved updating channels after receiving
NewMessageEvent
. The channel will be added to the list if the message is not a system message. #3999 ThreadState
is now independent fromChannelState
. [#3959]
✅ Added
loading
is added toThreadState
. [#3959]
⚠️ Changed
- Deprecated
NonMemberChatEventHandler
. UseBaseChatEventHandler
orDefaultChatEventHandler
for custom implementation. #3991 - Deprecated multiple event specific
BaseChatEventHandler
methods . UsehandleChatEvent()
orhandleCidEvent()
instead. #3991 - Made
DefaultChatEventHandler
open. You can extend it to change default member-based events handling. #3991 - 🚨 Breaking change:
ChatEventHandlerFactory::chatEventHandler
signature was changed. It now requiresStateFlow<Map<String, Channel>?>
instead ofStateFlow<List<Channel>?>
#3992 - Added additional
chatEventHandlerFactory
parameter toChatClient.queryChannelsAsState
which allows you to customizechatEventHandler
associated with the query. #3992
stream-chat-android-ui-components
🐞 Fixed
- Fixed a crash when passing content URIs without duration metadata to the
StorageHelper::.getAttachmentsFromUriList
method. 4002 - Image attachment containers now posses the correct fixed size prior to loading, avoiding message items around messages containing images from "jumping". This is applicable only to image attachments which contain non-null values
Attachment.originalWidth
andAttachment.originalHeight
properties. #4011 - Fixed a bug when a reaction left by the current user appears as a reaction left by some other user. 4035#
✅ Added
- Add
streamUiAttachmentsPickerMediaAttachmentsTabEnabled
,streamUiAttachmentsPickerFileAttachmentsTabEnabled
andstreamUiAttachmentsPickerCameraAttachmentsTabEnabled
attributes toMessageComposerView
that allow to show/hide particular tabs in the attachment picker. #3977 - Add
streamUiMediaAttachmentsTabEnabled
,streamUiFileAttachmentsTabEnabled
andstreamUiCameraAttachmentsTabEnabled
attributes toMessageInputView
that allow to show/hide particular tabs in the attachment picker.. #3977 - Add the
attachmentsPickerTabFactories
parameter toAttachmentSelectionDialogFragment
that allows to create a custom tab for the attachment picker. #3977
⚠️ Changed
- Link attachment previews now feature a more compact image preview container. #4011
stream-chat-android-compose
🐞 Fixed
- Fixed a crash when passing content URIs without duration metadata to the
StorageHelperWrapper::.getAttachmentsFromUris
method. 4002 - Fixed a bug when a reaction left by the current user appears as a reaction left by some other user. 4035#
⬆️ Improved
ImageAttachmentContent
is no longer statically sized. It now auto-sizes itself according to the image attachment dimension ratio. If you wish to limit the maximum height of image attachments, please useStreamDimens.attachmentsContentImageMaxHeight
. #4013
✅ Added
- Added additional
chatEventHandlerFactory
parameter toChannelListViewModel
andChannelListViewModelFactory
that allows customizingChatEventHandler
. #3997 - Added the
tabFactories
parameter toAttachmentsPicker
that allows to control the list of tabs displayed in the picker. #3994 - Added parameter
attachmentsContentImageMaxHeight
toStreamDimens
. #4013
⚠️ Changed
StreamDimens
constructor containing parameterattachmentsContentImageHeight
has been deprecated. Please use the one without it. This has been done because images displayed byImageAttachmentContent
inside the message list now auto-size themselves intelligently according to their aspect ratio. If you wish to limit the maximum vertical height of such images, useStreamDimens.attachmentsContentImageMaxHeight
. #4013