Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

CHANGELOG.md

502 lines15.6 KB

1# @tanstack/react-query
2​
3## 5.102.8
4​
5### Patch Changes
6​
7- Updated dependencies []:
8 - @tanstack/query-core@5.102.8
9​
10## 5.102.7
11​
12### Patch Changes
13​
14- Updated dependencies []:
15 - @tanstack/query-core@5.102.7
16​
17## 5.102.6
18​
19### Patch Changes
20​
21- [#11305](https://github.com/TanStack/query/pull/11305) [`ac2b612`](https://github.com/TanStack/query/commit/ac2b61230ea35b90b177ba35dc030598bac9c9a6) - fix(react-query): throw falsy errors from `useQueries` and `useSuspenseQueries` to the error boundary
22​
23- Updated dependencies []:
24 - @tanstack/query-core@5.102.6
25​
26## 5.102.5
27​
28### Patch Changes
29​
30- Updated dependencies [[`578e5c2`](https://github.com/TanStack/query/commit/578e5c26e8ebd0d7351b4b8e2bafba695e672b8d)]:
31 - @tanstack/query-core@5.102.5
32​
33## 5.102.4
34​
35### Patch Changes
36​
37- Updated dependencies [[`a05df6a`](https://github.com/TanStack/query/commit/a05df6aefb0e2489ec2c879ae16e2ee7cb3123ec)]:
38 - @tanstack/query-core@5.102.4
39​
40## 5.102.3
41​
42### Patch Changes
43​
44- Updated dependencies []:
45 - @tanstack/query-core@5.102.3
46​
47## 5.102.2
48​
49### Patch Changes
50​
51- Updated dependencies [[`80fbf73`](https://github.com/TanStack/query/commit/80fbf73e77892d702c107e14a84c219a8ed825dc)]:
52 - @tanstack/query-core@5.102.2
53​
54## 5.102.1
55​
56### Patch Changes
57​
58- Updated dependencies [[`134890d`](https://github.com/TanStack/query/commit/134890dbdc60e4fb0313e44b512d29284ca82f96)]:
59 - @tanstack/query-core@5.102.1
60​
61## 5.102.0
62​
63### Minor Changes
64​
65- [#10668](https://github.com/TanStack/query/pull/10668) [`e674826`](https://github.com/TanStack/query/commit/e6748265c86294704f6c872e6f435d9ec5a92b28) - react-query: update usePrefetchQuery and usePrefetchInfiniteQuery to use queryClient.query and queryClient.infiniteQuery
66​
67### Patch Changes
68​
69- [#11245](https://github.com/TanStack/query/pull/11245) [`37127db`](https://github.com/TanStack/query/commit/37127dbe479a4892dbbe28ac8ceabf8832b5f1a3) - revert: remove NoInfer from useQuery return types
70​
71- [#10373](https://github.com/TanStack/query/pull/10373) [`6e3d521`](https://github.com/TanStack/query/commit/6e3d521fe54f78624e53c1c6f9cadd678504bee8) - fix(types): propagate generic type parameters to `useMutationState` select callback
72​
73- [#11224](https://github.com/TanStack/query/pull/11224) [`294d4e6`](https://github.com/TanStack/query/commit/294d4e62c4f7d674574a4903eef2a1bc3dd1413b) - Fix `queryOptions` and `infiniteQueryOptions` return types so exported inferred options can be emitted in declaration files without leaking internal data tag symbols.
74​
75- [#11147](https://github.com/TanStack/query/pull/11147) [`cb6c9d3`](https://github.com/TanStack/query/commit/cb6c9d3725db0fed94fb5133820e41b7c326d2ef) - Default `TData` of `UseInfiniteQueryOptions` and `UseSuspenseInfiniteQueryOptions` to `InfiniteData<TQueryFnData>` so it matches the hook generics.
76​
77- [#8737](https://github.com/TanStack/query/pull/8737) [`2215bb0`](https://github.com/TanStack/query/commit/2215bb031139cdc8a84751b37a485c38ca9d2b6e) - fix: make mutation variables optional when `undefined extends TVariables`
78​
79- [#11221](https://github.com/TanStack/query/pull/11221) [`1ef4208`](https://github.com/TanStack/query/commit/1ef42087c9a266c2137d2ef645cbcc662f60ac93) - Remove experimental render-time prefetching and the `promise` property from query results.
80​
81- [#11228](https://github.com/TanStack/query/pull/11228) [`fb6c3fa`](https://github.com/TanStack/query/commit/fb6c3fabda4cb6b291cccc6651ed88a7db901915) - Avoid emitting a runtime import for React Query's type-only exports.
82​
83- [#11130](https://github.com/TanStack/query/pull/11130) [`8834267`](https://github.com/TanStack/query/commit/88342670eca6e4949416aab832b1f81cc7b881f8) - fix(react-query): don't show optimistic fetching for unsubscribed useQueries
84​
85- [#11233](https://github.com/TanStack/query/pull/11233) [`b866a95`](https://github.com/TanStack/query/commit/b866a95adde7e8465462526df5870ebc12340b36) - remove unused experimental_beforeQuery and experimental_afterQuery hooks
86​
87- [#11144](https://github.com/TanStack/query/pull/11144) [`e546d03`](https://github.com/TanStack/query/commit/e546d03bef116c66a05dbf42ccfd70b6d8600a8f) - fix: remove placeholderData from suspense infinite query
88​
89- Updated dependencies [[`34f7cee`](https://github.com/TanStack/query/commit/34f7ceed09c10e4a3aa2df31a106ddf02ec4e787), [`b4368c4`](https://github.com/TanStack/query/commit/b4368c43792349f6c29d1fb41f7ee1ef3a8bdd2c), [`5bb089d`](https://github.com/TanStack/query/commit/5bb089d153d33933983b7ea80f8d69b51d423698), [`ba4650c`](https://github.com/TanStack/query/commit/ba4650c05e61e33c609e051b948c9f7d31ce70d1), [`294d4e6`](https://github.com/TanStack/query/commit/294d4e62c4f7d674574a4903eef2a1bc3dd1413b), [`1f631b3`](https://github.com/TanStack/query/commit/1f631b3604aab6567fb3f6c90646a5a304641546), [`01a02bf`](https://github.com/TanStack/query/commit/01a02bfad32f9efbc17796be31d6399f1197a655), [`18c1c1e`](https://github.com/TanStack/query/commit/18c1c1ef94883e781ad36d36f9ea4a043ce4260b), [`5448063`](https://github.com/TanStack/query/commit/5448063f828d2270dccd41ae375e1afde35e91f2), [`2215bb0`](https://github.com/TanStack/query/commit/2215bb031139cdc8a84751b37a485c38ca9d2b6e), [`1ef4208`](https://github.com/TanStack/query/commit/1ef42087c9a266c2137d2ef645cbcc662f60ac93), [`5981771`](https://github.com/TanStack/query/commit/5981771abec9330b344a2617543eb05ba7c99e24), [`4a9bef6`](https://github.com/TanStack/query/commit/4a9bef6cf19b1cd6b014032d696129f12a848185), [`bef4bc7`](https://github.com/TanStack/query/commit/bef4bc780ce7cca32b7e3dea85f77d92f82a62a2), [`9656dc4`](https://github.com/TanStack/query/commit/9656dc4e5fef5f8c502579b52459f9e8c72e787c), [`326aaf1`](https://github.com/TanStack/query/commit/326aaf1333e5d9cbc46569c53f218d31684162d2), [`3e83601`](https://github.com/TanStack/query/commit/3e836010032c2586e9f1c66a271fa9114a6401f9), [`c6fc17c`](https://github.com/TanStack/query/commit/c6fc17cfad6e452261c585fabfb8c210e60531ed)]:
90 - @tanstack/query-core@5.102.0
91​
92## 5.101.4
93​
94### Patch Changes
95​
96- Updated dependencies []:
97 - @tanstack/query-core@5.101.4
98​
99## 5.101.3
100​
101### Patch Changes
102​
103- Updated dependencies [[`7e3c822`](https://github.com/TanStack/query/commit/7e3c822a10896f41a8f1031c16b85096277af677)]:
104 - @tanstack/query-core@5.101.3
105​
106## 5.101.2
107​
108### Patch Changes
109​
110- Updated dependencies []:
111 - @tanstack/query-core@5.101.2
112​
113## 5.101.1
114​
115### Patch Changes
116​
117- Updated dependencies [[`9eff92e`](https://github.com/TanStack/query/commit/9eff92ed86e284ec0125b3a3539d028688235bd1)]:
118 - @tanstack/query-core@5.101.1
119​
120## 5.101.0
121​
122### Patch Changes
123​
124- Updated dependencies []:
125 - @tanstack/query-core@5.101.0
126​
127## 5.100.14
128​
129### Patch Changes
130​
131- fix(react-query): do not go into optimistic fetching state when not subscribed ([#10759](https://github.com/TanStack/query/pull/10759))
132​
133- Updated dependencies []:
134 - @tanstack/query-core@5.100.14
135​
136## 5.100.13
137​
138### Patch Changes
139​
140- Updated dependencies [[`d423168`](https://github.com/TanStack/query/commit/d423168f6261a5cb3d353e53b27c8150cc271151)]:
141 - @tanstack/query-core@5.100.13
142​
143## 5.100.12
144​
145### Patch Changes
146​
147- Updated dependencies []:
148 - @tanstack/query-core@5.100.12
149​
150## 5.100.11
151​
152### Patch Changes
153​
154- Updated dependencies []:
155 - @tanstack/query-core@5.100.11
156​
157## 5.100.10
158​
159### Patch Changes
160​
161- Updated dependencies []:
162 - @tanstack/query-core@5.100.10
163​
164## 5.100.9
165​
166### Patch Changes
167​
168- Updated dependencies [[`fcee7bd`](https://github.com/TanStack/query/commit/fcee7bdc429385ae8ffa224fa8a7a9ec7b8ee380)]:
169 - @tanstack/query-core@5.100.9
170​
171## 5.100.8
172​
173### Patch Changes
174​
175- Updated dependencies []:
176 - @tanstack/query-core@5.100.8
177​
178## 5.100.7
179​
180### Patch Changes
181​
182- Updated dependencies []:
183 - @tanstack/query-core@5.100.7
184​
185## 5.100.6
186​
187### Patch Changes
188​
189- Updated dependencies []:
190 - @tanstack/query-core@5.100.6
191​
192## 5.100.5
193​
194### Patch Changes
195​
196- Updated dependencies [[`a53ef97`](https://github.com/TanStack/query/commit/a53ef97f87decb8ea2431710f5199431d3c94c8d)]:
197 - @tanstack/query-core@5.100.5
198​
199## 5.100.4
200​
201### Patch Changes
202​
203- Updated dependencies []:
204 - @tanstack/query-core@5.100.4
205​
206## 5.100.3
207​
208### Patch Changes
209​
210- fix(suspense): skip calling combine when queries would suspend ([#10576](https://github.com/TanStack/query/pull/10576))
211​
212- Updated dependencies [[`f85d825`](https://github.com/TanStack/query/commit/f85d825e02efbbff02e2081528ed28f5e5382f7a)]:
213 - @tanstack/query-core@5.100.3
214​
215## 5.100.2
216​
217### Patch Changes
218​
219- Updated dependencies [[`ea4497e`](https://github.com/TanStack/query/commit/ea4497e8aa00d8c1c3a36fb1e17563a889d6ab31), [`d6a7bf3`](https://github.com/TanStack/query/commit/d6a7bf3e3e024c1a77d0536813238cc8007a5fa7), [`645d5d1`](https://github.com/TanStack/query/commit/645d5d130f5e8017cb1bf1a37987f7b980aed705)]:
220 - @tanstack/query-core@5.100.2
221​
222## 5.100.1
223​
224### Patch Changes
225​
226- Updated dependencies [[`1bb0d23`](https://github.com/TanStack/query/commit/1bb0d234280fd4ae1725c439088426a20593a8df)]:
227 - @tanstack/query-core@5.100.1
228​
229## 5.100.0
230​
231### Patch Changes
232​
233- Updated dependencies [[`6540a41`](https://github.com/TanStack/query/commit/6540a4126b1c087d86d64525e78f32d9920dcd31)]:
234 - @tanstack/query-core@5.100.0
235​
236## 5.99.2
237​
238### Patch Changes
239​
240- Updated dependencies []:
241 - @tanstack/query-core@5.99.2
242​
243## 5.99.1
244​
245### Patch Changes
246​
247- Updated dependencies []:
248 - @tanstack/query-core@5.99.1
249​
250## 5.99.0
251​
252### Patch Changes
253​
254- Updated dependencies []:
255 - @tanstack/query-core@5.99.0
256​
257## 5.98.0
258​
259### Patch Changes
260​
261- Updated dependencies []:
262 - @tanstack/query-core@5.98.0
263​
264## 5.97.0
265​
266### Patch Changes
267​
268- Updated dependencies [[`2bfb12c`](https://github.com/TanStack/query/commit/2bfb12cc44f1d8495106136e4ddacb817135f8f9)]:
269 - @tanstack/query-core@5.97.0
270​
271## 5.96.2
272​
273### Patch Changes
274​
275- Updated dependencies []:
276 - @tanstack/query-core@5.96.2
277​
278## 5.96.1
279​
280### Patch Changes
281​
282- Updated dependencies []:
283 - @tanstack/query-core@5.96.1
284​
285## 5.96.0
286​
287### Patch Changes
288​
289- Updated dependencies []:
290 - @tanstack/query-core@5.96.0
291​
292## 5.95.2
293​
294### Patch Changes
295​
296- Updated dependencies [[`cd5a35b`](https://github.com/TanStack/query/commit/cd5a35b328837781aa4f9305bb2bd7877ca934e9)]:
297 - @tanstack/query-core@5.95.2
298​
299## 5.95.1
300​
301### Patch Changes
302​
303- Updated dependencies [[`1f1775c`](https://github.com/TanStack/query/commit/1f1775ca92f2b6c035682947ff3b3424804ff31a)]:
304 - @tanstack/query-core@5.95.1
305​
306## 5.95.0
307​
308### Patch Changes
309​
310- Updated dependencies []:
311 - @tanstack/query-core@5.95.0
312​
313## 5.94.5
314​
315### Patch Changes
316​
317- fix(\*): resolve issue about excluded build directory ([#10312](https://github.com/TanStack/query/pull/10312))
318​
319- Updated dependencies [[`4b6536d`](https://github.com/TanStack/query/commit/4b6536dfce99036f4e37f52943c6fed3ad0e0a18)]:
320 - @tanstack/query-core@5.94.5
321​
322## 5.94.4
323​
324### Patch Changes
325​
326- chore: fixed version ([#10064](https://github.com/TanStack/query/pull/10064))
327​
328- Updated dependencies [[`4c75210`](https://github.com/TanStack/query/commit/4c75210ce8235fe3d39b67e1029eff11278927cc)]:
329 - @tanstack/query-core@5.94.4
330​
331## 5.91.3
332​
333### Patch Changes
334​
335- fix: stop node types from leaking into browser ([#10302](https://github.com/TanStack/query/pull/10302))
336​
337## 5.91.2
338​
339### Patch Changes
340​
341- fix(streamedQuery): maintain error state on reset refetch with initialData defined ([#10287](https://github.com/TanStack/query/pull/10287))
342​
343- Updated dependencies [[`248975e`](https://github.com/TanStack/query/commit/248975e896f585f6eaa505c796e73fcf7bfd1eec)]:
344 - @tanstack/query-core@5.91.2
345​
346## 5.91.1
347​
348### Patch Changes
349​
350- fix(core): cancel paused initial fetch when last observer unsubscribes ([#10291](https://github.com/TanStack/query/pull/10291))
351​
352- Updated dependencies [[`a89aab9`](https://github.com/TanStack/query/commit/a89aab975581c25c113a26c8af486b4cafad272a)]:
353 - @tanstack/query-core@5.91.1
354​
355## 5.91.0
356​
357### Minor Changes
358​
359- feat: environmentManager ([#10199](https://github.com/TanStack/query/pull/10199))
360​
361### Patch Changes
362​
363- Updated dependencies [[`6fa901b`](https://github.com/TanStack/query/commit/6fa901b97a22a80d0fca3f6ed86237ff0cbdd13b)]:
364 - @tanstack/query-core@5.91.0
365​
366## 5.90.21
367​
368### Patch Changes
369​
370- refactor(react-query/useQueries): remove unreachable 'willFetch' branch in suspense promise collection ([#10082](https://github.com/TanStack/query/pull/10082))
371​
372## 5.90.20
373​
374### Patch Changes
375​
376- Updated dependencies [[`e7258c5`](https://github.com/TanStack/query/commit/e7258c5cb30cafa456cdb4e6bc75b43bf619954d)]:
377 - @tanstack/query-core@5.90.20
378​
379## 5.90.19
380​
381### Patch Changes
382​
383- Updated dependencies [[`53fc74e`](https://github.com/TanStack/query/commit/53fc74ebb16730bd3317f039a69c6821386bae93)]:
384 - @tanstack/query-core@5.90.19
385​
386## 5.90.18
387​
388### Patch Changes
389​
390- Updated dependencies [[`dea1614`](https://github.com/TanStack/query/commit/dea1614aaad5c572cf43cea54b64ac09dc4d5b41)]:
391 - @tanstack/query-core@5.90.18
392​
393## 5.90.17
394​
395### Patch Changes
396​
397- Updated dependencies [[`269351b`](https://github.com/TanStack/query/commit/269351b8ce4b4846da3d320ac5b850ee6aada0d6)]:
398 - @tanstack/query-core@5.90.17
399​
400## 5.90.16
401​
402### Patch Changes
403​
404- fix(react-query): allow retryOnMount when throwOnError is function ([#9338](https://github.com/TanStack/query/pull/9338))
405​
406- Updated dependencies [[`7f47906`](https://github.com/TanStack/query/commit/7f47906eaccc3f3aa5ce24b77a83bd7a620a237b)]:
407 - @tanstack/query-core@5.90.16
408​
409## 5.90.15
410​
411### Patch Changes
412​
413- Updated dependencies [[`fccef79`](https://github.com/TanStack/query/commit/fccef797d57d4a9566517bba87c8377f363920f2)]:
414 - @tanstack/query-core@5.90.15
415​
416## 5.90.14
417​
418### Patch Changes
419​
420- Updated dependencies [[`d576092`](https://github.com/TanStack/query/commit/d576092e2ece4ca3936add3eb0da5234c1d82ed4)]:
421 - @tanstack/query-core@5.90.14
422​
423## 5.90.13
424​
425### Patch Changes
426​
427- Updated dependencies [[`4a0a78a`](https://github.com/TanStack/query/commit/4a0a78afbc2432f8cb6828035965853fa98c86a0)]:
428 - @tanstack/query-core@5.90.13
429​
430## 5.90.12
431​
432### Patch Changes
433​
434- Updated dependencies [[`72d8ac5`](https://github.com/TanStack/query/commit/72d8ac5c592004b8f9c3ee086fcb9c3cd615ca05)]:
435 - @tanstack/query-core@5.90.12
436​
437## 5.90.11
438​
439### Patch Changes
440​
441- Prevent infinite render loops when useSuspenseQueries has duplicate queryKeys ([#9886](https://github.com/TanStack/query/pull/9886))
442​
443- Updated dependencies [[`c01b150`](https://github.com/TanStack/query/commit/c01b150e3673e11d6533768529a5e6fe3ebee68c)]:
444 - @tanstack/query-core@5.90.11
445​
446## 5.90.10
447​
448### Patch Changes
449​
450- Updated dependencies [[`8e2e174`](https://github.com/TanStack/query/commit/8e2e174e9fd2e7b94cd232041e49c9d014d74e26), [`eb559a6`](https://github.com/TanStack/query/commit/eb559a66dc0d77dd46435f624fa64fc068bef9ae)]:
451 - @tanstack/query-core@5.90.10
452​
453## 5.90.9
454​
455### Patch Changes
456​
457- Updated dependencies [[`08b211f`](https://github.com/TanStack/query/commit/08b211f8aa475e05d2f13a36517fc556861ef962)]:
458 - @tanstack/query-core@5.90.9
459​
460## 5.90.8
461​
462### Patch Changes
463​
464- Updated dependencies [[`c0ec9fe`](https://github.com/TanStack/query/commit/c0ec9fe0d1426fe3f233adda3ebf23989ffaa110)]:
465 - @tanstack/query-core@5.90.8
466​
467## 5.90.7
468​
469### Patch Changes
470​
471- Updated dependencies [[`b4cd121`](https://github.com/TanStack/query/commit/b4cd121a39d07cefaa3a3411136d342cc54ce8fb)]:
472 - @tanstack/query-core@5.90.7
473​
474## 5.90.6
475​
476### Patch Changes
477​
478- Updated dependencies [[`1638c02`](https://github.com/TanStack/query/commit/1638c028df55648995d04431179904371a189772)]:
479 - @tanstack/query-core@5.90.6
480​
481## 5.90.5
482​
483### Patch Changes
484​
485- Updated dependencies [[`e42ddfe`](https://github.com/TanStack/query/commit/e42ddfe919f34f847ca101aeef162c69845f9a1e)]:
486 - @tanstack/query-core@5.90.5
487​
488## 5.90.4
489​
490### Patch Changes
491​
492- Updated dependencies [[`20ef922`](https://github.com/TanStack/query/commit/20ef922a0a7c3aee00150bf69123c338b0922922)]:
493 - @tanstack/query-core@5.90.4
494​
495## 5.90.3
496​
497### Patch Changes
498​
499- Avoid unhandled promise rejection errors during de/rehydration of pending queries. ([#9752](https://github.com/TanStack/query/pull/9752))
500​
501- Updated dependencies [[`4e1c433`](https://github.com/TanStack/query/commit/4e1c4338a72f7384600bbda99e44bc1891695df4)]:
502 - @tanstack/query-core@5.90.3