You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
stream_chat
🛑️ Breaking Changes from
1.5.3ConnectUserWithProvidernow requirestokenProvideras 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 aTokenmodel instead ofString.ApiErroris removed in favor ofStreamChatErrorStreamChatError-> 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 presenceclient.queryUsers()options param is removed in favor of individual paramsoption.presence-> bool presence🐞 Fixed
✅ Added
Locationenum is introduced for easily changing the client location/baseUrl.client.openConnection()andclient.closeConnection()is introduced to connect/disconnect user ws connection.client.partialUpdateMessageandchannel.partialUpdateMessagemethodsconnectWebSocketparameter in connect user calls to use the client in "connection-less" mode.🔄 Changed
baseURLis now deprecated in favor of usingLocationto change data location.stream_chat_flutter
🛑️ Breaking Changes from
1.5.4Migrate this package to null safety
Renamed
ChannelImagetoChannelAvatarUpdated
StreamChatThemeData.reactionIconsto accept custom builderRenamed
ColorThemeproperties to reflect the purpose of the colorsColorTheme.black->ColorTheme.textHighEmphasisColorTheme.grey->ColorTheme.textLowEmphasisColorTheme.greyGainsboro->ColorTheme.disabledColorTheme.greyWhisper->ColorTheme.bordersColorTheme.whiteSmoke->ColorTheme.inputBgColorTheme.whiteSnow->ColorTheme.appBgColorTheme.white->ColorTheme.barsBgColorTheme.blueAlice->ColorTheme.linkBgColorTheme.accentBlue->ColorTheme.accentPrimaryColorTheme.accentRed->ColorTheme.accentErrorColorTheme.accentGreen->ColorTheme.accentInfoChannelListCoreoptions property is removed in favor of individual propertiesoptions.state-> bool stateoptions.watch-> bool watchoptions.presence-> bool presenceUserListViewoptions property is removed in favor of individual propertiesoptions.presence-> bool presenceRenamed
ImageHeadertoGalleryHeaderRenamed
ImageFootertoGalleryFooterMessageBuilderandParentMessageBuildersignature is nowthe last parameter is the default
MessageWidgetYou can call
.copyWithto customize just a subset of properties✅ Added
MessageInputparentIdto show typing indicator specific to threadsMessageWidgetaccepts auserAvatarBuilderMessageListView.threadSeparatorBuilderpropertyMessageInput.onErrorproperty to allow error handlingGalleryHeader/GalleryFootertheme classes🐞 Fixed
message
Navigatorto make using the SDK easier in a nested navigator use caseMessageListViewnot rendering if the user is not a member of the channelMessageInputoverflow when there are no actionsstream_chat_flutter_core
🛑️ Breaking Changes from
1.5.3channelsBloc.queryChannels(),ChannelListCoreoptions param/property is removed in favor of individual params/propertiesoptions.state-> bool stateoptions.watch-> bool watchoptions.presence-> bool presenceusersBloc.queryUsers(),UserListCoreoptions param/property is removed in favor of individual params/propertiesoptions.presence-> bool presence✅ Added
connectivity_pluspackage🐞 Fixed
stream_chat_persistence
This discussion was created from the release 2.0.0.
Beta Was this translation helpful? Give feedback.
All reactions