Open History to see the last commit
1# @tanstack/eslint-plugin-query
2β
3## 5.106.1
4β
5No changes in this release.
6β
7## 5.106.0
8β
9No changes in this release.
10β
11## 5.105.3
12β
13No changes in this release.
14β
15## 5.105.2
16β
17No changes in this release.
18β
19## 5.105.1
20β
21### Patch Changes
22β
23- [#12409](https://github.com/TanStack/query/pull/12409) [`ec19101`](https://github.com/TanStack/query/commit/ec1910188588b182394a589313678714bc6a1798) - Fix stable-query-client detection for arrow functions, function expressions, and clients created directly in JSX. Keep state initializers and nested helper functions valid.
24β
25## 5.105.0
26β
27No changes in this release.
28β
29## 5.104.5
30β
31No changes in this release.
32β
33## 5.104.4
34β
35### Patch Changes
36β
37- [#12044](https://github.com/TanStack/query/pull/12044) [`a5f1b09`](https://github.com/TanStack/query/commit/a5f1b092bb7b733b85f50575b93e2e3b1db3d09c) - refactor(eslint-plugin-query/exhaustive-deps): remove the unused `fixable` from the rule metadata, as the rule only provides suggestions
38β
39- [#11889](https://github.com/TanStack/query/pull/11889) [`1cf6eb4`](https://github.com/TanStack/query/commit/1cf6eb4e9e3f5ce8937d6f0313c8b822812c7a00) - Detect unstable query dependencies in aliased React hooks imported from `react`.
40β
41## 5.104.3
42β
43No changes in this release.
44β
45## 5.104.2
46β
47No changes in this release.
48β
49## 5.104.1
50β
51No changes in this release.
52β
53## 5.104.0
54β
55### Minor Changes
56β
57- [#11650](https://github.com/TanStack/query/pull/11650) [`5279b05`](https://github.com/TanStack/query/commit/5279b05211223dd719803ca22a9d1fa46c98638e) - Build projects with Vite 8
58β
59## 5.103.3
60β
61No changes in this release.
62β
63## 5.103.2
64β
65## 5.103.1
66β
67## 5.103.0
68β
69## 5.102.8
70β
71## 5.102.7
72β
73## 5.102.6
74β
75## 5.102.5
76β
77## 5.102.4
78β
79## 5.102.3
80β
81## 5.102.2
82β
83## 5.102.1
84β
85## 5.102.0
86β
87### Patch Changes
88β
89- [#11212](https://github.com/TanStack/query/pull/11212) [`279bb55`](https://github.com/TanStack/query/commit/279bb5508b81ce0d88b8f0f72441d96abf7ca03c) - TypeScript 7 compatibility
90β
91- [#11188](https://github.com/TanStack/query/pull/11188) [`3bc8edf`](https://github.com/TanStack/query/commit/3bc8edfa0199e6467458084e8802a99bce11b958) - Fix false-positive warnings in `no-unstable-deps` rule caused by `Object.prototype` property lookups (`toString`, `valueOf`, etc.).
92β
93- [#11115](https://github.com/TanStack/query/pull/11115) [`8582702`](https://github.com/TanStack/query/commit/858270215247d1dbdbe9d9a00068b4ffa5218da6) - Remove unused helper functions from the internal `ASTUtils` object (`getNestedIdentifiers`, `getNestedReturnStatements`, `getClosestVariableDeclarator`, `mapKeyNodeToText`, and `mapKeyNodeToBaseText`). They were not referenced by any rule and are not part of the public API.
94β
95## 5.101.4
96β
97### Patch Changes
98β
99- [#11067](https://github.com/TanStack/query/pull/11067) [`7ac45ed`](https://github.com/TanStack/query/commit/7ac45ed45cbc28a54ac2fcfb1faccfcd87fb7b75) - Relax `exhaustive-deps` so function call targets are not required in query keys while values referenced in nested callbacks are still checked.
100β
101## 5.101.3
102β
103## 5.101.2
104β
105## 5.101.1
106β
107## 5.101.0
108β
109### Minor Changes
110β
111- [#10775](https://github.com/TanStack/query/pull/10775) [`dc54932`](https://github.com/TanStack/query/commit/dc549328642e3d5b7417c0ad070d9fbf38c195a4) - `no-rest-destructuring` now also flags rest destructuring on custom hooks that return a TanStack Query result. Detection uses the TypeScript type checker and runs only when typed linting is enabled, so untyped projects are unaffected. Closes [#8951](https://github.com/TanStack/query/issues/8951).
112β
113## 5.100.14
114β
115## 5.100.13
116β
117## 5.100.12
118β
119### Patch Changes
120β
121- fix(no-unstable-deps): handle array-destructured useQueries and useSuspenseQueries results ([#10747](https://github.com/TanStack/query/pull/10747))
122β
123- Fix `no-unstable-deps` false positives for `useSuspenseQueries` results returned from `combine`. ([#10642](https://github.com/TanStack/query/pull/10642))
124β
125## 5.100.11
126β
127## 5.100.10
128β
129## 5.100.9
130β
131## 5.100.8
132β
133## 5.100.7
134β
135## 5.100.6
136β
137## 5.100.5
138β
139## 5.100.4
140β
141## 5.100.3
142β
143## 5.100.2
144β
145## 5.100.1
146β
147## 5.100.0
148β
149## 5.99.2
150β
151## 5.99.1
152β
153### Patch Changes
154β
155- fix(eslint-plugin-query): fix `no-void-query-fn` false positive on enum returns for typescript 6. ([#10460](https://github.com/TanStack/query/pull/10460))
156β
157## 5.99.0
158β
159## 5.98.0
160β
161## 5.97.0
162β
163### Minor Changes
164β
165- feat(eslint): support eslint v10 and typescript v6 ([#10182](https://github.com/TanStack/query/pull/10182))
166β
167## 5.96.2
168β
169### Patch Changes
170β
171- fix(eslint-plugin): normalize whitespace in allowList variable matching for multiline expressions ([#10337](https://github.com/TanStack/query/pull/10337))
172β
173## 5.96.1
174β
175## 5.96.0
176β
177### Minor Changes
178β
179- Add `prefer-query-options` rule and `recommendedStrict` config ([#10359](https://github.com/TanStack/query/pull/10359))
180β
181## 5.95.2
182β
183## 5.95.1
184β
185## 5.95.0
186β
187### Minor Changes
188β
189- BREAKING (eslint-plugin): The `exhaustive-deps` rule now reports member expression dependencies more granularly for call expressions (e.g. `a.b.foo()` suggests `a.b`), which may cause existing code that previously passed the rule to now report missing dependencies. To accommodate stable variables and types, the rule now accepts an `allowlist` option with `variables` and `types` arrays to exclude specific dependencies from enforcement. ([#10295](https://github.com/TanStack/query/pull/10295))
190β
191## 5.94.5
192β
193### Patch Changes
194β
195- fix(\*): resolve issue about excluded build directory ([#10312](https://github.com/TanStack/query/pull/10312))
196β
197## 5.94.4
198β
199### Patch Changes
200β
201- chore: fixed version ([#10064](https://github.com/TanStack/query/pull/10064))
202β
203## 5.91.5
204β
205### Patch Changes
206β
207- Fix `exhaustive-deps` to detect dependencies used inside nested `queryFn` callbacks/control flow, and avoid false positives when those dependencies are already present in complex `queryKey` expressions. ([#10258](https://github.com/TanStack/query/pull/10258))
208β
209## 5.91.4
210β
211### Patch Changes
212β
213- fix(eslint-plugin-query): declare typescript as optional peer dependency ([#10007](https://github.com/TanStack/query/pull/10007))
214β
215## 5.91.3
216β
217### Patch Changes
218β
219- exhaustive-deps rule fixed for vue files ([#10011](https://github.com/TanStack/query/pull/10011))
220β
221## 5.91.2
222β
223### Patch Changes
224β
225- fix: allow useQueries with combine property in no-unstable-deps rule ([#9720](https://github.com/TanStack/query/pull/9720))
226β
227## 5.91.1
228β
229### Patch Changes
230β
231- avoid typescript import in no-void-query-fn rule ([#9759](https://github.com/TanStack/query/pull/9759))
232β
233## 5.91.0
234β
235### Minor Changes
236β
237- feat: improve type of exported plugin ([#9700](https://github.com/TanStack/query/pull/9700))
238β
239## 5.90.2
240β
241### Patch Changes
242β
243- fix: exhaustive-deps with variables and type assertions ([#9687](https://github.com/TanStack/query/pull/9687))