github GetStream/stream-chat-android 4.13.0

latest releases: 6.23.0, 6.22.1, 6.22.0...
4 years ago

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 the ChatClient.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 badge
    • streamUiCommandInputCancelIcon attribute to customize the icon for cancel button
    • streamUiCommandInputBadgeIcon attribute to customize the icon inside command badge
    • streamUiCommandInputBadgeBackgroundDrawable attribute to customize the background shape of command badge
  • Added possibility to customize MessageListHeaderView style via streamUiMessageListHeaderStyle theme attribute and via TransformStyle.messageListHeaderStyleTransformer.
  • Added new attributes to MessageInputView:
    • streamUiCommandIcon attribute to customize the command icon displayed for each command item in the suggestion list popup
    • streamUiLightningIcon 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 using TransformStyle API
    • Added XML attrs for SearchInputView:
      • streamUiSearchInputViewHintText
      • streamUiSearchInputViewSearchIcon
      • streamUiSearchInputViewClearInputIcon
      • streamUiSearchInputViewBackground
      • streamUiSearchInputViewTextColor
      • streamUiSearchInputViewHintColor
      • streamUiSearchInputViewTextSize
  • Added ChatUi#imageHeadersProvider to allow adding custom headers to image requests

⚠️ Changed

  • 🚨 Breaking change: moved commandsTitleTextStyle, commandsNameTextStyle, commandsDescriptionTextStyle, mentionsUsernameTextStyle, mentionsNameTextStyle, mentionsIcon, suggestionsBackground fields from MessageInputViewStyle to SuggestionListViewStyle. Their values can be customized via TransformStyle.suggestionListStyleTransformer.
  • Made SuggestionListController and SuggestionListUi 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).

Don't miss a new stream-chat-android release

NewReleases is sending notifications on new releases.