Repository navigation
2.0.0-nullsafety.8
Pre-release
Pre-release
·
3520 commits
to master
since this release
stream_chat
2.0.0-nullsafety.7
ποΈ Breaking Changes from 2.0.0-nullsafety.6
ConnectUserWithProvidernow 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 presence
client.queryUsers()options param is removed in favor of individual paramsoption.presence-> bool presence
β Added
- New
Locationenum is introduced for easily changing the client location/baseUrl. - New
client.openConnection()andclient.closeConnection()is introduced to connect/disconnect user ws connection.
π Changed
baseURLis now deprecated in favor of usingLocationto 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(),ChannelListCoreoptions param/property is removed in favor of individual
params/propertiesoptions.state-> bool stateoptions.watch-> bool watchoptions.presence-> bool presence
usersBloc.queryUsers(),UserListCoreoptions 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
ChannelListCoreoptions property is removed in favor of individual propertiesoptions.state-> bool stateoptions.watch-> bool watchoptions.presence-> bool presence
UserListViewoptions property is removed in favor of individual propertiesoptions.presence-> bool presence
MessageBuilderandParentMessageBuildersignature 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
parentIdto show typing indicator specific to threads - #493: add support for messageListView header/footer
MessageWidgetaccepts auserAvatarBuilder
π Fixed
- #483: Keyboard covers input text box when editing
message - Modals are shown using the nearest
Navigatorto make using the SDK easier in a nested navigator use case - #484: messages don't update without a reload
MessageListViewnot 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