Releases: GetStream/stream-chat-flutter
2.2.0
stream_chat
2.2.0
🐞 Fixed
- Fixed
channel.markAllRead
throwing failed host lookup.
✅ Added
User
andOwnUser
classes now have animage
property. Setting an image will also set the 'image' key onextraData
, souser.image
anduser.extraData['image']
is the same.User
andOwnUser
classes now have aname
property. Setting a name will also set the 'name' key onextraData
, souser.name
anduser.extraData['name']
is the same.Channel
class now has extraimage
getter and setter. As well as anupdateImage
to do a partial update after a channel has been initialized.Channel
class now has extraname
getter and setter. As well as anupdateName
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:
AddedStreamChatThemeData.placeholderUserImage
for building a widget when theUserAvatar
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 theattachmentLimit
is exceeded.
This will override the default error alert behaviour. - Added
MessageInput.attachmentButtonBuilder
andMessageInput.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 nowAvatarThemeData
ChannelHeaderTheme
is nowChannelHeaderThemeData
ChannelListHeaderTheme
is nowChannelListHeaderThemeData
ChannelListViewTheme
is nowChannelListViewThemeData
ChannelPreviewTheme
is nowChannelPreviewThemeData
MessageInputTheme
is nowMessageInputThemeData
MessageListViewTheme
is nowMessageListViewTheme
MessageSearchListViewTheme
is nowMessageSearchListViewThemeData
MessageTheme
is nowMessageThemeData
UserListViewTheme
is nowUserListViewThemeData
- Updated core dependency.
🐞 Fixed
- Fixed
MessageInput
textField case whereinput
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 ifStreamChannel.initialMessageId
is set. - Fixed null check errors when accessing
message.text
inMessageWidget
andMessageListView
; 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
stream_chat
2.1.0
🛑️ Removed
- The
MessageTranslation
class has been removed. Use the newi18n
field in theMessage
class instead.
✅ Added
- The
Message
class now has ani18n
field for translations - The
User
class now has alanguage
field for the user's language preference.
🔄 Changed
client.user
is now deprecated in favor ofclient.currentUser
.client.userStream
is now deprecated in favor ofclient.currentUserStream
.
🐞 Fixed
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 ofStreamChatCore.of(context).currentUser
.StreamChatCore.of(context).userStream
is now deprecated in favor ofStreamChatCore.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
anddeletedBottomRowBuilder
that build a widget below aMessageWidget
🔄 Changed
StreamChat.of(context).user
is now deprecated in favor ofStreamChat.of(context).currentUser
.StreamChat.of(context).userStream
is now deprecated in favor ofStreamChat.of(context).currentUserStream
.
🐞 Fixed
- Fix floating date divider not having a fixed size
stream_chat_localizations
1.0.0
- First release
2.0.0
stream_chat
🛑️ Breaking Changes from 1.5.3
- migrate this package to null safety
ConnectUserWithProvider
now requirestokenProvider
as a required param. (Removed from the constructor)client.disconnect()
is now divided into two different functionsclient.closeConnection()
-> for closing user websocket connection.client.disconnectUser()
-> for disconnecting user and resetting client state.
client.devToken()
now returns aToken
model instead ofString
.ApiError
is removed in favor ofStreamChatError
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 paramsoption.state
-> bool stateoption.watch
-> bool watchoption.presence
-> bool presence
client.queryUsers()
options param is removed in favor of individual paramsoption.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()
andclient.closeConnection()
is introduced to connect/disconnect user ws connection. - New
client.partialUpdateMessage
andchannel.partialUpdateMessage
methods connectWebSocket
parameter in connect user calls to use the client in "connection-less" mode.
🔄 Changed
baseURL
is now deprecated in favor of usingLocation
to change data location.
stream_chat_flutter
🛑️ Breaking Changes from 1.5.4
-
Migrate this package to null safety
-
Renamed
ChannelImage
toChannelAvatar
-
Updated
StreamChatThemeData.reactionIcons
to accept custom builder -
Renamed
ColorTheme
properties to reflect the purpose of the colorsColorTheme.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 propertiesoptions.state
-> bool stateoptions.watch
-> bool watchoptions.presence
-> bool presence
-
UserListView
options property is removed in favor of individual propertiesoptions.presence
-> bool presence
-
Renamed
ImageHeader
toGalleryHeader
-
Renamed
ImageFooter
toGalleryFooter
-
MessageBuilder
andParentMessageBuilder
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 auserAvatarBuilder
- 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/propertiesoptions.state
-> bool stateoptions.watch
-> bool watchoptions.presence
-> bool presence
usersBloc.queryUsers()
,UserListCore
options param/property is removed in favor of individual params/propertiesoptions.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
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 colorsColorTheme.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
stream_chat
2.0.0-nullsafety.7
🛑️ Breaking Changes from 2.0.0-nullsafety.6
ConnectUserWithProvider
now requirestokenProvider
as a required param. (Removed from the constructor)client.disconnect()
is now divided into two different functionsclient.closeConnection()
-> for closing user websocket connection.client.disconnectUser()
-> for disconnecting user and resetting client state.
client.devToken()
now returns aToken
model instead ofString
.ApiError
is removed in favor ofStreamChatError
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 paramsoption.state
-> bool stateoption.watch
-> bool watchoption.presence
-> bool presence
client.queryUsers()
options param is removed in favor of individual paramsoption.presence
-> bool presence
✅ Added
- New
Location
enum is introduced for easily changing the client location/baseUrl. - New
client.openConnection()
andclient.closeConnection()
is introduced to connect/disconnect user ws connection.
🔄 Changed
baseURL
is now deprecated in favor of usingLocation
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/propertiesoptions.state
-> bool stateoptions.watch
-> bool watchoptions.presence
-> bool presence
usersBloc.queryUsers()
,UserListCore
options param/property is removed in favor of individual params/propertiesoptions.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 propertiesoptions.state
-> bool stateoptions.watch
-> bool watchoptions.presence
-> bool presence
UserListView
options property is removed in favor of individual propertiesoptions.presence
-> bool presence
MessageBuilder
andParentMessageBuilder
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 auserAvatarBuilder
🐞 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
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
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
stream_chat 2.0.0-nullsafety.5
- Minor fixes
- Performance improvements
- Fixed
skip_push
inclient.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
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
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