Common changes for all artifacts
⬆️ Improved
- Updated to Kotlin 1.5.20
stream-chat-android
✅ Added
- Added
ChatUi.Builder#withImageHeadersProvider
to allow adding custom headers to image requests
stream-chat-android-client
⚠️ Changed
- Using the
useNewSerialization
option on theChatClient.Builder
to opt out from using the new serialization implementation is now an error. Please start using the new serialization implementation, or report any issues keeping you from doing so. The old implementation will be removed soon.
stream-chat-android-offline
🐞 Fixed
- By default we use backend request to define is new message event related to our query channels specs or not. Now filtering by BE only fields works for channels
stream-chat-android-ui-components
✅ Added
- Added new attributes to
MessageInputView
allowing to customize the style of input field during command input:streamUiCommandInputBadgeTextSize
,streamUiCommandInputBadgeTextColor
,streamUiCommandInputBadgeFontAssets
,streamUiCommandInputBadgeFont
,streamUiCommandInputBadgeStyle
attributes to customize the text appearance of command name inside command badgestreamUiCommandInputCancelIcon
attribute to customize the icon for cancel buttonstreamUiCommandInputBadgeIcon
attribute to customize the icon inside command badgestreamUiCommandInputBadgeBackgroundDrawable
attribute to customize the background shape of command badge
- Added possibility to customize
MessageListHeaderView
style viastreamUiMessageListHeaderStyle
theme attribute and viaTransformStyle.messageListHeaderStyleTransformer
. - Added new attributes to
MessageInputView
:streamUiCommandIcon
attribute to customize the command icon displayed for each command item in the suggestion list popupstreamUiLightningIcon
attribute to customize the lightning icon displayed in the top left corner of the suggestion list popup
- Added support for customizing
SearchInputView
- Added
SearchInputViewStyle
class allowing customization usingTransformStyle
API - Added XML attrs for
SearchInputView
:streamUiSearchInputViewHintText
streamUiSearchInputViewSearchIcon
streamUiSearchInputViewClearInputIcon
streamUiSearchInputViewBackground
streamUiSearchInputViewTextColor
streamUiSearchInputViewHintColor
streamUiSearchInputViewTextSize
- Added
- Added
ChatUi#imageHeadersProvider
to allow adding custom headers to image requests
⚠️ Changed
- 🚨 Breaking change: moved
commandsTitleTextStyle
,commandsNameTextStyle
,commandsDescriptionTextStyle
,mentionsUsernameTextStyle
,mentionsNameTextStyle
,mentionsIcon
,suggestionsBackground
fields fromMessageInputViewStyle
toSuggestionListViewStyle
. Their values can be customized viaTransformStyle.suggestionListStyleTransformer
. - Made
SuggestionListController
andSuggestionListUi
public. Note that both of these are experimental, which means that the API might change at any time in the future (even without a deprecation cycle). - Made
AttachmentSelectionDialogFragment
experimental which means that the API might change at any time in the future (even without a deprecation cycle).