Skip to content

Commit f03874f

Browse files
Merge pull request #1435 from hantrungkien/main
fix(graphql): fix error is throwed when toggleConnection != null & fix(graphql_flutter): upgrate connectivity_plus Signed-off-by: Vincenzo Palazzo <[email protected]>
2 parents c0621cc + def3290 commit f03874f

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

packages/graphql/CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# v5.2.0-beta.8
2+
3+
## Fixed
4+
- make == override parameters non-nullable ([commit](https://github.com/zino-hofmann/graphql-flutter/commit/7e9c34b08cefcf7abc36172d358440049e25f58f)). @kamilkarp 01-04-2024
5+
- response extensions should be optional ([commit](https://github.com/zino-hofmann/graphql-flutter/commit/d174b51a55d40745a5dcd3a0621e77a4d435c9cd)). @kamilkarp 31-03-2024
6+
- fix error is throwed when toggleConnection != null ([commit](https://github.com/zino-hofmann/graphql-flutter/commit/def3290c485856b5477a7fc3d6334adcbf489285)). @hantrungkien 27-05-2024
7+
- transform nested object from box ([commit](https://github.com/zino-hofmann/graphql-flutter/commit/3ac14ccd27e295e88ce51b187cd5e7159407a446)). @ronnnnn 09-04-2024
8+
- check for null data returned from fetchMore.updateQuery… ([commit](https://github.com/zino-hofmann/graphql-flutter/commit/acdaabc955b9200b35e4f6b16ab208c85873a0e4)). @aarsham 08-04-2024
9+
- resolve duplicate events on socket reconnect ([commit](https://github.com/zino-hofmann/graphql-flutter/commit/be11b4cd1210e4d898a1a381a56c59bbcdeee6c5)). @aarsham 08-04-2024
10+
- remove unnecessary null checks in SocketClient ([commit](https://github.com/zino-hofmann/graphql-flutter/commit/1003c4b61d37912a45dbc2fdbf3c88ad2353659f)). @aarsham 08-04-2024
11+
12+
113
# v5.2.0-beta.7
214

315
## Fixed

packages/graphql/changelog.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"package_name": "graphql",
3-
"version": "v5.2.0-beta.7",
3+
"version": "v5.2.0-beta.8",
44
"api": {
55
"name": "github",
66
"repository": "zino-hofmann/graphql-flutter",

packages/graphql/lib/src/links/websocket_link/websocket_client.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ class SocketClient {
215215
final SocketClientConfig config;
216216

217217
final BehaviorSubject<SocketConnectionState> _connectionStateController =
218-
BehaviorSubject<SocketConnectionState>();
218+
BehaviorSubject<SocketConnectionState>.seeded(
219+
SocketConnectionState.notConnected);
219220

220221
final HashMap<String, SubscriptionListener> _subscriptionInitializers =
221222
HashMap();

packages/graphql/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: graphql
22
description: A stand-alone GraphQL client for Dart, bringing all the features from a modern GraphQL client to one easy to use package.
3-
version: 5.2.0-beta.7
3+
version: 5.2.0-beta.8
44
repository: https://github.com/zino-app/graphql-flutter/tree/main/packages/graphql
55
issue_tracker: https://github.com/zino-hofmann/graphql-flutter/issues
66

packages/graphql_flutter/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515
meta: ^1.7.0
1616
path_provider: ^2.0.1
1717
path: ^1.8.0
18-
connectivity_plus: ^6.0.1
18+
connectivity_plus: ^6.0.3
1919
hive: ^2.0.0
2020
plugin_platform_interface: ^2.0.0
2121
flutter_hooks: '>=0.18.2 <0.21.0'

0 commit comments

Comments
 (0)