Open History to see the last commit
1# @tanstack/query-core
2β
3## 5.101.4
4β
5## 5.101.3
6β
7### Patch Changes
8β
9- [#11084](https://github.com/TanStack/query/pull/11084) [`7e3c822`](https://github.com/TanStack/query/commit/7e3c822a10896f41a8f1031c16b85096277af677) - Improve `partialMatchKey` performance in query-core.
10β
11## 5.101.2
12β
13## 5.101.1
14β
15### Patch Changes
16β
17- [#10610](https://github.com/TanStack/query/pull/10610) [`9eff92e`](https://github.com/TanStack/query/commit/9eff92ed86e284ec0125b3a3539d028688235bd1) - fix missing `dataUpdatedAt` for streamed queries that resolve before hydration
18β
19## 5.101.0
20β
21## 5.100.14
22β
23## 5.100.13
24β
25### Patch Changes
26β
27- fix(query-core): drop the custom `NoInfer<T>` re-export and rely on TypeScript's built-in `NoInfer` (TS β₯ 5.4) so `NoInfer<X[K]>` stays assignable to `X[K]` in generic contexts (fixes [#9937](https://github.com/TanStack/query/issues/9937)) ([#10593](https://github.com/TanStack/query/pull/10593))
28β
29## 5.100.12
30β
31## 5.100.11
32β
33## 5.100.10
34β
35## 5.100.9
36β
37### Patch Changes
38β
39- fix(query-core): wrap `persister`'s `TQueryKey` in `NoInfer` so that the `persister` slot no longer contributes to `TQueryKey` inference. Follow-up to #10510, which removed `NoInfer` on all three `persister` generics. Preserving `NoInfer<TQueryKey>` keeps that fix's benefit for `TQueryFnData` while preventing `TQueryKey` from widening to the augmented constraint when `Register.queryKey` is narrowed β which made `DataTag`-branded wrapper returns un-assignable in contravariant slots. ([#10601](https://github.com/TanStack/query/pull/10601))
40β
41## 5.100.8
42β
43## 5.100.7
44β
45## 5.100.6
46β
47## 5.100.5
48β
49### Patch Changes
50β
51- fix(core): propagate AbortSignal reason in infinite queries ([`a53ef97`](https://github.com/TanStack/query/commit/a53ef97f87decb8ea2431710f5199431d3c94c8d))
52β
53## 5.100.4
54β
55## 5.100.3
56β
57### Patch Changes
58β
59- fix(suspense): skip calling combine when queries would suspend ([#10576](https://github.com/TanStack/query/pull/10576))
60β
61## 5.100.2
62β
63### Patch Changes
64β
65- fix(query-core): allow `persister` to contribute to `TQueryFnData` inference so a `queryFn` that declares a parameter no longer produces a spurious overload mismatch against a typed persister (#7842). ([#10510](https://github.com/TanStack/query/pull/10510))
66β
67- fix: preserve infinite query behavior during SSR hydration (#8825) ([#10074](https://github.com/TanStack/query/pull/10074))
68β
69- ref(core): remove leftover setStateOptions ([#10574](https://github.com/TanStack/query/pull/10574))
70β
71## 5.100.1
72β
73### Patch Changes
74β
75- Fix bugs where hydrating queries with promises that had already resolved could cause queries to briefly and incorrectly show as pending/fetching ([#10444](https://github.com/TanStack/query/pull/10444))
76β
77## 5.100.0
78β
79### Minor Changes
80β
81- feat(query-core): accept callback function for retryOnMount ([#10515](https://github.com/TanStack/query/pull/10515))
82β
83## 5.99.2
84β
85## 5.99.1
86β
87## 5.99.0
88β
89## 5.98.0
90β
91## 5.97.0
92β
93### Patch Changes
94β
95- fix(query-core): use explicit `undefined` check for timer IDs so that custom `TimeoutProvider`s returning `0` as a valid timer ID are properly cleared ([#10401](https://github.com/TanStack/query/pull/10401))
96β
97## 5.96.2
98β
99## 5.96.1
100β
101## 5.96.0
102β
103## 5.95.2
104β
105### Patch Changes
106β
107- fix(timeoutManager): make sure NodeJs.Timout doesn't leak ([#10325](https://github.com/TanStack/query/pull/10325))
108β
109## 5.95.1
110β
111### Patch Changes
112β
113- fix(timeoutManager): make sure NodeJs.Timout doesn't leak ([#10323](https://github.com/TanStack/query/pull/10323))
114β
115## 5.95.0
116β
117## 5.94.5
118β
119### Patch Changes
120β
121- fix(\*): resolve issue about excluded build directory ([#10312](https://github.com/TanStack/query/pull/10312))
122β
123## 5.94.4
124β
125### Patch Changes
126β
127- chore: fixed version ([#10064](https://github.com/TanStack/query/pull/10064))
128β
129## 5.91.2
130β
131### Patch Changes
132β
133- fix(streamedQuery): maintain error state on reset refetch with initialData defined ([#10287](https://github.com/TanStack/query/pull/10287))
134β
135## 5.91.1
136β
137### Patch Changes
138β
139- fix(core): cancel paused initial fetch when last observer unsubscribes ([#10291](https://github.com/TanStack/query/pull/10291))
140β
141## 5.91.0
142β
143### Minor Changes
144β
145- feat: environmentManager ([#10199](https://github.com/TanStack/query/pull/10199))
146β
147## 5.90.20
148β
149### Patch Changes
150β
151- Fix: onMutate callback now runs synchronously when mutationCache.config.onMutate is not defined ([#10066](https://github.com/TanStack/query/pull/10066))
152β
153## 5.90.19
154β
155### Patch Changes
156β
157- fix stable combine reference not updating when queries change dynamically ([#9954](https://github.com/TanStack/query/pull/9954))
158β
159## 5.90.18
160β
161### Patch Changes
162β
163- Align experimental_prefetchInRender promise rejection with Suspense behavior by only throwing when no data is available. ([#10025](https://github.com/TanStack/query/pull/10025))
164β
165## 5.90.17
166β
167### Patch Changes
168β
169- fix(query-core): replaceEqualDeep max depth ([#10032](https://github.com/TanStack/query/pull/10032))
170β
171## 5.90.16
172β
173### Patch Changes
174β
175- fix useQueries race condition on queries length change (#9971) ([#9973](https://github.com/TanStack/query/pull/9973))
176β
177## 5.90.15
178β
179### Patch Changes
180β
181- Fix: Always treat existing data as stale when query goes into error state. ([#9927](https://github.com/TanStack/query/pull/9927))
182β
183## 5.90.14
184β
185### Patch Changes
186β
187- Fix streamedQuery reducer being called twice ([#9970](https://github.com/TanStack/query/pull/9970))
188β
189## 5.90.13
190β
191### Patch Changes
192β
193- Made context.signal consume aware with streamedQuery ([#9963](https://github.com/TanStack/query/pull/9963))
194β
195## 5.90.12
196β
197### Patch Changes
198β
199- fix: update react and nextJs ([#9944](https://github.com/TanStack/query/pull/9944))
200β
201## 5.90.11
202β
203### Patch Changes
204β
205- Prevent infinite render loops when useSuspenseQueries has duplicate queryKeys ([#9886](https://github.com/TanStack/query/pull/9886))
206β
207## 5.90.10
208β
209### Patch Changes
210β
211- fix(types): allow QueryFilters union with different lengths ([#9878](https://github.com/TanStack/query/pull/9878))
212β
213- Fix streamedQuery to avoid returning undefined when the stream yields no values ([#9876](https://github.com/TanStack/query/pull/9876))
214β
215## 5.90.9
216β
217### Patch Changes
218β
219- fix(types): do not drop readonly for partial QueryFilter matching ([#9872](https://github.com/TanStack/query/pull/9872))
220β
221## 5.90.8
222β
223### Patch Changes
224β
225- fix: allow partial query keys in `QueryFilters` ([#9686](https://github.com/TanStack/query/pull/9686))
226β
227## 5.90.7
228β
229### Patch Changes
230β
231- fix(core): only attach .then and .catch onto a promise if it gets dehydrated ([#9847](https://github.com/TanStack/query/pull/9847))
232β
233## 5.90.6
234β
235### Patch Changes
236β
237- Fixed isFetchedAfterMount in cases where initialData is applied ([#9743](https://github.com/TanStack/query/pull/9743))
238β
239## 5.90.5
240β
241### Patch Changes
242β
243- fix: observing "promise" needs to implicitly observe "data" ([#9772](https://github.com/TanStack/query/pull/9772))
244β
245## 5.90.4
246β
247### Patch Changes
248β
249- fix(types): remove duplicate Array condition in MutationKey type ([#9754](https://github.com/TanStack/query/pull/9754))
250β
251## 5.90.3
252β
253### Patch Changes
254β
255- Avoid unhandled promise rejection errors during de/rehydration of pending queries. ([#9752](https://github.com/TanStack/query/pull/9752))