Skip to content

Releases: GetStream/stream-chat-android

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

v6.0.9

24 Nov 14:21
Compare
Choose a tag to compare

stream-chat-android-client

🐞 Fixed

  • Fixed audio recording not being uploaded #5066
  • All sent messages are initialized with a non-null createdLocallyAt property. #5086
  • Fix GZIP compression not working 5068

⬆️ Improved

  • Performance fixes:
    • Faster ISO Date parser (5070)[https://github.com//pull/5070]
    • Preload KClass classes for parsing 5074
    • Faster asynchronous ChannelMutableState creation 5076
    • Delay reflection in NotificationHandlerFactory (5078)[https://github.com//pull/5078]
    • Faster SocketListener callback delivery (5082)[https://github.com//pull/5082]
    • Use DerivedStateFlow instead of stateIn (5083[https://github.com//pull/5083]

✅ Added

  • Added SocketListener.deliverOnMainthread. This allows you to disabled the default delivery on Main thread in case you are already handling it asynchronously in your code. SocketListener with deliverOnMainthread set to false will deliver the events a bit faster because there is no overhead of thread switching.

stream-chat-android-offline

✅ Added

  • Support for skip_slow_mode in the ChannelCapabilities. This allows the server to completely disable slow mode in messaging for specific users.

stream-chat-android-state

🐞 Fixed

  • Fix unread count, muted channel list and banned user list being incorrect in some cases 5084

⬆️ Improved

  • Fix issue on the pagination process when querying a channel by filling the messages list gap. #5086

stream-chat-android-ui-components

🐞 Fixed

  • Fix channel title position when typing. #5073

✅ Added

  • Added MessageComposerViewModel.bindViewDefaults which preserves the default view bindings. #5060
  • Added UI customizations for message composer. #5064
    • MessageComposerViewStyle.commandSuggestionsTitleIconDrawableTintColor
    • MessageComposerViewStyle.mentionSuggestionItemIconDrawableTintColor
    • MessageComposerViewStyle.attachmentsButtonIconTintList
    • MessageComposerViewStyle.commandsButtonIconTintList
    • MessageComposerViewStyle.sendMessageButtonIconTintList
    • MessageComposerViewStyle.audioRecordingButtonIconTintList

⚠️ Changed

  • Made MessageReplyView publicly available. #5058
  • Deprecated MessageListItemStyle.textStyleMessageDeleted. Use MessageListItemStyle.textStyleMessageDeletedMine and MessageListItemStyle.textStyleMessageDeletedTheirs instead. #5050
  • Deprecated MessageListItemStyle.messageDeletedBackground. Use MessageListItemStyle.messageDeletedBackgroundMine and MessageListItemStyle.messageDeletedBackgroundTheirs instead. #5050
  • Deprecated MessageListItemStyle.buttonIconDrawableTintColor. Use one of the params listed below instead. #5064
    • MessageComposerViewStyle.commandSuggestionsTitleIconDrawableTintColor
    • MessageComposerViewStyle.mentionSuggestionItemIconDrawableTintColor
    • MessageComposerViewStyle.attachmentsButtonIconTintList
    • MessageComposerViewStyle.commandsButtonIconTintList
    • MessageComposerViewStyle.sendMessageButtonIconTintList
    • MessageComposerViewStyle.audioRecordingButtonIconTintList
  • Made MessageComposerContent descendants extensible/reusable. #5065

v5.17.18

13 Nov 19:57
Compare
Choose a tag to compare

November 13th, 2023 - 5.17.18

stream-chat-android-client

⬆️ Improved

  • Use shortService instead of dataSync for our workmanager job. #5042

stream-chat-android-ui-components

🐞 Fixed

  • Fixed channel title not being centered vertically when mo last message exists. #5040
  • Fixed reactions bubble being cut of in UI. 5049

⬆️ Improved

  • Allow override channel's delete option visibility. #5044

✅ Added

  • Added UI customizations for deleted message. #5051
    • MessageListItemStyle.textStyleMessageDeletedMine
    • MessageListItemStyle.messageDeletedBackgroundMine
    • MessageListItemStyle.textStyleMessageDeletedTheirs
    • MessageListItemStyle.messageDeletedBackgroundTheirs
  • Added MessageComposerViewModel.bindViewDefaults which preserves the default view bindings. #5059
  • Added UI customizations for message composer. #5056
    • MessageComposerViewStyle.commandSuggestionsTitleIconDrawableTintColor
    • MessageComposerViewStyle.mentionSuggestionItemIconDrawableTintColor
    • MessageComposerViewStyle.attachmentsButtonIconTintList
    • MessageComposerViewStyle.commandsButtonIconTintList
    • MessageComposerViewStyle.sendMessageButtonIconTintList

⚠️ Changed

  • Made MessageReplyView publicly available. #5057
  • Made MessageComposerContent descendants extensible/reusable. #5061
  • Deprecated MessageListItemStyle.textStyleMessageDeleted. Use MessageListItemStyle.textStyleMessageDeletedMine and MessageListItemStyle.textStyleMessageDeletedTheirs instead. #5051
  • Deprecated MessageListItemStyle.messageDeletedBackground. Use MessageListItemStyle.messageDeletedBackgroundMine and MessageListItemStyle.messageDeletedBackgroundTheirs instead. #5051
  • Deprecated MessageListItemStyle.buttonIconDrawableTintColor. Use one of the params listed below instead. #5056
    • MessageComposerViewStyle.commandSuggestionsTitleIconDrawableTintColor
    • MessageComposerViewStyle.mentionSuggestionItemIconDrawableTintColor
    • MessageComposerViewStyle.attachmentsButtonIconTintList
    • MessageComposerViewStyle.commandsButtonIconTintList
    • MessageComposerViewStyle.sendMessageButtonIconTintList

v6.0.6

31 Oct 14:40
Compare
Choose a tag to compare

October 31st, 2023 - 6.0.6

stream-chat-android-client

✅ Added

  • Display translated text in push notifications. #5028

🐞 Fixed

  • Encode filename before uploading. #5026

⚠️ Changed

  • Make ChatClient.addDevice and ChatClient.deleteDevice public. #5024

stream-chat-android-ui-common

🐞 Fixed

  • Fixed channel update emissions in MessageListController. #5029

stream-chat-android-compose

✅ Added

  • Added MessageDateSeparatorTheme to customize the date separator component. #5013
  • Added support for automatic translations #5028
    • Enabled by ChatTheme.autoTranslationEnabled

v5.17.17

31 Oct 17:18
Compare
Choose a tag to compare

October 31st, 2023 - 5.17.17

stream-chat-android-client

🐞 Fixed

  • Encode filename before uploading. #5026