Merge pull request #509 from GetStream/release/v2.0.0-nullsafety-8

chore: v2.0.0 nullsafety.8
This commit is contained in:
Salvatore Giordano
2021-06-29 13:36:45 +02:00
committed by GitHub
14 changed files with 140 additions and 44 deletions
@@ -1,3 +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
- `usersBloc.queryUsers()`, `UserListCore` options param/property is removed in favor of individual params/properties
- `options.presence` -> bool presence
## 2.0.0-nullsafety.7
* Fixed a bug with connectivity implementation
@@ -68,7 +68,6 @@ class MessageListCore extends StatefulWidget {
required this.emptyBuilder,
required this.messageListBuilder,
required this.errorWidgetBuilder,
this.showScrollToBottom = true,
this.parentMessage,
this.messageListController,
this.messageFilter,
@@ -94,10 +93,6 @@ class MessageListCore extends StatefulWidget {
/// event of a connection failure.
final ErrorBuilder errorWidgetBuilder;
/// If true will show a scroll to bottom message when there are new messages
/// and the scroll offset is not zero.
final bool showScrollToBottom;
/// If the current message belongs to a `thread`, this property represents the
/// first message or the parent of the conversation.
final Message? parentMessage;
@@ -99,7 +99,7 @@ class UserListCore extends StatefulWidget {
/// created_at or member_count. Direction can be ascending or descending.
final List<SortOption>? sort;
///
/// If true youll receive user presence updates via the websocket events
final bool? presence;
/// Pagination parameters
@@ -1,7 +1,7 @@
name: stream_chat_flutter_core
homepage: https://github.com/GetStream/stream-chat-flutter
description: Stream Chat official Flutter SDK Core. 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
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
@@ -16,7 +16,7 @@ dependencies:
sdk: flutter
meta: ^1.3.0
rxdart: ^0.27.0
stream_chat: ^2.0.0-nullsafety.6
stream_chat: ^2.0.0-nullsafety.7
dev_dependencies:
fake_async: ^1.2.0