Skip to content

Releases: GetStream/stream-chat-flutter

2.2.0

25 Aug 15:19
cf8a028
Compare
Choose a tag to compare

stream_chat

2.2.0

🐞 Fixed

  • Fixed channel.markAllRead throwing failed host lookup.

✅ Added

  • User and OwnUser classes now have an image property. Setting an image will also set the 'image' key on extraData, so user.image and user.extraData['image'] is the same.
  • User and OwnUser classes now have a name property. Setting a name will also set the 'name' key on extraData, so user.name and user.extraData['name'] is the same.
  • Channel class now has extra image getter and setter. As well as an updateImage to do a partial update after a channel has been initialized.
  • Channel class now has extra name getter and setter. As well as an updateName to do a partial update after a channel has been initialized.
  • Added slow mode which allows a cooldown period after a user sends a message.

stream_chat_persistence

2.2.0

  • Updated llc dependency
  • Added support for message.i18n
  • Added support for user.language

stream_chat_flutter_core

2.2.0

🛑️ Breaking Changes from 2.1.1

  • Renamed BetterStreamBuilder.loadingBuilder to .noDataBuilder

🔄 Changed

  • BetterStreamBuilder.initialData is now nullable/not-required.

🐞 Fixed

  • #612 ChannelListView pagination doesn't work after refresh

stream_chat_flutter

2.2.0

✅ Added

  • #516:
    Added StreamChatThemeData.placeholderUserImage for building a widget when the UserAvatar image
    is loading
  • Added a backgroundColor property to the following widgets:
    • ChannelHeader
    • ChannelListHeader
    • GalleryHeader
    • GalleryFooter
    • ThreadHeader
  • Added MessageInput.attachmentLimit in order to limit the no. of attachments that can be sent with a single message.
  • Added MessageInput.onAttachmentLimitExceed callback which will be called when the attachmentLimit is exceeded.
    This will override the default error alert behaviour.
  • Added MessageInput.attachmentButtonBuilder and MessageInput.commandButtonBuilder for more customizations.
typedef ActionButtonBuilder = Widget Function(
    BuildContext context,
    IconButton defaultActionButton,
    );

NOTE: The last parameter is the default ActionButton
You can call .copyWith to customize just a subset of properties.

  • Added slow mode which allows a cooldown period after a user sends a message.

🔄 Changed

Theming has been upgraded! Most theme classes now have InheritedTheme classes associated with
them, and have been upgraded with some goodies like lerp functions. Here's the full naming
breakdown:

  • AvatarTheme is now AvatarThemeData
  • ChannelHeaderTheme is now ChannelHeaderThemeData
  • ChannelListHeaderTheme is now ChannelListHeaderThemeData
  • ChannelListViewTheme is now ChannelListViewThemeData
  • ChannelPreviewTheme is now ChannelPreviewThemeData
  • MessageInputTheme is now MessageInputThemeData
  • MessageListViewTheme is now MessageListViewTheme
  • MessageSearchListViewTheme is now MessageSearchListViewThemeData
  • MessageTheme is now MessageThemeData
  • UserListViewTheme is now UserListViewThemeData
  • Updated core dependency.

🐞 Fixed

  • Fixed MessageInput textField case where input is not enabled if the file picked from the
    camera is null.
  • Fixed date dividers position/alignment in non reversed MessageListView.
  • Fixed MessageListView not opening to the right initialMessage if StreamChannel.initialMessageId is set.
  • Fixed null check errors when accessing message.text in MessageWidget and MessageListView; this occurred when sending a message with no text.

stream_chat_localizations

1.1.0

✅ Added

  • Added support for Spanish locale.
  • Added support for Korean locale.
  • Added support for Japanese locale.
  • Added translations for cooldown mode.
  • Added translations for attachmentLimitExceed.

🔄 Changed

  • Some of the Hindi translations have been updated/changed for better understanding.
    • 'रिप्लाई' -> 'जवाब दें'
    • 'तस्वीरें' -> 'फ़ोटोज'
    • 'बिता हुआ कल' -> 'कल'
    • 'चैनल मौन है' -> 'चैनल म्यूट है'

2.1.0

28 Jul 10:42
b118167
Compare
Choose a tag to compare

stream_chat

2.1.0

🛑️ Removed

  • The MessageTranslation class has been removed. Use the new i18n field in the Message class instead.

✅ Added

  • The Message class now has an i18n field for translations
  • The User class now has a language field for the user's language preference.

🔄 Changed

  • client.user is now deprecated in favor of client.currentUser.
  • client.userStream is now deprecated in favor of client.currentUserStream.

🐞 Fixed

  • #563: Channel.stopWatching() not working
  • #575: Wrong OwnUser.*

