Releases: GetStream/stream-chat-android
Releases · GetStream/stream-chat-android
v6.2.2
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 inMessageListController
. #5218
✅ Added
- Added
MessageTextFormatter
to format the message text. #5214- Can be overridden by
ChatTheme.messageTextFormatter
- Can be overridden by
- Added
QuotedMessageTextFormatter
to format the quoted message text. #5214- Can be overridden by
ChatTheme.quotedMessageTextFormatter
- Can be overridden by
- Added
itemModifier
parameter into bothMessageList
andMessages
components to allow customizing the message item. #5209
v6.2.1
v6.2.0
Common changes for all artifacts
✅ Added
Message
entity has a newmessageTextUpdatedAt
property to represent the last time the message text was updated. #5200FileUploadConfig
entity has a newsizeLimitInBytes:
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
toChannelsScreen
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
v6.1.0
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
inApiRequestsDumper
. #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, useAttachmentsSelectionListener
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
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