Skip to content

Commit bd22b87

Browse files
committed
chore: bump version of both packages and generate CHANGELOG
docs(README): mention newest feature
1 parent fe0df69 commit bd22b87

File tree

6 files changed

+53
-16
lines changed

6 files changed

+53
-16
lines changed

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
!["Fl-Query Logo"](assets/fl-query-banner.png)
1+
!["Fl-Query Logo"](https://user-images.githubusercontent.com/61944859/178648225-611d248b-df97-4f0d-b298-b178bb141a29.png)
22
<h1>
33
<p align="center">
44
Fl-Query
@@ -16,17 +16,10 @@ Fl-Query makes asynchronous server state management a breeze in flutter
1616
- Smart + effective refetching
1717
- Optimistic updates
1818
- Automatically cached data invalidation & unneeded query/mutation garbage collection
19+
- Infinite data pagination via `InfiniteQuery`
1920
- Easy to write & understand code. Follows DRY (Don't repeat yourself) convention
2021
- Compatible with both vanilla Flutter & elite [flutter_hooks](https://pub.dev/packages/flutter_hooks)
2122

22-
23-
## Support Us
24-
<a href="https://www.buymeacoffee.com/krtirtho">
25-
<img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=krtirtho&button_colour=FF5F5F&font_colour=ffffff&font_family=Inter&outline_colour=000000&coffee_colour=FFDD00" />
26-
</a>
27-
<br/>
28-
<a href="https://patreon.com/krtirtho"><img src="https://user-images.githubusercontent.com/61944859/180249027-678b01b8-c336-451e-b147-6d84a5b9d0e7.png" width="250"/></a>
29-
3023
# Installation
3124

3225
Regular installation:
@@ -53,6 +46,7 @@ First wrap your `MaterialApp` with with `QueryBowlScope` widget
5346
```dart
5447
Widget build(BuildContext context) {
5548
return QueryBowlScope(
49+
bowl: QueryBowl(),
5650
child: MaterialApp(
5751
title: 'Fl-Query Example App',
5852
theme: ThemeData(
@@ -146,7 +140,9 @@ class Example extends HookWidget{
146140
```
147141

148142
# Why?
149-
![The hell, why?](https://media.giphy.com/media/1M9fmo1WAFVK0/giphy.gif)
143+
<p align="center">
144+
<img src="https://media.giphy.com/media/1M9fmo1WAFVK0/giphy.gif" alt="The hell, why?">
145+
</p>
150146

151147
The main purpose of Fl-Query is providing the easiest way to manage the messy server-state part requiring the least amount of code with code reusability & performance
152148

packages/fl_query/CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4+
5+
### [0.3.0](https://github.com/KRTirtho/fl-query/compare/v0.2.0...v0.3.0) (2022-09-23)
6+
7+
8+
### Features
9+
10+
* add initial support for `InfiniteQuery` ([1452d7d](https://github.com/KRTirtho/fl-query/commit/1452d7d79e14ef933391221f245c8bff1e869af6))
11+
* **infinite-query:** add `useInfiniteQuery` hook with example ([2a3ac29](https://github.com/KRTirtho/fl-query/commit/2a3ac29f64971fe534fa70600e8be4490429304e))
12+
* **infinite-query:** add all the features of query in infinite query ([61958c7](https://github.com/KRTirtho/fl-query/commit/61958c7d9499921387c646cc27ab9d6202694804))
13+
* **infinite-query:** add refetchPages, refetchOnStale, refetchOnMount support ([95b1837](https://github.com/KRTirtho/fl-query/commit/95b183762021b51df7225adb66f3330e8d84bd96))
14+
* **infinite-query:** add setInfiniteQueryData support ([6eb7b2a](https://github.com/KRTirtho/fl-query/commit/6eb7b2a4293b64243e36307a70720601a76878a3))
15+
* **infinite-query:** onData and onError listener support ([f47ca98](https://github.com/KRTirtho/fl-query/commit/f47ca98472ccd3eecf49ae348225332c8a2f61ea))
16+
* **query_bowl:** `QueryBowl` as separate class
17+
* **performance:** lazily update ListenerWidgets or listeners instead of triggering an update for whole widget tree
18+
19+
20+
### Bug Fixes
21+
22+
* **InfiniteQueryJob:** remove unneeded `keepPreviousData` property ([8df1fc5](https://github.com/KRTirtho/fl-query/commit/8df1fc54c326b62ea1f4df0b4b472ef88198ef4d))
23+
124
## v0.2.0
225

326
### New

packages/fl_query/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Fl-Query makes asynchronous server state management a breeze in flutter
1616
- Smart + effective refetching
1717
- Optimistic updates
1818
- Automatically cached data invalidation & unneeded query/mutation garbage collection
19+
- Infinite data pagination via `InfiniteQuery`
1920
- Easy to write & understand code. Follows DRY (Don't repeat yourself) convention
2021
- Compatible with both vanilla Flutter & elite [flutter_hooks](https://pub.dev/packages/flutter_hooks)
2122

@@ -139,7 +140,9 @@ class Example extends HookWidget{
139140
```
140141

141142
# Why?
142-
![The hell, why?](https://media.giphy.com/media/1M9fmo1WAFVK0/giphy.gif)
143+
<p align="center">
144+
<img src="https://media.giphy.com/media/1M9fmo1WAFVK0/giphy.gif" alt="The hell, why?">
145+
</p>
143146

144147
The main purpose of Fl-Query is providing the easiest way to manage the messy server-state part requiring the least amount of code with code reusability & performance
145148

packages/fl_query/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: fl_query
22
description: Asynchronous data caching, refetching & invalidation library for Flutter
3-
version: 0.2.0
3+
version: 0.3.0
44
homepage: https://fl-query.vercel.app
55

66
issue_tracker: https://github.com/KRTirtho/fl-query/issues

packages/fl_query_hooks/CHANGELOG.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4+
5+
### [0.3.0](https://github.com/KRTirtho/fl-query/compare/v0.2.0...v0.3.0) (2022-09-23)
6+
7+
8+
### New
9+
10+
* `InfiniteQuery` support
11+
12+
### Improvement
13+
14+
* More efficient `QueryBowl` because it's now a class instead of a StatefulWidget
15+
* Listeners are updated lazily now
16+
17+
118
## 0.2.0
219

320
### New
@@ -12,5 +29,3 @@ Initial Release
1229

1330
- `useQuery` for binding the `Query` & `QueryJob` data to the UI layer of the application
1431
- `useMutation` for binding the `Mutation` & `MutationJob` operations to the UI layer of the application
15-
16-

packages/fl_query_hooks/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: fl_query_hooks
22
description: Elite flutter_hooks compatible library for fl_query, the Asynchronous data caching, refetching & invalidation library for Flutter
3-
version: 0.2.0
3+
version: 0.3.0
44
homepage: https://fl-query.vercel.app
55

66
issue_tracker: https://github.com/KRTirtho/fl-query/issues
@@ -16,7 +16,7 @@ dependencies:
1616
sdk: flutter
1717
flutter_hooks: ^0.18.5+1
1818
uuid: ^3.0.6
19-
fl_query: ^0.2.0
19+
fl_query: ^0.3.0
2020

2121
dev_dependencies:
2222
flutter_test:

0 commit comments

Comments
 (0)