Call your API without a network hop.
During SSR and in tests, oRPC runs procedures in-process with the same typed client. Validation and middleware still run, and no server has to start.
oRPC v2 is close to stable, and now is the time to change things.
If you've migrated from v1, or tried to:
• What broke?
• Which APIs feel awkward?
• What do you still need?
Tell us here 👇
oRPC v2.0.0-beta.49 is out
• Boolean-or-object options replace { enabled }
• Per-direction trace propagation
• Streamed queries keep data on refetch and settle on first data for SSR
• Default fetch links redirect behavior
oRPC v2.0.0-beta.48 is out 🪄
• Cookie Jar: keep cookies in SSR, scripts, and tests
• HEAD requests answered by your GET procedures
• Batch responses can now stream
• OpenAPIHandler faster
Live data in oRPC is just an async generator.
Yield events on the server and for-await them on the client, fully typed. Add the Retry plugin and a dropped connection resumes from the last event.
Return a Date, get a Date. Send a File, get a File.
oRPC carries Date, BigInt, Set, Map, File and Blob over the wire as real types. No superjson, no FormData, no base64.
oRPC v2 beta.47 is out.
Errors as RFC 9457 Problem Details, Effect Schema in typed errors, streams that stop reading ahead, and 4 options renamed.
v2 stable is close, so this is the cheap moment to change things. What would you rename, remove or add before the API freezes?
oRPC was downloaded 1.29M times last week, up from about 116k a week a year ago.
If oRPC is in your stack, a GitHub star helps other devs find it before v2 stable ships in December 👇
oRPC v2 just hit beta.46.
• Effect support graduated to stable
• AI SDK tools send real Sets, BigInts and files to the model
• TanStack Query stops re-rendering on equal Dates, Maps and Sets
• 36 internal exports removed before stable
• And more
oRPC v2.0.0-beta.44 is getting close to stable
"Write your API once. oRPC turns it into a fully typed client, a REST API with an OpenAPI document, and typed realtime streams. No code generation, no lock-in to a runtime."