update changelogs

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-06-29 16:20:29 +05:30
parent cd4892683b
commit be76d25aa3
3 changed files with 45 additions and 30 deletions
+8 -1
View File
@@ -1,6 +1,7 @@
## 2.0.0-nullsafety.7 ## 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) - `ConnectUserWithProvider` now requires `tokenProvider` as a required param. (Removed from the constructor)
- `client.disconnect()` is now divided into two different functions - `client.disconnect()` is now divided into two different functions
- `client.closeConnection()` -> for closing user websocket connection. - `client.closeConnection()` -> for closing user websocket connection.
@@ -14,16 +15,22 @@
- `option.state` -> bool state - `option.state` -> bool state
- `option.watch` -> bool watch - `option.watch` -> bool watch
- `option.presence` -> bool presence - `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 `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. - 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. - `baseURL` is now deprecated in favor of using `Location` to change data location.
🐞 Fixed 🐞 Fixed
- [#369](https://github.com/GetStream/stream-chat-flutter/issues/369): Client does not return without internet connection
- [#369](https://github.com/GetStream/stream-chat-flutter/issues/369): Client does not return without internet
connection
## 2.0.0-nullsafety.6 ## 2.0.0-nullsafety.6
+8 -2
View File
@@ -1,13 +1,15 @@
## 2.0.0-nullsafety.8 ## 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 - `ChannelListCore` options property is removed in favor of individual properties
- `options.state` -> bool state - `options.state` -> bool state
- `options.watch` -> bool watch - `options.watch` -> bool watch
- `options.presence` -> bool presence - `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 - `options.presence` -> bool presence
- `MessageBuilder` and `ParentMessageBuilder` signature is now - `MessageBuilder` and `ParentMessageBuilder` signature is now
```dart ```dart
typedef MessageBuilder = Widget Function( typedef MessageBuilder = Widget Function(
BuildContext, BuildContext,
@@ -16,16 +18,20 @@ typedef MessageBuilder = Widget Function(
MessageWidget defaultMessageWidget, MessageWidget defaultMessageWidget,
); );
``` ```
the last parameter is the default `MessageWidget` the last parameter is the default `MessageWidget`
You can call `.copyWith` to customize just a subset of properties 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 - 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 - [#493](https://github.com/GetStream/stream-chat-flutter/pull/493): add support for messageListView header/footer
- `MessageWidget` accepts a `userAvatarBuilder` - `MessageWidget` accepts a `userAvatarBuilder`
🐞 Fixed 🐞 Fixed
- [#483](https://github.com/GetStream/stream-chat-flutter/issues/483): Keyboard covers input text box when editing message
- [#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 - 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 - [#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 - `MessageListView` not rendering if the user is not a member of the channel
@@ -1,7 +1,9 @@
## 2.0.0-nullsafety.8 ## 2.0.0-nullsafety.8
🛑️ Breaking Changes from `2.0.0-nullsafety.7` 🛑️ Breaking Changes from `2.0.0-nullsafety.7`
- `channelsBloc.queryChannels()`, `ChannelListCore` options param/property is removed in favor of individual params/properties
- `channelsBloc.queryChannels()`, `ChannelListCore` options param/property is removed in favor of individual
params/properties
- `options.state` -> bool state - `options.state` -> bool state
- `options.watch` -> bool watch - `options.watch` -> bool watch
- `options.presence` -> bool presence - `options.presence` -> bool presence