stream-chat-android-client
⬆️ Improved
- Show rounded avatars on Push Notification when
MessagingStyleNotificationHandler
is used. #4059 - Add an option to use a custom implementation when showing avatars on Push Notifications when
MessagingStyleNotificationHandler
is used. #4069
✅ Added
- Method to switch between users
ChatClient.switchUser
. Can be used for switching between users to simplify code for disconnecting and connecting to the SDK. #4018 - Added
UploadedFile
which represents an uploaded file. It contains the url to the file under the propertyfile
, and a thumbnail of the file under the propertythumbUrl
. Thumbnails are usually returned when uploading a video file. #4058
⚠️ Changed
- 🚨 Breaking change:
ChatClient.sendFile
now returnsUploadedFile
instead ofString
.UploadedFile.file
is the equivalent of the previous return value. If you do not need the other parts ofUploadedFile
, you can use.map { it.file }
to mitigate the breaking change. #4058 - 🚨 Breaking change:
ChannelClient.sendFile
now returnsUploadedFile
instead ofString
.UploadedFile.file
is the equivalent of the previous return value. If you do not need the other parts ofUploadedFile
, you can use.map { it.file }
to mitigate the breaking change. #4058 - 🚨 Breaking change: Overloaded functions
FileUploader.sendFile()
have had their signatures changed. Instead of returningString
, they are now supposed to returnUploadedFile
. If you have extended this interface and only need the previous return functionality, you can assign a value toUploadedFile.file
while keepingUploadedFile.thumbUrl
null
. #4058 - 🚨 Breaking change: Overloaded functions
StreamFileUploader.sendFile()
have had their signatures changed. Instead of returningString
, they now returnUploadedFile
. If you do not need the other parts ofUploadedFile
, you can use.map { it.file }
to mitigate the breaking change. #4058 - 🚨 Breaking change:
ChatClient.sendImage
now returnsUploadedImage
instead ofString
.UploadedImage.file
is the equivalent of the previous return value, you can use.map { it.file }
to mitigate the breaking change. #4058 - 🚨 Breaking change:
ChannelClient.sendImage
now returnsUploadedImage
instead ofString
.UploadedImage.file
is the equivalent of the previous return value, you can use.map { it.file }
to mitigate the breaking change. #4058 - 🚨 Breaking change: Overloaded functions
FileUploader.sendImage()
have had their signatures changed. Instead of returningString
, they are now supposed to returnUploadedImage
. To mitigate these changes, you can wrap your previously returned file URL insideUploadedImage
. #4058 - 🚨 Breaking change: Overloaded functions
StreamFileUploader.sendImage()
have had their signatures changed. Instead of returningString
, they now returnUploadedImage
, you can use.map { it.file }
to mitigate the breaking change. #4058
stream-chat-android-state
⚠️ Changed
EventHandlerSequential
is now in use by default.
stream-chat-android-offline
🐞 Fixed
- Removed calls to Kotlin Collection's
getOrDefault()
insideTypingEventPruner
. The function is not available below Android API 24 and was causing exceptions. #4100
stream-chat-android-ui-common
✅ Added
- Added
hasCommands
field toMessageComposerState
to set commands button visibility. #4057 - Add an implementation of
UserIconBuilder
which uses Coil to load the avatar picture. #4069
stream-chat-android-ui-components
🐞 Fixed
- Fixed user avatar in navigation drawer of the sample app. #4050
- The commands button in
MessageComposerView
can now be used to hide the command suggestion popup. #4041 - Now "Quotes" toggle in the dashboard controls the "Reply" option in the message list. #4074
- Now "Threads & Replies" toggle in the dashboard controls the "Thread Reply" option in the message list. #4074
- Fixed a bug that made
MessageInputView
not adhere to integration visibility attributes (streamUiAttachButtonEnabled
andstreamUiLightningButtonEnabled
). #4107 - Fixed scroll state on filter change. #4105
⬆️ Improved
- Added check to hide command button if no commands are available in
MessageInputView
andMessageComposerView
. #4057 - Revert workaround for setting
ChatUI::imageHeadersProvider
introduced in #3237. #4065 - Integration button visibility inside
MessageComposerView
dictated by attributesstreamUiMessageComposerCommandsButtonVisible
andstreamUiMessageComposerAttachmentsButtonVisible
is now set prior to binding the ViewModel, improving compliance and possible flickering issues. #4107
✅ Added
- Added the
stream-chat-android-ui-guides
application that showcases different customizations of the SDK. #4024
⚠️ Changed
- 🚨 Breaking change:
ChannelListUpdateListener
is now tasked with scrolling the list to the bottom once theChannelListItem.LoadingMoreItem
is inserted after requesting a new page ofChannel
s. IfChannelListUpdateListener
insideChannelListView
is overridden in order to keep the scroll to bottom when loading a new page please copy the default implementation to the custom implementation of the listener. #4105
stream-chat-android-compose
🐞 Fixed
- Fixed the online member count indicator in the message list header. Previously it did not properly track members going offline. #4043
- Now "Quotes" toggle in the dashboard controls the "Reply" option in the message list. #4074
- Now "Threads & Replies" toggle in the dashboard controls the "Thread Reply" option in the message list. #4074
⬆️ Improved
- Added check to hide command button if no commands are available in
MessageComposer
. #4057
✅ Added
- Added the
stream-chat-android-ui-guides
application that showcases different customizations of the SDK. #4024