| 1 | "effect/Data#array": |
| 2 | replacement: "none" |
| 3 | note: "Use a normal copied array such as [...values]; v4 compares plain arrays structurally." |
| 4 | "effect/Data#case": |
| 5 | replacement: "none" |
| 6 | note: "Use an ordinary typed object or identity constructor; plain objects are structurally equal in v4." |
| 7 | "effect/Data#Case": |
| 8 | replacement: "Data.TaggedEnum.ConstructorFrom" |
| 9 | note: "The Case namespace was removed; its constructor helper moved under TaggedEnum." |
| 10 | "effect/Data#Case.Constructor": |
| 11 | replacement: "Data.TaggedEnum.ConstructorFrom" |
| 12 | note: "Use the v4 tagged-enum constructor-function type." |
| 13 | "effect/Data#struct": |
| 14 | replacement: "none" |
| 15 | note: "Use an ordinary object or {...value}; plain objects are structurally equal in v4." |
| 16 | "effect/Data#Structural": |
| 17 | replacement: "Data.Class" |
| 18 | note: "Extend Data.Class instead of the removed Structural constructor alias." |
| 19 | "effect/Data#TaggedEnum": |
| 20 | replacement: "Data.TaggedEnum" |
| 21 | note: "Still exported with the same record-to-discriminated-union role." |
| 22 | "effect/Data#TaggedEnum.GenericMatchers": |
| 23 | replacement: "Data.TaggedEnum.GenericMatchers" |
| 24 | note: "Still exported with $is and $match helpers." |
| 25 | "effect/Data#tuple": |
| 26 | replacement: "none" |
| 27 | note: "Use a normal tuple literal; plain tuples are structurally equal in v4." |
| 28 | "effect/Data#unsafeArray": |
| 29 | replacement: "none" |
| 30 | note: "Use the array directly; v4 no longer needs prototype mutation for structural equality." |
| 31 | "effect/Data#unsafeStruct": |
| 32 | replacement: "none" |
| 33 | note: "Use the object directly; v4 no longer needs prototype mutation for structural equality." |