3.1 KiB
3.1 KiB
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.0.0-alpha.2 (2023-03-12)
Features
- QueryClientProvider: add config parameters and override-able client parameter (f8895e3)
1.0.0-alpha.1 (2023-03-05)
BREAKING
- The Jobs API has been disabled. So there's no
QueryJob,MutationJobandInfiniteQueryJobanymore. Instead, you can use theuseQuery,useMutationanduseInfiniteQuerydirectly- Some of classes were renamed to more mature names
QueryBowlProvider->QueryClientProviderQueryBowl->QueryClient- The unnecessary
getPreviousPageParamis now removed fromInfiniteQuerygetNextPageParamhas been renamed tonextPage- Also,
fetchNextPagehas been renamed tofetchNextQueryandInfiniteQuery'ssetQueryDatahas been renamed tosetDataand it now accepts data directly instead of a call back function- Finally,
QueryClient's unneededprefetchQuerymethod was eradicated- useForceUpdate hook is now removed from the package
Features
- new useQueryClient hook
- useQuery hook implementation hook based on new fl_query (7fabf44)
- useInfiniteQuery hook implementation hook based on new fl_query (f9a5207)
- usMutation implementation hook based on new fl_query (383d0e0)
0.3.1 (2022-10-03)
Bug Fixes
- infinite_query:
getNextPageParam&getPreviousPageParamcannot return null (e9c8b79) - fl_query_hooks: unneeded empty instances of query/mutation (e9c8b79)
- base_query:
onDatacallback getting called with null #17 (664e90e)
0.3.0 (2022-09-23)
New
InfiniteQuerysupport
Improvement
- More efficient
QueryBowlbecause it's now a class instead of a StatefulWidget - Listeners are updated lazily now
0.2.0
New
- Support Paginated/Lagged Query using
keepPreviousData
Improvements
- Only one Query & Mutation instance in
useQuery&useMutationreducing memory usage
0.1.0
Initial Release
useQueryfor binding theQuery&QueryJobdata to the UI layer of the applicationuseMutationfor binding theMutation&MutationJoboperations to the UI layer of the application