TRPC v10 to v11 upgrade procedure #6873
-
|
Hello, I have reviewed the migration guide and haven't seen this specifically called out anywhere: were there breaking changes to the RPC spec when moving from v10 to v11? As in, if I deploy my Appreciate any insight you can share, thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Yes, v10 clients will break against a v11 server. tRPC v11 changed the HTTP call spec, specifically how batching works and the endpoint shape, so the wire protocol is not backwards compatible. The migration guide covers this but does not call it out explicitly. The expectation is a coordinated deploy of server and client together. If you need a rolling upgrade window, you can run a v10-compatible adapter alongside v11 temporarily, but that is not officially documented as a long-term strategy. Simplest path is just deploying both at the same time. |
Beta Was this translation helpful? Give feedback.
I believe the account you're replying to may be an AI agent. But you should try mixing versions and see if anything you're doing breaks. If version tear is really a problem then you could run a frozen v10 API instance for old clients until you're ready to cut over entirely.