4.8.0
Common changes for all artifacts
🐞 Fixed
Group channels with 1<>1 behaviour the same way as group channels with many users
It is not possible to remove users from distinct channels anymore.
⬆️ Improved
it is now possible to configure the max lines of a link description. Just use
app:streamUiLinkDescriptionMaxLines
when defining MessageListView
It is now possible to configure the max size of files and an alert is shown when
a files bigger than this is selected.
✅ Added
Configure enable/disable of replies using XML in MessageListView
Option app:streamUiReactionsEnabled
in MessageListView
to enable or disable reactions
It is possible now to configure the max size of the file upload using
app:streamUiAttachmentMaxFileSizeMb
stream-chat-android
🐞 Fixed
- Fixed crash when sending GIF from Samsung keyboard
stream-chat-android-client
🐞 Fixed
- Fixed parsing of
createdAt
property inMessageDeletedEvent
⬆️ Improved
- Postponed queries as run as non-blocking
✅ Added
- Added a brand new serialization implementation, available as an opt-in API for now. This can be enabled by making a
useNewSerialization(true)
call on theChatClient.Builder
.- This new implementation will be more performant and greatly improve type safety in the networking code of the SDK.
- The old implementation remains the default for now, while we're making sure the new one is bug-free.
- We recommend that you opt-in to the new implementation and test your app with it, so that you can report any issues early and we can get them fixed before a general rollout.
- Added
unflagMessage(messageId)
andunflagUser(userId)
methods toChatClient
- Added support for querying banned users - added
ChatClient::queryBannedUsers
andChannelClient::queryBannedUsers
- Added
uploadsEnabled
,urlEnrichmentEnabled
,customEventsEnabled
,pushNotificationsEnabled
,messageRetention
,automodBehavior
andblocklistBehavior
fields to channel config
⚠️ Changed
- Renamed
ChannelId
property tochannelId
in bothChannelDeletedEvent
andNotificationChannelDeletedEvent
- Deprecated
ChatClient::unMuteChannel
, theChatClient::unmuteChannel
method should be used instead - Deprecated
ChatClient::unBanUser
, theChatClient::unbanUser
method should be used instead - Deprecated
ChannelClient::unBanUser
, theChannelClient::unbanUser
method should be used instead - Deprecated
ChannelController::unBanUser
, theChannelController::unbanUser
method should be used instead
stream-chat-android-offline
🐞 Fixed
- Fixed an issue that didn't find the user when obtaining the list of messages
- Fix refreshing not messaging channels which don't contain current user as a member
stream-chat-android-ui-common
⬆️ Improved
- Show AttachmentMediaActivity for video attachments
✅ Added
AvatarView.streamUiAvatarOnlineIndicatorColor
andAvatarView.streamUiAvatarOnlineIndicatorBorderColor
attrs
stream-chat-android-ui-components
🐞 Fixed
- Now replied messages are shown correctly with the replied part in message options
MessageListView::enterThreadListener
is properly notified when entering into a thread- Fix initial controls state in
MessageInputView
- Fix crashing when open attachments destination
⬆️ Improved
- Add support of non-image attachment types to the default attachment click listener.
✅ Added
MessageInputView
now uses the cursorstream_ui_message_input_cursor.xml
instead of accent color. To change the cursor, overridestream_ui_message_input_cursor.xml
.- Replacing
ChatUI
with newio.getstream.chat.android.ui.ChatUI
implementation - Added possibility to configure delete message option visibility using
streamUiDeleteMessageEnabled
attribute, andMessageListView::setDeleteMessageEnabled
method - Add
streamUiEditMessageEnabled
attribute toMessageListView
andMessageListView::setEditMessageEnabled
method to enable/disable the message editing feature - Add
streamUiMentionsEnabled
attribute toMessageInputView
andMessageInputView::setMentionsEnabled
method to enable/disable mentions - Add
streamUiThreadsEnabled
attribute toMessageListView
andMessageListView::setThreadsEnabled
method to enable/disable the thread replies feature - Add
streamUiCommandsEnabled
attribute toMessageInputView
andMessageInputView::setCommandsEnabled
method to enable/disable commands - Add
ChannelListItemPredicate
to ourchannelListView
to allow filterChannelListItem
before they are rendered - Open
AvatarBitmapFactory
class - Add
ChatUI::avatarBitmapFactory
property to allow custom implementation ofAvatarBitmapFactory
- Add
AvatarBitmapFactory::userBitmapKey
method to generate cache key for a given User - Add
AvatarBitmapFactory::channelBitmapKey
method to generate cache key for a given Channel - Add
StyleTransformer
class to allow application-wide style customizations - Add the default font field to
TextStyle
- Add new method
ChatFonts::setFont(textStyle: TextStyle, textView: TextView, defaultTypeface: Typeface)
- Add attributes for
MessageListView
in order to customize styles of:- Mine message text
- Theirs message text
- User name text in footer of Message
- Message date in footer of Message
- Thread replies counter in footer of Message
- Link title text
- Link description text
- Date separator text
- Deleted message text and background
- Reactions style in list view and in options view
- Indicator icons in footer of Message
- Unread count badge on scroll to bottom button
- Message stroke width and color for mine and theirs types
It is now possible to customize the following attributes forChannelListView
:
streamUiChannelOptionsIcon
- customize options iconstreamUiChannelDeleteIcon
- customize delete iconstreamUiChannelOptionsEnabled
- hide/show options iconstreamUiChannelDeleteEnabled
- hide/show delete buttonstreamUiSwipeEnabled
- enable/disable swipe actionstreamUiBackgroundLayoutColor
- customize the color of "background layout"streamUiChannelTitleTextSize
- customize channel name text sizestreamUiChannelTitleTextColor
- customize channel name text colorstreamUiChannelTitleTextFont
- customize channel name text fontstreamUiChannelTitleFontAssets
- customize channel name font assetstreamUiChannelTitleTextStyle
- customize channel name text style (normal / bold / italic)streamUiLastMessageTextSize
- customize last message text sizestreamUiLastMessageTextColor
- customize last message text colorstreamUiLastMessageTextFont
- customize last message text fontstreamUiLastMessageFontAssets
- customize last message font assetstreamUiLastMessageTextStyle
- customize last message text style (normal / bold / italic)streamUiLastMessageDateTextSize
- customize last message date text sizestreamUiLastMessageDateTextColor
- customize last message date text colorstreamUiLastMessageDateTextFont
- customize last message date text fontstreamUiLastMessageDateFontAssets
- customize last message date font assetstreamUiLastMessageDateTextStyle
- customize last message date text style (normal / bold / italic)streamUiIndicatorSentIcon
- customize drawable indicator for sentstreamUiIndicatorReadIcon
- customize drawable indicator for readstreamUiIndicatorPendingSyncIcon
- customize drawable indicator for pending syncstreamUiForegroundLayoutColor
- customize the color of "foreground layout"streamUiUnreadMessageCounterBackgroundColor
- customize the color of message counter badgestreamUiUnreadMessageCounterTextSize
- customize message counter text sizestreamUiUnreadMessageCounterTextColor
- customize message counter text colorstreamUiUnreadMessageCounterTextFont
- customize message counter text fontstreamUiUnreadMessageCounterFontAssets
- customize message counter font assetstreamUiUnreadMessageCounterTextStyle
- customize message counter text style (normal / bold / italic)- Option
app:streamUiReactionsEnabled
inMessageListView
to enable or disable reactions - It is now possible to configure new fields in MessageInputView:
streamUiMessageInputTextStyle
- customize message input text style.streamUiMessageInputFont
- customize message input text font.streamUiMessageInputFontAssets
- customize message input text font assets.streamUiMessageInputEditTextBackgroundDrawable
- customize message input EditText drawable.streamUiMessageInputCustomCursorDrawable
- customize message input EditText cursor drawable.streamUiCommandsTitleTextSize
- customize command title text sizestreamUiCommandsTitleTextColor
- customize command title text colorstreamUiCommandsTitleFontAssets
- customize command title text colorstreamUiCommandsTitleTextColor
- customize command title font assetstreamUiCommandsTitleFont
- customize command title text fontstreamUiCommandsTitleStyle
- customize command title text stylestreamUiCommandsNameTextSize
- customize command name text sizestreamUiCommandsNameTextColor
- customize command name text colorstreamUiCommandsNameFontAssets
- customize command name text colorstreamUiCommandsNameTextColor
- customize command name font assetstreamUiCommandsNameFont
- customize command name text fontstreamUiCommandsNameStyle
- customize command name text stylestreamUiCommandsDescriptionTextSize
- customize command description text sizestreamUiCommandsDescriptionTextColor
- customize command description text colorstreamUiCommandsDescriptionFontAssets
- customize command description text colorstreamUiCommandsDescriptionTextColor
- customize command description font assetstreamUiCommandsDescriptionFont
- customize command description text fontstreamUiCommandsDescriptionStyle
- customize command description text stylestreamUiSuggestionBackgroundColor
- customize suggestion view backgroundstreamUiMessageInputDividerBackgroundDrawable
- customize the background of divider of MessageInputView
⚠️ Changed
- Deprecated
ChatUI
class