Skip to content

Releases: GetStream/stream-chat-android

v5.17.23

15 Feb 07:33
Compare
Choose a tag to compare

February 14th, 2024 - 5.17.23

stream-chat-android-state

🐞 Fixed

  • Channel State is properly updated after member removal. #5166

v6.0.14

13 Feb 17:58
Compare
Choose a tag to compare

stream-chat-android-client

🐞 Fixed

  • Prevent inserting reaction which violates ForeignKey constraint in local DB. #5164
  • Fixed crash in ChatEventsObservable.onNext. #5165

✅ Added

  • Added DeleteChannelListener. #5164

stream-chat-android-offline

🐞 Fixed

  • Prevent sending reaction for non-existing message. #5164
    • SendReactionListener.onSendReactionPrecondition is now suspendable function.
  • Remove the deleted Message from cached Channel.messages collection. #5170

stream-chat-android-state

🐞 Fixed

  • Clear stale cache inside StateRegistry. #5164
  • Unread messages count is now updated properly. #5175

stream-chat-android-ui-common

⚠️ Changed

  • 🚨Breaking change: Changed MessagePositionHandler.handleMessagePosition signature. #5168
    • Added isInThread: Boolean parameter.

stream-chat-android-ui-components

✅ Added

  • Added new listeners and corresponding setters to MessageListView to allow better behaviour customization. #5161
    • OnEnterThreadListener and MessageListView.setOnEnterThreadListener
    • OnMessageClickListener and MessageListView.setOnMessageClickListener
    • OnReplyMessageClickListener and MessageListView.setOnReplyMessageClickListener
    • OnMessageRetryListener and MessageListView.setOnMessageRetryListener
    • OnMessageLongClickListener and MessageListView.setOnMessageLongClickListener
    • OnModeratedMessageLongClickListener and MessageListView.setOnModeratedMessageLongClickListener
    • OnThreadClickListener and MessageListView.setOnThreadClickListener
    • OnAttachmentClickListener and MessageListView.setOnAttachmentClickListener
    • OnAttachmentDownloadClickListener and MessageListView.setOnAttachmentDownloadClickListener
    • OnGiphySendListener and MessageListView.setOnGiphySendListener
    • OnLinkClickListener and MessageListView.setOnLinkClickListener
    • OnUserClickListener and MessageListView.setOnUserClickListener
    • OnReactionViewClickListener and MessageListView.setOnReactionViewClickListener
    • OnUserReactionClickListener and MessageListView.setOnUserReactionClickListener
  • Added messageBuilder parameter to MessageComposerViewModel.bindView to allow customizing the message builder. #5169

stream-chat-android-compose

🐞 Fixed

  • Fix annotated messages not being building proper links. #5163

v6.0.8

01 Mar 14:10
Compare
Choose a tag to compare

Common changes for all artifacts

✅ Added

  • Added Message.moderationDetails due to support of the new moderation API. #5035
  • Added MessageModerationDetails class.

❌ Removed

  • Removed Message.syncDescription due to removal of the old moderation API. #5035
  • Removed MessageSyncContent class and its subclasses.
  • Removed MessageSyncType class.

stream-chat-android-client

🐞 Fixed

  • Fixed duplicate send message requests. 5039

⬆️ Improved

  • Pass message with result in SendMessageDebugger. #5037
  • Use shortService instead of dataSync for our workmanager job. #5041

stream-chat-android-ui-common

✅ Added

  • Added callback param to MessageComposerController.sendMessage method. #5038

stream-chat-android-ui-components

🐞 Fixed

  • Fixed channel title not being centered vertically when mo last message exists. #5043

✅ Added

  • Added callback param to MessageComposerViewModel.sendMessage method. #5038
  • Added UI customizations for deleted message. #5050
    • MessageListItemStyle.textStyleMessageDeletedMine
    • MessageListItemStyle.messageDeletedBackgroundMine
    • MessageListItemStyle.textStyleMessageDeletedTheirs
    • MessageListItemStyle.messageDeletedBackgroundTheirs

⚠️ Changed

  • Supported new moderation API. #5035

stream-chat-android-compose

✅ Added

  • Added callback param to MessageComposerViewModel.sendMessage method. #5038

⚠️ Changed

  • Supported new moderation API. #5035

v6.0.13

24 Jan 18:45
Compare
Choose a tag to compare

stream-chat-android-client

🐞 Fixed

  • Ensure PushNotification Permissions are only requested on the case NotificationConfig.requestPermissionOnAppLaunch lambda returns true.#5158

⚠️ Changed

  • Exposed Decorator and related classes for the better MessageListView customization. #5144

stream-chat-android-state

