stream-chat-android-client
🐞 Fixed
- Fixed the usage of
ProgressCallback
inChannelClient::sendFile
andChannelClient::sendImage
methods.
✅ Added
- Added
ChannelClient::deleteFile
andChannelClient::deleteImage
methods. - Added
NotificationInviteRejectedEvent
- Added
member
field to theNotificationRemovedFromChannel
event - Added
totalUnreadCount
andunreadChannels
fields to the following events: notification.channel_truncated
notification.added_to_channel
notification.channel_deleted
- Added
channel
field to theNotificationInviteAcceptedEvent
event - Added
channel
field to theNotificationInviteRejectedEvent
event
⚠️ Changed
- The client now uses a new serialization implementation by default, which was previously available as an opt-in API.
- This new implementation is more performant and greatly improves type safety in the networking code of the SDK.
- If you experience any issues after upgrading to this version of the SDK, you can call
useNewSerialization(false)
when building yourChatClient
to revert to using the old implementation. Note however that we'll be removing the old implementation soon, so please report any issues found. - To check if the new implementation is causing any failures in your app, enable error logging on
ChatClient
with thelogLevel
method, and look for theNEW_SERIALIZATION_ERROR
tag in your logs while using the SDK.
- Made the
user
field inchannel.hidden
andnotification.invite_accepter
events non nullable. - Updated channels state after
NotificationInviteRejectedEvent
orNotificationInviteAcceptedEvent
is received
❌ Removed
- Removed redundant events which can only be received by using webhooks:
channel.created
channel.muted
channel.unmuted
channel.muted
channel.unmuted
- Removed
watcherCount
field from the following events as they are not returned with the server response:message.deleted
message.read
message.updated
notification.mark_read
- Removed
user
field from the following events as they are not returned with the server response:notification.channel_deleted
notification.channel_truncated
stream-chat-android-offline
🐞 Fixed
- Fixed an issue when CustomFilter was configured with an int value but the value from the API was a double value
⚠️ Changed
- Changed the upload logic in
ChannelController
for the images unsupported by the Stream CDN. Now such images are uploaded as files viaChannelClient::sendFile
method.
❌ Removed
stream-chat-android-ui-common
⬆️ Improved
- Updated ExoPlayer version to 2.13.3
⚠️ Changed
- Deprecated
MessageInputViewModel::editMessage
. UseMessageInputViewModel::messageToEdit
andMessageInputViewModel::postMessageToEdit
instead. - Changed
MessageInputViewModel::repliedMessage
type toLiveData
. UseChatDomain::setMessageForReply
for setting message for reply. - Changed
MessageListViewModel::mode
type toLiveData
. Mode is handled internally and shouldn't be modified outside the SDK.
stream-chat-android-ui-components
🐞 Fixed
- Removed empty badge for selected media attachments.
✅ Added
- Added
messageLimit
argument toChannelListViewModel
andChannelListViewModelFactory
constructors to allow changing the number of fetched messages for each channel in the channel list.