Open History to see the last commit
1# @tanstack/eslint-plugin-query
2β
3## 5.104.4
4β
5### Patch Changes
6β
7- [#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
8β
9- [#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`.
10β
11## 5.104.3
12β
13No changes in this release.
14β
15## 5.104.2
16β
17No changes in this release.
18β
19## 5.104.1
20β
21No changes in this release.
22β
23## 5.104.0
24β
25### Minor Changes
26β
27- [#11650](https://github.com/TanStack/query/pull/11650) [`5279b05`](https://github.com/TanStack/query/commit/5279b05211223dd719803ca22a9d1fa46c98638e) - Build projects with Vite 8
28β
29## 5.103.3
30β
31No changes in this release.
32β
33## 5.103.2
34β
35## 5.103.1
36β
37## 5.103.0
38β
39## 5.102.8
40β
41## 5.102.7
42β
43## 5.102.6
44β
45## 5.102.5
46β
47## 5.102.4
48β
49## 5.102.3
50β
51## 5.102.2
52β
53## 5.102.1
54β
55## 5.102.0
56β
57### Patch Changes
58β
59- [#11212](https://github.com/TanStack/query/pull/11212) [`279bb55`](https://github.com/TanStack/query/commit/279bb5508b81ce0d88b8f0f72441d96abf7ca03c) - TypeScript 7 compatibility
60β
61- [#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.).
62β
63- [#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.
64β
65## 5.101.4
66β
67### Patch Changes
68β
69- [#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.
70β
71## 5.101.3
72β
73## 5.101.2
74β
75## 5.101.1
76β
77## 5.101.0
78β
79### Minor Changes
80β
81- [#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).
82β
83## 5.100.14
84β
85## 5.100.13
86β
87## 5.100.12
88β
89### Patch Changes
90β
91- fix(no-unstable-deps): handle array-destructured useQueries and useSuspenseQueries results ([#10747](https://github.com/TanStack/query/pull/10747))
92β
93- Fix `no-unstable-deps` false positives for `useSuspenseQueries` results returned from `combine`. ([#10642](https://github.com/TanStack/query/pull/10642))
94β
95## 5.100.11
96β
97## 5.100.10
98β
99## 5.100.9
100β
101## 5.100.8
102β
103## 5.100.7
104β
105## 5.100.6
106β
107## 5.100.5
108β
109## 5.100.4
110β
111## 5.100.3
112β
113## 5.100.2
114β
115## 5.100.1
116β
117## 5.100.0
118β
119## 5.99.2
120β
121## 5.99.1
122β
123### Patch Changes
124β
125- 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))
126β
127## 5.99.0
128β
129## 5.98.0
130β
131## 5.97.0
132β
133### Minor Changes
134β
135- feat(eslint): support eslint v10 and typescript v6 ([#10182](https://github.com/TanStack/query/pull/10182))
136β
137## 5.96.2
138β
139### Patch Changes
140β
141- fix(eslint-plugin): normalize whitespace in allowList variable matching for multiline expressions ([#10337](https://github.com/TanStack/query/pull/10337))
142β
143## 5.96.1
144β
145## 5.96.0
146β
147### Minor Changes
148β
149- Add `prefer-query-options` rule and `recommendedStrict` config ([#10359](https://github.com/TanStack/query/pull/10359))
150β
151## 5.95.2
152β
153## 5.95.1
154β
155## 5.95.0
156β
157### Minor Changes
158β
159- 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))
160β
161## 5.94.5
162β
163### Patch Changes
164β
165- fix(\*): resolve issue about excluded build directory ([#10312](https://github.com/TanStack/query/pull/10312))
166β
167## 5.94.4
168β
169### Patch Changes
170β
171- chore: fixed version ([#10064](https://github.com/TanStack/query/pull/10064))
172β
173## 5.91.5
174β
175### Patch Changes
176β
177- 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))
178β
179## 5.91.4
180β
181### Patch Changes
182β
183- fix(eslint-plugin-query): declare typescript as optional peer dependency ([#10007](https://github.com/TanStack/query/pull/10007))
184β
185## 5.91.3
186β
187### Patch Changes
188β
189- exhaustive-deps rule fixed for vue files ([#10011](https://github.com/TanStack/query/pull/10011))
190β
191## 5.91.2
192β
193### Patch Changes
194β
195- fix: allow useQueries with combine property in no-unstable-deps rule ([#9720](https://github.com/TanStack/query/pull/9720))
196β
197## 5.91.1
198β
199### Patch Changes
200β
201- avoid typescript import in no-void-query-fn rule ([#9759](https://github.com/TanStack/query/pull/9759))
202β
203## 5.91.0
204β
205### Minor Changes
206β
207- feat: improve type of exported plugin ([#9700](https://github.com/TanStack/query/pull/9700))
208β
209## 5.90.2
210β
211### Patch Changes
212β
213- fix: exhaustive-deps with variables and type assertions ([#9687](https://github.com/TanStack/query/pull/9687))