Open History to see the last commit
@tanstack/query-core#
5.101.2#
5.101.1#
Patch Changes#
5.101.0#
5.100.14#
5.100.13#
Patch Changes#
- fix(query-core): drop the custom
NoInfer<T>re-export and rely on TypeScript's built-inNoInfer(TS β₯ 5.4) soNoInfer<X[K]>stays assignable toX[K]in generic contexts (fixes #9937) (#10593)
5.100.12#
5.100.11#
5.100.10#
5.100.9#
Patch Changes#
- fix(query-core): wrap
persister'sTQueryKeyinNoInferso that thepersisterslot no longer contributes toTQueryKeyinference. Follow-up to #10510, which removedNoInferon all threepersistergenerics. PreservingNoInfer<TQueryKey>keeps that fix's benefit forTQueryFnDatawhile preventingTQueryKeyfrom widening to the augmented constraint whenRegister.queryKeyis narrowed β which madeDataTag-branded wrapper returns un-assignable in contravariant slots. (#10601)
5.100.8#
5.100.7#
5.100.6#
5.100.5#
Patch Changes#
- fix(core): propagate AbortSignal reason in infinite queries (
a53ef97)
5.100.4#
5.100.3#
Patch Changes#
- fix(suspense): skip calling combine when queries would suspend (#10576)
5.100.2#
Patch Changes#
fix(query-core): allow
persisterto contribute toTQueryFnDatainference so aqueryFnthat declares a parameter no longer produces a spurious overload mismatch against a typed persister (#7842). (#10510)fix: preserve infinite query behavior during SSR hydration (#8825) (#10074)
ref(core): remove leftover setStateOptions (#10574)
5.100.1#
Patch Changes#
- Fix bugs where hydrating queries with promises that had already resolved could cause queries to briefly and incorrectly show as pending/fetching (#10444)
5.100.0#
Minor Changes#
- feat(query-core): accept callback function for retryOnMount (#10515)
5.99.2#
5.99.1#
5.99.0#
5.98.0#
5.97.0#
Patch Changes#
- fix(query-core): use explicit
undefinedcheck for timer IDs so that customTimeoutProviders returning0as a valid timer ID are properly cleared (#10401)
5.96.2#
5.96.1#
5.96.0#
5.95.2#
Patch Changes#
- fix(timeoutManager): make sure NodeJs.Timout doesn't leak (#10325)
5.95.1#
Patch Changes#
- fix(timeoutManager): make sure NodeJs.Timout doesn't leak (#10323)
5.95.0#
5.94.5#
Patch Changes#
- fix(*): resolve issue about excluded build directory (#10312)
5.94.4#
Patch Changes#
- chore: fixed version (#10064)
5.91.2#
Patch Changes#
- fix(streamedQuery): maintain error state on reset refetch with initialData defined (#10287)
5.91.1#
Patch Changes#
- fix(core): cancel paused initial fetch when last observer unsubscribes (#10291)
5.91.0#
Minor Changes#
- feat: environmentManager (#10199)
5.90.20#
Patch Changes#
- Fix: onMutate callback now runs synchronously when mutationCache.config.onMutate is not defined (#10066)
5.90.19#
Patch Changes#
- fix stable combine reference not updating when queries change dynamically (#9954)
5.90.18#
Patch Changes#
- Align experimental_prefetchInRender promise rejection with Suspense behavior by only throwing when no data is available. (#10025)
5.90.17#
Patch Changes#
- fix(query-core): replaceEqualDeep max depth (#10032)
5.90.16#
Patch Changes#
5.90.15#
Patch Changes#
- Fix: Always treat existing data as stale when query goes into error state. (#9927)
5.90.14#
Patch Changes#
- Fix streamedQuery reducer being called twice (#9970)
5.90.13#
Patch Changes#
- Made context.signal consume aware with streamedQuery (#9963)
5.90.12#
Patch Changes#
- fix: update react and nextJs (#9944)
5.90.11#
Patch Changes#
- Prevent infinite render loops when useSuspenseQueries has duplicate queryKeys (#9886)
5.90.10#
Patch Changes#
fix(types): allow QueryFilters union with different lengths (#9878)
Fix streamedQuery to avoid returning undefined when the stream yields no values (#9876)
5.90.9#
Patch Changes#
- fix(types): do not drop readonly for partial QueryFilter matching (#9872)
5.90.8#
Patch Changes#
- fix: allow partial query keys in
QueryFilters(#9686)
5.90.7#
Patch Changes#
- fix(core): only attach .then and .catch onto a promise if it gets dehydrated (#9847)
5.90.6#
Patch Changes#
- Fixed isFetchedAfterMount in cases where initialData is applied (#9743)
5.90.5#
Patch Changes#
- fix: observing "promise" needs to implicitly observe "data" (#9772)
5.90.4#
Patch Changes#
- fix(types): remove duplicate Array condition in MutationKey type (#9754)
5.90.3#
Patch Changes#
- Avoid unhandled promise rejection errors during de/rehydration of pending queries. (#9752)