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

CHANGELOG.md

255 lines6.9 KB

1# @tanstack/query-core
2​
3## 5.101.4
4​
5## 5.101.3
6​
7### Patch Changes
8​
9- [#11084](https://github.com/TanStack/query/pull/11084) [`7e3c822`](https://github.com/TanStack/query/commit/7e3c822a10896f41a8f1031c16b85096277af677) - Improve `partialMatchKey` performance in query-core.
10​
11## 5.101.2
12​
13## 5.101.1
14​
15### Patch Changes
16​
17- [#10610](https://github.com/TanStack/query/pull/10610) [`9eff92e`](https://github.com/TanStack/query/commit/9eff92ed86e284ec0125b3a3539d028688235bd1) - fix missing `dataUpdatedAt` for streamed queries that resolve before hydration
18​
19## 5.101.0
20​
21## 5.100.14
22​
23## 5.100.13
24​
25### Patch Changes
26​
27- fix(query-core): drop the custom `NoInfer<T>` re-export and rely on TypeScript's built-in `NoInfer` (TS β‰₯ 5.4) so `NoInfer<X[K]>` stays assignable to `X[K]` in generic contexts (fixes [#9937](https://github.com/TanStack/query/issues/9937)) ([#10593](https://github.com/TanStack/query/pull/10593))
28​
29## 5.100.12
30​
31## 5.100.11
32​
33## 5.100.10
34​
35## 5.100.9
36​
37### Patch Changes
38​
39- fix(query-core): wrap `persister`'s `TQueryKey` in `NoInfer` so that the `persister` slot no longer contributes to `TQueryKey` inference. Follow-up to #10510, which removed `NoInfer` on all three `persister` generics. Preserving `NoInfer<TQueryKey>` keeps that fix's benefit for `TQueryFnData` while preventing `TQueryKey` from widening to the augmented constraint when `Register.queryKey` is narrowed β€” which made `DataTag`-branded wrapper returns un-assignable in contravariant slots. ([#10601](https://github.com/TanStack/query/pull/10601))
40​
41## 5.100.8
42​
43## 5.100.7
44​
45## 5.100.6
46​
47## 5.100.5
48​
49### Patch Changes
50​
51- fix(core): propagate AbortSignal reason in infinite queries ([`a53ef97`](https://github.com/TanStack/query/commit/a53ef97f87decb8ea2431710f5199431d3c94c8d))
52​
53## 5.100.4
54​
55## 5.100.3
56​
57### Patch Changes
58​
59- fix(suspense): skip calling combine when queries would suspend ([#10576](https://github.com/TanStack/query/pull/10576))
60​
61## 5.100.2
62​
63### Patch Changes
64​
65- fix(query-core): allow `persister` to contribute to `TQueryFnData` inference so a `queryFn` that declares a parameter no longer produces a spurious overload mismatch against a typed persister (#7842). ([#10510](https://github.com/TanStack/query/pull/10510))
66​
67- fix: preserve infinite query behavior during SSR hydration (#8825) ([#10074](https://github.com/TanStack/query/pull/10074))
68​
69- ref(core): remove leftover setStateOptions ([#10574](https://github.com/TanStack/query/pull/10574))
70​
71## 5.100.1
72​
73### Patch Changes
74​
75- Fix bugs where hydrating queries with promises that had already resolved could cause queries to briefly and incorrectly show as pending/fetching ([#10444](https://github.com/TanStack/query/pull/10444))
76​
77## 5.100.0
78​
79### Minor Changes
80​
81- feat(query-core): accept callback function for retryOnMount ([#10515](https://github.com/TanStack/query/pull/10515))
82​
83## 5.99.2
84​
85## 5.99.1
86​
87## 5.99.0
88​
89## 5.98.0
90​
91## 5.97.0
92​
93### Patch Changes
94​
95- fix(query-core): use explicit `undefined` check for timer IDs so that custom `TimeoutProvider`s returning `0` as a valid timer ID are properly cleared ([#10401](https://github.com/TanStack/query/pull/10401))
96​
97## 5.96.2
98​
99## 5.96.1
100​
101## 5.96.0
102​
103## 5.95.2
104​
105### Patch Changes
106​
107- fix(timeoutManager): make sure NodeJs.Timout doesn't leak ([#10325](https://github.com/TanStack/query/pull/10325))
108​
109## 5.95.1
110​
111### Patch Changes
112​
113- fix(timeoutManager): make sure NodeJs.Timout doesn't leak ([#10323](https://github.com/TanStack/query/pull/10323))
114​
115## 5.95.0
116​
117## 5.94.5
118​
119### Patch Changes
120​
121- fix(\*): resolve issue about excluded build directory ([#10312](https://github.com/TanStack/query/pull/10312))
122​
123## 5.94.4
124​
125### Patch Changes
126​
127- chore: fixed version ([#10064](https://github.com/TanStack/query/pull/10064))
128​
129## 5.91.2
130​
131### Patch Changes
132​
133- fix(streamedQuery): maintain error state on reset refetch with initialData defined ([#10287](https://github.com/TanStack/query/pull/10287))
134​
135## 5.91.1
136​
137### Patch Changes
138​
139- fix(core): cancel paused initial fetch when last observer unsubscribes ([#10291](https://github.com/TanStack/query/pull/10291))
140​
141## 5.91.0
142​
143### Minor Changes
144​
145- feat: environmentManager ([#10199](https://github.com/TanStack/query/pull/10199))
146​
147## 5.90.20
148​
149### Patch Changes
150​
151- Fix: onMutate callback now runs synchronously when mutationCache.config.onMutate is not defined ([#10066](https://github.com/TanStack/query/pull/10066))
152​
153## 5.90.19
154​
155### Patch Changes
156​
157- fix stable combine reference not updating when queries change dynamically ([#9954](https://github.com/TanStack/query/pull/9954))
158​
159## 5.90.18
160​
161### Patch Changes
162​
163- Align experimental_prefetchInRender promise rejection with Suspense behavior by only throwing when no data is available. ([#10025](https://github.com/TanStack/query/pull/10025))
164​
165## 5.90.17
166​
167### Patch Changes
168​
169- fix(query-core): replaceEqualDeep max depth ([#10032](https://github.com/TanStack/query/pull/10032))
170​
171## 5.90.16
172​
173### Patch Changes
174​
175- fix useQueries race condition on queries length change (#9971) ([#9973](https://github.com/TanStack/query/pull/9973))
176​
177## 5.90.15
178​
179### Patch Changes
180​
181- Fix: Always treat existing data as stale when query goes into error state. ([#9927](https://github.com/TanStack/query/pull/9927))
182​
183## 5.90.14
184​
185### Patch Changes
186​
187- Fix streamedQuery reducer being called twice ([#9970](https://github.com/TanStack/query/pull/9970))
188​
189## 5.90.13
190​
191### Patch Changes
192​
193- Made context.signal consume aware with streamedQuery ([#9963](https://github.com/TanStack/query/pull/9963))
194​
195## 5.90.12
196​
197### Patch Changes
198​
199- fix: update react and nextJs ([#9944](https://github.com/TanStack/query/pull/9944))
200​
201## 5.90.11
202​
203### Patch Changes
204​
205- Prevent infinite render loops when useSuspenseQueries has duplicate queryKeys ([#9886](https://github.com/TanStack/query/pull/9886))
206​
207## 5.90.10
208​
209### Patch Changes
210​
211- fix(types): allow QueryFilters union with different lengths ([#9878](https://github.com/TanStack/query/pull/9878))
212​
213- Fix streamedQuery to avoid returning undefined when the stream yields no values ([#9876](https://github.com/TanStack/query/pull/9876))
214​
215## 5.90.9
216​
217### Patch Changes
218​
219- fix(types): do not drop readonly for partial QueryFilter matching ([#9872](https://github.com/TanStack/query/pull/9872))
220​
221## 5.90.8
222​
223### Patch Changes
224​
225- fix: allow partial query keys in `QueryFilters` ([#9686](https://github.com/TanStack/query/pull/9686))
226​
227## 5.90.7
228​
229### Patch Changes
230​
231- fix(core): only attach .then and .catch onto a promise if it gets dehydrated ([#9847](https://github.com/TanStack/query/pull/9847))
232​
233## 5.90.6
234​
235### Patch Changes
236​
237- Fixed isFetchedAfterMount in cases where initialData is applied ([#9743](https://github.com/TanStack/query/pull/9743))
238​
239## 5.90.5
240​
241### Patch Changes
242​
243- fix: observing "promise" needs to implicitly observe "data" ([#9772](https://github.com/TanStack/query/pull/9772))
244​
245## 5.90.4
246​
247### Patch Changes
248​
249- fix(types): remove duplicate Array condition in MutationKey type ([#9754](https://github.com/TanStack/query/pull/9754))
250​
251## 5.90.3
252​
253### Patch Changes
254​
255- Avoid unhandled promise rejection errors during de/rehydration of pending queries. ([#9752](https://github.com/TanStack/query/pull/9752))