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

CHANGELOG.md

456 lines15.4 KB

1# @tanstack/preact-query
2​
3## 5.104.4
4​
5### Patch Changes
6​
7- [#11251](https://github.com/TanStack/query/pull/11251) [`fc3a384`](https://github.com/TanStack/query/commit/fc3a3848f25adec750e6ee6d3abf9280c7e3a990) - fix({preact,solid,svelte,angular-query-experimental}): switch to 'export type *' for type-only re-exports
8​
9- [#11375](https://github.com/TanStack/query/pull/11375) [`0addcd2`](https://github.com/TanStack/query/commit/0addcd2a9ae7371dbb7a860277b08ad4c2444975) - Allow queries with falsy errors to retry on mount when `throwOnError` returns false.
10​
11- [#11259](https://github.com/TanStack/query/pull/11259) [`2ce5190`](https://github.com/TanStack/query/commit/2ce51902de300c9639b0594a2e64b53c7bf1fce9) - fix(preact-query): do not go into optimistic fetching state when not subscribed
12- Updated dependencies [[`1fee044`](https://github.com/TanStack/query/commit/1fee0443dbeb346b8401557ca286a66cdec7ad71), [`fce89dd`](https://github.com/TanStack/query/commit/fce89ddf7a35b14252096ff64a1217efd81b415c)]:
13 - @tanstack/query-core@5.104.4
14​
15## 5.104.3
16​
17### Patch Changes
18​
19- Updated dependencies [[`0f15bc9`](https://github.com/TanStack/query/commit/0f15bc925db5813be6a17527988ec7d7b3c8cfc0)]:
20 - @tanstack/query-core@5.104.3
21​
22## 5.104.2
23​
24### Patch Changes
25​
26- [#11711](https://github.com/TanStack/query/pull/11711) [`a94c7ca`](https://github.com/TanStack/query/commit/a94c7caeec624d0714ee00be3a703943ec2ddbeb) - Add Preact v11 to peerDependencies
27- Updated dependencies [[`03e8c39`](https://github.com/TanStack/query/commit/03e8c3955ddbf20f0a07b79982b52dfad8df5323)]:
28 - @tanstack/query-core@5.104.2
29​
30## 5.104.1
31​
32### Patch Changes
33​
34- Updated dependencies []:
35 - @tanstack/query-core@5.104.1
36​
37## 5.104.0
38​
39### Patch Changes
40​
41- Updated dependencies [[`5279b05`](https://github.com/TanStack/query/commit/5279b05211223dd719803ca22a9d1fa46c98638e)]:
42 - @tanstack/query-core@5.104.0
43​
44## 5.103.3
45​
46### Patch Changes
47​
48- [#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
49- Updated dependencies []:
50 - @tanstack/query-core@5.103.3
51​
52## 5.103.2
53​
54### Patch Changes
55​
56- Updated dependencies [[`8a28904`](https://github.com/TanStack/query/commit/8a28904aaccb6bc26398b751400a181c0f6d7f0e)]:
57 - @tanstack/query-core@5.103.2
58​
59## 5.103.1
60​
61### Patch Changes
62​
63- Updated dependencies [[`8330b2f`](https://github.com/TanStack/query/commit/8330b2f2d431f226d7bb95eb727c637be9d4c6d8), [`3212966`](https://github.com/TanStack/query/commit/3212966a3681e02d14eb79e9cce0d3265b046877)]:
64 - @tanstack/query-core@5.103.1
65​
66## 5.103.0
67​
68### Patch Changes
69​
70- 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)]:
71 - @tanstack/query-core@5.103.0
72​
73## 5.102.8
74​
75### Patch Changes
76​
77- [#11315](https://github.com/TanStack/query/pull/11315) [`6c27607`](https://github.com/TanStack/query/commit/6c27607d7ffc87612a8f1222a95f28bf5f9a045e) - fix(preact-query/useQueries): keep unsubscribed idle
78​
79- Updated dependencies []:
80 - @tanstack/query-core@5.102.8
81​
82## 5.102.7
83​
84### Patch Changes
85​
86- [#11309](https://github.com/TanStack/query/pull/11309) [`67fddee`](https://github.com/TanStack/query/commit/67fddee6310ca0dd87749ed7a1b4a7178c6e6aae) - fix(preact-query): propagate falsy errors to the error boundary
87​
88- Updated dependencies []:
89 - @tanstack/query-core@5.102.7
90​
91## 5.102.6
92​
93### Patch Changes
94​
95- Updated dependencies []:
96 - @tanstack/query-core@5.102.6
97​
98## 5.102.5
99​
100### Patch Changes
101​
102- Updated dependencies [[`578e5c2`](https://github.com/TanStack/query/commit/578e5c26e8ebd0d7351b4b8e2bafba695e672b8d)]:
103 - @tanstack/query-core@5.102.5
104​
105## 5.102.4
106​
107### Patch Changes
108​
109- Updated dependencies [[`a05df6a`](https://github.com/TanStack/query/commit/a05df6aefb0e2489ec2c879ae16e2ee7cb3123ec)]:
110 - @tanstack/query-core@5.102.4
111​
112## 5.102.3
113​
114### Patch Changes
115​
116- [#11274](https://github.com/TanStack/query/pull/11274) [`714c285`](https://github.com/TanStack/query/commit/714c2856e09bbaf7448ccc02364887e36c18b37c) - fix(preact-query/usePrefetchQuery): replace deprecated `queryClient.fetchQuery` with `queryClient.query`
117​
118- Updated dependencies []:
119 - @tanstack/query-core@5.102.3
120​
121## 5.102.2
122​
123### Patch Changes
124​
125- Updated dependencies [[`80fbf73`](https://github.com/TanStack/query/commit/80fbf73e77892d702c107e14a84c219a8ed825dc)]:
126 - @tanstack/query-core@5.102.2
127​
128## 5.102.1
129​
130### Patch Changes
131​
132- Updated dependencies [[`134890d`](https://github.com/TanStack/query/commit/134890dbdc60e4fb0313e44b512d29284ca82f96)]:
133 - @tanstack/query-core@5.102.1
134​
135## 5.102.0
136​
137### Minor Changes
138​
139- [#10669](https://github.com/TanStack/query/pull/10669) [`4e48c58`](https://github.com/TanStack/query/commit/4e48c581b70216e9c66a72cc328b61789194db4f) - preact-query: update usePrefetchQuery and usePrefetchInfiniteQuery to use queryClient.query and queryClient.infiniteQuery
140​
141### Patch Changes
142​
143- [#11245](https://github.com/TanStack/query/pull/11245) [`37127db`](https://github.com/TanStack/query/commit/37127dbe479a4892dbbe28ac8ceabf8832b5f1a3) - revert: remove NoInfer from useQuery return types
144​
145- [#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
146​
147- [#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.
148​
149- [#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.
150​
151- [#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`
152​
153- [#11166](https://github.com/TanStack/query/pull/11166) [`4913802`](https://github.com/TanStack/query/commit/49138028953f38097cfac4a6e9843c987705325f) - Evaluate a function-form `throwOnError` against the actual query error before disabling `retryOnMount` (port of [#9338](https://github.com/TanStack/query/issues/9338)), so errored queries whose `throwOnError` returns `false` are retried on mount again.
154​
155- [#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.
156​
157- [#11233](https://github.com/TanStack/query/pull/11233) [`b866a95`](https://github.com/TanStack/query/commit/b866a95adde7e8465462526df5870ebc12340b36) - remove unused experimental_beforeQuery and experimental_afterQuery hooks
158​
159- [#11144](https://github.com/TanStack/query/pull/11144) [`e546d03`](https://github.com/TanStack/query/commit/e546d03bef116c66a05dbf42ccfd70b6d8600a8f) - fix: remove placeholderData from suspense infinite query
160​
161- 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)]:
162 - @tanstack/query-core@5.102.0
163​
164## 5.101.4
165​
166### Patch Changes
167​
168- Updated dependencies []:
169 - @tanstack/query-core@5.101.4
170​
171## 5.101.3
172​
173### Patch Changes
174​
175- Updated dependencies [[`7e3c822`](https://github.com/TanStack/query/commit/7e3c822a10896f41a8f1031c16b85096277af677)]:
176 - @tanstack/query-core@5.101.3
177​
178## 5.101.2
179​
180### Patch Changes
181​
182- Updated dependencies []:
183 - @tanstack/query-core@5.101.2
184​
185## 5.101.1
186​
187### Patch Changes
188​
189- Updated dependencies [[`9eff92e`](https://github.com/TanStack/query/commit/9eff92ed86e284ec0125b3a3539d028688235bd1)]:
190 - @tanstack/query-core@5.101.1
191​
192## 5.101.0
193​
194### Patch Changes
195​
196- Updated dependencies []:
197 - @tanstack/query-core@5.101.0
198​
199## 5.100.14
200​
201### Patch Changes
202​
203- Updated dependencies []:
204 - @tanstack/query-core@5.100.14
205​
206## 5.100.13
207​
208### Patch Changes
209​
210- Updated dependencies [[`d423168`](https://github.com/TanStack/query/commit/d423168f6261a5cb3d353e53b27c8150cc271151)]:
211 - @tanstack/query-core@5.100.13
212​
213## 5.100.12
214​
215### Patch Changes
216​
217- Updated dependencies []:
218 - @tanstack/query-core@5.100.12
219​
220## 5.100.11
221​
222### Patch Changes
223​
224- Updated dependencies []:
225 - @tanstack/query-core@5.100.11
226​
227## 5.100.10
228​
229### Patch Changes
230​
231- Updated dependencies []:
232 - @tanstack/query-core@5.100.10
233​
234## 5.100.9
235​
236### Patch Changes
237​
238- Updated dependencies [[`fcee7bd`](https://github.com/TanStack/query/commit/fcee7bdc429385ae8ffa224fa8a7a9ec7b8ee380)]:
239 - @tanstack/query-core@5.100.9
240​
241## 5.100.8
242​
243### Patch Changes
244​
245- Updated dependencies []:
246 - @tanstack/query-core@5.100.8
247​
248## 5.100.7
249​
250### Patch Changes
251​
252- Updated dependencies []:
253 - @tanstack/query-core@5.100.7
254​
255## 5.100.6
256​
257### Patch Changes
258​
259- Updated dependencies []:
260 - @tanstack/query-core@5.100.6
261​
262## 5.100.5
263​
264### Patch Changes
265​
266- Updated dependencies [[`a53ef97`](https://github.com/TanStack/query/commit/a53ef97f87decb8ea2431710f5199431d3c94c8d)]:
267 - @tanstack/query-core@5.100.5
268​
269## 5.100.4
270​
271### Patch Changes
272​
273- Updated dependencies []:
274 - @tanstack/query-core@5.100.4
275​
276## 5.100.3
277​
278### Patch Changes
279​
280- Updated dependencies [[`f85d825`](https://github.com/TanStack/query/commit/f85d825e02efbbff02e2081528ed28f5e5382f7a)]:
281 - @tanstack/query-core@5.100.3
282​
283## 5.100.2
284​
285### Patch Changes
286​
287- 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)]:
288 - @tanstack/query-core@5.100.2
289​
290## 5.100.1
291​
292### Patch Changes
293​
294- Updated dependencies [[`1bb0d23`](https://github.com/TanStack/query/commit/1bb0d234280fd4ae1725c439088426a20593a8df)]:
295 - @tanstack/query-core@5.100.1
296​
297## 5.100.0
298​
299### Patch Changes
300​
301- Updated dependencies [[`6540a41`](https://github.com/TanStack/query/commit/6540a4126b1c087d86d64525e78f32d9920dcd31)]:
302 - @tanstack/query-core@5.100.0
303​
304## 5.99.2
305​
306### Patch Changes
307​
308- Updated dependencies []:
309 - @tanstack/query-core@5.99.2
310​
311## 5.99.1
312​
313### Patch Changes
314​
315- Updated dependencies []:
316 - @tanstack/query-core@5.99.1
317​
318## 5.99.0
319​
320### Patch Changes
321​
322- Updated dependencies []:
323 - @tanstack/query-core@5.99.0
324​
325## 5.98.0
326​
327### Patch Changes
328​
329- Updated dependencies []:
330 - @tanstack/query-core@5.98.0
331​
332## 5.97.0
333​
334### Patch Changes
335​
336- Updated dependencies [[`2bfb12c`](https://github.com/TanStack/query/commit/2bfb12cc44f1d8495106136e4ddacb817135f8f9)]:
337 - @tanstack/query-core@5.97.0
338​
339## 5.96.2
340​
341### Patch Changes
342​
343- Updated dependencies []:
344 - @tanstack/query-core@5.96.2
345​
346## 5.96.1
347​
348### Patch Changes
349​
350- Updated dependencies []:
351 - @tanstack/query-core@5.96.1
352​
353## 5.96.0
354​
355### Patch Changes
356​
357- Updated dependencies []:
358 - @tanstack/query-core@5.96.0
359​
360## 5.95.2
361​
362### Patch Changes
363​
364- Updated dependencies [[`cd5a35b`](https://github.com/TanStack/query/commit/cd5a35b328837781aa4f9305bb2bd7877ca934e9)]:
365 - @tanstack/query-core@5.95.2
366​
367## 5.95.1
368​
369### Patch Changes
370​
371- Updated dependencies [[`1f1775c`](https://github.com/TanStack/query/commit/1f1775ca92f2b6c035682947ff3b3424804ff31a)]:
372 - @tanstack/query-core@5.95.1
373​
374## 5.95.0
375​
376### Patch Changes
377​
378- Updated dependencies []:
379 - @tanstack/query-core@5.95.0
380​
381## 5.94.5
382​
383### Patch Changes
384​
385- fix(\*): resolve issue about excluded build directory ([#10312](https://github.com/TanStack/query/pull/10312))
386​
387- Updated dependencies [[`4b6536d`](https://github.com/TanStack/query/commit/4b6536dfce99036f4e37f52943c6fed3ad0e0a18)]:
388 - @tanstack/query-core@5.94.5
389​
390## 5.94.4
391​
392### Patch Changes
393​
394- chore: fixed version ([#10064](https://github.com/TanStack/query/pull/10064))
395​
396- Updated dependencies [[`4c75210`](https://github.com/TanStack/query/commit/4c75210ce8235fe3d39b67e1029eff11278927cc)]:
397 - @tanstack/query-core@5.94.4
398​
399## 5.94.3
400​
401### Patch Changes
402​
403- fix: stop node types from leaking into browser ([#10302](https://github.com/TanStack/query/pull/10302))
404​
405## 5.94.2
406​
407### Patch Changes
408​
409- fix(streamedQuery): maintain error state on reset refetch with initialData defined ([#10287](https://github.com/TanStack/query/pull/10287))
410​
411- Updated dependencies [[`248975e`](https://github.com/TanStack/query/commit/248975e896f585f6eaa505c796e73fcf7bfd1eec)]:
412 - @tanstack/query-core@5.91.2
413​
414## 5.94.1
415​
416### Patch Changes
417​
418- fix(core): cancel paused initial fetch when last observer unsubscribes ([#10291](https://github.com/TanStack/query/pull/10291))
419​
420- Updated dependencies [[`a89aab9`](https://github.com/TanStack/query/commit/a89aab975581c25c113a26c8af486b4cafad272a)]:
421 - @tanstack/query-core@5.91.1
422​
423## 5.94.0
424​
425### Minor Changes
426​
427- feat: environmentManager ([#10199](https://github.com/TanStack/query/pull/10199))
428​
429### Patch Changes
430​
431- Updated dependencies [[`6fa901b`](https://github.com/TanStack/query/commit/6fa901b97a22a80d0fca3f6ed86237ff0cbdd13b)]:
432 - @tanstack/query-core@5.91.0
433​
434## 5.93.0
435​
436### Minor Changes
437​
438- feat: Add preact persist plugin ([#10120](https://github.com/TanStack/query/pull/10120))
439​
440## 5.92.0
441​
442### Minor Changes
443​
444- feat: Add preact query devtools ([#10119](https://github.com/TanStack/query/pull/10119))
445​
446## 5.91.1
447​
448### Patch Changes
449​
450- refactor(preact-query/useQueries): remove unreachable 'willFetch' branch in suspense promise collection ([#10188](https://github.com/TanStack/query/pull/10188))
451​
452## 5.91.0
453​
454### Minor Changes
455​
456- feat: Preact Adapter ([#9935](https://github.com/TanStack/query/pull/9935))