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
-
stream_chat
🛑️ Breaking Changes from
1.5.3
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 presenceclient.queryUsers()
options param is removed in favor of individual paramsoption.presence
-> bool presence🐞 Fixed
✅ Added
Location
enum is introduced for easily changing the client location/baseUrl.client.openConnection()
andclient.closeConnection()
is introduced to connect/disconnect user ws connection.client.partialUpdateMessage
andchannel.partialUpdateMessage
methodsconnectWebSocket
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 builderRenamed
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 presenceUserListView
options property is removed in favor of individual propertiesoptions.presence
-> bool presenceRenamed
ImageHeader
toGalleryHeader
Renamed
ImageFooter
toGalleryFooter
MessageBuilder
andParentMessageBuilder
signature is nowthe last parameter is the default
MessageWidget
You can call
.copyWith
to customize just a subset of properties✅ Added
MessageInput
parentId
to show typing indicator specific to threadsMessageWidget
accepts auserAvatarBuilder
MessageListView.threadSeparatorBuilder
propertyMessageInput.onError
property to allow error handlingGalleryHeader/GalleryFooter
theme classes🐞 Fixed
message
Navigator
to make using the SDK easier in a nested navigator use caseMessageListView
not rendering if the user is not a member of the channelMessageInput
overflow when there are no actionsstream_chat_flutter_core
🛑️ Breaking Changes from
1.5.3
channelsBloc.queryChannels()
,ChannelListCore
options param/property is removed in favor of individual params/propertiesoptions.state
-> bool stateoptions.watch
-> bool watchoptions.presence
-> bool presenceusersBloc.queryUsers()
,UserListCore
options param/property is removed in favor of individual params/propertiesoptions.presence
-> bool presence✅ Added
connectivity_plus
package🐞 Fixed
stream_chat_persistence
This discussion was created from the release 2.0.0.
Beta Was this translation helpful? Give feedback.
All reactions