tRPC
✓ VerifiedGitHubEnd-to-end typesafe APIs made easy for TypeScript and React.
Releases
11v11.17.0
3 weeks ago
What's Changed
- chore(deps): bump next from 15.5.10 to 15.5.14 by @dependabot[bot] in https://github.com/trpc/trpc/pull/7268
- chore: Review stale skills (v11.16.0) by @github-actions[bot] in https://github.com/trpc/trpc/pull/7295
- fix(server): unwrap error from cause for streaming onError by @zirkelc in https://github.com/trpc/trpc/pull/7286
- chore: Add cache checks for openapi router fixtures by @Nick-Lucas in https://github.com/trpc/trpc/pull/7296
- chore: Update Hey API for new type imports by @Nick-Lucas in https://github.com/trpc/trpc/pull/7298
- docs: Add oasdiff docs to openapi by @Nick-Lucas in https://github.com/trpc/trpc/pull/7299
- feat: Add subscription inferrence helpers by @Nick-Lucas in https://github.com/trpc/trpc/pull/7303
- fix(www): Add accessible text to links without discernible text by @cyphercodes in https://github.com/trpc/trpc/pull/7302
- fix(deps): update dependency @tanstack/intent to ^0.0.27 by @renovate[bot] in https://github.com/trpc/trpc/pull/7309
- fix(deps): update dependency srvx to v0.11.14 by @renovate[bot] in https://github.com/trpc/trpc/pull/7310
- chore(deps): update dependency @oxc-project/runtime to v0.123.0 by @renovate[bot] in https://github.com/trpc/trpc/pull/7311
- fix(deps): update dependency @clack/prompts to v1.2.0 by @renovate[bot] in https://github.com/trpc/trpc/pull/7312
- chore(deps): bump fastify from 5.8.1 to 5.8.3 by @dependabot[bot] in https://github.com/trpc/trpc/pull/7288
- chore(deps): update codecov/codecov-action action to v6 by @renovate[bot] in https://github.com/trpc/trpc/pull/7313
- fix(deps): update dependency eslint-plugin-unicorn to v64 by @renovate[bot] in https://github.com/trpc/trpc/pull/7314
- fix(deps): update dependency undici to v8 by @renovate[bot] in https://github.com/trpc/trpc/pull/7316
- chore(monorepo): remove versions from private workspaces by @KATT in https://github.com/trpc/trpc/pull/7306
- fix(server): handle React 19 proxy coercion in createInnerProxy by @DORI2001 in https://github.com/trpc/trpc/pull/7336
- docs: add trpc-studio to awesome-trpc extensions by @sayefdeen in https://github.com/trpc/trpc/pull/7340
- chore: upgrade pnpm to 10.33.1 by @KATT in https://github.com/trpc/trpc/pull/7350
- build: upgrade drizzle in next-sse-chat example by @KATT in https://github.com/trpc/trpc/pull/7351
- chore(www): Add Legora to website logos by @KATT in https://github.com/trpc/trpc/pull/7358
New Contributors
- @cyphercodes made their first contribution in https://github.com/trpc/trpc/pull/7302
- @DORI2001 made their first contribution in https://github.com/trpc/trpc/pull/7336
- @sayefdeen made their first contribution in https://github.com/trpc/trpc/pull/7340
Full Changelog: https://github.com/trpc/trpc/compare/v11.16.0...v11.17.0
v11.16.0
1 month ago
What's Changed
- feat: OpenAPI Cyclic Types support by @Nick-Lucas in https://github.com/trpc/trpc/pull/7283
- chore: Review stale skills (manual) by @github-actions[bot] in https://github.com/trpc/trpc/pull/7294
@trpc/openapi 11.16.0-alpha
- Drops the type depth limit of 20, and significantly hardens cyclic-type support for both inference and Zod
- Support zod.lazy via Standard Schema fallback
- Strip symbols from output (no more
__@asyncIterator@5456symbols in output) - Add more comprehensive types for the OpenAPI doc from the official package (now a dependency) and apply some patches to these types because they're slightly outdated
- Fixes several issues with gathering schema descriptions, such as consuming jsdoc comments from node_modules types
New Contributors
- @github-actions[bot] made their first contribution in https://github.com/trpc/trpc/pull/7294
Full Changelog: https://github.com/trpc/trpc/compare/v11.15.1...v11.16.0
v11.15.1
1 month ago
What's Changed
- fix(www): render sponsor links in static HTML for SEO by @shtefcs in https://github.com/trpc/trpc/pull/7285
- fix: error handling with Node VM by @znikola in https://github.com/trpc/trpc/pull/7280
New Contributors
- @shtefcs made their first contribution in https://github.com/trpc/trpc/pull/7285
- @znikola made their first contribution in https://github.com/trpc/trpc/pull/7280
Full Changelog: https://github.com/trpc/trpc/compare/v11.15.0...v11.15.1
v11.15.0
1 month ago
What's Changed
- docs: empty string fallback on pathExtractor by @dorukozerr in https://github.com/trpc/trpc/pull/7270
- feat(server): max batch size by @Nick-Lucas in https://github.com/trpc/trpc/pull/7191
New Contributors
- @dorukozerr made their first contribution in https://github.com/trpc/trpc/pull/7270
Full Changelog: https://github.com/trpc/trpc/compare/v11.14.1...v11.15.0
v11.14.1
1 month ago
What's Changed
- feat: Tanstack Intent Skills by @Nick-Lucas in https://github.com/trpc/trpc/pull/7252
Full Changelog: https://github.com/trpc/trpc/compare/v11.14.0...v11.14.1
v11.14.0
1 month ago
What's Changed
- fix(server): use correct call index in batch stream error handling by @karesansui-u in https://github.com/trpc/trpc/pull/7262
- fix: preserve buffered chunks on stream close in httpBatchStreamLink by @luinbytes in https://github.com/trpc/trpc/pull/7233
New Contributors
- @karesansui-u made their first contribution in https://github.com/trpc/trpc/pull/7262
- @luinbytes made their first contribution in https://github.com/trpc/trpc/pull/7233
Full Changelog: https://github.com/trpc/trpc/compare/v11.13.4...v11.14.0
v11.13.2
2 months ago
What's Changed
- fix: correct typo 'commitedFiles' → 'committedFiles' by @mitre88 in https://github.com/trpc/trpc/pull/7221
- feat(docs): revamp docs content for 2026, more framework agnostic, improved Next.js docs by @Nick-Lucas in https://github.com/trpc/trpc/pull/7193
- feat: Support OpenAPI json generation for any tRPC appRouter by @Nick-Lucas in https://github.com/trpc/trpc/pull/7231
- feat: Fix some OpenAPI AI feedback by @Nick-Lucas in https://github.com/trpc/trpc/pull/7242
- feat: add
streamHeaderoption to httpBatchStreamLink by @anatolzak in https://github.com/trpc/trpc/pull/7241
New Contributors
- @mitre88 made their first contribution in https://github.com/trpc/trpc/pull/7221
- @pendant-k made their first contribution in https://github.com/trpc/trpc/pull/7236
Full Changelog: https://github.com/trpc/trpc/compare/v11.12.0...v11.13.2
v11.12.0
2 months ago
What's Changed
- fix(tanstack-react-query): useSuspenseInfiniteQuery shows skipToken type error when getNextPageParam is not provided by @Nick-Lucas in https://github.com/trpc/trpc/pull/7190
- fix: SSE subscriptions don't reconnect after maxDurationMs (#7094) by @bxff in https://github.com/trpc/trpc/pull/7207
New Contributors
- @bxff made their first contribution in https://github.com/trpc/trpc/pull/7207
Full Changelog: https://github.com/trpc/trpc/compare/v11.11.0...v11.12.0
v11.11.0
2 months ago
What's Changed
- docs: fix zod v4 zAsyncIterable generic order in subscriptions guide by @aviu16 in https://github.com/trpc/trpc/pull/7174
- Update context documentation to remove database reference by @clicktodev in https://github.com/trpc/trpc/pull/7188
- docs: add note on tradeoffs for large clients in createContextInner by @clicktodev in https://github.com/trpc/trpc/pull/7192
- feat(client): Export types SubscriptionResolver and ResolverDef by @cooolbros in https://github.com/trpc/trpc/pull/6803
New Contributors
- @aviu16 made their first contribution in https://github.com/trpc/trpc/pull/7174
- @cooolbros made their first contribution in https://github.com/trpc/trpc/pull/6803
Full Changelog: https://github.com/trpc/trpc/compare/v11.10.0...v11.11.0
v11.10.0
3 months ago
What's Changed
- fix(tanstack-react-query): mark react-dom as optional peer dependency by @bbinya1224 in https://github.com/trpc/trpc/pull/7108
- docs(docs): Add Nx Plugin for AWS to Awesome tRPC Collection by @cogwirrel in https://github.com/trpc/trpc/pull/6965
- feat(client): return origin error in cause in localLink by @evolvomind in https://github.com/trpc/trpc/pull/7134
- fix(client): client connectionParams should respect specified encoder by @SirajChokshi in https://github.com/trpc/trpc/pull/7132
- docs: Add tRPC Docs Generator to extensions list by @liorcodev in https://github.com/trpc/trpc/pull/7122
- docs: document Fastify v5+ requirement for tRPC adapter by @tarunsinghofficial in https://github.com/trpc/trpc/pull/7109
- chore(docs): improve wording in docs by @sajadtorkamani in https://github.com/trpc/trpc/pull/7133
- fix(ci): allow backticks in semantic PR by @KATT in https://github.com/trpc/trpc/pull/7141
- feat(server): add
batchIndexto procedures and middleware in batched requests by @anatolzak in https://github.com/trpc/trpc/pull/7097 - chore(www): update companies using by @KATT in https://github.com/trpc/trpc/pull/7145
- Improve layout control in CompaniesUsing component by @clicktodev in https://github.com/trpc/trpc/pull/7148
New Contributors
- @bbinya1224 made their first contribution in https://github.com/trpc/trpc/pull/7108
- @cogwirrel made their first contribution in https://github.com/trpc/trpc/pull/6965
- @evolvomind made their first contribution in https://github.com/trpc/trpc/pull/7134
- @liorcodev made their first contribution in https://github.com/trpc/trpc/pull/7122
- @tarunsinghofficial made their first contribution in https://github.com/trpc/trpc/pull/7109
- @sajadtorkamani made their first contribution in https://github.com/trpc/trpc/pull/7133
Full Changelog: https://github.com/trpc/trpc/compare/v11.9.0...v11.10.0
v11.9.0
3 months ago
What's Changed
- feat(client,server): add experimental_encoder option for WebSocket connections by @SirajChokshi in https://github.com/trpc/trpc/pull/7100
New Contributors
- @saltyshiomix made their first contribution in https://github.com/trpc/trpc/pull/7115
- @SirajChokshi made their first contribution in https://github.com/trpc/trpc/pull/7100
Full Changelog: https://github.com/trpc/trpc/compare/v11.8.1...v11.9.0