stream_chat_persistence

2.1.0

✅ Added

  • Added support for Message.i18n
  • Added support for User.language

stream_chat_flutter_core

2.1.0

🛑️ Breaking Changes from 2.0.0

  • Changed default message filter of MessageListCore

✅ Added

  • Added MessageListCore.paginationLimit

🔄 Changed

  • StreamChatCore.of(context).user is now deprecated in favor of StreamChatCore.of(context).currentUser.
  • StreamChatCore.of(context).userStream is now deprecated in favor of StreamChatCore.of(context).currentUserStream.

stream_chat_flutter

2.1.0

✅ Added

  • Added MessageListView.paginationLimit
  • MessageText renders message translation if available
  • Allow the various ListView widgets to be themed via ThemeData classes
  • Added bottomRowBuilder and deletedBottomRowBuilder that build a widget below a MessageWidget

🔄 Changed

  • StreamChat.of(context).user is now deprecated in favor of StreamChat.of(context).currentUser.
  • StreamChat.of(context).userStream is now deprecated in favor of StreamChat.of(context).currentUserStream.

🐞 Fixed

  • Fix floating date divider not having a fixed size

stream_chat_localizations

1.0.0

  • First release

2.0.0

16 Jul 15:34
a292492
Compare
Choose a tag to compare

stream_chat

🛑️ Breaking Changes from 1.5.3

  • migrate this package to null safety
  • ConnectUserWithProvider now requires tokenProvider as a required param. (Removed from the constructor)
  • client.disconnect() is now divided into two different functions
    • client.closeConnection() -> for closing user websocket connection.
    • client.disconnectUser() -> for disconnecting user and resetting client state.
  • client.devToken() now returns a Token model instead of String.
  • ApiError is removed in favor of StreamChatError
    • StreamChatError -> parent type for all the stream errors.
    • StreamWebSocketError -> for user websocket related errors.
    • StreamChatNetworkError -> for network related errors.
  • client.queryChannels(), channel.query() options param is removed in favor of individual params
    • option.state -> bool state
    • option.watch -> bool watch
    • option.presence -> bool presence
  • client.queryUsers() options param is removed in favor of individual params
    • option.presence -> bool presence
  • Migrate this package to null safety
  • Added typed filters

🐞 Fixed

  • #369: Client does not return without internet connection
  • several minor fixes
  • performance improvements

✅ Added

  • New Location enum is introduced for easily changing the client location/baseUrl.
  • New client.openConnection() and client.closeConnection() is introduced to connect/disconnect user ws connection.
  • New client.partialUpdateMessage and channel.partialUpdateMessage methods
  • connectWebSocket parameter in connect user calls to use the client in "connection-less" mode.

🔄 Changed

  • baseURL is now deprecated in favor of using Location to change data location.

stream_chat_flutter

🛑️ Breaking Changes from 1.5.4

  • Migrate this package to null safety

  • Renamed ChannelImage to ChannelAvatar

  • Updated StreamChatThemeData.reactionIcons to accept custom builder

  • Renamed ColorTheme properties to reflect the purpose of the colors

    • ColorTheme.black -> ColorTheme.textHighEmphasis
    • ColorTheme.grey -> ColorTheme.textLowEmphasis
    • ColorTheme.greyGainsboro -> ColorTheme.disabled
    • ColorTheme.greyWhisper -> ColorTheme.borders
    • ColorTheme.whiteSmoke -> ColorTheme.inputBg
    • ColorTheme.whiteSnow -> ColorTheme.appBg
    • ColorTheme.white -> ColorTheme.barsBg
    • ColorTheme.blueAlice -> ColorTheme.linkBg
    • ColorTheme.accentBlue -> ColorTheme.accentPrimary
    • ColorTheme.accentRed -> ColorTheme.accentError
    • ColorTheme.accentGreen -> ColorTheme.accentInfo
  • ChannelListCore options property is removed in favor of individual properties

    • options.state -> bool state
    • options.watch -> bool watch
    • options.presence -> bool presence
  • UserListView options property is removed in favor of individual properties

    • options.presence -> bool presence
  • Renamed ImageHeader to GalleryHeader

  • Renamed ImageFooter to GalleryFooter

  • MessageBuilder and ParentMessageBuilder signature is now

typedef MessageBuilder = Widget Function(
    BuildContext,
    MessageDetails,
    List<Message>,
    MessageWidget defaultMessageWidget,
    );

the last parameter is the default MessageWidget
You can call .copyWith to customize just a subset of properties

