chore(stream_chat_flutter): prepare for v2.0.0-nullsafety.8

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-06-28 16:50:42 +05:30
parent bcd8630235
commit 6017a184d6
4 changed files with 36 additions and 24 deletions
+32 -20
View File
@@ -1,3 +1,13 @@
## 2.0.0-nullsafety.8
🛑️ 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
- `options.presence` -> bool presence
## 2.0.0-nullsafety.7 ## 2.0.0-nullsafety.7
- Minor fixes and improvements - Minor fixes and improvements
@@ -139,7 +149,8 @@
## 0.2.20+2 ## 0.2.20+2
- Added `shouldAddChannel` to ChannelsBloc in order to check if a channel has to be added to the list when a new message arrives - Added `shouldAddChannel` to ChannelsBloc in order to check if a channel has to be added to the list when a new message
arrives
## 0.2.20+1 ## 0.2.20+1
@@ -358,27 +369,27 @@
## 0.2.1-alpha+1 ## 0.2.1-alpha+1
- Removed the additional `Navigator` in `StreamChat` widget. - Removed the additional `Navigator` in `StreamChat` widget. It was added to make the app have the `StreamChat` widget
It was added to make the app have the `StreamChat` widget as ancestor in every route. as ancestor in every route. Now the recommended way to add `StreamChat` to your app is using the `builder` property of
Now the recommended way to add `StreamChat` to your app is using the `builder` property of your `MaterialApp` widget. your `MaterialApp` widget. Otherwise you can use it in the usual way, but you need to add a `StreamChat` widget to
Otherwise you can use it in the usual way, but you need to add a `StreamChat` widget to every route of your app. every route of your app. Read [this issue](https://github.com/GetStream/stream-chat-flutter/issues/47) for more
Read [this issue](https://github.com/GetStream/stream-chat-flutter/issues/47) for more information. information.
```dart ```dart
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return MaterialApp( return MaterialApp(
theme: ThemeData.light(), theme: ThemeData.light(),
darkTheme: ThemeData.dark(), darkTheme: ThemeData.dark(),
themeMode: ThemeMode.system, themeMode: ThemeMode.system,
builder: (context, widget) { builder: (context, widget) {
return StreamChat( return StreamChat(
child: widget, child: widget,
client: client, client: client,
); );
}, },
home: ChannelListPage(), home: ChannelListPage(),
); );
``` ```
- Fix reaction bubble going below previous message on iOS - Fix reaction bubble going below previous message on iOS
@@ -462,7 +473,8 @@
- Add gesture (vertical drag down) to close the keyboard - Add gesture (vertical drag down) to close the keyboard
- Add keyboard type parameters (set it to TextInputType.text to show the submit button that will even close the keyboard) - Add keyboard type parameters (set it to TextInputType.text to show the submit button that will even close the
keyboard)
The property showVideoFullScreen was added mainly because of this issue brianegan/chewie#261 The property showVideoFullScreen was added mainly because of this issue brianegan/chewie#261
@@ -83,7 +83,7 @@ class UserListView extends StatefulWidget {
/// Direction can be ascending or descending. /// Direction can be ascending or descending.
final List<SortOption>? sort; final List<SortOption>? sort;
/// /// If true youll receive user presence updates via the websocket events
final bool? presence; final bool? presence;
/// Pagination parameters /// Pagination parameters
+2 -2
View File
@@ -1,7 +1,7 @@
name: stream_chat_flutter name: stream_chat_flutter
homepage: https://github.com/GetStream/stream-chat-flutter homepage: https://github.com/GetStream/stream-chat-flutter
description: Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter. description: Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.
version: 2.0.0-nullsafety.7 version: 2.0.0-nullsafety.8
repository: https://github.com/GetStream/stream-chat-flutter repository: https://github.com/GetStream/stream-chat-flutter
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
@@ -36,7 +36,7 @@ dependencies:
scrollable_positioned_list: ^0.2.0-nullsafety.0 scrollable_positioned_list: ^0.2.0-nullsafety.0
share_plus: ^2.0.3 share_plus: ^2.0.3
shimmer: ^2.0.0 shimmer: ^2.0.0
stream_chat_flutter_core: ^2.0.0-nullsafety.7 stream_chat_flutter_core: ^2.0.0-nullsafety.8
substring_highlight: ^1.0.26 substring_highlight: ^1.0.26
synchronized: ^3.0.0 synchronized: ^3.0.0
url_launcher: ^6.0.3 url_launcher: ^6.0.3
@@ -98,7 +98,7 @@ class UserListCore extends StatefulWidget {
/// created_at or member_count. Direction can be ascending or descending. /// created_at or member_count. Direction can be ascending or descending.
final List<SortOption>? sort; final List<SortOption>? sort;
/// /// If true youll receive user presence updates via the websocket events
final bool? presence; final bool? presence;
/// Pagination parameters /// Pagination parameters