From be76d25aa308ad89dfe553b96c638cf68232ae9b Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Tue, 29 Jun 2021 16:20:29 +0530 Subject: [PATCH] update changelogs Signed-off-by: Sahil Kumar --- packages/stream_chat/CHANGELOG.md | 35 +++++++++++-------- packages/stream_chat_flutter/CHANGELOG.md | 26 ++++++++------ .../stream_chat_flutter_core/CHANGELOG.md | 14 ++++---- 3 files changed, 45 insertions(+), 30 deletions(-) diff --git a/packages/stream_chat/CHANGELOG.md b/packages/stream_chat/CHANGELOG.md index d68ef27fd..b82d30254 100644 --- a/packages/stream_chat/CHANGELOG.md +++ b/packages/stream_chat/CHANGELOG.md @@ -1,29 +1,36 @@ ## 2.0.0-nullsafety.7 -🛑️ Breaking Changes from `2.0.0-nullsafety.6` +🛑️ 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.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. + - `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 + - `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 -✅ 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 +🔄 Changed + - `baseURL` is now deprecated in favor of using `Location` to change data location. -🐞 Fixed -- [#369](https://github.com/GetStream/stream-chat-flutter/issues/369): Client does not return without internet connection +🐞 Fixed + +- [#369](https://github.com/GetStream/stream-chat-flutter/issues/369): Client does not return without internet + connection ## 2.0.0-nullsafety.6 diff --git a/packages/stream_chat_flutter/CHANGELOG.md b/packages/stream_chat_flutter/CHANGELOG.md index bb3795650..3407178cd 100644 --- a/packages/stream_chat_flutter/CHANGELOG.md +++ b/packages/stream_chat_flutter/CHANGELOG.md @@ -1,31 +1,37 @@ ## 2.0.0-nullsafety.8 -🛑️ Breaking Changes from `2.0.0-nullsafety.7` +🛑️ 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 -- `UserListCore` options property is removed in favor of individual properties +- `UserListView` options property is removed in favor of individual properties - `options.presence` -> bool presence - `MessageBuilder` and `ParentMessageBuilder` signature is now + ```dart typedef MessageBuilder = Widget Function( - BuildContext, - MessageDetails, - List, - MessageWidget defaultMessageWidget, -); + BuildContext, + MessageDetails, + List, + MessageWidget defaultMessageWidget, + ); ``` + the last parameter is the default `MessageWidget` You can call `.copyWith` to customize just a subset of properties -✅ Added +✅ Added + - TypingIndicator now has a property called `parentId` to show typing indicator specific to threads - [#493](https://github.com/GetStream/stream-chat-flutter/pull/493): add support for messageListView header/footer - `MessageWidget` accepts a `userAvatarBuilder` -🐞 Fixed -- [#483](https://github.com/GetStream/stream-chat-flutter/issues/483): Keyboard covers input text box when editing message +🐞 Fixed + +- [#483](https://github.com/GetStream/stream-chat-flutter/issues/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](https://github.com/GetStream/stream-chat-flutter/issues/484): messages don't update without a reload - `MessageListView` not rendering if the user is not a member of the channel diff --git a/packages/stream_chat_flutter_core/CHANGELOG.md b/packages/stream_chat_flutter_core/CHANGELOG.md index 7af9b1776..4453659e0 100644 --- a/packages/stream_chat_flutter_core/CHANGELOG.md +++ b/packages/stream_chat_flutter_core/CHANGELOG.md @@ -1,13 +1,15 @@ ## 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 + +- `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 - + - `options.presence` -> bool presence + ## 2.0.0-nullsafety.7 * Fixed a bug with connectivity implementation