✅ Added

  • Added video compress options (frame and quality) to MessageInput
  • TypingIndicator now has a property called parentId to show typing indicator specific to threads
  • #493: add support for messageListView header/footer
  • MessageWidget accepts a userAvatarBuilder
  • Added pinMessage ui support
  • Added MessageListView.threadSeparatorBuilder property
  • Added MessageInput.onError property to allow error handling
  • Added GalleryHeader/GalleryFooter theme classes

🐞 Fixed

  • #483: Keyboard covers input text box when editing
    message
  • Modals are shown using the nearest Navigator to make using the SDK easier in a nested navigator use case
  • #484: messages don't update without a reload
  • MessageListView not rendering if the user is not a member of the channel
  • Fix MessageInput overflow when there are no actions
  • Minor fixes and improvements

stream_chat_flutter_core

🛑️ Breaking Changes from 1.5.3

  • migrate this package to null safety
  • channelsBloc.queryChannels(), ChannelListCore options param/property is removed in favor of individual params/properties
    • options.state -> bool state
    • options.watch -> bool watch
    • options.presence -> bool presence
  • usersBloc.queryUsers(), UserListCore options param/property is removed in favor of individual params/properties
    • options.presence -> bool presence

✅ Added

  • Monitor connection using connectivity_plus package

🐞 Fixed

  • Minor fixes
  • Performance improvements

stream_chat_persistence

  • Migrate this package to null safety
  • Minor fixes and improvements

2.0.0-nullsafety.9

08 Jul 07:44
b9a8b4b
Compare
Choose a tag to compare
2.0.0-nullsafety.9 Pre-release
Pre-release

stream_chat

2.0.0-nullsafety.8

🐞 Fixed

  • Export PushProvider enum

stream_chat_flutter_core

2.0.0-nullsafety.9

  • Update llc dependency

stream_chat_flutter

2.0.0-nullsafety.9

🛑️ Breaking Changes from 2.0.0-nullsafety.8

  • Renamed ColorTheme properties to reflect the purpose of the colors
    • ColorTheme.black -> ColorTheme.textHighEmphasis
    • ColorTheme.grey -> ColorTheme.textLowEmphasis
    • ColorTheme.greyGainsboro -> ColorTheme.disabled
    • ColorTheme.greyWhisper -> ColorTheme.borders
    • ColorTheme.whiteSmoke -> ColorTheme.inputBg
    • ColorTheme.whiteSnow -> ColorTheme.appBg
    • ColorTheme.white -> ColorTheme.barsBg
    • ColorTheme.blueAlice -> ColorTheme.linkBg
    • ColorTheme.accentBlue -> ColorTheme.accentPrimary
    • ColorTheme.accentRed -> ColorTheme.accentError
    • ColorTheme.accentGreen -> ColorTheme.accentInfo

✅ Added

  • Added video compress options (frame and quality) to MessageInput

stream_chat_persistence

2.0.0-nullsafety.8

  • Updated llc dependency
  • Upgraded moor dependencies and generated files with the latest dependency

2.0.0-nullsafety.8

29 Jun 11:37
9d45641
Compare
Choose a tag to compare
2.0.0-nullsafety.8 Pre-release
Pre-release

stream_chat

2.0.0-nullsafety.7

🛑️ Breaking Changes from 2.0.0-nullsafety.6

  • ConnectUserWithProvider now requires tokenProvider as a required param. (Removed from the constructor)
  • client.disconnect() is now divided into two different functions
    • client.closeConnection() -> for closing user websocket connection.
    • client.disconnectUser() -> for disconnecting user and resetting client state.
  • client.devToken() now returns a Token model instead of String.
  • ApiError is removed in favor of StreamChatError
    • StreamChatError -> parent type for all the stream errors.
    • StreamWebSocketError -> for user websocket related errors.
    • StreamChatNetworkError -> for network related errors.
  • client.queryChannels(), channel.query() options param is removed in favor of individual params
    • option.state -> bool state
    • option.watch -> bool watch
    • option.presence -> bool presence
  • client.queryUsers() options param is removed in favor of individual params
    • option.presence -> bool presence

✅ Added

  • New Location enum is introduced for easily changing the client location/baseUrl.
  • New client.openConnection() and client.closeConnection() is introduced to connect/disconnect user ws connection.

🔄 Changed

  • baseURL is now deprecated in favor of using Location to change data location.

🐞 Fixed

  • #369: Client does not return without internet
    connection

stream_chat_flutter_core

2.0.0-nullsafety.8

🛑️ Breaking Changes from 2.0.0-nullsafety.7

  • channelsBloc.queryChannels(), ChannelListCore options param/property is removed in favor of individual
    params/properties
    • options.state -> bool state
    • options.watch -> bool watch
    • options.presence -> bool presence
  • usersBloc.queryUsers(), UserListCore options param/property is removed in favor of individual params/properties
    • options.presence -> bool presence

