| 1 | "@effect/platform/HttpBody#empty": |
| 2 | replacement: "HttpBody.empty" |
| 3 | note: "Retained as the singleton Empty body." |
| 4 | "@effect/platform/HttpBody#Empty": |
| 5 | replacement: "HttpBody.Empty" |
| 6 | note: "Retained with the same tag, but v4 exports a class rather than an interface." |
| 7 | "@effect/platform/HttpBody#ErrorReason": |
| 8 | replacement: "HttpBody.ErrorReason" |
| 9 | note: "Retained but reshaped; original causes now live on HttpBodyError.cause." |
| 10 | "@effect/platform/HttpBody#ErrorTypeId": |
| 11 | replacement: "HttpBody.HttpBodyError" |
| 12 | note: "The error type-id is private in v4; identify the exported error class instead." |
| 13 | "@effect/platform/HttpBody#file": |
| 14 | replacement: "HttpBody.file" |
| 15 | note: "Retained; bufferSize was replaced by numeric chunkSize. Offset and bytesToRead accept ByteSize.Input. Invalid ranges and a final EOF-clamped content length above Number.MAX_SAFE_INTEGER fail with PlatformError / BadArgument." |
| 16 | "@effect/platform/HttpBody#fileInfo": |
| 17 | replacement: "HttpBody.fileFromInfo" |
| 18 | note: "Renamed; it uses supplied File.Info with ByteSize size metadata and requires FileSystem. Offset and bytesToRead accept ByteSize.Input, while chunkSize is numeric. Invalid ranges and a final EOF-clamped content length above Number.MAX_SAFE_INTEGER fail with PlatformError / BadArgument." |
| 19 | "@effect/platform/HttpBody#formData": |
| 20 | replacement: "HttpBody.formData" |
| 21 | note: "Retained with the same Web FormData input." |
| 22 | "@effect/platform/HttpBody#HttpBodyError": |
| 23 | replacement: "HttpBody.HttpBodyError" |
| 24 | note: "Changed from a factory/interface to a class constructed with reason and optional cause." |
| 25 | "@effect/platform/HttpBody#json": |
| 26 | replacement: "HttpBody.json" |
| 27 | note: "Retained as the safe Effect-returning JSON serializer." |
| 28 | "@effect/platform/HttpBody#raw": |
| 29 | replacement: "HttpBody.raw" |
| 30 | note: "Retained with optional contentType and contentLength metadata." |
| 31 | "@effect/platform/HttpBody#Raw": |
| 32 | replacement: "HttpBody.Raw" |
| 33 | note: "Retained with the same tag and payload, but v4 exports a class." |
| 34 | "@effect/platform/HttpBody#stream": |
| 35 | replacement: "HttpBody.stream" |
| 36 | note: "Retained with the same byte stream and optional content metadata." |
| 37 | "@effect/platform/HttpBody#Stream": |
| 38 | replacement: "HttpBody.Stream" |
| 39 | note: "Retained with the same tag and byte stream, but v4 exports a class." |
| 40 | "@effect/platform/HttpBody#text": |
| 41 | replacement: "HttpBody.text" |
| 42 | note: "Retained; it UTF-8 encodes and defaults to text/plain." |
| 43 | "@effect/platform/HttpBody#TypeId": |
| 44 | replacement: "HttpBody.isHttpBody" |
| 45 | note: "The body brand is private in v4; use the public refinement instead." |
| 46 | "@effect/platform/HttpBody#uint8Array": |
| 47 | replacement: "HttpBody.uint8Array" |
| 48 | note: "Retained with the same bytes and optional content type." |
| 49 | "@effect/platform/HttpBody#Uint8Array": |
| 50 | replacement: "HttpBody.Uint8Array" |
| 51 | note: "Retained with the same fields and tag, but v4 exports a class." |
| 52 | "@effect/platform/HttpBody#unsafeJson": |
| 53 | replacement: "HttpBody.jsonUnsafe" |
| 54 | note: "Renamed to put Unsafe last; serialization failures still throw." |
| 55 | "@effect/platform/HttpBody#urlParams": |
| 56 | replacement: "HttpBody.urlParams" |
| 57 | note: "Retained and widened to accept UrlParams.Input." |