Skip to content

Releases: GetStream/stream-chat-android

6.30.1

22 Dec 12:33

Choose a tag to compare

stream-chat-android-client

🐞 Fixed

  • Fix default notification channel created even if SDK notifications are disabled. #6054

stream-chat-android-state

🐞 Fixed

  • Fix issue causing gaps in the message list due to messages inserted out of order. #6055

stream-chat-android-ui-components

🐞 Fixed

  • Fix unable to open threads whose root message was deleted. #6046

stream-chat-android-compose

🐞 Fixed

  • Fix unable to open threads whose root message was deleted. #6046

6.30.0

12 Dec 11:16

Choose a tag to compare

stream-chat-android-client

✅ Added

  • Add ChatClient.queryReactions(String, FilterObject?, Int?, String?, QuerySorter<Reaction>?) operation for querying reactions with filtering, sorting, and pagination support. #6040
  • Add ChatClient.markUnread(String, String, Date) for marking a channel as unread from a given timestamp. #6027
  • Add ChatClient.markThreadUnread(String, String, String) for marking a thread as unread. #6027
  • Add ChannelClient.markUnread(Date) for marking a channel as unread from a given timestamp. #6027
  • Add ChannelClient.markThreadUnread(String) for marking a thread as unread. #6027
  • Add NotificationActionsFactory for building and customizing the default notification actions. #6037

⚠️ Changed

  • Deprecate ChatClient.markThreadUnread(String, String, String, String) because marking a thread as unread from a given message is currently not supported. #6027
  • Deprecate ChannelClient.markThreadUnread(String, String) because marking a thread as unread from a given message is currently not supported. #6027
  • Deprecate ChannelClient.getReactions(messageId: String, firstReactionId: String, limit: Int) because it is no longer supported. #6039

stream-chat-android-compose

🐞 Fixed

  • Ensure isAppInForegroundAsState lifecycle observer removal occurs on the main thread. #6033

⬆️ Improved

  • Fix StrictMode violations in the AttachmentsPicker. #6029

6.29.0

28 Nov 15:38

Choose a tag to compare

stream-chat-android-client

🐞 Fixed

  • Prevent marking thread replies as delivered. #6011
  • Fix channel ordering glitch (exclude thread replies from the last channel message calculation). #6012

⬆️ Improved

  • Prevent potential duplicate calls to the CreateDevice when connecting a user or after a push token refresh. #6023

✅ Added

  • Add filter_tags to Channel. #6006
  • Add option to hide history before given date when adding members to a channel. #6020

stream-chat-android-state

🐞 Fixed

  • Prevent duplicate GetOrCreateChannel calls when paginating messages. #6016

✅ Added

  • Add StatePluginConfig.isAutomaticSyncOnReconnectEnabled for configuring the automatic sync process on connect/reconnect. #6017

⚠️ Changed

  • Deprecate StatePluginConfig.backgroundSyncEnabled. #6017

stream-chat-android-ui-common

🐞 Fixed

  • Fix Thread Reply option visible for messages belonging to a thread. #6021

stream-chat-android-ui-components

🐞 Fixed

  • Fix ExoPlayer crash when playing a video, happening when the integration app is using the legacy com.google.android.exoplayer library. #6013

6.28.0

17 Nov 13:31

Choose a tag to compare

Common changes for all artifacts

✅ Added

  • Introduce message delivery receipts. #5979

stream-chat-android-client

⬆️ Improved

  • Use ExoPlayer instead of MediaPlayer for audio message playback. #5980

