Releases: GetStream/stream-chat-android
Releases · GetStream/stream-chat-android
6.30.1
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
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
NotificationActionsFactoryfor 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
isAppInForegroundAsStatelifecycle observer removal occurs on the main thread. #6033
⬆️ Improved
- Fix
StrictModeviolations in theAttachmentsPicker. #6029
6.29.0
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
CreateDevicewhen connecting a user or after a push token refresh. #6023
✅ Added
- Add
filter_tagstoChannel. #6006 - Add option to hide history before given date when adding members to a channel. #6020
stream-chat-android-state
🐞 Fixed
- Prevent duplicate
GetOrCreateChannelcalls when paginating messages. #6016
✅ Added
- Add
StatePluginConfig.isAutomaticSyncOnReconnectEnabledfor configuring the automatic sync process on connect/reconnect. #6017
⚠️ Changed
- Deprecate
StatePluginConfig.backgroundSyncEnabled. #6017
stream-chat-android-ui-common
🐞 Fixed
- Fix
Thread Replyoption 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.exoplayerlibrary. #6013
6.28.0
Common changes for all artifacts
✅ Added
- Introduce message delivery receipts. #5979
stream-chat-android-client
⬆️ Improved
- Use
ExoPlayerinstead ofMediaPlayerfor audio message playback. #5980
✅ Added
- Introduce
Channel.userReadextension function to get the read status of a specific user in the channel. #5979 - Introduce
Channel.readsOfextension function to get the read statuses representing which users have read the given message in the channel. #5979 - Introduce
ChatClient.markMessageAsDeliveredto 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
PollConfigconstructor with support for extra custom data for the poll and the poll options. #5966
⚠️ Changed
- Deprecate
Channel.hasUnreadproperty in favor ofChannel.currentUserUnreadCount. #5979 - Deprecate
PollConfigconstructor without support for custom data. #5966 - Deprecate
ChatClient.suggestPollOption(pollId: String, option: String)in favour ofChatClient.createPollOption(pollId: String, option: CreatePollOptionRequest). #5966
stream-chat-android-ui-common
🐞 Fixed
- Use a Stream specific cache directory for the
coil:3.x.xinstance to avoid potential clash with the default (image_cache) directory from an existingcoil2.x.xinstance. #6002
6.27.0
stream-chat-android-offline
⬆️ Improved
- Fallback to empty
Userinstead 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
6.26.1
stream-chat-android-state
🐞 Fixed
- Fix
markChannelAsReadnot working whenlastReadMessageIdis correct butunreadCount> 0. #5994
⬆️ Improved
- Prioritize
Message.createdLocallyAtoverMessage.createdAtwhen 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
MessagesScreenoverlapping with itself when auto-scrolling to a message which is not loaded. #5990
6.26.0
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.newevents. #5963 - Fix polls not updated live when they are a thread parent message. #5968
stream-chat-android-ui-components
🐞 Fixed
- Fix
MessageComposerViewnot respectingsend-messageandsend-replychannel capabilities. #5973
stream-chat-android-compose
🐞 Fixed
- Fix
MessageComposernot respectingsend-messageandsend-replychannel capabilities. #5973
6.25.1
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
CreatePollScreencomposable to expose the poll creation functionality outside of attachment picker factories. #5958
6.25.0
stream-chat-android-client
✅ Added
- Add support for
message.updatedandreaction.newpush notifications. #5935 - Add
skipPushparameter toChatClient.sendReactionto 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.pushPreferencefield representing the logged in user's global push notification preferences. #5942 - Add
Channel.pushPreferencefield 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
StorageHelperandAttachmentFilteras public to fixStorageHelperWrappernot instantiable. #5954
✅ Added
- Add
ReactionPushEmojiFactoryfor 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.reactionPushEmojiFactoryfor 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
SwipeToReplycomponent in scroller containers. #5946 - Preserve scroll position on configuration changes in
MessageList. #5957
✅ Added
- Add
ChatTheme.reactionPushEmojiFactoryfor customizing the emoji codes for reaction push notifications. #5935 - Add
rememberCaptureMediaLauncherfor registering an activity result launcher to capture media using the device camera. #5955
⚠️ Changed
- Change
AttachmentPickerActionfromsealed interfacetointerfaceto allow extension outside of the SDK. #5943
6.24.0
Common changes for all artifacts
✅ Added
- Add support for
user.messages.deletedevent. #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 ofThreadsViewModelFactory(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