Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: trpc/trpc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.24.0
Choose a base ref
...
head repository: trpc/trpc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v10.25.0
Choose a head ref
  • 5 commits
  • 36 files changed
  • 4 contributors

Commits on May 3, 2023

  1. 3
    Copy the full SHA
    a16bdf7 View commit details
  2. 2
    Copy the full SHA
    d72fa54 View commit details
  3. 2
    Copy the full SHA
    3d003ae View commit details

Commits on May 4, 2023

  1. 3
    Copy the full SHA
    f091ba6 View commit details
  2. v10.25.0

    KATT committed May 4, 2023
    3
    Copy the full SHA
    58764a3 View commit details
Showing with 228 additions and 125 deletions.
  1. +1 −1 .github/workflows/main.yml
  2. +5 −5 examples/.experimental/next-formdata/package.json
  3. +5 −5 examples/.interop/next-prisma-starter/package.json
  4. +5 −5 examples/.test/big-router-declaration/package.json
  5. +3 −3 examples/.test/internal-types-export/package.json
  6. +5 −5 examples/.test/ssg/package.json
  7. +3 −3 examples/cloudflare-workers/package.json
  8. +4 −4 examples/express-minimal/package.json
  9. +4 −4 examples/express-server/package.json
  10. +3 −3 examples/fastify-server/package.json
  11. +3 −3 examples/lambda-api-gateway/package.json
  12. +4 −4 examples/minimal-react/client/package.json
  13. +2 −2 examples/minimal-react/server/package.json
  14. +2 −2 examples/minimal/client/package.json
  15. +2 −2 examples/minimal/server/package.json
  16. +5 −5 examples/next-big-router/package.json
  17. +5 −5 examples/next-edge-runtime/package.json
  18. +5 −5 examples/next-minimal-starter/package.json
  19. +5 −5 examples/next-prisma-starter/package.json
  20. +5 −5 examples/next-prisma-todomvc/package.json
  21. +5 −5 examples/next-prisma-websockets-starter/package.json
  22. +3 −3 examples/soa/package.json
  23. +4 −4 examples/standalone-server/package.json
  24. +3 −3 examples/vercel-edge-runtime/package.json
  25. +1 −1 lerna.json
  26. +3 −3 packages/client/package.json
  27. +7 −7 packages/next/package.json
  28. +5 −5 packages/react-query/package.json
  29. +1 −1 packages/server/package.json
  30. +2 −2 packages/server/src/adapters/standalone.ts
  31. +5 −5 packages/tests/package.json
  32. +94 −2 packages/tests/server/errorFormatting.test.ts
  33. +6 −1 packages/tests/server/interop/websockets.test.ts
  34. +6 −1 packages/tests/server/websockets.test.ts
  35. +2 −1 www/docs/nextjs/ssr.md
  36. +5 −5 www/package.json
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ jobs:

strategy:
matrix:
node: ['18.x']
node: ['18.x', '20.x']
os: [ubuntu-latest]