✅ Added

  • Introduce Channel.userRead extension function to get the read status of a specific user in the channel. #5979
  • Introduce Channel.readsOf extension function to get the read statuses representing which users have read the given message in the channel. #5979
  • Introduce ChatClient.markMessageAsDelivered to mark a message as delivered for the current user. #5979
  • Add ChatClient.getPoll(pollId: String) for retrieving a poll by its ID. #5966
  • Add ChatClient.partialUpdatePoll(pollId: String, set: Map<String, Any>, unset: List<String>) for partially updating a poll. #5966
  • Add ChatClient.createPollOption(pollId: String, option: CreatePollOptionRequest) for creating a poll option. #5966
  • Add ChatClient.updatePollOption(pollId: String, option: UpdatePollOptionRequest) for updating a poll option. #5966
  • Add ChatClient.deletePollOption(pollId: String, optionId: String) for deleting a poll option. #5966
  • Add ChatClient.queryPollVotes(pollId: String, filter: FilterObject?, limit: Int?, next: String?, sort: QuerySorter<Vote>?) for querying poll votes with filtering, sorting, and pagination support. #5966
  • Add ChatClient.queryPolls(filter: FilterObject?, limit: Int?, next: String?, sort: QuerySorter<Poll>?) for querying polls with filtering, sorting, and pagination support. #5966
  • Add PollConfig constructor with support for extra custom data for the poll and the poll options. #5966

⚠️ Changed

  • Deprecate Channel.hasUnread property in favor of Channel.currentUserUnreadCount. #5979
  • Deprecate PollConfig constructor without support for custom data. #5966
  • Deprecate ChatClient.suggestPollOption(pollId: String, option: String) in favour of ChatClient.createPollOption(pollId: String, option: CreatePollOptionRequest). #5966

stream-chat-android-ui-common

🐞 Fixed

  • Use a Stream specific cache directory for the coil:3.x.x instance to avoid potential clash with the default (image_cache) directory from an existing coil2.x.x instance. #6002

6.27.0

11 Nov 17:36

Choose a tag to compare

stream-chat-android-offline

⬆️ Improved

  • Fallback to empty User instead of crashing if the searched user is not yet inserted into the DB. #5998

stream-chat-android-state

🐞 Fixed

  • Fix jump to message overwriting the initially loaded messages in the channel. #6000

stream-chat-android-ui-common

✅ Added

  • Add MessageListController.hideUnreadSeparator() method to manually hide the unread separator. #6001

stream-chat-android-ui-components

✅ Added

  • Add MessageListViewModel.hideUnreadSeparator() method to manually hide the unread separator. #6001

stream-chat-android-compose

✅ Added

  • Add MessageListViewModel.hideUnreadSeparator() method to manually hide the unread separator. #6001
  • Add MentionStyleFactory for customizing mentions in the message composer. #5984

6.26.1

07 Nov 15:48

Choose a tag to compare

stream-chat-android-state

🐞 Fixed

  • Fix markChannelAsRead not working when lastReadMessageId is correct but unreadCount > 0. #5994

⬆️ Improved

  • Prioritize Message.createdLocallyAt over Message.createdAt when sorting messages, to ensure the message order is consistent before the messages are synced with the server. #5993

stream-chat-android-ui-common

🐞 Fixed

  • Fix thread messages not grouped properly. #5985
  • Fix unread indicator showing for own messages after logout/login. #5991

stream-chat-android-compose

🐞 Fixed

  • Fix MessagesScreen overlapping with itself when auto-scrolling to a message which is not loaded. #5990

6.26.0

24 Oct 15:45

Choose a tag to compare

stream-chat-android-client

✅ Added

  • Add support for deleting messages only for the current user. #5967

stream-chat-android-offline

✅ Added

  • Add support for deleting messages only for the current user. #5967

stream-chat-android-state

🐞 Fixed

  • Fix poll state getting overridden by message.new events. #5963
  • Fix polls not updated live when they are a thread parent message. #5968

stream-chat-android-ui-components

🐞 Fixed

  • Fix MessageComposerView not respecting send-message and send-reply channel capabilities. #5973

stream-chat-android-compose

🐞 Fixed

  • Fix MessageComposer not respecting send-message and send-reply channel capabilities. #5973

6.25.1

14 Oct 09:57

Choose a tag to compare

stream-chat-android-compose

🐞 Fixed

  • Fix unsent messages should be placed as the last ones in the message list. #5959
  • Fix poll creation screen not persisting its state after an orientation change. #5958

✅ Added

  • Add CreatePollScreen composable to expose the poll creation functionality outside of attachment picker factories. #5958

6.25.0

