Skip to content

Commit 1f082d8

Browse files
Merge pull request #1324 from zino-hofmann/macros/release_5.2_beta2
docs: preparing for the beta 2
2 parents e5835b4 + d6f0bd1 commit 1f082d8

File tree

13 files changed

+42
-22
lines changed

13 files changed

+42
-22
lines changed

example/lib/main.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

examples/starwars/pubspec.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@ description: An example graphql_flutter application utilizing graphql_starwars_t
44
publish_to: none
55

66
environment:
7-
sdk: ">=2.10.0 <3.0.0"
7+
sdk: ">=2.13.0 <=3.0.0"
88

99
dependencies:
1010
flutter:
1111
sdk: flutter
1212
graphql_flutter:
1313
path: ../../packages/graphql_flutter
1414
graphql: ^5.1.2-beta.1
15-
universal_platform:
16-
^0.1.3
15+
universal_platform: ^1.0.0+1
1716
# https://github.com/flutter/flutter/issues/36126#issuecomment-596215587
1817

1918
flutter:
20-
uses-material-design: true
19+
uses-material-design: true

packages/graphql/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# v5.2.0-beta.2
2+
3+
## Added
4+
- bump gql version to 1.0.0 ([commit](https://github.com/zino-hofmann/graphql-flutter/commit/6c991d8e8dc952f9cf0774746ce3d59f48f1ea32)). @ndelanou 03-05-2023
5+
- print the connection status with ws ([commit](https://github.com/zino-hofmann/graphql-flutter/commit/a9aefc41909eb6911c4c4de1d0477bb620d1098d)). @vytautas-pranskunas- 15-03-2023
6+
7+
18
# v5.2.0-beta.1
29

310
## Fixed

packages/graphql/changelog.json

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

packages/graphql/example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void readRepositories() async {
7878
result.data!['viewer']['repositories']['nodes'] as List<dynamic>;
7979

8080
repositories.forEach(
81-
(dynamic f) => {stdout.writeln('Id: ${f['id']} Name: ${f['name']}')},
81+
(dynamic f) => stdout.writeln('Id: ${f['id']} Name: ${f['name']}'),
8282
);
8383

8484
exit(0);

packages/graphql/lib/src/scheduler/scheduler.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class QueryScheduler {
5757
}
5858

5959
// fetch each query on the interval
60-
intervalQueries[interval]!.forEach(queryManager!.refetchQuery);
60+
intervalQueries[interval]!.forEach(queryManager!.refetchQuery<dynamic>);
6161
}
6262

6363
void startPollingQuery(

packages/graphql/pubspec.yaml

Lines changed: 2 additions & 2 deletions
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.1
3+
version: 5.2.0-beta.2
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

@@ -32,4 +32,4 @@ dev_dependencies:
3232
lints: ^1.0.1
3333

3434
environment:
35-
sdk: '>=2.12.0 <3.0.0'
35+
sdk: '>=2.15.0 <=3.0.0'

packages/graphql_flutter/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# v5.2.0-beta.2
2+
3+
## Fixed
4+
- added missing onSubscriptionResult argument ([commit](https://github.com/zino-hofmann/graphql-flutter/commit/1b17d7709410c2a106d0c0a5d9da3c926001a49c)). @PhilippS93 03-04-2023
5+
6+
## Added
7+
- bump gql version to 1.0.0 ([commit](https://github.com/zino-hofmann/graphql-flutter/commit/6c991d8e8dc952f9cf0774746ce3d59f48f1ea32)). @ndelanou 03-05-2023
8+
9+
110
# v5.2.0-beta.1
211

312

packages/graphql_flutter/changelog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"package_name": "graphql_flutter",
3-
"version": "v5.2.0-beta.1",
3+
"version": "v5.2.0-beta.2",
44
"api": {
55
"name": "github",
66
"repository": "zino-hofmann/graphql-flutter",

packages/graphql_flutter/example/pubspec.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ module:
99
dependencies:
1010
flutter:
1111
sdk: flutter
12-
cupertino_icons: ^0.1.3
1312
graphql_flutter:
1413
path: ..
1514
trash_themes: ^0.0.1

0 commit comments

Comments
 (0)