@trpc/server 11.22.2-canary.37.6d6969c7c → 11.22.2-canary.42.d3cd94bdd

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 CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@trpc/server",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "11.22.2-canary.37.6d6969c7c",
5
+ "version": "11.22.2-canary.42.d3cd94bdd",
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": "6d6969c7cd8eb140c8dcc42e33750b4e88eaaa0d"
260
+ "gitHead": "d3cd94bddefd974b0e1f9ae8298f9764c44bf410"
261
261
  }
@@ -9,7 +9,7 @@ sources:
9
9
  metadata:
10
10
  type: core
11
11
  library: trpc
12
- library_version: 11.22.2-canary.37.6d6969c7c
12
+ library_version: 11.22.2-canary.42.d3cd94bdd
13
13
  ---
14
14
 
15
15
  <!-- Generated from www/v11/docs/server/adapters/aws-lambda.md by www/build/skills.ts. Edit the docs instead. -->
@@ -9,7 +9,7 @@ sources:
9
9
  metadata:
10
10
  type: core
11
11
  library: trpc
12
- library_version: 11.22.2-canary.37.6d6969c7c
12
+ library_version: 11.22.2-canary.42.d3cd94bdd
13
13
  ---
14
14
 
15
15
  <!-- Generated from www/v11/docs/server/adapters/express.md by www/build/skills.ts. Edit the docs instead. -->
@@ -9,7 +9,7 @@ sources:
9
9
  metadata:
10
10
  type: core
11
11
  library: trpc
12
- library_version: 11.22.2-canary.37.6d6969c7c
12
+ library_version: 11.22.2-canary.42.d3cd94bdd
13
13
  ---
14
14
 
15
15
  <!-- Generated from www/v11/docs/server/adapters/fastify.md by www/build/skills.ts. Edit the docs instead. -->
@@ -8,7 +8,7 @@ sources:
8
8
  metadata:
9
9
  type: core
10
10
  library: trpc
11
- library_version: 11.22.2-canary.37.6d6969c7c
11
+ library_version: 11.22.2-canary.42.d3cd94bdd
12
12
  ---
13
13
 
14
14
  <!-- Generated from www/v11/docs/server/adapters/fetch.md by www/build/skills.ts. Edit the docs instead. -->
@@ -9,7 +9,7 @@ sources:
9
9
  metadata:
10
10
  type: core
11
11
  library: trpc
12
- library_version: 11.22.2-canary.37.6d6969c7c
12
+ library_version: 11.22.2-canary.42.d3cd94bdd
13
13
  ---
14
14
 
15
15
  <!-- Generated from www/v11/docs/server/adapters/standalone.md by www/build/skills.ts. Edit the docs instead. -->
@@ -14,7 +14,7 @@ sources:
14
14
  metadata:
15
15
  type: composition
16
16
  library: trpc
17
- library_version: 11.22.2-canary.37.6d6969c7c
17
+ library_version: 11.22.2-canary.42.d3cd94bdd
18
18
  ---
19
19
 
20
20
  <!-- Generated from www/v11/docs/server/authorization.md by www/build/skills.ts. Edit the docs instead. -->
@@ -8,7 +8,7 @@ sources:
8
8
  metadata:
9
9
  type: core
10
10
  library: trpc
11
- library_version: 11.22.2-canary.37.6d6969c7c
11
+ library_version: 11.22.2-canary.42.d3cd94bdd
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 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.
111
+ > If you are using the deprecated Next.js Pages Router integration (`@trpc/next`), 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
 
@@ -9,7 +9,7 @@ sources:
9
9
  metadata:
10
10
  type: core
11
11
  library: trpc
12
- library_version: 11.22.2-canary.37.6d6969c7c
12
+ library_version: 11.22.2-canary.42.d3cd94bdd
13
13
  ---
14
14
 
15
15
  <!-- Generated from www/v11/docs/server/error-handling.md by www/build/skills.ts. Edit the docs instead. -->
@@ -8,7 +8,7 @@ sources:
8
8
  metadata:
9
9
  type: core
10
10
  library: trpc
11
- library_version: 11.22.2-canary.37.6d6969c7c
11
+ library_version: 11.22.2-canary.42.d3cd94bdd
12
12
  ---
13
13
 
14
14
  <!-- Generated from www/v11/docs/server/middlewares.md by www/build/skills.ts. Edit the docs instead. -->
@@ -10,7 +10,7 @@ sources:
10
10
  metadata:
11
11
  type: core
12
12
  library: trpc
13
- library_version: 11.22.2-canary.37.6d6969c7c
13
+ library_version: 11.22.2-canary.42.d3cd94bdd
14
14
  ---
15
15
 
16
16
  <!-- Generated from www/v11/docs/server/non-json-content-types.md by www/build/skills.ts. Edit the docs instead. -->
@@ -11,7 +11,7 @@ sources:
11
11
  metadata:
12
12
  type: core
13
13
  library: trpc
14
- library_version: 11.22.2-canary.37.6d6969c7c
14
+ library_version: 11.22.2-canary.42.d3cd94bdd
15
15
  ---
16
16
 
17
17
  <!-- Generated from www/v11/docs/server/overview.md by www/build/skills.ts. Edit the docs instead. -->
@@ -8,7 +8,7 @@ sources:
8
8
  metadata:
9
9
  type: core
10
10
  library: trpc
11
- library_version: 11.22.2-canary.37.6d6969c7c
11
+ library_version: 11.22.2-canary.42.d3cd94bdd
12
12
  ---
13
13
 
14
14
  <!-- Generated from www/v11/docs/server/server-side-calls.md by www/build/skills.ts. Edit the docs instead. -->
@@ -10,7 +10,7 @@ sources:
10
10
  metadata:
11
11
  type: composition
12
12
  library: trpc
13
- library_version: 11.22.2-canary.37.6d6969c7c
13
+ library_version: 11.22.2-canary.42.d3cd94bdd
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. -->
@@ -12,7 +12,7 @@ sources:
12
12
  metadata:
13
13
  type: core
14
14
  library: trpc
15
- library_version: 11.22.2-canary.37.6d6969c7c
15
+ library_version: 11.22.2-canary.42.d3cd94bdd
16
16
  ---
17
17
 
18
18
  <!-- Generated from www/v11/docs/server/subscriptions.md by www/build/skills.ts. Edit the docs instead. -->
@@ -7,7 +7,7 @@ sources:
7
7
  metadata:
8
8
  type: core
9
9
  library: trpc
10
- library_version: 11.22.2-canary.37.6d6969c7c
10
+ library_version: 11.22.2-canary.42.d3cd94bdd
11
11
  ---
12
12
 
13
13
  <!-- Generated from www/v11/docs/skills.md by www/build/skills.ts. Edit the docs instead. -->
@@ -8,7 +8,7 @@ sources:
8
8
  metadata:
9
9
  type: core
10
10
  library: trpc
11
- library_version: 11.22.2-canary.37.6d6969c7c
11
+ library_version: 11.22.2-canary.42.d3cd94bdd
12
12
  ---
13
13
 
14
14
  <!-- Generated from www/v11/docs/server/validators.md by www/build/skills.ts. Edit the docs instead. -->