tRPC
✓ VerifiedGitHubEnd-to-end typesafe APIs made easy for TypeScript and React.
Releases
10v11.16.0
1 week 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 week 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 week 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
2 weeks 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
2 weeks 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 weeks 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
0 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
1 month 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
1 month 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
2 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