diff --git a/packages/fl_query/CHANGELOG.md b/packages/fl_query/CHANGELOG.md index c7e00d8..1575766 100644 --- a/packages/fl_query/CHANGELOG.md +++ b/packages/fl_query/CHANGELOG.md @@ -1,4 +1,16 @@ -v0.1.0 +## v0.2.0 + +### New +- Paginated/Lagged Query support using `QueryJob`'s `keepPreviousData` +- Mutation event context (returned data from `onMutate` available in `onData` & `onError`) +- Support for `refetchOnMount`. Now query will be refetched when a new widget is mounted. + +### Improvements +- Only one Query & Mutation instance in `QueryBuilder` & `MutationBuilder` which reduces memory usage +- Optimistic updates are now context driven + + +## v0.1.0 Initial Release diff --git a/packages/fl_query/example/pubspec.yaml b/packages/fl_query/example/pubspec.yaml index b0aa124..c8a7f07 100644 --- a/packages/fl_query/example/pubspec.yaml +++ b/packages/fl_query/example/pubspec.yaml @@ -34,7 +34,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 - fl_query: ^0.1.0 + fl_query: ^0.2.0 http: ^0.13.5 dev_dependencies: diff --git a/packages/fl_query/pubspec.yaml b/packages/fl_query/pubspec.yaml index 5a82cd2..6eab676 100644 --- a/packages/fl_query/pubspec.yaml +++ b/packages/fl_query/pubspec.yaml @@ -1,6 +1,6 @@ name: fl_query description: Asynchronous data caching, refetching & invalidation library for Flutter -version: 0.1.0 +version: 0.2.0 homepage: https://fl-query.vercel.app issue_tracker: https://github.com/KRTirtho/fl-query/issues diff --git a/packages/fl_query_hooks/CHANGELOG.md b/packages/fl_query_hooks/CHANGELOG.md index cc69b7d..6f6261b 100644 --- a/packages/fl_query_hooks/CHANGELOG.md +++ b/packages/fl_query_hooks/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.2.0 + +### New +- Support Paginated/Lagged Query using `keepPreviousData` + +### Improvements +- Only one Query & Mutation instance in `useQuery` & `useMutation` reducing memory usage + ## 0.1.0 Initial Release diff --git a/packages/fl_query_hooks/example/pubspec.yaml b/packages/fl_query_hooks/example/pubspec.yaml index 7072092..20e843b 100644 --- a/packages/fl_query_hooks/example/pubspec.yaml +++ b/packages/fl_query_hooks/example/pubspec.yaml @@ -34,8 +34,8 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 - fl_query: ^0.1.0 - fl_query_hooks: ^0.1.0 + fl_query: ^0.2.0 + fl_query_hooks: ^0.2.0 flutter_hooks: ^0.18.5+1 http: ^0.13.5 diff --git a/packages/fl_query_hooks/pubspec.yaml b/packages/fl_query_hooks/pubspec.yaml index 9d3036d..f56fbbf 100644 --- a/packages/fl_query_hooks/pubspec.yaml +++ b/packages/fl_query_hooks/pubspec.yaml @@ -1,6 +1,6 @@ name: fl_query_hooks description: Elite flutter_hooks compatible library for fl_query, the Asynchronous data caching, refetching & invalidation library for Flutter -version: 0.1.0 +version: 0.2.0 homepage: https://fl-query.vercel.app issue_tracker: https://github.com/KRTirtho/fl-query/issues @@ -16,7 +16,7 @@ dependencies: sdk: flutter flutter_hooks: ^0.18.5+1 uuid: ^3.0.6 - fl_query: ^0.1.0 + fl_query: ^0.2.0 dev_dependencies: flutter_test: