| 1 | "effect/Chunk#Chunk": |
| 2 | replacement: "Chunk.Chunk" |
| 3 | note: "The model remains Chunk.Chunk<A>; continue using Chunk constructors rather than depending on its exposed representation fields." |
| 4 | "effect/Chunk#getEquivalence": |
| 5 | replacement: "Chunk.makeEquivalence" |
| 6 | note: "Direct rename; pass the element Equivalence unchanged." |
| 7 | "effect/Chunk#modifyOption": |
| 8 | replacement: "Chunk.modify" |
| 9 | note: "The Option suffix was dropped; an out-of-bounds index still returns Option.none." |
| 10 | "effect/Chunk#partition": |
| 11 | include: true |
| 12 | replacement: "Chunk.partition" |
| 13 | note: "Return Result.succeed(value) for a match and Result.fail(value) otherwise; Filter.fromPredicate adapts predicates that only inspect the value. The tuple is now [passes, fails], the reverse of v3 [excluded, satisfying]." |
| 14 | "effect/Chunk#partitionMap": |
| 15 | replacement: "Chunk.partition" |
| 16 | note: "Pass a Result-returning mapper instead of Either. The tuple is [passes, fails], the reverse of v3 [failures, successes]." |
| 17 | "effect/Chunk#removeOption": |
| 18 | replacement: "Chunk.remove" |
| 19 | note: "The closest API now returns the unchanged Chunk out of bounds; use Chunk.get before Chunk.remove to preserve the old Option result." |
| 20 | "effect/Chunk#replaceOption": |
| 21 | replacement: "Chunk.replace" |
| 22 | note: "The Option suffix was dropped; an out-of-bounds index still returns Option.none." |
| 23 | "effect/Chunk#separate": |
| 24 | include: true |
| 25 | replacement: "Chunk.separate" |
| 26 | note: "The tuple is now [successes, failures], the reverse of v3 [failures, successes]." |
| 27 | "effect/Chunk#TypeId": |
| 28 | replacement: "none" |
| 29 | note: "The v4 Chunk brand key is private; no public Chunk.TypeId type or value is exported." |
| 30 | "effect/Chunk#unsafeFromArray": |
| 31 | replacement: "Chunk.fromArrayUnsafe" |
| 32 | note: "Direct word-order rename; it still wraps without copying and is unsafe if the source array is mutated." |
| 33 | "effect/Chunk#unsafeFromNonEmptyArray": |
| 34 | replacement: "Chunk.fromNonEmptyArrayUnsafe" |
| 35 | note: "Direct word-order rename; it still wraps without copying and preserves NonEmptyChunk." |
| 36 | "effect/Chunk#unsafeGet": |
| 37 | replacement: "Chunk.getUnsafe" |
| 38 | note: "Direct word-order rename; it still throws for an out-of-bounds index." |
| 39 | "effect/Chunk#unsafeHead": |
| 40 | replacement: "Chunk.headUnsafe" |
| 41 | note: "Direct word-order rename; it still throws on an empty Chunk." |
| 42 | "effect/Chunk#unsafeLast": |
| 43 | replacement: "Chunk.lastUnsafe" |
| 44 | note: "Direct word-order rename; it still throws on an empty Chunk." |