- 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)
- fix(core): propagate AbortSignal reason in infinite queries (
a53ef97)
- fix(suspense): skip calling combine when queries would suspend (#10576)
-
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)
- Fix bugs where hydrating queries with promises that had already resolved could cause queries to briefly and incorrectly show as pending/fetching (#10444)
- feat(query-core): accept callback function for retryOnMount (#10515)
- fix(query-core): use explicit
undefinedcheck for timer IDs so that customTimeoutProviders returning0as a valid timer ID are properly cleared (#10401)
- fix(timeoutManager): make sure NodeJs.Timout doesn't leak (#10325)
- fix(timeoutManager): make sure NodeJs.Timout doesn't leak (#10323)
- fix(*): resolve issue about excluded build directory (#10312)
- chore: fixed version (#10064)
- fix(streamedQuery): maintain error state on reset refetch with initialData defined (#10287)
- fix(core): cancel paused initial fetch when last observer unsubscribes (#10291)
- feat: environmentManager (#10199)
- Fix: onMutate callback now runs synchronously when mutationCache.config.onMutate is not defined (#10066)
- fix stable combine reference not updating when queries change dynamically (#9954)
- Align experimental_prefetchInRender promise rejection with Suspense behavior by only throwing when no data is available. (#10025)
- fix(query-core): replaceEqualDeep max depth (#10032)
- fix useQueries race condition on queries length change (#9971) (#9973)
- Fix: Always treat existing data as stale when query goes into error state. (#9927)
- Fix streamedQuery reducer being called twice (#9970)
- Made context.signal consume aware with streamedQuery (#9963)
- fix: update react and nextJs (#9944)
- Prevent infinite render loops when useSuspenseQueries has duplicate queryKeys (#9886)
-
fix(types): allow QueryFilters union with different lengths (#9878)
-
Fix streamedQuery to avoid returning undefined when the stream yields no values (#9876)
- fix(types): do not drop readonly for partial QueryFilter matching (#9872)
- fix: allow partial query keys in
QueryFilters(#9686)
- fix(core): only attach .then and .catch onto a promise if it gets dehydrated (#9847)
- Fixed isFetchedAfterMount in cases where initialData is applied (#9743)
- fix: observing "promise" needs to implicitly observe "data" (#9772)
- fix(types): remove duplicate Array condition in MutationKey type (#9754)
- Avoid unhandled promise rejection errors during de/rehydration of pending queries. (#9752)