Merge branch 'master' of https://github.com/GetStream/stream-chat-flutter into feat/custom-attachment-upload
Conflicts: packages/stream_chat_flutter/pubspec.yaml packages/stream_chat_flutter_core/pubspec.yaml packages/stream_chat_persistence/pubspec.yaml
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
[](https://gitter.im/GetStream/stream-chat-flutter?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
[](https://gitter.im/GetStream/stream-chat-flutter?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
||||||

|

|
||||||
|
[](https://github.com/invertase/melos)
|
||||||
|
|
||||||
**Quick Links**
|
**Quick Links**
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
## 1.0.3-beta
|
||||||
|
|
||||||
|
- Fixed issue with disconnecting after connecting without awaiting the connection result
|
||||||
|
- Fixed bug that caused duplicated typing.stop events to be fired
|
||||||
|
|
||||||
## 1.0.2-beta
|
## 1.0.2-beta
|
||||||
|
|
||||||
- Deprecated `setUser`, `setGuestUser`, `setUserWithProvider` in favor of `connectUser`, `connectGuestUser`, `connectUserWithProvider`
|
- Deprecated `setUser`, `setGuestUser`, `setUserWithProvider` in favor of `connectUser`, `connectGuestUser`, `connectUserWithProvider`
|
||||||
|
|||||||
@@ -1702,7 +1702,6 @@ class ChannelClientState {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
_typingEventsController.add(_typings.keys.toList());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Call this method to dispose this object
|
/// Call this method to dispose this object
|
||||||
|
|||||||
@@ -954,6 +954,8 @@ class StreamChatClient {
|
|||||||
await chatPersistenceClient?.disconnect(flush: flushChatPersistence);
|
await chatPersistenceClient?.disconnect(flush: flushChatPersistence);
|
||||||
chatPersistenceClient = null;
|
chatPersistenceClient = null;
|
||||||
|
|
||||||
|
_connectCompleter = null;
|
||||||
|
|
||||||
if (clearUser == true) {
|
if (clearUser == true) {
|
||||||
state.dispose();
|
state.dispose();
|
||||||
state = ClientState(this);
|
state = ClientState(this);
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ import 'package:stream_chat/src/client.dart';
|
|||||||
|
|
||||||
/// Current package version
|
/// Current package version
|
||||||
/// Used in [StreamChatClient] to build the `x-stream-client` header
|
/// Used in [StreamChatClient] to build the `x-stream-client` header
|
||||||
const PACKAGE_VERSION = '1.0.2-beta';
|
const PACKAGE_VERSION = '1.0.3-beta';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: stream_chat
|
name: stream_chat
|
||||||
homepage: https://getstream.io/
|
homepage: https://getstream.io/
|
||||||
description: The official Dart client for Stream Chat, a service for building chat applications.
|
description: The official Dart client for Stream Chat, a service for building chat applications.
|
||||||
version: 1.0.2-beta
|
version: 1.0.3-beta
|
||||||
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
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 1.0.2-beta
|
||||||
|
|
||||||
|
- Update stream_chat_core dependency
|
||||||
|
|
||||||
## 1.0.1-beta
|
## 1.0.1-beta
|
||||||
|
|
||||||
- Update stream_chat_core dependency
|
- Update stream_chat_core dependency
|
||||||
|
|||||||
@@ -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: 1.0.1-beta
|
version: 1.0.2-beta
|
||||||
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
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 1.0.2-beta
|
||||||
|
|
||||||
|
* Update llc dependency
|
||||||
|
|
||||||
## 1.0.1-beta
|
## 1.0.1-beta
|
||||||
|
|
||||||
* Update llc dependency
|
* Update llc dependency
|
||||||
|
|||||||
@@ -314,12 +314,24 @@ class StreamChannelState extends State<StreamChannel> {
|
|||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
super.initState();
|
super.initState();
|
||||||
|
_populateFutures();
|
||||||
|
}
|
||||||
|
|
||||||
|
void _populateFutures() {
|
||||||
_futures = [widget.channel.initialized];
|
_futures = [widget.channel.initialized];
|
||||||
if (initialMessageId != null) {
|
if (initialMessageId != null) {
|
||||||
_futures.add(_loadChannelAtMessage);
|
_futures.add(_loadChannelAtMessage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
void didUpdateWidget(covariant StreamChannel oldWidget) {
|
||||||
|
if (oldWidget.initialMessageId != initialMessageId) {
|
||||||
|
_populateFutures();
|
||||||
|
}
|
||||||
|
super.didUpdateWidget(oldWidget);
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void dispose() {
|
void dispose() {
|
||||||
_queryTopMessagesController.close();
|
_queryTopMessagesController.close();
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: stream_chat_flutter_core
|
name: stream_chat_flutter_core
|
||||||
homepage: https://github.com/GetStream/stream-chat-flutter
|
homepage: https://github.com/GetStream/stream-chat-flutter
|
||||||
description: Stream Chat official Flutter SDK Core. Build your own chat experience using Dart and Flutter.
|
description: Stream Chat official Flutter SDK Core. Build your own chat experience using Dart and Flutter.
|
||||||
version: 1.0.1-beta
|
version: 1.0.2-beta
|
||||||
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
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
## 1.0.2-beta
|
||||||
|
|
||||||
|
* Update llc dependency
|
||||||
|
|
||||||
## 1.0.1-beta
|
## 1.0.1-beta
|
||||||
|
|
||||||
* Update llc dependency
|
* Update llc dependency
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: stream_chat_persistence
|
name: stream_chat_persistence
|
||||||
homepage: https://github.com/GetStream/stream-chat-flutter
|
homepage: https://github.com/GetStream/stream-chat-flutter
|
||||||
description: Official Stream Chat Persistence library. Build your own chat experience using Dart and Flutter.
|
description: Official Stream Chat Persistence library. Build your own chat experience using Dart and Flutter.
|
||||||
version: 1.0.1-beta
|
version: 1.0.2-beta
|
||||||
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user