Skip to content

Commit edf595c

Browse files
committed
feat(react-client): deopt support for TanStack Query versions prior to 5.80.0
BREAKING CHANGE: Due to the fact that by default, the latest version of TanStack Query will always be installed, it doesn't make sense to support the old version of TanStack Query, since the new one doesn't have any breaking changes compared to the previous ones.
1 parent 97893ee commit edf595c

5 files changed

Lines changed: 4 additions & 40 deletions

File tree

packages/react-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@openapi-qraft/tanstack-query-react-types": "workspace:*"
1919
},
2020
"peerDependencies": {
21-
"@tanstack/react-query": "^5.0.0",
21+
"@tanstack/react-query": "^5.80.0",
2222
"react": "^18 || ^19"
2323
},
2424
"devDependencies": {

packages/tanstack-query-react-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232
},
3333
"peerDependencies": {
34-
"@tanstack/react-query": "^5.0.0",
34+
"@tanstack/react-query": "^5.80.0",
3535
"react": "^18 || ^19"
3636
},
3737
"devDependencies": {

packages/tanstack-query-react-types/src/shared/UseSuspenseInfiniteQueryOptions.ts

Lines changed: 0 additions & 35 deletions
This file was deleted.

packages/tanstack-query-react-types/src/shared/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export type * from './ServiceOperationMutation.js';
1313
export type * from './ServiceOperationQuery.js';
1414
export type * from './UseQueryOptionsForUseQueries.js';
1515
export type * from './UseQueryOptionsForUseSuspenseQuery.js';
16-
export type * from './UseSuspenseInfiniteQueryOptions.js';
1716
export type * from './WithOptional.js';
1817
export type * from './QraftServiceOperationsToken.js';
1918
export type * from './OperationError.js';

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6100,7 +6100,7 @@ __metadata:
61006100
typescript: "npm:^5.6.2"
61016101
vitest: "npm:^3.0.5"
61026102
peerDependencies:
6103-
"@tanstack/react-query": ^5.0.0
6103+
"@tanstack/react-query": ^5.80.0
61046104
react: ^18 || ^19
61056105
languageName: unknown
61066106
linkType: soft
@@ -6160,7 +6160,7 @@ __metadata:
61606160
rollup: "npm:~4.22.4"
61616161
typescript: "npm:^5.6.2"
61626162
peerDependencies:
6163-
"@tanstack/react-query": ^5.0.0
6163+
"@tanstack/react-query": ^5.80.0
61646164
react: ^18 || ^19
61656165
languageName: unknown
61666166
linkType: soft

0 commit comments

Comments
 (0)