tanstack_query 1.1.0
tanstack_query: ^1.1.0 copied to clipboard
Widgets that help state management of asynchronous operations such as sending HTTP requests, getting the response, and caching the result.
1.1.0 (04/01/26) #
- Rework internals: move hook logic into core
QueryObserver/QueryandMutationObserver/Mutation. - Move
QueryCacheintoQueryClientand remove legacyQueryClient.Instance. - Implement
gcTimeand garbage collection scheduling for inactive queries. - Add
retry/retryDelaysupport (exponential backoff) andRetryer; add fixes/tests for retry behavior (includinguseInfiniteQuery). - Expose
mutateAsyncandresetMutationAPIs. - Fix observer subscriber management and refactor with
Removable. - Update docs, changelogs, dartdoc and add tests.
1.0.2 (30/12/25) #
- Add dartdoc comments.
1.0.1 (28/12/25) #
- Add
useQueryClienthook to retrieve the activeQueryClientfrom widget context.
1.0.0 (18/12/25) #
- First version with primary hooks (useQuery, useMutation, useInfiniteQuery)