Commit Graph

149 Commits

Author SHA1 Message Date
Kingkor Roy Tirtho a06b7508ac feat(fl_query_connectivity_plus_adapter): only poll to check online when connection is false 2023-10-14 15:10:52 +06:00
Kingkor Roy Tirtho 363404f9ed feat(fl_query_connectivity_plus_adapter): lookup based offline detection 2023-10-14 14:42:12 +06:00
Kingkor Roy Tirtho 3e3047ffd4 fix(fl_query): use sync connection checker instead of async in every operation 2023-10-14 13:05:09 +06:00
Kingkor Roy Tirtho c5f24074cc chore(release): publish packages
- fl_query@1.0.0-alpha.5
 - fl_query_devtools@0.1.0-alpha.3
 - fl_query_hooks@1.0.0-alpha.5
 - fl_query_connectivity_plus_adapter@0.1.0-alpha.4
2023-10-06 12:39:53 +06:00
Kingkor Roy Tirtho 1cad748024 chore: fix InfiniteQueryState.lastPage empty element exception on initialization 2023-10-06 12:36:44 +06:00
Kingkor Roy Tirtho ab1479c0eb feat(infinite_query): add isLoadingNextPage & remove isLoadingPage 2023-10-06 11:15:59 +06:00
Kingkor Roy Tirtho 9581e276b9 fix(query): isLoading & isRefreshing not working as expected 2023-10-06 10:36:55 +06:00
Kingkor Roy Tirtho b512a5da06 fix(mutation): isMutating not working 2023-10-06 10:23:01 +06:00
Kingkor Roy Tirtho ea6b3f7b96 chore(release): publish packages
- fl_query_hooks@1.0.0-alpha.4+1
2023-09-09 16:41:17 +06:00
Kingkor Roy Tirtho 8b728b4405 fix(fl_query_hooks): upgrade flutter_hooks version & dart sdk constrain 2023-09-09 16:38:15 +06:00
Kingkor Roy Tirtho 572e5e4384 chore(release): publish packages
- fl_query@1.0.0-alpha.4
 - fl_query_devtools@0.1.0-alpha.2
 - fl_query_hooks@1.0.0-alpha.4
 - fl_query_connectivity_plus_adapter@0.1.0-alpha.3
2023-09-09 16:34:10 +06:00
Kingkor Roy Tirtho 6c544922a3 fix: mutation onSuccess doesn't refresh all pages of infinite queries 2023-09-09 15:27:54 +06:00
Kingkor Roy Tirtho f40260a348 fix: no refreshing stale queries with error 2023-09-09 15:27:22 +06:00
Kingkor Roy Tirtho f27e5f8162 fix(devtools): no wrapping child inside SizedBox.shrink 2023-09-09 15:26:45 +06:00
Kingkor Roy Tirtho 26419418f2 chore(release): publish packages
- fl_query_connectivity_plus_adapter@0.1.0-alpha.2
2023-06-28 17:35:19 +06:00
Kingkor Roy Tirtho 3a8455f57b fix(fl_query_connectivity_plus_adapter): lower the sdk constrains 2023-06-28 17:34:48 +06:00
Kingkor Roy Tirtho be71f17d43 chore: add noopConnectivityAdapter 2023-06-24 22:27:17 +06:00
Kingkor Roy Tirtho 4dbdfff8b6 chore(release): publish packages
- fl_query@1.0.0-alpha.3
 - fl_query_hooks@1.0.0-alpha.3
 - fl_query_devtools@0.1.0-alpha.1
 - fl_query_connectivity_plus_adapter@0.1.0-alpha.1
