| 1 | "@effect/platform/UrlParams#append": |
| 2 | replacement: "UrlParams.append" |
| 3 | note: "Retained and returns the immutable UrlParams wrapper." |
| 4 | "@effect/platform/UrlParams#appendAll": |
| 5 | replacement: "UrlParams.appendAll" |
| 6 | note: "Retained and preserves existing parameters." |
| 7 | "@effect/platform/UrlParams#CoercibleRecord": |
| 8 | replacement: "UrlParams.CoercibleRecord<A>" |
| 9 | note: "The recursive interface became a generic mapped type preserving the input shape." |
| 10 | "@effect/platform/UrlParams#empty": |
| 11 | replacement: "UrlParams.empty" |
| 12 | note: "Now a branded iterable object with params rather than a ReadonlyArray." |
| 13 | "@effect/platform/UrlParams#fromInput": |
| 14 | replacement: "UrlParams.fromInput" |
| 15 | note: "Retained and now also accepts an existing UrlParams." |
| 16 | "@effect/platform/UrlParams#Input": |
| 17 | replacement: "UrlParams.Input" |
| 18 | note: "Retained and broadened to include UrlParams itself." |
| 19 | "@effect/platform/UrlParams#makeUrl": |
| 20 | replacement: "Url.make" |
| 21 | note: "Moved to Url, returns Result, and takes string | undefined for the hash." |
| 22 | "@effect/platform/UrlParams#remove": |
| 23 | replacement: "UrlParams.remove" |
| 24 | note: "Retained and removes every value for the key." |
| 25 | "@effect/platform/UrlParams#schemaFromSelf": |
| 26 | replacement: "Schema.UrlParams" |
| 27 | note: "The declaration schema for the v4 wrapper moved to effect/Schema." |
| 28 | "@effect/platform/UrlParams#schemaFromString": |
| 29 | replacement: "Schema.String.pipe(Schema.decodeTo(Schema.UrlParams, { decode: SchemaGetter.transform((s) => UrlParams.fromInput(new URLSearchParams(s))), encode: SchemaGetter.transform(UrlParams.toString) }))" |
| 30 | note: "No prebuilt string codec remains; recreate it by transforming between a query string and UrlParams." |
| 31 | "@effect/platform/UrlParams#schemaJson": |
| 32 | replacement: "Schema.JsonFromUrlParamsField(field).pipe(Schema.decodeTo(schema), Schema.decodeEffect)" |
| 33 | note: "The field codec moved to effect/Schema. Compose it with the target schema, then decode it." |
| 34 | "@effect/platform/UrlParams#schemaParse": |
| 35 | replacement: "UrlParamsFromString.pipe(Schema.decodeTo(Schema.RecordFromUrlParams.pipe(Schema.decodeTo(schema))))" |
| 36 | note: "Recreate the removed helper by composing the string, record, and target codecs." |
| 37 | "@effect/platform/UrlParams#schemaRecord": |
| 38 | replacement: "Schema.RecordFromUrlParams.pipe(Schema.decodeTo(schema))" |
| 39 | note: "RecordFromUrlParams is a base codec in effect/Schema; compose it with the target schema." |
| 40 | "@effect/platform/UrlParams#schemaStruct": |
| 41 | replacement: "Schema.RecordFromUrlParams.pipe(Schema.decodeTo(schema), Schema.decodeEffect)" |
| 42 | note: "Compose the record codec from effect/Schema with the target schema and decode it." |
| 43 | "@effect/platform/UrlParams#set": |
| 44 | replacement: "UrlParams.set" |
| 45 | note: "Retained and replaces all existing values for the key." |
| 46 | "@effect/platform/UrlParams#setAll": |
| 47 | replacement: "UrlParams.setAll" |
| 48 | note: "Retained; supplied keys replace existing values and other keys remain." |
| 49 | "@effect/platform/UrlParams#toString": |
| 50 | replacement: "UrlParams.toString" |
| 51 | note: "Retained and broadened to accept any UrlParams.Input." |
| 52 | "@effect/platform/UrlParams#UrlParams": |
| 53 | replacement: "UrlParams.UrlParams" |
| 54 | note: "Import UrlParams from effect/http. It is now a branded iterable object with a params field rather than a ReadonlyArray; construct it with UrlParams.make or UrlParams.fromInput." |