bd22b87391
docs(README): mention newest feature
2.6 KiB
2.6 KiB
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.3.0 (2022-09-23)
Features
- add initial support for
InfiniteQuery(1452d7d) - infinite-query: add
useInfiniteQueryhook with example (2a3ac29) - infinite-query: add all the features of query in infinite query (61958c7)
- infinite-query: add refetchPages, refetchOnStale, refetchOnMount support (95b1837)
- infinite-query: add setInfiniteQueryData support (6eb7b2a)
- infinite-query: onData and onError listener support (f47ca98)
- query_bowl:
QueryBowlas separate class - performance: lazily update ListenerWidgets or listeners instead of triggering an update for whole widget tree
Bug Fixes
- InfiniteQueryJob: remove unneeded
keepPreviousDataproperty (8df1fc5)
v0.2.0
New
- Paginated/Lagged Query support using
QueryJob'skeepPreviousData - Mutation event context (returned data from
onMutateavailable inonData&onError) - Support for
refetchOnMount. Now query will be refetched when a new widget is mounted.
Improvements
- Only one Query & Mutation instance in
QueryBuilder&MutationBuilderwhich reduces memory usage - Optimistic updates are now context driven
v0.1.0
Initial Release
QueryBowl&QueryBowlScopefor managing & caching all the query data.Queryfor advanced fetch, refetch & data management APIsMutationfor advanced mutate (a function that modifies data somewhere) & post-mutation management APIsQueryJobfor defining the logic of how data should be fetched or refetched or invalidatedMutationJobfor defining the logic of how data should be mutatedQueryBuilderfor binding theQuery&QueryJobto a Flutter WidgetMutationBuilderfor binding theMutation&MutationJobto a Flutter Widget