Skip to content

Releases: GetStream/stream-chat-android

v6.2.2

23 Mar 00:07
Compare
Choose a tag to compare

stream-chat-android-core

✅ Added

  • Added Member.notificationsMuted property support. #5217

stream-chat-android-ui-components

🐞 Fixed

  • Fixed the crash happening while editing a message with a recording attachment. #5220
  • Fixed intermittent crash when opening a channel. #5219

stream-chat-android-compose

🐞 Fixed

  • Fixed MessageListViewModel.selectExtendedReactions not calling the proper function in MessageListController. #5218

✅ Added

  • Added MessageTextFormatter to format the message text. #5214
    • Can be overridden by ChatTheme.messageTextFormatter
  • Added QuotedMessageTextFormatter to format the quoted message text. #5214
    • Can be overridden by ChatTheme.quotedMessageTextFormatter
  • Added itemModifier parameter into both MessageList and Messages components to allow customizing the message item. #5209

v6.2.1

20 Mar 16:21
Compare
Choose a tag to compare

stream-chat-android-ui-components

⬆️ Improved

  • Added flag-message capability support. #5211

stream-chat-android-compose

✅ Added

  • Added flag-message capability support. #5211

v6.2.0

15 Mar 13:28
Compare
Choose a tag to compare

Common changes for all artifacts

✅ Added

  • Message entity has a new messageTextUpdatedAt property to represent the last time the message text was updated. #5200
  • FileUploadConfig entity has a new sizeLimitInBytes: property to represent the size limit for attachments. #5205

stream-chat-android-ui-common

⚠️ Changed

  • Attachment size limit is not configured client-side anymore, you should configure it on the dashboard. #5205

❌ Removed

  • Removed MessagesViewModelFactory.maxAttachmentSize property. #5205

stream-chat-android-ui-components

✅ Added

  • Edited message will show info about when they were edited. #5200

❌ Removed

  • Removed MessagesViewModelFactory.maxAttachmentSize property. #5205

stream-chat-android-compose

✅ Added

  • Edited message will show info about when they were edited. #5200
  • Added SearchMode to ChannelsScreen to allow searching for channels or messages. #5203
  • Added ChannelsList.searchResultContent comoposable lambda to render the search result content. #5203

❌ Removed

  • Removed MessagesViewModelFactory.maxAttachmentSize property. #5205

v6.1.1

05 Mar 10:47
Compare
Choose a tag to compare

stream-chat-android-ui-common

✅ Added

  • Restored user mention customization which was removed during v5-v6 migration. #5193

v6.1.0

01 Mar 13:46
Compare
Choose a tag to compare

Common changes for all artifacts

⬆️ Improved

  • Migrated the internal PhotoView library into the photoview-android, and now the stream-chat-android-ui-components doesn't need to depend on Jitpack.

⚠️ Changed

  • Bump Compose UI to 1.6.2 and Compose compiler to 1.5.10.

stream-chat-android-core

✅ Added

  • Added LinkPreview model to represent the link preview data. #5184

stream-chat-android-client

🐞 Fixed

  • Fixed ArrayIndexOutOfBoundsException in ApiRequestsDumper. #5187

⬆️ Improved

  • Ensure fresh token is used to establish WS connection. #5185

✅ Added

  • Added ChatClient.enrichUrl to enrich the URL with the preview data. #5184

stream-chat-android-ui-common

⚠️ Changed

  • Deprecated AttachmentSelectionListener class, use AttachmentsSelectionListener instead. #5178

stream-chat-android-ui-components

✅ Added

  • Added MessageComposerView.attachmentsPickerDialogBuilder lambda that allow you to create your own Picker Dialog. #5178

stream-chat-android-compose

✅ Added

  • Added MessageComposerTheme to customize the message composer. #5183
  • Added ComposerLinkPreview to show link previews in the message composer. #5184

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