github TanStack/query @tanstack/preact-query@5.102.0

Minor Changes

  • #10669 4e48c58 - preact-query: update usePrefetchQuery and usePrefetchInfiniteQuery to use queryClient.query and queryClient.infiniteQuery

Patch Changes

  • #11245 37127db - revert: remove NoInfer from useQuery return types

  • #10373 6e3d521 - fix(types): propagate generic type parameters to useMutationState select callback

  • #11224 294d4e6 - Fix queryOptions and infiniteQueryOptions return types so exported inferred options can be emitted in declaration files without leaking internal data tag symbols.

  • #11147 cb6c9d3 - Default TData of UseInfiniteQueryOptions and UseSuspenseInfiniteQueryOptions to InfiniteData<TQueryFnData> so it matches the hook generics.

  • #8737 2215bb0 - fix: make mutation variables optional when undefined extends TVariables

  • #11166 4913802 - Evaluate a function-form throwOnError against the actual query error before disabling retryOnMount (port of #9338), so errored queries whose throwOnError returns false are retried on mount again.

  • #11221 1ef4208 - Remove experimental render-time prefetching and the promise property from query results.

  • #11233 b866a95 - remove unused experimental_beforeQuery and experimental_afterQuery hooks

  • #11144 e546d03 - fix: remove placeholderData from suspense infinite query

  • Updated dependencies [34f7cee, b4368c4, 5bb089d, ba4650c, 294d4e6, 1f631b3, 01a02bf, 18c1c1e, 5448063, 2215bb0, 1ef4208, 5981771, 4a9bef6, bef4bc7, 9656dc4, 326aaf1, 3e83601, c6fc17c]:

    • @tanstack/query-core@5.102.0

Don't miss a new query release

NewReleases is sending notifications on new releases.