10 Oct 16:30

Choose a tag to compare

stream-chat-android-client

✅ Added

  • Add support for message.updated and reaction.new push notifications. #5935
  • Add skipPush parameter to ChatClient.sendReaction to skip sending push notifications for the reaction. #5935
  • Add ChatClient.setUserPushPreference(level: PushPreferenceLevel) for setting the global (user) preferences. #5942
  • Add ChatClient.setChannelPushPreference(cid: String, level: PushPreferenceLevel) for setting the channel-specific preferences. #5942
  • Add ChatClient.snoozeUserPushNotifications(until: Date) for global (user) snoozing of push notifications. #5942
  • Add ChatClient.snoozeChannelPushNotifications(cid: String, until: Date) for channel-specific snoozing of push notifications. #5942
  • Add User.pushPreference field representing the logged in user's global push notification preferences. #5942
  • Add Channel.pushPreference field representing the logged in user's channel-specific push notification preferences. #5942

stream-chat-android-state

🐞 Fixed

  • Fix increasing unread count for muted channels. #5947

stream-chat-android-ui-common

🐞 Fixed

  • Fix unread separator showing before an uncommitted pending message. #5945
  • Fix unread separator showing before a message that was sent while offline. #5945
  • Expose StorageHelper and AttachmentFilter as public to fix StorageHelperWrapper not instantiable. #5954

✅ Added

  • Add ReactionPushEmojiFactory for generating emoji codes for reaction push notifications. #5935

stream-chat-android-ui-components

🐞 Fixed

  • Fix mute/unmute instant command icons. #5938
  • Show "Leave Conversation" and "Add Member" only for group channels. #5960

✅ Added

  • Add ChatUi.reactionPushEmojiFactory for customizing the emoji codes for reaction push notifications. #5935

stream-chat-android-compose

🐞 Fixed

  • Fix mute/unmute instant command icons. #5938
  • Fix recompositions of MessageListStartOfTheChannelItemContent. #5944
  • Show "Leave Conversation" and "Add Member" only for group channels. #5960

⬆️ Improved

  • Improve SwipeToReply component in scroller containers. #5946
  • Preserve scroll position on configuration changes in MessageList. #5957

✅ Added

  • Add ChatTheme.reactionPushEmojiFactory for customizing the emoji codes for reaction push notifications. #5935
  • Add rememberCaptureMediaLauncher for registering an activity result launcher to capture media using the device camera. #5955

⚠️ Changed

  • Change AttachmentPickerAction from sealed interface to interface to allow extension outside of the SDK. #5943

6.24.0

26 Sep 16:07

Choose a tag to compare

Common changes for all artifacts

✅ Added

  • Add support for user.messages.deleted event. #5895

stream-chat-android-client

✅ Added

  • Add filtering and sorting options for QueryThreads. #5931

stream-chat-android-ui-components

🐞 Fixed

  • Fix the inconsistency in the channel attachments items between XML and Compose SDKs. #5939

✅ Added

  • Add ThreadsViewModelFactory(QueryThreadsRequest) constructor supporting fully customizable queries for threads. #5931

⚠️ Changed

  • Deprecate ThreadsViewModelFactory(threadLimit, threadReplyLimit, threadParticipantLimit) constructor in favor of ThreadsViewModelFactory(QueryThreadsRequest) constructor. #5931

stream-chat-android-compose

🐞 Fixed

  • Fix the inconsistency in the channel attachments items between XML and Compose SDKs. #5939

⬆️ Improved

  • Remove the fixed height modifier in FileUploadItem. #5932

✅ Added

  • Introduce share action to the ChannelMediaAttachmentsPreviewScreen. #5927
  • Add ThreadsViewModelFactory(QueryThreadsRequest) constructor supporting fully customizable queries for threads. #5931

⚠️ Changed

  • Deprecate unused component AudioWaveVSeekbar. #5932
  • Deprecate ThreadsViewModelFactory(threadLimit, threadReplyLimit, threadParticipantLimit) constructor in favor of ThreadsViewModelFactory(QueryThreadsRequest) constructor. #5931