steps:
10 changes: 5 additions & 5 deletions examples/.experimental/next-formdata/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/next-formdata",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"scripts": {
"dev": "next dev",
@@ -12,10 +12,10 @@
"@hookform/error-message": "^2.0.1",
"@hookform/resolvers": "^2.9.11",
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "^10.24.0",
"@trpc/next": "^10.24.0",
"@trpc/react-query": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/next": "^10.25.0",
"@trpc/react-query": "^10.25.0",
"@trpc/server": "^10.25.0",
"next": "^13.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
10 changes: 5 additions & 5 deletions examples/.interop/next-prisma-starter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/legacy-next-starter",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"scripts": {
"generate": "prisma generate",
@@ -36,10 +36,10 @@
"dependencies": {
"@prisma/client": "^4.12.0",
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "^10.24.0",
"@trpc/next": "^10.24.0",
"@trpc/react-query": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/next": "^10.25.0",
"@trpc/react-query": "^10.25.0",
"@trpc/server": "^10.25.0",
"clsx": "^1.1.1",
"next": "^13.2.1",
"react": "^18.2.0",
10 changes: 5 additions & 5 deletions examples/.test/big-router-declaration/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/big-router-declaration",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"scripts": {
"dev": "next dev",
@@ -10,10 +10,10 @@
},
"dependencies": {
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "^10.24.0",
"@trpc/next": "^10.24.0",
"@trpc/react-query": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/next": "^10.25.0",
"@trpc/react-query": "^10.25.0",
"@trpc/server": "^10.25.0",
"next": "^13.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
6 changes: 3 additions & 3 deletions examples/.test/internal-types-export/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/internal-types-export",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"type": "module",
"scripts": {
@@ -12,7 +12,7 @@
"typescript": "^4.8.3"
},
"dependencies": {
"@trpc/client": "^10.24.0",
"@trpc/server": "^10.24.0"
"@trpc/client": "^10.25.0",
"@trpc/server": "^10.25.0"
}
}
10 changes: 5 additions & 5 deletions examples/.test/ssg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/test-ssg",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"scripts": {
"dev": "next dev",
@@ -13,10 +13,10 @@
},
"dependencies": {
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "^10.24.0",
"@trpc/next": "^10.24.0",
"@trpc/react-query": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/next": "^10.25.0",
"@trpc/react-query": "^10.25.0",
"@trpc/server": "^10.25.0",
"next": "^13.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
6 changes: 3 additions & 3 deletions examples/cloudflare-workers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/cloudflare-workers",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"type": "module",
"scripts": {
@@ -9,8 +9,8 @@
"test-dev": "start-server-and-test 'wrangler dev --local' http://127.0.0.1:8787 'tsx src/client.ts'"
},
"dependencies": {
"@trpc/client": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/server": "^10.25.0",
"zod": "^3.0.0"
},
"devDependencies": {
8 changes: 4 additions & 4 deletions examples/express-minimal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/express-minimal",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"type": "module",
"scripts": {
@@ -15,9 +15,9 @@
"test-start": "start-server-and-test 'node dist/server' 3000 'node dist/client'"
},
"dependencies": {
"@trpc/client": "^10.24.0",
"@trpc/react-query": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/react-query": "^10.25.0",
"@trpc/server": "^10.25.0",
"express": "^4.17.1",
"zod": "^3.0.0"
},
8 changes: 4 additions & 4 deletions examples/express-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/express-server",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"type": "module",
"scripts": {
@@ -15,9 +15,9 @@
"test-start": "start-server-and-test 'node dist/server' 2021 'node dist/client'"
},
"dependencies": {
"@trpc/client": "^10.24.0",
"@trpc/react-query": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/react-query": "^10.25.0",
"@trpc/server": "^10.25.0",
"express": "^4.17.1",
"zod": "^3.0.0"
},
6 changes: 3 additions & 3 deletions examples/fastify-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/fastify-server",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"type": "module",
"scripts": {
@@ -18,8 +18,8 @@
},
"dependencies": {
"@fastify/websocket": "^7.1.2",
"@trpc/client": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/server": "^10.25.0",
"fastify": "^4.13.0",
"superjson": "^1.7.4",
"tslib": "^2.5.0",
6 changes: 3 additions & 3 deletions examples/lambda-api-gateway/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@examples/lambda-api-gateway",
"private": true,
"version": "10.24.0",
"version": "10.25.0",
"type": "module",
"main": "index.js",
"license": "MIT",
@@ -13,8 +13,8 @@
"http-rest-client": "tsx src/payloadFormatVersionClient.ts"
},
"dependencies": {
"@trpc/client": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/server": "^10.25.0",
"tsx": "^3.12.3",
"zod": "^3.0.0"
},
8 changes: 4 additions & 4 deletions examples/minimal-react/client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@examples/minimal-react-client",
"private": true,
"version": "10.24.0",
"version": "10.25.0",
"type": "module",
"scripts": {
"dev": "vite",
@@ -11,9 +11,9 @@
},
"dependencies": {
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "^10.24.0",
"@trpc/react-query": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/react-query": "^10.25.0",
"@trpc/server": "^10.25.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
4 changes: 2 additions & 2 deletions examples/minimal-react/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/minimal-react-server",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"scripts": {
"build": "tsc",
@@ -9,7 +9,7 @@
"start": "node dist/index.js"
},
"dependencies": {
"@trpc/server": "^10.24.0",
"@trpc/server": "^10.25.0",
"cors": "^2.8.5",
"zod": "^3.0.0"
},
4 changes: 2 additions & 2 deletions examples/minimal/client/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@examples/minimal-client",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"dependencies": {
"@trpc/client": "^10.24.0",
"@trpc/client": "^10.25.0",
"undici": "^5.14.0"
},
"devDependencies": {
4 changes: 2 additions & 2 deletions examples/minimal/server/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@examples/minimal-server",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"dependencies": {
"@trpc/server": "^10.24.0",
"@trpc/server": "^10.25.0",
"zod": "^3.0.0"
},
"devDependencies": {
10 changes: 5 additions & 5 deletions examples/next-big-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/next-big-router",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"scripts": {
"dev": "next dev",
@@ -11,10 +11,10 @@
},
"dependencies": {
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "^10.24.0",
"@trpc/next": "^10.24.0",
"@trpc/react-query": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/next": "^10.25.0",
"@trpc/react-query": "^10.25.0",
"@trpc/server": "^10.25.0",
"next": "^13.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
10 changes: 5 additions & 5 deletions examples/next-edge-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/next-edge-runtime",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"scripts": {
"dev": "next dev",
@@ -10,10 +10,10 @@
},
"dependencies": {
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "^10.24.0",
"@trpc/next": "^10.24.0",
"@trpc/react-query": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/next": "^10.25.0",
"@trpc/react-query": "^10.25.0",
"@trpc/server": "^10.25.0",
"next": "^13.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
10 changes: 5 additions & 5 deletions examples/next-minimal-starter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/next-minimal",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"scripts": {
"dev": "next dev",
@@ -10,10 +10,10 @@
},
"dependencies": {
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "^10.24.0",
"@trpc/next": "^10.24.0",
"@trpc/react-query": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/next": "^10.25.0",
"@trpc/react-query": "^10.25.0",
"@trpc/server": "^10.25.0",
"next": "^13.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
10 changes: 5 additions & 5 deletions examples/next-prisma-starter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/trpc-next-prisma-starter",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"scripts": {
"generate": "prisma generate",
@@ -36,10 +36,10 @@
"dependencies": {
"@prisma/client": "^4.12.0",
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "^10.24.0",
"@trpc/next": "^10.24.0",
"@trpc/react-query": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/next": "^10.25.0",
"@trpc/react-query": "^10.25.0",
"@trpc/server": "^10.25.0",
"clsx": "^1.1.1",
"next": "^13.2.1",
"react": "^18.2.0",
10 changes: 5 additions & 5 deletions examples/next-prisma-todomvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/trpc-next-prisma-todomvc",
"version": "10.24.0",
"version": "10.25.0",
"private": true,
"scripts": {
"generate": "prisma generate",
@@ -24,10 +24,10 @@
"dependencies": {
"@prisma/client": "^4.12.0",
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "^10.24.0",
"@trpc/next": "^10.24.0",
"@trpc/react-query": "^10.24.0",
"@trpc/server": "^10.24.0",
"@trpc/client": "^10.25.0",
"@trpc/next": "^10.25.0",
"@trpc/react-query": "^10.25.0",
"@trpc/server": "^10.25.0",
"clsx": "^1.1.1",
"i18next": "^22.4.13",
"next": "^13.2.1",
Loading