Releases: GetStream/stream-chat-android
Releases · GetStream/stream-chat-android
6.31.0
stream-chat-android-client
✅ Added
- Introduce
NotificationIdFactoryfor customizing the default notification IDs. #6072
stream-chat-android-state
🐞 Fixed
- Fix
message.updatedandmessage.deletedevents unhiding the channel. #6038
stream-chat-android-ui-common
✅ Added
- Add poll results + poll option votes state/controllers to support pagination and error handling. #6043
stream-chat-android-ui-components
🐞 Fixed
- Fix poll results sheet cutting off the last option items. #6043
- Fix poll dialogs layout on edge-to-edge devices by applying system bar insets. #6043
⬆️ Improved
- Add stricter
ExoPlayercleanup logic to prevent keepingAudioMixpartial wake locks. #6075
✅ Added
- Add XML poll option votes dialog with pagination support. #6043
stream-chat-android-compose
🐞 Fixed
- Fix audio recording race conditions. #6077
- Fix poll results sheet cutting off the last option items. #6043
⬆️ Improved
- Add stricter
ExoPlayercleanup logic to prevent keepingAudioMixpartial wake locks. #6075 - Increase default search debounce period to 300ms. #6076
✅ Added
- Add Compose poll option votes dialog with pagination support. #6043
6.30.2
stream-chat-android-state
🐞 Fixed
- Fix thread replies updating channel unread count. #6056
- Fix messages from muted users increasing channel unread count. #6061
- Fix showing channels loading state when querying offline and no matching channels are found in the DB. #6051
- Fix Giphy message not appearing in channel after sending it. #6065
stream-chat-android-compose
⬆️ Improved
- Address some Lint findings #6058
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