| 1 | "effect/Option#ap": |
| 2 | replacement: "Option.zipWith" |
| 3 | note: "Use Option.zipWith(self, that, (f, a) => f(a)); v4 has no Option.ap." |
| 4 | "effect/Option#flatMapNullable": |
| 5 | replacement: "Option.flatMapNullishOr" |
| 6 | note: "Renamed with v4 nullish-or terminology." |
| 7 | "effect/Option#fromNullable": |
| 8 | replacement: "Option.fromNullishOr" |
| 9 | note: "Renamed with v4 nullish-or terminology." |
| 10 | "effect/Option#getEquivalence": |
| 11 | replacement: "Option.makeEquivalence" |
| 12 | note: "Renamed from getEquivalence to makeEquivalence." |
| 13 | "effect/Option#getLeft": |
| 14 | replacement: "Option.getFailure" |
| 15 | note: "Either input became Result input, and Left became Failure." |
| 16 | "effect/Option#getOrder": |
| 17 | replacement: "Option.makeOrder" |
| 18 | note: "Renamed from getOrder to makeOrder." |
| 19 | "effect/Option#getRight": |
| 20 | replacement: "Option.getSuccess" |
| 21 | note: "Either input became Result input, and Right became Success." |
| 22 | "effect/Option#liftNullable": |
| 23 | replacement: "Option.liftNullishOr" |
| 24 | note: "Renamed with v4 nullish-or terminology." |
| 25 | "effect/Option#None": |
| 26 | replacement: "Option.None" |
| 27 | note: "The variant remains, but Option is no longer an Effect or STM subtype." |
| 28 | "effect/Option#Option": |
| 29 | replacement: "Option.Option" |
| 30 | note: "The union type remains, but Option is no longer an Effect or STM subtype." |
| 31 | "effect/Option#OptionUnify": |
| 32 | replacement: "Option.OptionUnify" |
| 33 | note: "The unification hook remains under the same name." |
| 34 | "effect/Option#OptionUnifyIgnore": |
| 35 | replacement: "Option.OptionUnifyIgnore" |
| 36 | note: "The marker remains, without the v3 Effect, Tag, and Either augmentation fields." |
| 37 | "effect/Option#orElseEither": |
| 38 | replacement: "Option.orElseResult" |
| 39 | note: "Either was replaced by Result; source tracking now uses Failure and Success." |
| 40 | "effect/Option#partitionMap": |
| 41 | include: true |
| 42 | replacement: "Option.partitionMap" |
| 43 | note: "The tuple is now [passes, fails], the reverse of v3 [left, right]." |
| 44 | "effect/Option#Some": |
| 45 | replacement: "Option.Some" |
| 46 | note: "The variant remains, but Option is no longer an Effect or STM subtype." |
| 47 | "effect/Option#TypeId": |
| 48 | replacement: "none" |
| 49 | note: "The v4 Option brand is private and no public TypeId is exported." |