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

CHANGELOG.md

563 lines17.7 KB

1# @tanstack/react-query
2​
3## 5.104.3
4​
5### Patch Changes
6​
7- Updated dependencies [[`0f15bc9`](https://github.com/TanStack/query/commit/0f15bc925db5813be6a17527988ec7d7b3c8cfc0)]:
8 - @tanstack/query-core@5.104.3
9​
10## 5.104.2
11​
12### Patch Changes
13​
14- Updated dependencies [[`03e8c39`](https://github.com/TanStack/query/commit/03e8c3955ddbf20f0a07b79982b52dfad8df5323)]:
15 - @tanstack/query-core@5.104.2
16​
17## 5.104.1
18​
19### Patch Changes
20​
21- Updated dependencies []:
22 - @tanstack/query-core@5.104.1
23​
24## 5.104.0
25​
26### Minor Changes
27​
28- [#11650](https://github.com/TanStack/query/pull/11650) [`5279b05`](https://github.com/TanStack/query/commit/5279b05211223dd719803ca22a9d1fa46c98638e) - Build projects with Vite 8
29​
30### Patch Changes
31​
32- Updated dependencies [[`5279b05`](https://github.com/TanStack/query/commit/5279b05211223dd719803ca22a9d1fa46c98638e)]:
33 - @tanstack/query-core@5.104.0
34​
35## 5.103.3
36​
37### Patch Changes
38​
39- [#11647](https://github.com/TanStack/query/pull/11647) [`1c9693e`](https://github.com/TanStack/query/commit/1c9693eac75495a04ae4328a35818b1fdf264978) - fix(codemods): avoid copying unnecessary files from codemods project
40- Updated dependencies []:
41 - @tanstack/query-core@5.103.3
42​
43## 5.103.2
44​
45### Patch Changes
46​
47- Updated dependencies [[`8a28904`](https://github.com/TanStack/query/commit/8a28904aaccb6bc26398b751400a181c0f6d7f0e)]:
48 - @tanstack/query-core@5.103.2
49​
50## 5.103.1
51​
52### Patch Changes
53​
54- Updated dependencies [[`8330b2f`](https://github.com/TanStack/query/commit/8330b2f2d431f226d7bb95eb727c637be9d4c6d8), [`3212966`](https://github.com/TanStack/query/commit/3212966a3681e02d14eb79e9cce0d3265b046877)]:
55 - @tanstack/query-core@5.103.1
56​
57## 5.103.0
58​
59### Patch Changes
60​
61- Updated dependencies [[`e57f816`](https://github.com/TanStack/query/commit/e57f8163b18ab3abfe52ad69cdbdda4d31453393), [`fdae2ce`](https://github.com/TanStack/query/commit/fdae2ce4e5382af7326c7c38ce5d5a12751ada12), [`a1119e5`](https://github.com/TanStack/query/commit/a1119e5a3ffa52534de7390f17c7183d17658051), [`cbf77bf`](https://github.com/TanStack/query/commit/cbf77bf8e1a9ce09caef0cdd9a8ed10fef57edf0)]:
62 - @tanstack/query-core@5.103.0
63​
64## 5.102.8
65​
66### Patch Changes
67​
68- Updated dependencies []:
69 - @tanstack/query-core@5.102.8
70​
71## 5.102.7
72​
73### Patch Changes
74​
75- Updated dependencies []:
76 - @tanstack/query-core@5.102.7
77​
78## 5.102.6
79​
80### Patch Changes
81​
82- [#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
83​
84- Updated dependencies []:
85 - @tanstack/query-core@5.102.6
86​
87## 5.102.5
88​
89### Patch Changes
90​
91- Updated dependencies [[`578e5c2`](https://github.com/TanStack/query/commit/578e5c26e8ebd0d7351b4b8e2bafba695e672b8d)]:
92 - @tanstack/query-core@5.102.5
93​
94## 5.102.4
95​
96### Patch Changes
97​
98- Updated dependencies [[`a05df6a`](https://github.com/TanStack/query/commit/a05df6aefb0e2489ec2c879ae16e2ee7cb3123ec)]:
99 - @tanstack/query-core@5.102.4
100​
101## 5.102.3
102​
103### Patch Changes
104​
105- Updated dependencies []:
106 - @tanstack/query-core@5.102.3
107​
108## 5.102.2
109​
110### Patch Changes
111​
112- Updated dependencies [[`80fbf73`](https://github.com/TanStack/query/commit/80fbf73e77892d702c107e14a84c219a8ed825dc)]:
113 - @tanstack/query-core@5.102.2
114​
115## 5.102.1
116​
117### Patch Changes
118​
119- Updated dependencies [[`134890d`](https://github.com/TanStack/query/commit/134890dbdc60e4fb0313e44b512d29284ca82f96)]:
120 - @tanstack/query-core@5.102.1
121​
122## 5.102.0
123​
124### Minor Changes
125​
126- [#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
127​
128### Patch Changes
129​
130- [#11245](https://github.com/TanStack/query/pull/11245) [`37127db`](https://github.com/TanStack/query/commit/37127dbe479a4892dbbe28ac8ceabf8832b5f1a3) - revert: remove NoInfer from useQuery return types
131​
132- [#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
133​
134- [#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.
135​
136- [#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.
137​
138- [#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`
139​
140- [#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.
141​
142- [#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.
143​
144- [#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
145​
146- [#11233](https://github.com/TanStack/query/pull/11233) [`b866a95`](https://github.com/TanStack/query/commit/b866a95adde7e8465462526df5870ebc12340b36) - remove unused experimental_beforeQuery and experimental_afterQuery hooks
147​
148- [#11144](https://github.com/TanStack/query/pull/11144) [`e546d03`](https://github.com/TanStack/query/commit/e546d03bef116c66a05dbf42ccfd70b6d8600a8f) - fix: remove placeholderData from suspense infinite query
149​
150- 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)]:
151 - @tanstack/query-core@5.102.0
152​
153## 5.101.4
154​
155### Patch Changes
156​
157- Updated dependencies []:
158 - @tanstack/query-core@5.101.4
159​
160## 5.101.3
161​
162### Patch Changes
163​
164- Updated dependencies [[`7e3c822`](https://github.com/TanStack/query/commit/7e3c822a10896f41a8f1031c16b85096277af677)]:
165 - @tanstack/query-core@5.101.3
166​
167## 5.101.2
168​
169### Patch Changes
170​
171- Updated dependencies []:
172 - @tanstack/query-core@5.101.2
173​
174## 5.101.1
175​
176### Patch Changes
177​
178- Updated dependencies [[`9eff92e`](https://github.com/TanStack/query/commit/9eff92ed86e284ec0125b3a3539d028688235bd1)]:
179 - @tanstack/query-core@5.101.1
180​
181## 5.101.0
182​
183### Patch Changes
184​
185- Updated dependencies []:
186 - @tanstack/query-core@5.101.0
187​
188## 5.100.14
189​
190### Patch Changes
191​
192- fix(react-query): do not go into optimistic fetching state when not subscribed ([#10759](https://github.com/TanStack/query/pull/10759))
193​
194- Updated dependencies []:
195 - @tanstack/query-core@5.100.14
196​
197## 5.100.13
198​
199### Patch Changes
200​
201- Updated dependencies [[`d423168`](https://github.com/TanStack/query/commit/d423168f6261a5cb3d353e53b27c8150cc271151)]:
202 - @tanstack/query-core@5.100.13
203​
204## 5.100.12
205​
206### Patch Changes
207​
208- Updated dependencies []:
209 - @tanstack/query-core@5.100.12
210​
211## 5.100.11
212​
213### Patch Changes
214​
215- Updated dependencies []:
216 - @tanstack/query-core@5.100.11
217​
218## 5.100.10
219​
220### Patch Changes
221​
222- Updated dependencies []:
223 - @tanstack/query-core@5.100.10
224​
225## 5.100.9
226​
227### Patch Changes
228​
229- Updated dependencies [[`fcee7bd`](https://github.com/TanStack/query/commit/fcee7bdc429385ae8ffa224fa8a7a9ec7b8ee380)]:
230 - @tanstack/query-core@5.100.9
231​
232## 5.100.8
233​
234### Patch Changes
235​
236- Updated dependencies []:
237 - @tanstack/query-core@5.100.8
238​
239## 5.100.7
240​
241### Patch Changes
242​
243- Updated dependencies []:
244 - @tanstack/query-core@5.100.7
245​
246## 5.100.6
247​
248### Patch Changes
249​
250- Updated dependencies []:
251 - @tanstack/query-core@5.100.6
252​
253## 5.100.5
254​
255### Patch Changes
256​
257- Updated dependencies [[`a53ef97`](https://github.com/TanStack/query/commit/a53ef97f87decb8ea2431710f5199431d3c94c8d)]:
258 - @tanstack/query-core@5.100.5
259​
260## 5.100.4
261​
262### Patch Changes
263​
264- Updated dependencies []:
265 - @tanstack/query-core@5.100.4
266​
267## 5.100.3
268​
269### Patch Changes
270​
271- fix(suspense): skip calling combine when queries would suspend ([#10576](https://github.com/TanStack/query/pull/10576))
272​
273- Updated dependencies [[`f85d825`](https://github.com/TanStack/query/commit/f85d825e02efbbff02e2081528ed28f5e5382f7a)]:
274 - @tanstack/query-core@5.100.3
275​
276## 5.100.2
277​
278### Patch Changes
279​
280- 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)]:
281 - @tanstack/query-core@5.100.2
282​
283## 5.100.1
284​
285### Patch Changes
286​
287- Updated dependencies [[`1bb0d23`](https://github.com/TanStack/query/commit/1bb0d234280fd4ae1725c439088426a20593a8df)]:
288 - @tanstack/query-core@5.100.1
289​
290## 5.100.0
291​
292### Patch Changes
293​
294- Updated dependencies [[`6540a41`](https://github.com/TanStack/query/commit/6540a4126b1c087d86d64525e78f32d9920dcd31)]:
295 - @tanstack/query-core@5.100.0
296​
297## 5.99.2
298​
299### Patch Changes
300​
301- Updated dependencies []:
302 - @tanstack/query-core@5.99.2
303​
304## 5.99.1
305​
306### Patch Changes
307​
308- Updated dependencies []:
309 - @tanstack/query-core@5.99.1
310​
311## 5.99.0
312​
313### Patch Changes
314​
315- Updated dependencies []:
316 - @tanstack/query-core@5.99.0
317​
318## 5.98.0
319​
320### Patch Changes
321​
322- Updated dependencies []:
323 - @tanstack/query-core@5.98.0
324​
325## 5.97.0
326​
327### Patch Changes
328​
329- Updated dependencies [[`2bfb12c`](https://github.com/TanStack/query/commit/2bfb12cc44f1d8495106136e4ddacb817135f8f9)]:
330 - @tanstack/query-core@5.97.0
331​
332## 5.96.2
333​
334### Patch Changes
335​
336- Updated dependencies []:
337 - @tanstack/query-core@5.96.2
338​
339## 5.96.1
340​
341### Patch Changes
342​
343- Updated dependencies []:
344 - @tanstack/query-core@5.96.1
345​
346## 5.96.0
347​
348### Patch Changes
349​
350- Updated dependencies []:
351 - @tanstack/query-core@5.96.0
352​
353## 5.95.2
354​
355### Patch Changes
356​
357- Updated dependencies [[`cd5a35b`](https://github.com/TanStack/query/commit/cd5a35b328837781aa4f9305bb2bd7877ca934e9)]:
358 - @tanstack/query-core@5.95.2
359​
360## 5.95.1
361​
362### Patch Changes
363​
364- Updated dependencies [[`1f1775c`](https://github.com/TanStack/query/commit/1f1775ca92f2b6c035682947ff3b3424804ff31a)]:
365 - @tanstack/query-core@5.95.1
366​
367## 5.95.0
368​
369### Patch Changes
370​
371- Updated dependencies []:
372 - @tanstack/query-core@5.95.0
373​
374## 5.94.5
375​
376### Patch Changes
377​
378- fix(\*): resolve issue about excluded build directory ([#10312](https://github.com/TanStack/query/pull/10312))
379​
380- Updated dependencies [[`4b6536d`](https://github.com/TanStack/query/commit/4b6536dfce99036f4e37f52943c6fed3ad0e0a18)]:
381 - @tanstack/query-core@5.94.5
382​
383## 5.94.4
384​
385### Patch Changes
386​
387- chore: fixed version ([#10064](https://github.com/TanStack/query/pull/10064))
388​
389- Updated dependencies [[`4c75210`](https://github.com/TanStack/query/commit/4c75210ce8235fe3d39b67e1029eff11278927cc)]:
390 - @tanstack/query-core@5.94.4
391​
392## 5.91.3
393​
394### Patch Changes
395​
396- fix: stop node types from leaking into browser ([#10302](https://github.com/TanStack/query/pull/10302))
397​
398## 5.91.2
399​
400### Patch Changes
401​
402- fix(streamedQuery): maintain error state on reset refetch with initialData defined ([#10287](https://github.com/TanStack/query/pull/10287))
403​
404- Updated dependencies [[`248975e`](https://github.com/TanStack/query/commit/248975e896f585f6eaa505c796e73fcf7bfd1eec)]:
405 - @tanstack/query-core@5.91.2
406​
407## 5.91.1
408​
409### Patch Changes
410​
411- fix(core): cancel paused initial fetch when last observer unsubscribes ([#10291](https://github.com/TanStack/query/pull/10291))
412​
413- Updated dependencies [[`a89aab9`](https://github.com/TanStack/query/commit/a89aab975581c25c113a26c8af486b4cafad272a)]:
414 - @tanstack/query-core@5.91.1
415​
416## 5.91.0
417​
418### Minor Changes
419​
420- feat: environmentManager ([#10199](https://github.com/TanStack/query/pull/10199))
421​
422### Patch Changes
423​
424- Updated dependencies [[`6fa901b`](https://github.com/TanStack/query/commit/6fa901b97a22a80d0fca3f6ed86237ff0cbdd13b)]:
425 - @tanstack/query-core@5.91.0
426​
427## 5.90.21
428​
429### Patch Changes
430​
431- refactor(react-query/useQueries): remove unreachable 'willFetch' branch in suspense promise collection ([#10082](https://github.com/TanStack/query/pull/10082))
432​
433## 5.90.20
434​
435### Patch Changes
436​
437- Updated dependencies [[`e7258c5`](https://github.com/TanStack/query/commit/e7258c5cb30cafa456cdb4e6bc75b43bf619954d)]:
438 - @tanstack/query-core@5.90.20
439​
440## 5.90.19
441​
442### Patch Changes
443​
444- Updated dependencies [[`53fc74e`](https://github.com/TanStack/query/commit/53fc74ebb16730bd3317f039a69c6821386bae93)]:
445 - @tanstack/query-core@5.90.19
446​
447## 5.90.18
448​
449### Patch Changes
450​
451- Updated dependencies [[`dea1614`](https://github.com/TanStack/query/commit/dea1614aaad5c572cf43cea54b64ac09dc4d5b41)]:
452 - @tanstack/query-core@5.90.18
453​
454## 5.90.17
455​
456### Patch Changes
457​
458- Updated dependencies [[`269351b`](https://github.com/TanStack/query/commit/269351b8ce4b4846da3d320ac5b850ee6aada0d6)]:
459 - @tanstack/query-core@5.90.17
460​
461## 5.90.16
462​
463### Patch Changes
464​
465- fix(react-query): allow retryOnMount when throwOnError is function ([#9338](https://github.com/TanStack/query/pull/9338))
466​
467- Updated dependencies [[`7f47906`](https://github.com/TanStack/query/commit/7f47906eaccc3f3aa5ce24b77a83bd7a620a237b)]:
468 - @tanstack/query-core@5.90.16
469​
470## 5.90.15
471​
472### Patch Changes
473​
474- Updated dependencies [[`fccef79`](https://github.com/TanStack/query/commit/fccef797d57d4a9566517bba87c8377f363920f2)]:
475 - @tanstack/query-core@5.90.15
476​
477## 5.90.14
478​
479### Patch Changes
480​
481- Updated dependencies [[`d576092`](https://github.com/TanStack/query/commit/d576092e2ece4ca3936add3eb0da5234c1d82ed4)]:
482 - @tanstack/query-core@5.90.14
483​
484## 5.90.13
485​
486### Patch Changes
487​
488- Updated dependencies [[`4a0a78a`](https://github.com/TanStack/query/commit/4a0a78afbc2432f8cb6828035965853fa98c86a0)]:
489 - @tanstack/query-core@5.90.13
490​
491## 5.90.12
492​
493### Patch Changes
494​
495- Updated dependencies [[`72d8ac5`](https://github.com/TanStack/query/commit/72d8ac5c592004b8f9c3ee086fcb9c3cd615ca05)]:
496 - @tanstack/query-core@5.90.12
497​
498## 5.90.11
499​
500### Patch Changes
501​
502- Prevent infinite render loops when useSuspenseQueries has duplicate queryKeys ([#9886](https://github.com/TanStack/query/pull/9886))
503​
504- Updated dependencies [[`c01b150`](https://github.com/TanStack/query/commit/c01b150e3673e11d6533768529a5e6fe3ebee68c)]:
505 - @tanstack/query-core@5.90.11
506​
507## 5.90.10
508​
509### Patch Changes
510​
511- Updated dependencies [[`8e2e174`](https://github.com/TanStack/query/commit/8e2e174e9fd2e7b94cd232041e49c9d014d74e26), [`eb559a6`](https://github.com/TanStack/query/commit/eb559a66dc0d77dd46435f624fa64fc068bef9ae)]:
512 - @tanstack/query-core@5.90.10
513​
514## 5.90.9
515​
516### Patch Changes
517​
518- Updated dependencies [[`08b211f`](https://github.com/TanStack/query/commit/08b211f8aa475e05d2f13a36517fc556861ef962)]:
519 - @tanstack/query-core@5.90.9
520​
521## 5.90.8
522​
523### Patch Changes
524​
525- Updated dependencies [[`c0ec9fe`](https://github.com/TanStack/query/commit/c0ec9fe0d1426fe3f233adda3ebf23989ffaa110)]:
526 - @tanstack/query-core@5.90.8
527​
528## 5.90.7
529​
530### Patch Changes
531​
532- Updated dependencies [[`b4cd121`](https://github.com/TanStack/query/commit/b4cd121a39d07cefaa3a3411136d342cc54ce8fb)]:
533 - @tanstack/query-core@5.90.7
534​
535## 5.90.6
536​
537### Patch Changes
538​
539- Updated dependencies [[`1638c02`](https://github.com/TanStack/query/commit/1638c028df55648995d04431179904371a189772)]:
540 - @tanstack/query-core@5.90.6
541​
542## 5.90.5
543​
544### Patch Changes
545​
546- Updated dependencies [[`e42ddfe`](https://github.com/TanStack/query/commit/e42ddfe919f34f847ca101aeef162c69845f9a1e)]:
547 - @tanstack/query-core@5.90.5
548​
549## 5.90.4
550​
551### Patch Changes
552​
553- Updated dependencies [[`20ef922`](https://github.com/TanStack/query/commit/20ef922a0a7c3aee00150bf69123c338b0922922)]:
554 - @tanstack/query-core@5.90.4
555​
556## 5.90.3
557​
558### Patch Changes
559​
560- Avoid unhandled promise rejection errors during de/rehydration of pending queries. ([#9752](https://github.com/TanStack/query/pull/9752))
561​
562- Updated dependencies [[`4e1c433`](https://github.com/TanStack/query/commit/4e1c4338a72f7384600bbda99e44bc1891695df4)]:
563 - @tanstack/query-core@5.90.3