From 0f7430be4bf0b15ecb6a72f5de911a5bab0c0193 Mon Sep 17 00:00:00 2001 From: Martin Kamleithner Date: Tue, 12 Sep 2023 16:27:30 +0200 Subject: [PATCH 1/2] chore: add comment in example why cache is wiped --- examples/pokemon_explorer/lib/src/client_isolate.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/pokemon_explorer/lib/src/client_isolate.dart b/examples/pokemon_explorer/lib/src/client_isolate.dart index 5c3eb92c..688cd233 100644 --- a/examples/pokemon_explorer/lib/src/client_isolate.dart +++ b/examples/pokemon_explorer/lib/src/client_isolate.dart @@ -38,6 +38,8 @@ Future _initClientIsolate( final box = await Hive.openBox>("graphql"); + /// This deletes all cached content. useful for an example, not so much for a real-world app + /// Remove this line when you copy this code for your app. await box.clear(); final store = HiveStore(box); From 81d9fb76b109ef268d281cb1cbc2cfe5a0b40e04 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 12 Sep 2023 14:29:22 +0000 Subject: [PATCH 2/2] chore(release): publish packages - ferry_cache@0.7.1-dev.4 - ferry@0.15.0-dev.4 - ferry_flutter@0.8.1-dev.4 --- CHANGELOG.md | 30 +++++++++++++++++++ .../client/pubspec.yaml | 2 +- examples/pokemon_explorer/pubspec.yaml | 4 +-- packages/ferry/CHANGELOG.md | 4 +++ packages/ferry/pubspec.yaml | 4 +-- packages/ferry_cache/CHANGELOG.md | 4 +++ packages/ferry_cache/pubspec.yaml | 2 +- packages/ferry_flutter/CHANGELOG.md | 4 +++ packages/ferry_flutter/pubspec.yaml | 4 +-- 9 files changed, 50 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b80d3024..e66d8703 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,36 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 2023-09-12 + +### Changes + +--- + +Packages with breaking changes: + + - There are no breaking changes in this release. + +Packages with other changes: + + - [`ferry_cache` - `v0.7.1-dev.4`](#ferry_cache---v071-dev4) + - [`ferry` - `v0.15.0-dev.4`](#ferry---v0150-dev4) + - [`ferry_flutter` - `v0.8.1-dev.4`](#ferry_flutter---v081-dev4) + +Packages with dependency updates only: + +> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project. + + - `ferry` - `v0.15.0-dev.4` + - `ferry_flutter` - `v0.8.1-dev.4` + +--- + +#### `ferry_cache` - `v0.7.1-dev.4` + + - **FEAT**(ferry_generator): add option to reuse data classes for fragments with a single inline fragment spread as selection (#530). + + ## 2023-08-13 ### Changes diff --git a/examples/auth_token_with_isolate/client/pubspec.yaml b/examples/auth_token_with_isolate/client/pubspec.yaml index c0637cb1..f0173a4a 100644 --- a/examples/auth_token_with_isolate/client/pubspec.yaml +++ b/examples/auth_token_with_isolate/client/pubspec.yaml @@ -35,7 +35,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. - ferry: ^0.15.0-dev.3 + ferry: ^0.15.0-dev.4 hive: ferry_hive_store: path_provider: diff --git a/examples/pokemon_explorer/pubspec.yaml b/examples/pokemon_explorer/pubspec.yaml index 1ede18a7..9ecf1348 100644 --- a/examples/pokemon_explorer/pubspec.yaml +++ b/examples/pokemon_explorer/pubspec.yaml @@ -6,9 +6,9 @@ environment: dependencies: gql_link: '>=0.5.0 <2.0.0' gql_http_link: '>=0.4.0 <2.0.0' - ferry: ^0.15.0-dev.3 + ferry: ^0.15.0-dev.4 ferry_hive_store: ^0.5.1 - ferry_flutter: ^0.8.1-dev.3 + ferry_flutter: ^0.8.1-dev.4 hive: ^2.0.0 hive_flutter: ^1.1.0 get_it: ^7.1.3 diff --git a/packages/ferry/CHANGELOG.md b/packages/ferry/CHANGELOG.md index 1059b227..9fe986de 100644 --- a/packages/ferry/CHANGELOG.md +++ b/packages/ferry/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.15.0-dev.4 + + - Update a dependency to the latest release. + ## 0.15.0-dev.3 - Update a dependency to the latest release. diff --git a/packages/ferry/pubspec.yaml b/packages/ferry/pubspec.yaml index 7d47df1d..51b03079 100644 --- a/packages/ferry/pubspec.yaml +++ b/packages/ferry/pubspec.yaml @@ -1,5 +1,5 @@ name: ferry -version: 0.15.0-dev.3 +version: 0.15.0-dev.4 homepage: https://ferrygraphql.com/ description: Ferry is a simple, powerful GraphQL Client for Flutter and Dart. repository: https://github.com/gql-dart/ferry @@ -16,7 +16,7 @@ dependencies: built_value: ^8.0.4 ferry_exec: ^0.3.1 normalize: ^0.9.0-dev.2 - ferry_cache: ^0.7.1-dev.3 + ferry_cache: ^0.7.1-dev.4 dev_dependencies: test: ^1.16.8 mockito: ^5.3.1 diff --git a/packages/ferry_cache/CHANGELOG.md b/packages/ferry_cache/CHANGELOG.md index 86ac7310..13ce97a0 100644 --- a/packages/ferry_cache/CHANGELOG.md +++ b/packages/ferry_cache/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.7.1-dev.4 + + - **FEAT**(ferry_generator): add option to reuse data classes for fragments with a single inline fragment spread as selection (#530). + ## 0.7.1-dev.3 - **FIX**(normalize): When there are dangling references in child objects of a list, by default do not treat the whole entity as partial data, but remove it from the list. This can be configured using the allowDanglingReference parameter. diff --git a/packages/ferry_cache/pubspec.yaml b/packages/ferry_cache/pubspec.yaml index a33f2c68..2cce850f 100644 --- a/packages/ferry_cache/pubspec.yaml +++ b/packages/ferry_cache/pubspec.yaml @@ -1,5 +1,5 @@ name: ferry_cache -version: 0.7.1-dev.3 +version: 0.7.1-dev.4 homepage: https://ferrygraphql.com/ description: A normalized, strongly typed, optimistic cache for GraphQL Operations and Fragments repository: https://github.com/gql-dart/ferry diff --git a/packages/ferry_flutter/CHANGELOG.md b/packages/ferry_flutter/CHANGELOG.md index 0e5da1f5..a08764f4 100644 --- a/packages/ferry_flutter/CHANGELOG.md +++ b/packages/ferry_flutter/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.8.1-dev.4 + + - Update a dependency to the latest release. + ## 0.8.1-dev.3 - Update a dependency to the latest release. diff --git a/packages/ferry_flutter/pubspec.yaml b/packages/ferry_flutter/pubspec.yaml index 5284d8d2..5e622559 100644 --- a/packages/ferry_flutter/pubspec.yaml +++ b/packages/ferry_flutter/pubspec.yaml @@ -1,12 +1,12 @@ name: ferry_flutter -version: 0.8.1-dev.3 +version: 0.8.1-dev.4 homepage: https://ferrygraphql.com/ description: Flutter widgets for the Ferry GraphQL client repository: https://github.com/gql-dart/ferry environment: sdk: '>=2.12.0 <3.0.0' dependencies: - ferry: ^0.15.0-dev.3 + ferry: ^0.15.0-dev.4 gql_exec: '>=0.4.0 <2.0.0' ferry_exec: ^0.3.1 flutter: