@trpc/server 11.23.0 → 11.23.1-canary.3.ae3beada3
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/package.json +2 -2
- package/skills/adapter-aws-lambda/SKILL.md +1 -1
- package/skills/adapter-express/SKILL.md +1 -1
- package/skills/adapter-fastify/SKILL.md +1 -1
- package/skills/adapter-fetch/SKILL.md +1 -1
- package/skills/adapter-standalone/SKILL.md +1 -1
- package/skills/auth/SKILL.md +1 -1
- package/skills/caching/SKILL.md +2 -2
- package/skills/error-handling/SKILL.md +1 -1
- package/skills/middlewares/SKILL.md +1 -1
- package/skills/non-json-content-types/SKILL.md +1 -1
- package/skills/server-setup/SKILL.md +1 -1
- package/skills/server-side-calls/SKILL.md +1 -1
- package/skills/service-oriented-architecture/SKILL.md +1 -1
- package/skills/subscriptions/SKILL.md +1 -1
- package/skills/trpc-router/SKILL.md +1 -1
- package/skills/validators/SKILL.md +1 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@trpc/server",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "11.23.
|
|
5
|
+
"version": "11.23.1-canary.3.ae3beada3",
|
|
6
6
|
"description": "The tRPC server library",
|
|
7
7
|
"author": "KATT",
|
|
8
8
|
"license": "MIT",
|
|
@@ -257,5 +257,5 @@
|
|
|
257
257
|
"keywords": [
|
|
258
258
|
"tanstack-intent"
|
|
259
259
|
],
|
|
260
|
-
"gitHead": "
|
|
260
|
+
"gitHead": "ae3beada331dad3fe4db4c8945c20c9b5a0856dc"
|
|
261
261
|
}
|
package/skills/auth/SKILL.md
CHANGED
package/skills/caching/SKILL.md
CHANGED
|
@@ -8,7 +8,7 @@ sources:
|
|
|
8
8
|
metadata:
|
|
9
9
|
type: core
|
|
10
10
|
library: trpc
|
|
11
|
-
library_version: 11.23.
|
|
11
|
+
library_version: 11.23.1-canary.3.ae3beada3
|
|
12
12
|
---
|
|
13
13
|
|
|
14
14
|
<!-- Generated from www/v11/docs/server/caching.md by www/build/skills.ts. Edit the docs instead. -->
|
|
@@ -108,7 +108,7 @@ server.listen(3000);
|
|
|
108
108
|
`responseMeta` runs once per HTTP response, so with batching it decides the headers for every procedure in the batch: only cache if all of them are public. It also gets the request's `ctx`, e.g. to skip caching for signed-in users. For streamed responses, like those of [`httpBatchStreamLink`](https://trpc.io/docs/client/links/httpBatchStreamLink), the headers are sent before any procedure has finished, so `responseMeta` runs with `eagerGeneration: true` and an empty `errors` array.
|
|
109
109
|
|
|
110
110
|
> [!TIP]
|
|
111
|
-
> If you are using
|
|
111
|
+
> If you are using Next.js, see the [Next.js SSR caching guide](https://trpc.io/docs/client/nextjs/pages-router/ssr#response-caching-with-ssr) for Next.js-specific caching examples using `createTRPCNext` and the Next.js adapter.
|
|
112
112
|
|
|
113
113
|
## Related skills
|
|
114
114
|
|
|
@@ -10,7 +10,7 @@ sources:
|
|
|
10
10
|
metadata:
|
|
11
11
|
type: composition
|
|
12
12
|
library: trpc
|
|
13
|
-
library_version: 11.23.
|
|
13
|
+
library_version: 11.23.1-canary.3.ae3beada3
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
<!-- Generated from www/v11/docs/server/service-oriented-architecture.md by www/build/skills.ts. Edit the docs instead. -->
|