✅ Added

  • Open ChatClient.getMessageUsingCache() extension method. [#5153](#5153

stream-chat-android-ui-common

🐞 Fixed

  • Fixed unread count not being cleared while user is inside a channel. #5146

✅ Added

  • Added StartOfTheChannelItemState, a new MessageListItemState that represent the start of the channel inside a message list. #5145

⚠️ Changed

  • Changed AttachmentConstants.MAX_ATTACHMENTS_COUNT to align with the API limits. #5159

stream-chat-android-ui-components

🐞 Fixed

  • Fixed blinking of the message list. #5150

✅ Added

  • Added StartOfTheChannelItem, a new MessageListItem that represent the start of the channel inside a message list. #5145

stream-chat-android-compose

✅ Added

  • Added startOfTheChannelItemState composable function to MessageContainer to be able to render the start of the channel. #5145

v5.17.21

15 Jan 20:18
Compare
Choose a tag to compare

January 15th, 2023 - 5.17.21

stream-chat-android-client

⬆️ Improved

  • Protected PN related requests from repeated usage. #5110
    • Prevented ChatClient.getDevices from duplicate requests.
    • Prevented ChatClient.addDevice from duplicate requests.
    • Prevented ChatClient.deleteDevice from duplicate requests.
    • Added debouncing logic into PushTokenUpdateHandler

stream-chat-android-ui-components

🐞 Fixed

  • Fixed old messages being marked as read by freshly added members. #5138

stream-chat-android-compose

🐞 Fixed

  • Fixed unread count not being cleared. #5116

v6.0.12

09 Jan 19:48
Compare
Choose a tag to compare

stream-chat-android-core

❌ Removed

  • Removed field name notation transformation from QuerySortByField. Now QuerySortByField does not transform field name from snake case to camel case. #5140

stream-chat-android-client

🐞 Fixed

  • Fixed crash when playing completed voice message. #5135
  • Fixed send attachment without the offline plugin. #5142

stream-chat-android-ui-components

✅ Added

  • Added UserAvatarRenderer and ChannelAvatarRenderer to customize avatars. #5141

v6.0.11

22 Dec 14:12
Compare
Choose a tag to compare

Common changes for all artifacts

⬆️ Improved

  • Improved unread count behavior, it relies on read property. #5117

✅ Added

  • Added Channel.currentUserUnreadCount extension property to get the unread count for the current user. #5117

⚠️ Changed

  • Deprecated Channel.unreadCount property, use Channel.currentUserUnreadCount instead. #5117

stream-chat-android-client

🐞 Fixed

  • Fixed crash in StreamMediaPlayer when playing audio after re-login. #5120

⬆️ Improved

  • Protected PN related requests from repeated usage. #5130
    • Prevented ChatClient.getDevices from duplicate requests.
    • Prevented ChatClient.addDevice from duplicate requests.
    • Prevented ChatClient.deleteDevice from duplicate requests.
    • Added debouncing logic into PushTokenUpdateHandler

✅ Added

  • Create new feature to mark a channel as unread. #5103
  • Added a new NotificationMarkUnreadEvent event type. #5103

stream-chat-android-state

⬆️ Improved

  • SyncManager handles "Too many events to sync" error properly. #5126

stream-chat-android-ui-components

✅ Added

  • Added a new menu option to mark a channel as unread. #5103
  • Added a new Unread Separator component. #5122
  • Added AudioRecordPlayerViewStyle to customize the audio record player view. #5119
  • Added support for automatic translations #5123
    • Enabled by ChatUI.autoTranslationEnabled
  • Added MessageListItemStyle.textStyleReadCounter to customize the read counter text style. #5131

stream-chat-android-compose

🐞 Fixed

  • Fixed unread count not being cleared. #5115

✅ Added

  • Added a new menu option to mark a channel as unread. #5129
  • Added a new Unread Separator component. #5122

v6.0.10

11 Dec 15:55
Compare
Choose a tag to compare

stream-chat-android-core

⚠️ Changed

  • 🚨Breaking change: The following properties in User class are now nullable: banned, invisible. #5107
    • Please use User.isBanned as non-nullable version.
    • Please use User.isInvisible as non-nullable version.
    • Properties such as invisible, banned, teams and role are not being used to establish WS connection flow if not specified.

stream-chat-android-state

🐞 Fixed

  • Fix wrong Message.ownReactions. #5106

stream-chat-android-ui-common

🐞 Fixed

  • Fixed broken date formatting. #5101
  • Fixed thread separator ui order. #5098
    • MessageListController.showThreadSeparatorInEmptyThread was added to control the visibility of the thread separator in empty threads.
  • Fixed MessageList scrolling behaviour while receiving a new message. #5112
    • NewMessageState.MyOwn and NewMessageState.Other are now data classes.

stream-chat-android-ui-components

🐞 Fixed

  • Fixed MessageClickListener never being called. #5096
  • Fixed thread separator ui order. #5098
    • MessageListViewModelFactory.showThreadSeparatorInEmptyThread was added to control the visibility of the thread separator in empty threads.
  • Fixed: Regex was not correctly escaped in getOccurrenceRanges #5109

stream-chat-android-compose

🐞 Fixed

  • Fixed thread separator ui order. #5098
    • MessagesViewModelFactory.showThreadSeparatorInEmptyThread was added to control the visibility of the thread separator in empty threads.

⬆️ Improved

  • Removed attachment picker customization limitation for AttachmentsPickerTabFactory non-file implementations. #5104

v5.17.20

07 Dec 19:09
Compare
Choose a tag to compare

December 7th, 2023 - 5.17.20

stream-chat-android-client

⚠️ Changed

  • 🚨Breaking change: The following properties in User class are now nullable: banned, invisible. #5105
    • Please use User.isBanned as non-nullable version.
    • Please use User.isInvisible as non-nullable version.
    • Properties such as invisible, banned, teams and role are not being used to establish WS connection flow if not specified.

stream-chat-android-ui-components

🐞 Fixed

  • Fix: Regex was not correctly escaped in getOccurrenceRanges #5108

v5.17.19

01 Dec 10:04
Compare
Choose a tag to compare

December 1st, 2023 - 5.17.19

stream-chat-android-client

🐞 Fixed

  • Fixed audio recording not being uploaded #5067

stream-chat-android-ui-components

🐞 Fixed

  • Fixed MessageClickListener never being called. #5095