@kubb/plugin-react-query 5.6.0 → 5.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/overview.md CHANGED
@@ -6,7 +6,7 @@ The plugin ships no HTTP client. Each helper calls a function generated by a cli
6
6
 
7
7
  ## Setup
8
8
 
9
- - Add `@kubb/plugin-ts` and a client plugin: `@kubb/plugin-fetch`, `@kubb/plugin-axios`, or `@kubb/plugin-client`. Leave `sdk` unset on the client plugin.
9
+ - Add `@kubb/plugin-ts`, or `pluginZod({ inferred: 'codec' })` for codec types, and a client plugin: `@kubb/plugin-fetch`, `@kubb/plugin-axios`, or `@kubb/plugin-client`. Leave `sdk` unset on the client plugin.
10
10
  - Install `@tanstack/react-query` 5.82 or a later v5 release in the app that uses the generated code.
11
11
  - Configure validation on the client plugin, not here.
12
12
 
@@ -18,6 +18,7 @@
18
18
  }
19
19
  ],
20
20
  "dependencies": ["plugin-ts"],
21
+ "optionalDependencies": ["plugin-zod"],
21
22
  "compatibility": {
22
23
  "kubb": ">=5.8.3",
23
24
  "node": ">=22.22"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-react-query",
3
- "version": "5.6.0",
3
+ "version": "5.6.2",
4
4
  "description": "Generate type-safe TanStack Query (React Query) hooks with Kubb. Covers useQuery, useMutation, useInfiniteQuery, and queryOptions with full TypeScript support.",
5
5
  "keywords": [
6
6
  "code-generation",
@@ -81,19 +81,19 @@
81
81
  "registry": "https://registry.npmjs.org/"
82
82
  },
83
83
  "dependencies": {
84
- "@kubb/plugin-ts": "^5.1.0"
84
+ "@kubb/plugin-ts": "^5.2.0"
85
85
  },
86
86
  "devDependencies": {
87
87
  "@internals/client": "0.0.0",
88
88
  "@internals/shared": "0.0.0",
89
89
  "@internals/tanstack-query": "0.0.0",
90
90
  "@internals/utils": "0.0.0",
91
- "@tanstack/react-query": "^5.104.4",
92
- "kubb": "^5.13.0"
91
+ "@tanstack/react-query": "^5.104.5",
92
+ "kubb": "^5.14.0"
93
93
  },
94
94
  "peerDependencies": {
95
95
  "@tanstack/react-query": "^5.82.0",
96
- "kubb": "^5.13.0"
96
+ "kubb": "^5.14.0"
97
97
  },
98
98
  "peerDependenciesMeta": {
99
99
  "@tanstack/react-query": {