Releases: GetStream/stream-chat-android
Releases · GetStream/stream-chat-android
v5.17.23
v6.0.14
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 cachedChannel.messages
collection. #5170
stream-chat-android-state
🐞 Fixed
stream-chat-android-ui-common
⚠️ Changed
- 🚨Breaking change: Changed
MessagePositionHandler.handleMessagePosition
signature. #5168- Added
isInThread: Boolean
parameter.
- Added
stream-chat-android-ui-components
✅ Added
- Added new listeners and corresponding setters to
MessageListView
to allow better behaviour customization. #5161OnEnterThreadListener
andMessageListView.setOnEnterThreadListener
OnMessageClickListener
andMessageListView.setOnMessageClickListener
OnReplyMessageClickListener
andMessageListView.setOnReplyMessageClickListener
OnMessageRetryListener
andMessageListView.setOnMessageRetryListener
OnMessageLongClickListener
andMessageListView.setOnMessageLongClickListener
OnModeratedMessageLongClickListener
andMessageListView.setOnModeratedMessageLongClickListener
OnThreadClickListener
andMessageListView.setOnThreadClickListener
OnAttachmentClickListener
andMessageListView.setOnAttachmentClickListener
OnAttachmentDownloadClickListener
andMessageListView.setOnAttachmentDownloadClickListener
OnGiphySendListener
andMessageListView.setOnGiphySendListener
OnLinkClickListener
andMessageListView.setOnLinkClickListener
OnUserClickListener
andMessageListView.setOnUserClickListener
OnReactionViewClickListener
andMessageListView.setOnReactionViewClickListener
OnUserReactionClickListener
andMessageListView.setOnUserReactionClickListener
- Added
messageBuilder
parameter toMessageComposerViewModel.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
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
withresult
inSendMessageDebugger
. #5037 - Use shortService instead of dataSync for our workmanager job. #5041
stream-chat-android-ui-common
✅ Added
- Added
callback
param toMessageComposerController.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 toMessageComposerViewModel.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 toMessageComposerViewModel.sendMessage
method. #5038
⚠️ Changed
- Supported new moderation API. #5035
v6.0.13
stream-chat-android-client
🐞 Fixed
- Ensure PushNotification Permissions are only requested on the case
NotificationConfig.requestPermissionOnAppLaunch
lambda returnstrue
.#5158
⚠️ Changed
- Exposed
Decorator
and related classes for the betterMessageListView
customization. #5144
stream-chat-android-state
✅ Added
stream-chat-android-ui-common
🐞 Fixed
- Fixed unread count not being cleared while user is inside a channel. #5146
✅ Added
- Added
StartOfTheChannelItemState
, a newMessageListItemState
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 newMessageListItem
that represent the start of the channel inside a message list. #5145
stream-chat-android-compose
✅ Added
- Added
startOfTheChannelItemState
composable function toMessageContainer
to be able to render the start of the channel. #5145
v5.17.21
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
- Prevented
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
stream-chat-android-core
❌ Removed
- Removed field name notation transformation from
QuerySortByField
. NowQuerySortByField
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
andChannelAvatarRenderer
to customize avatars. #5141
v6.0.11
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, useChannel.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
- Prevented
✅ 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
- Enabled by
- Added
MessageListItemStyle.textStyleReadCounter
to customize the read counter text style. #5131
stream-chat-android-compose
🐞 Fixed
- Fixed unread count not being cleared. #5115
✅ Added
v6.0.10
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
androle
are not being used to establish WS connection flow if not specified.
- Please use
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. #5112NewMessageState.MyOwn
andNewMessageState.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
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
androle
are not being used to establish WS connection flow if not specified.
- Please use
stream-chat-android-ui-components
🐞 Fixed
- Fix: Regex was not correctly escaped in getOccurrenceRanges #5108