stream_chat_flutter

2.0.0-nullsafety.8

🛑️ Breaking Changes from 2.0.0-nullsafety.7

  • ChannelListCore options property is removed in favor of individual properties
    • options.state -> bool state
    • options.watch -> bool watch
    • options.presence -> bool presence
  • UserListView options property is removed in favor of individual properties
    • options.presence -> bool presence
  • MessageBuilder and ParentMessageBuilder signature is now
typedef MessageBuilder = Widget Function(
    BuildContext,
    MessageDetails,
    List<Message>,
    MessageWidget defaultMessageWidget,
    );

the last parameter is the default MessageWidget
You can call .copyWith to customize just a subset of properties

✅ Added

  • TypingIndicator now has a property called parentId to show typing indicator specific to threads
  • #493: add support for messageListView header/footer
  • MessageWidget accepts a userAvatarBuilder

🐞 Fixed

  • #483: Keyboard covers input text box when editing
    message
  • Modals are shown using the nearest Navigator to make using the SDK easier in a nested navigator use case
  • #484: messages don't update without a reload
  • MessageListView not rendering if the user is not a member of the channel

stream_chat_persistence

2.0.0-nullsafety.7

  • Update llc dependency
  • Minor fixes and improvements

2.0.0-nullsafety.7

17 Jun 13:24
4f8b91a
Compare
Choose a tag to compare
2.0.0-nullsafety.7 Pre-release
Pre-release

stream_chat_flutter_core 2.0.0-nullsafety.7

  • Fixed a bug with connectivity implementation

stream_chat_flutter 2.0.0-nullsafety.7

  • Minor fixes and improvements
  • Updated stream_chat_core dependency
  • Fixed a bug with connectivity implementation

2.0.0-nullsafety.6

15 Jun 11:02
Compare
Choose a tag to compare
2.0.0-nullsafety.6 Pre-release
Pre-release

stream_chat 2.0.0-nullsafety.6

  • Fix thread reply not working with attachments
  • Minor fixes

stream_chat_core 2.0.0-nullsafety.6

  • Update llc dependency
  • Minor fixes and improvements

stream_chat_flutter 2.0.0-nullsafety.6

  • Minor fixes and improvements
  • Updated stream_chat_core dependency
  • 🛑 BREAKING Updated StreamChatThemeData.reactionIcons to accept custom builder

2.0.0-nullsafety.5

14 Jun 10:03
e70a23a
Compare
Choose a tag to compare
2.0.0-nullsafety.5 Pre-release
Pre-release

stream_chat 2.0.0-nullsafety.5

  • Minor fixes
  • Performance improvements
  • Fixed skip_push in client.sendMessage
  • Added partial message update method

stream_chat_core 2.0.0-nullsafety.5

  • Update llc dependency
  • Minor fixes and improvements
  • Performance improvements
  • Monitor connection using connectivity_plus package

stream_chat_flutter 2.0.0-nullsafety.5

  • Minor fixes and improvements
  • Updated stream_chat_core dependency
  • Performance improvements
  • Added pinMessage ui support
  • Added MessageListView.threadSeparatorBuilder property

stream_chat_persistence 2.0.0-nullsafety.5

  • Update llc dependency
  • Minor fixes and improvements

2.0.0-nullsafety.4

19 May 15:03
25b073c
Compare
Choose a tag to compare
2.0.0-nullsafety.4 Pre-release
Pre-release

stream_chat 2.0.0-nullsafety.2

  • Added new Filter.raw constructor
  • Changed extraData
  • Minor fixes

stream_chat_core 2.0.0-nullsafety.3

  • Update llc dependency
  • Minor fixes and improvements

stream_chat_flutter 2.0.0-nullsafety.4

  • Minor fixes and improvements
  • Updated stream_chat_core dependency
  • Improved performance of MessageWidget component

stream_chat_persistence 2.0.0-nullsafety.2

  • Update llc dependency
  • Minor fixes and improvements
  • Fixed bug not saving message.mentioned_users

2.0.0-nullsafety.0

03 May 18:27
7be4f9e
Compare
Choose a tag to compare
2.0.0-nullsafety.0 Pre-release
Pre-release

stream_chat 2.0.0-nullsafety.0

  • Migrate this package to null safety
  • Added typed filters

stream_chat_core 2.0.0-nullsafety.0

  • Migrate this package to null safety
  • Update llc dependency

stream_chat_flutter 2.0.0-nullsafety.0

  • Migrate this package to null safety
  • Updated stream_chat_core dependency

stream_chat_persistence 2.0.0-nullsafety.0

  • Migrate this package to null safety
  • Update llc dependency