github GetStream/stream-chat-android 4.15.1

latest releases: v6.9.0, v6.8.0, v6.7.0...
3 years ago

stream-chat-android-client

⬆️ Improved

  • Improved ChatClient::pinMessage and ChatClient::unpinMessage. Now the methods use partial message updates and the data in other Message fields is not lost.

✅ Added

  • Added Channel::isMutedFor extension function which might be used to check if the Channel is muted for User
  • Added ChatClient::partialUpdateMessage method to update specific Message fields retaining the other fields

stream-chat-android-offline

🐞 Fixed

  • Fixed updating ChannelController::muted value

⬆️ Improved

  • The following Message fields are now persisted to the database: pinned, pinnedAt, pinExpires, pinnedBy, channelInfo, replyMessageId.

stream-chat-android-ui-components

🐞 Fixed

  • Added a fix for default view for empty state of ChannelListView.
  • Fixed memory leaks for FileAttachmentsView.

✅ Added

  • Added MessageListItem.ThreadPlaceholderItem and corresponding THREAD_PLACEHOLDER view type which can be used to implement an empty thread placeholder.
  • Added authorLink to Attachment - the link to the website

❌ Removed

  • Removed UrlSigner class

stream-chat-android-compose

⬆️ Improved

  • Exposed DefaultMessageContainer as a public component so users can use it as a fallback
  • Exposed an isMine property on MessageItems, for ease of use.
  • Allowed for customization of MessageList (specifically Messages) component background, through a modifier.background() parameter.
  • Allowed for better message customization before sending the message.

⚠️ Changed

  • Moved permissions and queries from the compose sample app AndroidManifest.xml to the SDK AndroidManifest.xml so users don't have to add permissions themselves.
  • Changed the exposed type of the MessageComposer's onSendMessage handler. This way people can customize messages before we send them to the API.

❌ Removed

  • Removed currentUser parameter from DefaultMessageContainer and some other components that relied on ID comparison to know which message is ours/theirs.
  • Removed default background color on Messages component, so that users can customize it by passing in a modifier.

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

NewReleases is sending notifications on new releases.