| 1 | "effect/Utils#adapter": |
| 2 | replacement: "none" |
| 3 | note: "Remove the adapter and resume parameter; v4 generators yield yieldable values directly." |
| 4 | "effect/Utils#Adapter": |
| 5 | replacement: "none" |
| 6 | note: "The generator-adapter type was removed; type generator bodies to yield v4 yieldable values directly." |
| 7 | "effect/Utils#Gen": |
| 8 | replacement: "Utils.Gen" |
| 9 | note: "Still exported; drop the adapter type and resume parameter, then yield yieldable Kind values directly." |
| 10 | "effect/Utils#GenKind": |
| 11 | replacement: "none" |
| 12 | note: "The adapter wrapper was removed; custom yieldable Kinds should implement Symbol.iterator and return Utils.SingleShotGen." |
| 13 | "effect/Utils#GenKindImpl": |
| 14 | replacement: "none" |
| 15 | note: "The wrapper implementation was removed; implement direct yieldability with Symbol.iterator and Utils.SingleShotGen." |
| 16 | "effect/Utils#GenKindTypeId": |
| 17 | replacement: "none" |
| 18 | note: "The GenKind runtime marker was removed with the wrapper infrastructure." |
| 19 | "effect/Utils#internalCall": |
| 20 | replacement: "none" |
| 21 | note: "This was internal and has no public replacement; application code should invoke its thunk directly." |
| 22 | "effect/Utils#isGeneratorFunction": |
| 23 | replacement: "none" |
| 24 | note: "The unused constructor-identity predicate was removed; accept an explicit generator contract instead." |
| 25 | "effect/Utils#isGenKind": |
| 26 | replacement: "none" |
| 27 | note: "Removed with GenKind; v4 generator drivers consume directly yielded values." |
| 28 | "effect/Utils#makeGenKind": |
| 29 | replacement: "none" |
| 30 | note: "The wrapper constructor was removed; make custom Kinds yieldable with Symbol.iterator and Utils.SingleShotGen." |
| 31 | "effect/Utils#OptionalNumber": |
| 32 | replacement: "number | null | undefined" |
| 33 | note: "The unused named alias was removed; inline its union." |
| 34 | "effect/Utils#PCGRandom": |
| 35 | replacement: "Random.withSeed + Random.next / Random.nextIntBetween" |
| 36 | note: "Use the effectful Random service for seeded generation; v4 is not PCG-compatible." |
| 37 | "effect/Utils#PCGRandomState": |
| 38 | replacement: "none" |
| 39 | note: "No public PCG state snapshot or restore API remains; Random.withSeed is reproducible but not state-compatible." |
| 40 | "effect/Utils#SingleShotGen": |
| 41 | replacement: "Utils.SingleShotGen" |
| 42 | note: "Still exported; v4 removes its concrete return and throw methods, so do not call those optional iterator hooks." |
| 43 | "effect/Utils#structuralRegion": |
| 44 | replacement: "none" |
| 45 | note: "Remove the wrapper because v4 Equal.equals is structural by default; use a custom Equivalence for custom comparison." |
| 46 | "effect/Utils#structuralRegionState": |
| 47 | replacement: "none" |
| 48 | note: "The mutable test hook was removed; v4 equality is structural by default." |
| 49 | "effect/Utils#Variance": |
| 50 | replacement: "Utils.Variance" |
| 51 | note: "Still exported; remove the v3 GenKindTypeId marker from implementations." |
| 52 | "effect/Utils#YieldWrap": |
| 53 | replacement: "none" |
| 54 | note: "The internal generator transport wrapper was removed; yieldable values are yielded directly." |
| 55 | "effect/Utils#yieldWrapGet": |
| 56 | replacement: "none" |
| 57 | note: "The internal unwrapper was removed; generator drivers read the directly yielded value." |
| 58 | "effect/Utils#YieldWrapTypeId": |
| 59 | replacement: "none" |
| 60 | note: "The internal wrapper marker was removed with YieldWrap." |