2023-06-24 22:17:43 +06:00
Kingkor Roy Tirtho c0edb90896 refactor: show devtools only in debug mode 2023-06-24 13:06:37 +06:00
Kingkor Roy Tirtho 5bb89ed1fb refactor: move devtools to separate library 2023-06-23 23:00:10 +06:00
Kingkor Roy Tirtho e0c5282e19 chore: fix import errors 2023-06-23 22:41:04 +06:00
Kingkor Roy Tirtho a40dca73b5 feat: resolve and resolveWith helper support 2023-06-23 22:40:20 +06:00
Kingkor Roy Tirtho 8c7b19c0e5 feat: refresh on network state change and cancel retry when offline 2023-06-21 22:10:39 +06:00
Kingkor Roy Tirtho 72ca4cece4 feat: connectivity adapter package for connectivity_plus 2023-06-21 21:39:31 +06:00
Kingkor Roy Tirtho 7dd9036e69 chore: more comment and 1 level deep BuildContext 2023-06-10 12:12:49 +06:00
Kingkor Roy Tirtho c6e484637a chore: infinite query comments 2023-06-10 11:45:17 +06:00
Kingkor Roy Tirtho bc52de5303 feat: add ability to get, refresh query and infinite queries using prefix 2023-06-09 22:51:50 +06:00
Kingkor Roy Tirtho 1b1f1cdc93 feat: add devtools (WIP) 2023-05-29 13:33:09 +06:00
Kingkor Roy Tirtho 0fa58dcb84 chore: update deps 2023-05-29 08:45:38 +06:00
Kingkor Roy Tirtho f30a001a8b chore: update versions and gen changelogs 2023-03-12 11:07:00 +06:00
Kingkor Roy Tirtho f8895e3381 feat(QueryClientProvider): add config parameters and override-able client parameter 2023-03-12 11:03:12 +06:00
Kingkor Roy Tirtho 767db4a725 chore: remove direct src import of flutter foundation 2023-03-05 17:17:54 +06:00
Kingkor Roy Tirtho c65744377d chore: generate changelogs 2023-03-05 17:12:04 +06:00
Kingkor Roy Tirtho 6b277647b7 chore: bump version for pre release 2023-03-05 16:47:12 +06:00
Kingkor Roy Tirtho fbe1f9591a chore: use local path to lib in examples 2023-03-05 15:01:22 +06:00
Kingkor Roy Tirtho b7ff1c8abe chore: remove unnecessary plugin registrant files 2023-03-05 13:37:39 +06:00
Kingkor Roy Tirtho 8d118dff7a chore: remove unnecessary plugin registrant files 2023-03-05 13:35:57 +06:00
Kingkor Roy Tirtho 121c996903 chore: remove unneeded deps from lock files 2023-03-05 13:18:20 +06:00
Kingkor Roy Tirtho 5332bd16d3 fix(fl_query_hooks): fetch query when queryKey changes 2023-03-04 21:53:31 +06:00
Kingkor Roy Tirtho 0c819d4e11 refactor: more convenient ways customizing config 2023-03-02 18:51:50 +06:00
Kingkor Roy Tirtho 9e8959820f fix(client): check for error out put in fetch query and infinite query and mutateMutation immediate resolve 2023-03-02 18:22:04 +06:00
Kingkor Roy Tirtho 64d661779a fix: fetch query and infinite query resolving immediately without proper result 2023-03-02 12:38:16 +06:00
Kingkor Roy Tirtho cf2550a290 fix(fl_query_hooks): query/mutation reset to initial memoized values on hot reload 2023-02-28 22:21:20 +06:00
Kingkor Roy Tirtho f2a23b085c feat: new next_page signature, query/mutation fn in notifier and safe update in use_updater 2023-02-26 13:51:40 +06:00
Kingkor Roy Tirtho 1ea9370570 feat: use function hooks instead of class hooks 2023-02-26 10:51:28 +06:00
Kingkor Roy Tirtho d964216ee1 chore: remove unnecessary deps 2023-02-23 23:44:24 +06:00
Kingkor Roy Tirtho c068c41b46 chore: use custom cache prefix for hooks example 2023-02-23 23:37:23 +06:00
Kingkor Roy Tirtho 72a4646af8 chore: remove _forbidden 2023-02-23 23:34:15 +06:00
Kingkor Roy Tirtho 383d0e0a85 feat: use mutation hook add 2023-02-23 23:33:56 +06:00
Kingkor Roy Tirtho f9a5207403 feat: useInfiniteQuery hook add 2023-02-23 23:21:57 +06:00