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

CHANGELOG.md

549 lines17.3 KB

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