You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migrate endpoint calls and streaming to JSON-RPC 2.0 #5903
Standardize Serverpod's endpoint protocol on JSON-RPC 2.0, simplify future schema generation, and preserve communication with supported existing clients.
Proposal
Make all newly generated clients use JSON-RPC for endpoint calls and streaming messages, with a documented streaming extension and no legacy client fallback.
Preserve legacy HTTP and WebSocket protocols on the server through separate adapters sharing execution and stream lifecycle code.
Add frozen wire fixtures and released-client compatibility tests for the promised support window.
Separate compatibility tests, behavior-preserving refactors, and protocol changes into independently reviewable steps; prepare shared metadata for a future OpenRPC/schema generator.
Roll out server support before new clients. Target a minor release, explicitly reviewing the minimum-server requirement against our compatibility policy.
Use Case
Upgrade a server while deployed apps keep working, then ship newly generated clients using JSON-RPC for both calls and streams.
Alternatives
Keep the custom protocol, or maintain both protocols in new clients. Neither reaches the desired JSON-RPC-only generated-client end state.
Activity