@trpc/react-query 11.28.5 → 11.28.6

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.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +6 -5
package/README.md CHANGED
@@ -16,9 +16,12 @@
16
16
 
17
17
  > A tRPC wrapper around react-query.
18
18
 
19
+ > [!WARNING]
20
+ > `@trpc/react-query` is deprecated. It only gets bug fixes and will be removed in the next major version of tRPC. Use [`@trpc/tanstack-react-query`](https://trpc.io/docs/client/tanstack-react-query) instead. To move an existing project, follow the [migration guide](https://trpc.io/docs/client/tanstack-react-query/migrating).
21
+
19
22
  ## Documentation
20
23
 
21
- Full documentation for `@trpc/react-query` can be found [here](https://trpc.io/docs/react-query)
24
+ Full documentation for `@trpc/react-query` can be found [here](https://trpc.io/docs/client/react)
22
25
 
23
26
  ## Installation
24
27
 
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@trpc/react-query",
3
3
  "type": "module",
4
- "version": "11.28.5",
4
+ "version": "11.28.6",
5
5
  "description": "The tRPC React library",
6
+ "deprecated": "@trpc/react-query only gets bug fixes and will be removed in the next major version of tRPC. Use @trpc/tanstack-react-query instead: https://trpc.io/docs/client/tanstack-react-query/migrating",
6
7
  "author": "KATT",
7
8
  "license": "MIT",
8
9
  "main": "./dist/index.cjs",
@@ -70,8 +71,8 @@
70
71
  ],
71
72
  "peerDependencies": {
72
73
  "@tanstack/react-query": "^5.80.3",
73
- "@trpc/client": "11.28.5",
74
- "@trpc/server": "11.28.5",
74
+ "@trpc/client": "11.28.6",
75
+ "@trpc/server": "11.28.6",
75
76
  "react": ">=18.2.0",
76
77
  "typescript": ">=5.7.2"
77
78
  },
@@ -83,8 +84,8 @@
83
84
  "@testing-library/jest-dom": "^7.0.1",
84
85
  "@testing-library/react": "^16.3.3",
85
86
  "@testing-library/user-event": "^14.6.8",
86
- "@trpc/client": "11.28.5",
87
- "@trpc/server": "11.28.5",
87
+ "@trpc/client": "11.28.6",
88
+ "@trpc/server": "11.28.6",
88
89
  "@types/express": "^5.0.6",
89
90
  "@types/node": "^24.19.2",
90
91
  "@types/react": "^19.3.0",