| 1 | "@effect/rpc/Rpc#AddError": |
| 2 | replacement: "effect/rpc/Rpc#AddError" |
| 3 | note: "Retained; the added error must now be a Schema.Top and the resulting RPC also preserves its explicit service requirements." |
| 4 | "@effect/rpc/Rpc#AddMiddleware": |
| 5 | replacement: "effect/rpc/Rpc#AddMiddleware" |
| 6 | note: "Retained; middleware is now an RpcMiddleware.AnyService and its provides/requires metadata updates the RPC service requirements." |
| 7 | "@effect/rpc/Rpc#Any": |
| 8 | replacement: "effect/rpc/Rpc#Any" |
| 9 | note: "Retained as the erased RPC shape; use AnyWithProps when schema and middleware fields are required." |
| 10 | "@effect/rpc/Rpc#AnySchema": |
| 11 | replacement: "Schema.Top" |
| 12 | note: "The RPC-specific erased schema alias was removed; use the v4 top schema constraint." |
| 13 | "@effect/rpc/Rpc#AnyTaggedRequestSchema": |
| 14 | replacement: "none" |
| 15 | note: "RpcGroup no longer converts Schema.TaggedRequest classes into RPCs; declare the contract explicitly with Rpc.make." |
| 16 | "@effect/rpc/Rpc#Context": |
| 17 | replacement: "effect/rpc/Rpc#Services" |
| 18 | note: "Schema Context became decoding and encoding services; use Services, or ServicesClient / ServicesServer at the corresponding boundary." |
| 19 | "@effect/rpc/Rpc#Error": |
| 20 | replacement: "effect/rpc/Rpc#Error" |
| 21 | note: "Retained; it includes decoded errors contributed by attached middleware." |
| 22 | "@effect/rpc/Rpc#ErrorEncoded": |
| 23 | replacement: "Rpc.ErrorSchema<R>[\"Encoded\"]" |
| 24 | note: "The alias was removed; index the v4 error schema's Encoded member directly." |
| 25 | "@effect/rpc/Rpc#ErrorExitEncoded": |
| 26 | replacement: "Rpc.ErrorExitSchema<R>[\"Encoded\"]" |
| 27 | note: "Use the new exit error schema, which includes stream and middleware errors, then select its Encoded member." |
| 28 | "@effect/rpc/Rpc#ErrorSchema": |
| 29 | replacement: "effect/rpc/Rpc#ErrorSchema" |
| 30 | note: "Retained; middleware errors now come from each service's error metadata." |
| 31 | "@effect/rpc/Rpc#fromTaggedRequest": |
| 32 | replacement: "Rpc.make" |
| 33 | note: "Automatic TaggedRequest conversion was removed; pass the tag, payload, success, and error schemas explicitly to Rpc.make." |
| 34 | "@effect/rpc/Rpc#Handler": |
| 35 | replacement: "effect/rpc/Rpc#Handler" |
| 36 | note: "Retained; handler metadata now supplies ServerClient, RequestId, headers, and the concrete RPC." |
| 37 | "@effect/rpc/Rpc#make": |
| 38 | replacement: "effect/rpc/Rpc#make" |
| 39 | note: "Retained; schemas use v4 Schema.Top constraints and the defect option accepts Rpc.DefectSchema." |
| 40 | "@effect/rpc/Rpc#Middleware": |
| 41 | replacement: "effect/rpc/Rpc#Middleware" |
| 42 | note: "Retained and extracts Context.Service identifiers from the attached middleware services." |
| 43 | "@effect/rpc/Rpc#MiddlewareClient": |
| 44 | replacement: "effect/rpc/Rpc#MiddlewareClient" |
| 45 | note: "Retained; required client middleware is derived from services configured with requiredForClient." |
| 46 | "@effect/rpc/Rpc#Payload": |
| 47 | replacement: "effect/rpc/Rpc#Payload" |
| 48 | note: "Retained as the decoded payload type; use PayloadConstructor for the input accepted by generated clients." |
| 49 | "@effect/rpc/Rpc#Success": |
| 50 | replacement: "effect/rpc/Rpc#Success" |
| 51 | note: "Retained as the decoded success type." |
| 52 | "@effect/rpc/Rpc#SuccessChunkEncoded": |
| 53 | replacement: "Rpc.SuccessExitSchema<R>[\"Encoded\"]" |
| 54 | note: "The alias was removed; for a streaming RPC the exit success schema is the stream element schema." |
| 55 | "@effect/rpc/Rpc#SuccessExitEncoded": |
| 56 | replacement: "Rpc.SuccessExitSchema<R>[\"Encoded\"]" |
| 57 | note: "Use the new exit success schema and select its Encoded member; streaming RPC exits use the element schema separately from the terminal void exit." |
| 58 | "@effect/rpc/Rpc#SuccessSchema": |
| 59 | replacement: "effect/rpc/Rpc#SuccessSchema" |
| 60 | note: "Retained and uses the v4 Schema.Top constraint." |
| 61 | "@effect/rpc/Rpc#Tag": |
| 62 | replacement: "effect/rpc/Rpc#Tag" |
| 63 | note: "Retained and also accounts for the v4 RPC service-requirement parameter." |
| 64 | "@effect/rpc/Rpc#TypeId": |
| 65 | replacement: "none" |
| 66 | note: "The RPC marker is private in v4; use Rpc.isRpc for runtime checks and Rpc.Any for type constraints." |
| 67 | "@effect/rpc/Rpc#WrapperTypeId": |
| 68 | replacement: "none" |
| 69 | note: "The wrapper marker is private in v4; use Rpc.isWrapper and the public Wrapper type." |
| 70 | "@effect/rpc/Rpc#wrap": |
| 71 | replacement: "effect/rpc/Rpc#wrap" |
| 72 | note: "Retained after the module move; it still applies fork and uninterruptible handler options, while the return type is now uniformly Rpc.Wrapper." |
| 73 | "@effect/rpc/Rpc#SuccessEncoded": |
| 74 | replacement: "effect/rpc/Rpc#SuccessEncoded" |
| 75 | note: "Retained after the module move and now accounts for the RPC's explicit service-requirement parameter." |