Releases: GetStream/stream-chat-android
v6.0.0-beta5
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'sMessageComposerViewModel.bindView
extension function. #4931
⚠️ Changed
- Changed
MessageListView.setCustomItemAnimator
signature to allow passingnull
to reset the item animator. #4933
v5.17.11
v6.0.0-beta4
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
v5.17.10
v6.0.0-beta3
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 makewatchers
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 calledStreamCdnOriginalImageDimensions
which stores the original height and width data. #4600 - Added classes
StreamCdnCropImageMode
andStreamCdnResizeImageMode
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 intoChatClient.addMembers
function. This flag can be used to hide the channel's history from the added member. #4817 - Added new
hideHistory
flag intoChannelClient.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 theChatCliet.fetchCurrentUser()
method is used to fetch the current user from the backend. #4860 - Added
AudioPlayer
as a part ofasync-voice-messaging
feature. #4828
⚠️ Changed
- Changed
newMessageIntent
lambda's signature ofNotificationHandlerFactory.createNotificationHandler()
. It receives the wholeMessage
/Channel
entity to help you create a more complex navigation intent. - Moved
ChatClient.dismissChannelNotifications()
intoChatClient
class. #4692 - Changed
ConnectionState
from interface to Sealed Class. The newConnectionState.Connected
class contains theuser
that open the WebSocket connection. #4808 - Renamed
InitializationState.RUNNING
toInitializationState.INITIALIZING
. #4827 - Changed return type of
ChatClient.disconnectSocket()
toCall<Unit>
. #4829 - Changed return type of
ChatClient.reconnectSocket()
toCall<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
toMessageListController
. It is used to regulate whether date separators appear in empty threads. #4742 - Added
StreamMediaRecorder
as a part ofasync-voice-messaging
feature. #4828 - Added
AudioRecordingController
as a part ofasync-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 aforementionedChatUI.streamCdnImageResizing
property with with an instance that hasStreamCdnImageResizing.imageResizingEnabled
set to true. Pricing can be found here. #4600 - Added
showDateSeparatorInEmptyThread: Boolean
toMessageListViewModelFactory
. 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 inMessageComposerView
via xml attributes. #4812streamUiMessageComposerAttachmentsPickerMediaMode
- 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 ofasync-voice-messaging
feature. #4828 - Added
DefaultMessageComposerOverlappingContent
as a part ofasync-voice-messaging
feature. #4828 - Added new custom views (
AudioRecordPlayerView
,AudioWavesSeekBar
,WaveformView
) as a part ofasync-voice-messaging
feature. #4828 - Added
AudioRecordingAttachmentsGroupView
in addition toMediaAttachmentsGroupView
as a part ofasync-voice-messaging
feature. #4828
⚠️ Changed
- Replaced the method parameter
replyMessageId: String
withreplyTo: Message
insideReplyMessageClickListener.onReplyClick()
. The new parameter now contains the complete message to which the reply was made. #4639 - Added the ...
v5.17.9
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
v5.17.8
v5.17.7
July 11th, 2023 - 5.17.7
stream-chat-android-client
🐞 Fixed
- Fixed
QueryChannelRequest.withWatchers
to makewatchers
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 theChatCliet.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 onBaseChannelListItemViewHolder
that takes as parameterChannelItem
. #4867
stream-chat-android-compose
✅ Added
- Added
MessageTheme
to customize the message components intoChatTheme
. #4855