Skip to content

Releases: GetStream/stream-chat-android

v6.0.0-beta5

25 Aug 22:28
Compare
Choose a tag to compare

August 25th, 2023 - 6.0.0-beta5

I hope you're interested in our latest major release - v6.0.0-beta5! We're currently in the process of preparing migration guides and updating all of our
documentation, but in the meantime, you can look into what we plan to release in v6 of Android Chat.

If you want to learn more about these changes and our decisions, check out our Android Chat v6 Blog Post.

stream-chat-android-ui-components

🐞 Fixed

  • Fixed LinkAttachmentView to open the correct link when the attachment is clicked. #4930

✅ Added

  • Added MessageComposerViewModelBinder for Java parity with Kotlin's MessageComposerViewModel.bindView extension function. #4931

⚠️ Changed

  • Changed MessageListView.setCustomItemAnimator signature to allow passing null to reset the item animator. #4933

v5.17.11

24 Aug 19:59
Compare
Choose a tag to compare

August 24th, 2023 - 5.17.11

stream-chat-android-client

✅ Added

  • Added R.color.stream_ic_notification to the list of resources that can be overridden. #4920

stream-chat-android-ui-components

🐞 Fixed

  • Fixed LinkAttachmentView to open the correct link when the attachment is clicked. #4929

✅ Added

  • Added MessageListView.setCustomItemAnimator to allow customizing the item animator used by the MessageListView. #4926
  • Added ChannelListView.setMoreOptionsIconProvider and ChannelListView.setDeleteOptionIconProvider to allow customizing the options icons used by the ChannelListView. #4928

v6.0.0-beta4

18 Aug 20:04
Compare
Choose a tag to compare
v6.0.0-beta4 Pre-release
Pre-release

August 18th, 2023 - 6.0.0-beta4

I hope you're interested in our latest major release - v6.0.0-beta4! We're currently in the process of preparing migration guides and updating all of our
documentation, but in the meantime, you can look into what we plan to release in v6 of Android Chat.

If you want to learn more about these changes and our decisions, check out our Android Chat v6 Blog Post.

Common changes for all artifacts

⚠️ Changed

  • Business models are immutable now. #4893

stream-chat-android-client

✅ Added

  • Added R.color.stream_ic_notification to the list of resources that can be overridden. #4921

stream-chat-android-ui-components

🐞 Fixed

  • Fixed send button being hidden with non-empty input when audioRecordingButtonPreferred is enabled. #4925

⬆️ Improved

  • Improved UI customization for Audio Recording feature. #4906
  • Improved trailing buttons customization for MessageComposerView. #4915

✅ Added

  • Added MessageListView.setCustomItemAnimator to allow customizing the item animator used by the MessageListView. #4922
  • Added ChannelListView.setMoreOptionsIconProvider and ChannelListView.setDeleteOptionIconProvider to allow customizing the options icons used by the ChannelListView. #4927

v5.17.10

04 Aug 14:32
Compare
Choose a tag to compare

August 4th, 2023 - 5.17.10

stream-chat-android-compose

🐞 Fixed

  • Fix crash accessing position 0 of an empty list. #4911

v6.0.0-beta3

27 Jul 16:20
Compare
Choose a tag to compare
v6.0.0-beta3 Pre-release
Pre-release

July 27th, 2023 - 6.0.0-beta3

I hope you're interested in our latest major release - v6.0.0-beta3! We're currently in the process of preparing migration guides and updating all of our
documentation, but in the meantime, you can look into what we plan to release in v6 of Android Chat.

If you want to learn more about these changes and our decisions, check out our Android Chat v6 Blog Post.

Common changes for all artifacts

⬆️ Improved

  • Added baseline profiles to compose and clients modules for improving performance #4610

✅ Added

  • Count for read messages. #4678

stream-chat-android-client

🐞 Fixed

  • Fixing unread messages count for channels. #4499
  • Fix reconnection socket behavior. #4821
  • Fixed QueryChannelRequest.withWatchers to make watchers accessible in response. #4848

⬆️ Improved

  • Changes in messages that are quoted now reflect in all messages, not only the original message.#4646

✅ Added

  • Added the string extension function createResizedStreamCdnImageUrl() which resizes images hosted on Stream's CDN by adding the necessary query parameters to the URL. #4600
  • Added the string extension function getStreamCdnHostedImageDimensions() used to extract original image dimensions from URLs of images hosted on Stream's CDN which contain the original width and height parameters. Added a new class called StreamCdnOriginalImageDimensions which stores the original height and width data. #4600
  • Added classes StreamCdnCropImageMode and StreamCdnResizeImageMode used for modifying Stream CDN image resize requests. #4600
  • Added ChatClient.clearPersistence() to be able to clear local data even if the user is not connected. #4796
  • Added new hideHistory flag into ChatClient.addMembers function. This flag can be used to hide the channel's history from the added member. #4817
  • Added new hideHistory flag into ChannelClient.addMembers function. This flag can be used to hide the channel's history from the added member. #4817
  • Added ChatClient.inviteMembers to invite members to an existing channel. #4816
  • Added ChannelClient.inviteMembers to invite members to an existing channel. #4816
  • Added ChannelUserBannedEvent.shadow property to know if the user is shadow-banned or standard banned. #4836
  • Added AttachmentsVerifier to verify if the uploaded attachments are valid. #4852
  • Added ChannelClient.fetchCurrentUser to fetch current user from backend. #4860
  • Added FetchCurrentUserListener interface used to perform actions as side effects when the ChatCliet.fetchCurrentUser() method is used to fetch the current user from the backend. #4860
  • Added AudioPlayer as a part of async-voice-messaging feature. #4828

⚠️ Changed

  • Changed newMessageIntent lambda's signature of NotificationHandlerFactory.createNotificationHandler(). It receives the whole Message/Channel entity to help you create a more complex navigation intent.
  • Moved ChatClient.dismissChannelNotifications() into ChatClient class. #4692
  • Changed ConnectionState from interface to Sealed Class. The new ConnectionState.Connected class contains the user that open the WebSocket connection. #4808
  • Renamed InitializationState.RUNNING to InitializationState.INITIALIZING. #4827
  • Changed return type of ChatClient.disconnectSocket() to Call<Unit>. #4829
  • Changed return type of ChatClient.reconnectSocket() to Call<Unit>. #4829

❌ Removed

  • Removed ChatClient.setDevice() method. #4692

stream-chat-android-offline

🐞 Fixed

  • Fixed pagination problems related for quoted messages #4638
  • Fixed message gaps in message list view when using offline support. #4633

stream-chat-android-state

🐞 Fixed

  • Fixed SyncManager not emitting missed events after getting online. #4862

⬆️ Improved

  • The ChannelStateLogic keeps members updated after ban/unban events are received. #4836

stream-chat-android-ui-common

⬆️ Improved

  • Send TypingStopEvent whenever the message is sent or the messageComposer contains an empty text message. #4904

✅ Added

  • Added showDateSeparatorInEmptyThread: Boolean to MessageListController. It is used to regulate whether date separators appear in empty threads. #4742
  • Added StreamMediaRecorder as a part of async-voice-messaging feature. #4828
  • Added AudioRecordingController as a part of async-voice-messaging feature. #4828

stream-chat-android-ui-components

🐞 Fixed

  • Fixed edit messages and reply messages with unsupported attachments. #4757
  • Fixed ChannelViewHolder to show proper last message value. #4901
  • Fixed CnahnelViewHolder to handle TypingIndicator visibility properly. #4904

⬆️ Improved

  • Emails are highlighted and clickable in the message text. #4833
  • ChannelListPayloadDiff is calculated using the list of members instead of the list of users. #4840

✅ Added

  • Added ChatUI.streamCdnImageResizing which allows resizing images where they appear as previews, such as the message list, attachment gallery overview or user and channel avatars. Only images hosted by Stream's CDN which contain original width and height query parameters can be resized. Image resizing is a paid feature and is disabled by default, you can enable it by overriding the aforementioned ChatUI.streamCdnImageResizing property with with an instance that has StreamCdnImageResizing.imageResizingEnabled set to true. Pricing can be found here. #4600
  • Added showDateSeparatorInEmptyThread: Boolean to MessageListViewModelFactory. It is used to regulate whether date separators appear in empty threads. #4742
  • Added the ability to choose PickerMediaMode that allows control if the camera recorder and/or take picture feature is allowed or not in MessageComposerView via xml attributes. #4812
    • streamUiMessageComposerAttachmentsPickerMediaMode
  • Added Typing Users list to ChannelItem. #4868
  • Added typing indicator on ChannelLitsView. #4868
  • Added options visibility customization for each channel in a list. #4870
  • Added AudioRecordAttachmentPreviewFactory as a part of async-voice-messaging feature. #4828
  • Added DefaultMessageComposerOverlappingContent as a part of async-voice-messaging feature. #4828
  • Added new custom views (AudioRecordPlayerView, AudioWavesSeekBar, WaveformView) as a part of async-voice-messaging feature. #4828
  • Added AudioRecordingAttachmentsGroupView in addition to MediaAttachmentsGroupView as a part of async-voice-messaging feature. #4828

⚠️ Changed

  • Replaced the method parameter replyMessageId: String with replyTo: Message inside ReplyMessageClickListener.onReplyClick(). The new parameter now contains the complete message to which the reply was made. #4639
  • Added the ...
Read more

v5.17.9

27 Jul 16:11
Compare
Choose a tag to compare

July 27th, 2023 - 5.17.9

stream-chat-android-ui-common

⬆️ Improved

  • Send TypingStopEvent whenever the message is sent or the messageComposer contains an empty text message. #4905

stream-chat-android-ui-components

🐞 Fixed

  • Fixed ChannelViewHolder to show proper last message value. #4900
  • Fixed CnahnelViewHolder to handle TypingIndicator visibility properly. #4905

v5.17.8

26 Jul 16:53
Compare
Choose a tag to compare

July 26th, 2023 - 5.17.8

stream-chat-android-client

🐞 Fixed

  • Fix Partial User Update #4888
  • Fix inconsistent reconnection state after an unrecoverable error #4896

v5.17.7

11 Jul 10:41
Compare
Choose a tag to compare

July 11th, 2023 - 5.17.7

stream-chat-android-client

🐞 Fixed

  • Fixed QueryChannelRequest.withWatchers to make watchers accessible in response. #4848
  • Fixed WS being reconnected after App backgrounding. #4858

✅ Added

  • Added ChannelClient.fetchCurrentUser to fetch current user from backend. #4857
  • Added FetchCurrentUserListener interface used to perform actions as side effects when the ChatCliet.fetchCurrentUser() method is used to fetch the current user from the backend. #4857

stream-chat-android-state

🐞 Fixed

  • Fixed a metadata attachment not being sent. #4851
  • Fixed SyncManager not emitting missed events after getting online. #4861

stream-chat-android-ui-components

✅ Added

  • Added Typing Users list to ChannelItem. #4867
  • Added typing indicator on ChannelLitsView. #4867
  • Added options visibility customization for each channel in a list. #4869

⚠️ Changed

  • Create new bind() method on BaseChannelListItemViewHolder that takes as parameter ChannelItem. #4867

stream-chat-android-compose

✅ Added

  • Added MessageTheme to customize the message components into ChatTheme. #4855

v5.17.6

09 Jun 10:46
Compare
Choose a tag to compare

June 9th, 2023 - 5.17.6

stream-chat-android-ui-components

⬆️ Improved

  • When the list of channels scroll to the target message, it is consumed. #4842

v5.17.5

05 Jun 14:04
Compare
Choose a tag to compare

June 5th, 2023 - 5.17.5

stream-chat-android-ui-components

⬆️ Improved

  • ChannelListPayloadDiff is calculated using the list of members instead of the list of users. #4839