| 1 | "@effect/platform/HttpApiEndpoint#get": |
| 2 | replacement: "effect/http-api/HttpApiEndpoint#get" |
| 3 | note: "Use get(identifier, path, options?); tagged templates and fluent schema setters were removed." |
| 4 | "@effect/platform/HttpApiEndpoint#head": |
| 5 | replacement: "effect/http-api/HttpApiEndpoint#head" |
| 6 | note: "Use head(identifier, path, options?); tagged templates and fluent schema setters were removed." |
| 7 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint": |
| 8 | replacement: "effect/http-api/HttpApiEndpoint#HttpApiEndpoint" |
| 9 | note: "The model remains, but its generics now carry path literals, schemas, middleware, and middleware services." |
| 10 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.AddContext": |
| 11 | replacement: "effect/http-api/HttpApiEndpoint#AddMiddleware" |
| 12 | note: "Use AddMiddleware to add a middleware identifier and compute its service transformation." |
| 13 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.AddError": |
| 14 | replacement: "none" |
| 15 | note: "Declare error schemas in the endpoint constructor options; the type helper and fluent addError method were removed." |
| 16 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.Constructor": |
| 17 | replacement: "none" |
| 18 | note: "The tagged-template constructor type was removed; use HttpApiEndpoint.make(method)(identifier, path, options?)." |
| 19 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.Context": |
| 20 | replacement: "effect/http-api/HttpApiEndpoint#ServerServices" |
| 21 | note: "Use ServerServices for handler requirements; middleware IDs and extra requirements have separate extractors." |
| 22 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.ContextWithName": |
| 23 | replacement: "effect/http-api/HttpApiEndpoint#ServerServicesWithIdentifier" |
| 24 | note: "Name became Identifier; combine with middleware extractors when the complete handler requirement union is needed." |
| 25 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.Error": |
| 26 | replacement: "effect/http-api/HttpApiEndpoint#Errors" |
| 27 | note: "Use Errors for the decoded endpoint and middleware error union; v4 Error extracts the schema." |
| 28 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.ErrorContext": |
| 29 | replacement: "effect/http-api/HttpApiEndpoint#ErrorServicesEncode / ErrorServicesDecode" |
| 30 | note: "The single schema context split into server encoding and client decoding services." |
| 31 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.ErrorContextWithName": |
| 32 | replacement: "effect/http-api/HttpApiEndpoint#ErrorServicesEncode / ErrorServicesDecode" |
| 33 | note: "Select the endpoint with WithIdentifier, then apply the encode or decode service extractor." |
| 34 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.ErrorWithName": |
| 35 | replacement: "effect/http-api/HttpApiEndpoint#ErrorsWithIdentifier" |
| 36 | note: "Renamed for identifier and returns the decoded endpoint plus middleware error union." |
| 37 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.ExcludeName": |
| 38 | replacement: "effect/http-api/HttpApiEndpoint#ExcludeIdentifier" |
| 39 | note: "Direct rename from name to identifier." |
| 40 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.ExtractPath": |
| 41 | replacement: "none" |
| 42 | note: "Tagged-template path extraction was removed. Put a params schema or field record in constructor option params." |
| 43 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.HandlerRawWithName": |
| 44 | replacement: "effect/http-api/HttpApiEndpoint#HandlerRawWithIdentifier" |
| 45 | note: "Direct rename; raw request fields are now params and query." |
| 46 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.HandlerWithName": |
| 47 | replacement: "effect/http-api/HttpApiEndpoint#HandlerWithIdentifier" |
| 48 | note: "Direct rename from name to identifier." |
| 49 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.OptionalTypePropertySignature": |
| 50 | replacement: "none" |
| 51 | note: "Removed with the tagged-template path implementation." |
| 52 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.PathEntries": |
| 53 | replacement: "none" |
| 54 | note: "Removed with tagged-template path extraction; declare endpoint params explicitly." |
| 55 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.PathParsed": |
| 56 | replacement: "effect/http-api/HttpApiEndpoint#Params" |
| 57 | note: "Path data became params; Params extracts the schema, so use Params<Endpoint>[\"Type\"] for decoded data." |
| 58 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.Payload": |
| 59 | replacement: "effect/http-api/HttpApiEndpoint#Payload" |
| 60 | note: "The name remains but now extracts the schema; use Payload<Endpoint>[\"Type\"] for buffered decoded data." |
| 61 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.Success": |
| 62 | replacement: "effect/http-api/HttpApiEndpoint#SuccessWithIdentifier" |
| 63 | note: "Use SuccessWithIdentifier for the decoded, stream-aware result; v4 Success extracts the schema." |
| 64 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.SuccessWithName": |
| 65 | replacement: "effect/http-api/HttpApiEndpoint#SuccessWithIdentifier" |
| 66 | note: "Direct rename from name to identifier; the result remains decoded and stream-aware." |
| 67 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.UrlParams": |
| 68 | replacement: "effect/http-api/HttpApiEndpoint#Query" |
| 69 | note: "urlParams became query; Query extracts the schema, so use Query<Endpoint>[\"Type\"] for decoded data." |
| 70 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.ValidateHeaders": |
| 71 | replacement: "effect/http-api/HttpApiEndpoint#HeadersConstraint" |
| 72 | note: "Validation moved from an intersection helper to a constructor generic constraint." |
| 73 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.ValidateParams": |
| 74 | replacement: "none" |
| 75 | note: "Tagged-template interpolation validation was removed; params are declared explicitly in options.params." |
| 76 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.ValidatePath": |
| 77 | replacement: "effect/http-api/HttpApiEndpoint#ParamsConstraint" |
| 78 | note: "path became params and validation is now a constructor constraint." |
| 79 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.ValidatePayload": |
| 80 | replacement: "effect/http-api/HttpApiEndpoint#PayloadConstraint" |
| 81 | note: "Payload validation is now a method-sensitive constructor constraint." |
| 82 | "@effect/platform/HttpApiEndpoint#HttpApiEndpoint.ValidateUrlParams": |
| 83 | replacement: "effect/http-api/HttpApiEndpoint#QueryConstraint" |
| 84 | note: "urlParams became query and validation is now a constructor constraint." |
| 85 | "@effect/platform/HttpApiEndpoint#make": |
| 86 | replacement: "effect/http-api/HttpApiEndpoint#make" |
| 87 | note: "The factory remains but now requires identifier, path, and options and applies codecs unless disabled." |
| 88 | "@effect/platform/HttpApiEndpoint#options": |
| 89 | replacement: "effect/http-api/HttpApiEndpoint#options" |
| 90 | note: "Same HTTP method constructor with the new identifier, path, and options signature." |
| 91 | "@effect/platform/HttpApiEndpoint#patch": |
| 92 | replacement: "effect/http-api/HttpApiEndpoint#patch" |
| 93 | note: "Same HTTP method constructor with the new identifier, path, and options signature." |
| 94 | "@effect/platform/HttpApiEndpoint#PathSegment": |
| 95 | replacement: "effect/http/HttpRouter#PathInput" |
| 96 | note: "Path input moved to the shared router and is generalized to slash-prefixed paths or wildcard." |
| 97 | "@effect/platform/HttpApiEndpoint#post": |
| 98 | replacement: "effect/http-api/HttpApiEndpoint#post" |
| 99 | note: "Same HTTP method constructor with the new identifier, path, and options signature." |
| 100 | "@effect/platform/HttpApiEndpoint#put": |
| 101 | replacement: "effect/http-api/HttpApiEndpoint#put" |
| 102 | note: "Same HTTP method constructor with the new identifier, path, and options signature." |
| 103 | "@effect/platform/HttpApiEndpoint#TypeId": |
| 104 | replacement: "none" |
| 105 | note: "The endpoint type ID is private; use HttpApiEndpoint.isHttpApiEndpoint for runtime narrowing." |