Skip to content

Commit

Permalink
Merge branch 'docs'
Browse files Browse the repository at this point in the history
  • Loading branch information
KRTirtho committed Aug 7, 2022
2 parents 96b8450 + 3b2e752 commit c514de5
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 7 deletions.
14 changes: 13 additions & 1 deletion packages/fl_query/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion packages/fl_query/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion packages/fl_query/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 8 additions & 0 deletions packages/fl_query_hooks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/fl_query_hooks/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions packages/fl_query_hooks/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand Down

0 comments on commit c514de5

Please sign in to comment.