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