| 1 | "@effect/platform/HttpApiSchema#AnnotationEmptyDecodeable": |
| 2 | replacement: "effect/http-api/HttpApiSchema#asNoContent" |
| 3 | note: "The public marker was removed; represent no-content decoding structurally with asNoContent({ decode })." |
| 4 | "@effect/platform/HttpApiSchema#AnnotationEncoding": |
| 5 | replacement: "effect/http-api/HttpApiSchema#asJson / asFormUrlEncoded / asText / asUint8Array" |
| 6 | note: "The key is internal; select encoding with a public combinator." |
| 7 | "@effect/platform/HttpApiSchema#AnnotationMultipart": |
| 8 | replacement: "effect/http-api/HttpApiSchema#asMultipart" |
| 9 | note: "The symbol annotation became a brand plus internal encoding metadata; apply the schema combinator." |
| 10 | "@effect/platform/HttpApiSchema#AnnotationMultipartStream": |
| 11 | replacement: "effect/http-api/HttpApiSchema#asMultipartStream" |
| 12 | note: "The symbol annotation became a brand plus internal encoding metadata; apply the schema combinator." |
| 13 | "@effect/platform/HttpApiSchema#AnnotationParam": |
| 14 | replacement: "effect/http-api/HttpApiEndpoint#params" |
| 15 | note: "Path names now live in the router path and schemas in endpoint option params, not schema annotations." |
| 16 | "@effect/platform/HttpApiSchema#annotations": |
| 17 | replacement: "effect/Schema#annotate" |
| 18 | note: "Schema annotations became annotate; set httpApiStatus directly or prefer HttpApiSchema.status for status only." |
| 19 | "@effect/platform/HttpApiSchema#AnnotationStatus": |
| 20 | replacement: "effect/http-api/HttpApiSchema#status" |
| 21 | note: "The public symbol was removed; apply status(code), which uses the httpApiStatus schema annotation." |
| 22 | "@effect/platform/HttpApiSchema#asEmpty": |
| 23 | replacement: "effect/http-api/HttpApiSchema#asNoContent" |
| 24 | note: "Use schema.pipe(asNoContent({ decode }), status(code)); status is now a separate combinator." |
| 25 | "@effect/platform/HttpApiSchema#deunionize": |
| 26 | replacement: "none" |
| 27 | note: "Pass schema arrays to endpoint success, error, and body alternatives so each member retains status and content type." |
| 28 | "@effect/platform/HttpApiSchema#Empty": |
| 29 | replacement: "effect/http-api/HttpApiSchema#Empty" |
| 30 | note: "The API remains and returns Schema.Void annotated with the supplied status." |
| 31 | "@effect/platform/HttpApiSchema#EmptyError": |
| 32 | replacement: "effect/Schema#Error" |
| 33 | note: "Define a normal schema error with httpApiStatus, then derive its no-content wire schema with asNoContent." |
| 34 | "@effect/platform/HttpApiSchema#EmptyErrorClass": |
| 35 | replacement: "effect/Schema#Error" |
| 36 | note: "The class and no-content codec are separate in v4; combine Schema.Error with HttpApiSchema.asNoContent." |
| 37 | "@effect/platform/HttpApiSchema#EmptyErrorUnify": |
| 38 | replacement: "none" |
| 39 | note: "Removed with EmptyError; Schema.Error instances already support yieldable-error behavior." |
| 40 | "@effect/platform/HttpApiSchema#EmptyErrorUnifyIgnore": |
| 41 | replacement: "none" |
| 42 | note: "Removed with EmptyError; do not recreate the old Unify marker." |
| 43 | "@effect/platform/HttpApiSchema#Encoding": |
| 44 | replacement: "effect/http-api/HttpApiSchema#Encoding" |
| 45 | note: "The name remains but is now a discriminated PayloadEncoding or ResponseEncoding union; prefer public as* combinators." |
| 46 | "@effect/platform/HttpApiSchema#extractAnnotations": |
| 47 | replacement: "none" |
| 48 | note: "The internal symbol-copy helper was removed; HTTP metadata is schema-native and resolved through AST traversal." |
| 49 | "@effect/platform/HttpApiSchema#getEmptyDecodeable": |
| 50 | replacement: "effect/http-api/HttpApiSchema#isNoContent" |
| 51 | note: "Use isNoContent only to test bodylessness; decodeability is structural and has no exact query replacement." |
| 52 | "@effect/platform/HttpApiSchema#getEncoding": |
| 53 | replacement: "effect/http-api/HttpApiSchema#getPayloadEncoding / getResponseEncoding" |
| 54 | note: "Encoding lookup split by direction; application code should normally use public as* combinators." |
| 55 | "@effect/platform/HttpApiSchema#getMultipart": |
| 56 | replacement: "effect/http-api/HttpApiSchema#getPayloadEncoding" |
| 57 | note: "Narrow the payload encoding to Multipart with buffered mode; multipart limits are on the encoding value." |
| 58 | "@effect/platform/HttpApiSchema#getMultipartStream": |
| 59 | replacement: "effect/http-api/HttpApiSchema#getPayloadEncoding" |
| 60 | note: "Narrow the payload encoding to Multipart with stream mode; multipart limits are on the encoding value." |
| 61 | "@effect/platform/HttpApiSchema#getParam": |
| 62 | replacement: "none" |
| 63 | note: "Param identity moved out of schema metadata; read endpoint.path and endpoint.params." |
| 64 | "@effect/platform/HttpApiSchema#getStatus": |
| 65 | replacement: "effect/SchemaAST#resolveAt" |
| 66 | note: "Resolve the httpApiStatus annotation directly, or prefer getStatusSuccess and getStatusError for response logic." |
| 67 | "@effect/platform/HttpApiSchema#getStatusError": |
| 68 | replacement: "effect/http-api/HttpApiSchema#getStatusError" |
| 69 | note: "The helper remains but accepts an AST and defaults to 500." |
| 70 | "@effect/platform/HttpApiSchema#getStatusErrorAST": |
| 71 | replacement: "effect/http-api/HttpApiSchema#getStatusError" |
| 72 | note: "The AST suffix collapsed into the sole helper, which defaults to 500." |
| 73 | "@effect/platform/HttpApiSchema#getStatusSuccess": |
| 74 | replacement: "effect/http-api/HttpApiSchema#getStatusSuccess" |
| 75 | note: "The helper remains but accepts an AST; bare Schema.Void now defaults to 200, so use Empty(204) for 204." |
| 76 | "@effect/platform/HttpApiSchema#getStatusSuccessAST": |
| 77 | replacement: "effect/http-api/HttpApiSchema#getStatusSuccess" |
| 78 | note: "The AST suffix collapsed into the sole helper; bare Schema.Void no longer implies 204." |
| 79 | "@effect/platform/HttpApiSchema#Multipart": |
| 80 | replacement: "effect/http-api/HttpApiSchema#asMultipart" |
| 81 | note: "The type and constructor became a curried schema combinator: schema.pipe(asMultipart(options))." |
| 82 | "@effect/platform/HttpApiSchema#MultipartStream": |
| 83 | replacement: "effect/http-api/HttpApiSchema#asMultipartStream" |
| 84 | note: "The type and constructor became a curried schema combinator." |
| 85 | "@effect/platform/HttpApiSchema#param": |
| 86 | replacement: "effect/http-api/HttpApiEndpoint#params" |
| 87 | note: "Use a literal /:name path and the matching field in endpoint constructor option params." |
| 88 | "@effect/platform/HttpApiSchema#Text": |
| 89 | replacement: "effect/http-api/HttpApiSchema#asText" |
| 90 | note: "Apply the encoding combinator to Schema.String instead of using a dedicated constructor." |
| 91 | "@effect/platform/HttpApiSchema#Uint8Array": |
| 92 | replacement: "effect/http-api/HttpApiSchema#asUint8Array" |
| 93 | note: "Apply the encoding combinator to Schema.Uint8Array instead of using a dedicated constructor." |
| 94 | "@effect/platform/HttpApiSchema#UnionUnify": |
| 95 | replacement: "effect/Schema#Union" |
| 96 | note: "Use Schema.Union([self, that]); for endpoint alternatives, pass the schema array directly to preserve metadata." |
| 97 | "@effect/platform/HttpApiSchema#withEncoding": |
| 98 | replacement: "effect/http-api/HttpApiSchema#asJson / asFormUrlEncoded / asUint8Array / asText" |
| 99 | note: "Replace the generic kind with the matching public curried encoding combinator." |