Skip to content

v6.8.0

Latest
Compare
Choose a tag to compare
@stream-public-bot stream-public-bot released this 18 Dec 13:14

Common changes for all artifacts

⬆️ Improved

  • Internal "Resolve Dependency" process improvements. #5514

✅ Added

  • Add Channel.membership.pinnedAt property notifiying if/when a channel was pinned by the current user. #5513
  • Add Channel.membership.archiveAt property notifiying if/when a channel was archived by the current user. #5513
  • Add support for moderation V2. Add moderation field in Message model to support the new version of moderation. #5493

⚠️ Changed

  • 🚨 Breaking change: ViewModels related with "searching messages" feature provide a List<MessageResult> instead of a List<Message>. #5500

stream-chat-android-client

✅ Added

  • Add ChatClient.pinChannel and ChannelClient.unpinChannel methods to pin/unpin a channel. #5513
  • Add ChatClient.archiveChannel and ChannelClient.unarchiveChannel methods to archive/unarchive a channel. #5513
  • Add ChannelClient.pinChannel and ChannelClient.unpinChannel methods to pin/unpin a channel. #5513
  • Add ChannelClient.archiveChannel and ChannelClient.unarchiveChannel methods to archive/unarchive a channel. #5513
  • Add CreateChannelListener::onCreateChannelRequest(String, String, CreateChannelParams, User) for performing actions before launching a request for creating a channel. #5502
  • Add ChatClient::createChannel(String, String, CreateChannelParams) for creating a channel with custom data for its members. #5502
  • Add ChannelClient::createChannel(CreateChannelParams) for creating a channel with custom data for its members. #5502
  • Add ChatClient::addMembers(String, String, AddMembersParams) for adding members with custom data to a channel. #5502
  • Add ChannelClient::addMembers(AddMembersParams) for adding members with custom data to a channel. #5502

⚠️ Changed

  • Deprecate CreateChannelListener::onCreateChannelRequest(String, String, List<String>, Map<String, Any>, User) in favor of the new CreateChannelListener::onCreateChannelRequest(String, String, CreateChannelParams, User). #5502

stream-chat-android-state

⬆️ Improved

  • The ChannelState is updated with new members after querying member with ChatClient::queryMembers. #5517

stream-chat-android-ui-common

⬆️ Improved

  • Exposed expose audio recording params in DefaultStreamMediaRecorder to allow customization. #5520

stream-chat-android-ui-components

⬆️ Improved

  • Add support for partial media access in MediaAttachmentFragment and FileAttachmentFragment for Android 14+. #5524

✅ Added

  • Add ThreadListView component for showing the list of threads for the user. #5491
  • Hide messages with moderated pictures. #5525

stream-chat-android-compose

🐞 Fixed

  • Fix keyboard not closing when opening the attachments picker from MessagesScreen. #5506
  • The ChatTheme.downloadAttachmentUriGenerator and ChatTheme.downloadRequestInterceptor properties are forwarded within the MediaGalleryPreviewActivity to be used when downloading attachments. #5522

⬆️ Improved

  • Add support for partial media access in AttachmentsPickerImagesTabFactory and AttachmentsPickerFilesTabFactory for Android 14+. #5518

✅ Added

  • The StreamAttachmentFactories.defaultFactories() method now accepts a skipTypes parameter to skip specific factory types. #5494
  • Add ChatTheme.keyboardBehaviour property to customize different keyboard behaviours. #5506
  • Add MessageOptionItemVisibility.isBlockUserVisible property to show/hide the block user option. #5512
  • Add ChatTheme.channelOptionsTheme property to customize the channel options. #5513
  • Add SearchResultItemState.channel property containing the cached info of the channel where the message was sent. #5500
  • Hide messages with moderated pictures. #5525
  • Add MessageTheme.mentionColor property for customizing the mentions color in messages. #5528

⚠️ Changed

  • 🚨 Breaking change: The SearchResultNameFormatter.formatMessageTitle method receives a SearchResultItemState instead of a Message. #5500