| 1 | "@effect/rpc/RpcClient#currentHeaders": |
| 2 | replacement: "effect/rpc/RpcClient#CurrentHeaders" |
| 3 | note: "Renamed and changed from FiberRef to Context.Reference; prefer RpcClient.withHeaders for scoped overrides." |
| 4 | "@effect/rpc/RpcClient#layerProtocolHttp": |
| 5 | replacement: "effect/rpc/RpcClient#layerProtocolHttp" |
| 6 | note: "Retained; it provides the v4 Protocol from HttpClient and RpcSerialization." |
| 7 | "@effect/rpc/RpcClient#make": |
| 8 | replacement: "effect/rpc/RpcClient#make" |
| 9 | note: "Retained; generated calls can now take per-request headers and Context, and include RpcClientError in their error channel." |
| 10 | "@effect/rpc/RpcClient#makeProtocolHttp": |
| 11 | replacement: "effect/rpc/RpcClient#makeProtocolHttp" |
| 12 | note: "Retained; it creates the Protocol service implementation from an HttpClient." |
| 13 | "@effect/rpc/RpcClient#Protocol": |
| 14 | replacement: "effect/rpc/RpcClient#Protocol" |
| 15 | note: "Retained as a Context.Service; custom transports now route multiple client ids through run and send." |
| 16 | "@effect/rpc/RpcClient#RpcClient.NonPrefixed": |
| 17 | replacement: "none" |
| 18 | note: "The prefix-partition helper was removed; v4 clients map every RPC tag directly to an object property." |
| 19 | "@effect/rpc/RpcClient#RpcClient.Prefixes": |
| 20 | replacement: "none" |
| 21 | note: "Nested prefix client objects were removed; v4 preserves the full RPC tag as the generated client property." |
| 22 | "@effect/rpc/RpcClient#withHeadersEffect": |
| 23 | replacement: "Effect.flatMap(headers, (value) => RpcClient.withHeaders(effect, value))" |
| 24 | note: "withHeaders now accepts Headers.Input synchronously; evaluate effectful headers first and then scope the client effect." |
| 25 | "@effect/rpc/RpcClient#RpcClient.From": |
| 26 | replacement: "effect/rpc/RpcClient#RpcClient.From" |
| 27 | note: "Generated clients now preserve full RPC tags as property names, remove the Prefix type parameter, and expose streaming results through the asQueue option instead of asMailbox." |