| 1 | effect/Fiber#all: |
| 2 | replacement: "Fiber.joinAll" |
| 3 | note: "Composite fibers were removed; join the iterable directly to obtain an Effect of all results." |
| 4 | effect/Fiber#await: |
| 5 | replacement: "Fiber.await" |
| 6 | note: "Unchanged; it returns an Effect containing the fiber Exit." |
| 7 | effect/Fiber#children: |
| 8 | replacement: "none" |
| 9 | note: "V4 fibers do not expose child-fiber enumeration; keep explicit handles in FiberSet or FiberMap when tracking is required." |
| 10 | effect/Fiber#done: |
| 11 | replacement: "Effect.runFork" |
| 12 | note: "Exit is an Effect in v4, so pass the Exit to Effect.runFork when a completed Fiber handle is required." |
| 13 | effect/Fiber#dumpAll: |
| 14 | replacement: "none" |
| 15 | note: "Fiber dump and global diagnostic APIs were removed; retain explicit fibers and inspect id and pollUnsafe where needed." |
| 16 | effect/Fiber#fail: |
| 17 | replacement: "Effect.runFork(Effect.fail(error))" |
| 18 | note: "Synthetic Fiber constructors were removed; run the corresponding Effect when a Fiber handle is required." |
| 19 | effect/Fiber#failCause: |
| 20 | replacement: "Effect.runFork(Effect.failCause(cause))" |
| 21 | note: "Synthetic Fiber constructors were removed; run the corresponding Effect when a Fiber handle is required." |
| 22 | effect/Fiber#Fiber: |
| 23 | replacement: "Fiber.Fiber" |
| 24 | note: "The v4 Fiber is the concrete runtime handle and is no longer itself an Effect; use Fiber.join or Fiber.await." |
| 25 | effect/Fiber#Fiber.Descriptor: |
| 26 | replacement: "none" |
| 27 | note: "Descriptors were removed; use Effect.withFiber for the current Fiber and read its id or runtime fields directly." |
| 28 | effect/Fiber#Fiber.Dump: |
| 29 | replacement: "none" |
| 30 | note: "Fiber dumps were removed; retain explicit Fiber handles and inspect their public runtime fields." |
| 31 | effect/Fiber#Fiber.Runtime: |
| 32 | replacement: "Fiber.Fiber" |
| 33 | note: "RuntimeFiber and the Fiber.Runtime alias were collapsed into the single v4 Fiber type." |
| 34 | effect/Fiber#Fiber.RuntimeVariance: |
| 35 | replacement: "Fiber.Variance" |
| 36 | note: "RuntimeFiber was collapsed into Fiber, leaving one variance encoding." |
| 37 | effect/Fiber#Fiber.Variance: |
| 38 | replacement: "Fiber.Variance" |
| 39 | note: "Retained as the variance encoding on the v4 Fiber interface." |
| 40 | effect/Fiber#FiberTypeId: |
| 41 | replacement: "Fiber.isFiber" |
| 42 | note: "The type-id symbol is private in v4; use the public Fiber.isFiber guard." |
| 43 | effect/Fiber#FiberUnify: |
| 44 | replacement: "none" |
| 45 | note: "Fiber no longer extends Effect, so its Effect unification helper was removed." |
| 46 | effect/Fiber#FiberUnifyIgnore: |
| 47 | replacement: "none" |
| 48 | note: "Fiber no longer extends Effect, so its Effect unification helper was removed." |
| 49 | effect/Fiber#fromEffect: |
| 50 | replacement: "Effect.runFork" |
| 51 | note: "V4 uses concrete runtime fibers; run the Effect directly, or keep using the Effect when no handle is needed." |
| 52 | effect/Fiber#getCurrentFiber: |
| 53 | replacement: "Fiber.getCurrent" |
| 54 | note: "Renamed and now returns Fiber | undefined synchronously instead of Option." |
| 55 | effect/Fiber#id: |
| 56 | replacement: "fiber.id" |
| 57 | note: "Fiber IDs are numbers exposed by the readonly id field." |
| 58 | effect/Fiber#inheritAll: |
| 59 | replacement: "none" |
| 60 | note: "FiberRef inheritance was removed with FiberRef; Context.Reference values are inherited through fiber context automatically." |
| 61 | effect/Fiber#interruptAsFork: |
| 62 | replacement: "fiber.interruptUnsafe(fiberId)" |
| 63 | note: "For fire-and-forget interruption use the immediate runtime hook; use Fiber.interruptAs when cleanup must be awaited." |
| 64 | effect/Fiber#interrupted: |
| 65 | replacement: "Effect.runFork(Exit.interrupt(fiberId))" |
| 66 | note: "Synthetic Fiber constructors were removed; Exit is an Effect and can be run to obtain an interrupted Fiber." |
| 67 | effect/Fiber#interruptFork: |
| 68 | replacement: "fiber.interruptUnsafe()" |
| 69 | note: "Use the immediate runtime hook for fire-and-forget interruption; Fiber.interrupt waits for cleanup." |
| 70 | effect/Fiber#isRuntimeFiber: |
| 71 | replacement: "Fiber.isFiber" |
| 72 | note: "All v4 Fiber values are concrete runtime fibers, so only the general guard remains." |
| 73 | effect/Fiber#map: |
| 74 | replacement: "Effect.runFork(Effect.map(Fiber.join(fiber), f))" |
| 75 | note: "Fiber transformation combinators were removed; transform its joined Effect and fork only if another handle is required." |
| 76 | effect/Fiber#mapEffect: |
| 77 | replacement: "Effect.runFork(Effect.flatMap(Fiber.join(fiber), f))" |
| 78 | note: "Fiber transformation combinators were removed; transform its joined Effect and fork only if another handle is required." |
| 79 | effect/Fiber#mapFiber: |
| 80 | replacement: "Effect.flatMap(Fiber.join(fiber), (a) => Fiber.join(f(a)))" |
| 81 | note: "Flatten through Fiber.join; fork the resulting Effect if another Fiber handle is required." |
| 82 | effect/Fiber#match: |
| 83 | replacement: "none" |
| 84 | note: "The virtual Fiber versus RuntimeFiber distinction no longer exists, so branch-specific matching is unnecessary." |
| 85 | effect/Fiber#never: |
| 86 | replacement: "Effect.runFork(Effect.never)" |
| 87 | note: "Synthetic Fiber constants were removed; run Effect.never when a never-completing Fiber is required." |
| 88 | effect/Fiber#Order: |
| 89 | replacement: "Order.mapInput(Order.Number, (fiber) => fiber.id)" |
| 90 | note: "The built-in Fiber order was removed; derive an order from the numeric id when ordering is actually required." |
| 91 | effect/Fiber#orElse: |
| 92 | replacement: "Effect.runFork(Effect.catchCause(Fiber.join(self), () => Fiber.join(that)))" |
| 93 | note: "Compose joined Effects and fork the result only if another Fiber handle is required." |
| 94 | effect/Fiber#orElseEither: |
| 95 | replacement: "Effect.catchCause" |
| 96 | note: "Compose Fiber.join Effects explicitly and map each successful branch to your own tagged union; Either was also removed in v4." |
| 97 | effect/Fiber#poll: |
| 98 | replacement: "fiber.pollUnsafe()" |
| 99 | note: "Polling is now synchronous and returns Exit | undefined; wrap in Effect.sync and Option.fromUndefinedOr if the old shape is required." |
| 100 | effect/Fiber#pretty: |
| 101 | replacement: "none" |
| 102 | note: "Runtime fiber pretty-printing was removed; format the public id and polled Exit explicitly." |
| 103 | effect/Fiber#roots: |
| 104 | replacement: "none" |
| 105 | note: "The runtime no longer exposes a global root-fiber registry; track application fibers explicitly." |
| 106 | effect/Fiber#RuntimeFiber: |
| 107 | replacement: "Fiber.Fiber" |
| 108 | note: "RuntimeFiber and Fiber were collapsed into the single v4 Fiber interface." |
| 109 | effect/Fiber#RuntimeFiberTypeId: |
| 110 | replacement: "Fiber.isFiber" |
| 111 | note: "The separate RuntimeFiber marker was removed; use the public Fiber guard." |
| 112 | effect/Fiber#RuntimeFiberUnify: |
| 113 | replacement: "none" |
| 114 | note: "RuntimeFiber was collapsed into Fiber, which no longer participates in Effect unification." |
| 115 | effect/Fiber#RuntimeFiberUnifyIgnore: |
| 116 | replacement: "none" |
| 117 | note: "RuntimeFiber was collapsed into Fiber, which no longer participates in Effect unification." |
| 118 | effect/Fiber#scoped: |
| 119 | replacement: "Fiber.runIn" |
| 120 | note: "Register the Fiber in an explicit Scope with Fiber.runIn; acquire the current Scope when migrating the old effectful form." |
| 121 | effect/Fiber#status: |
| 122 | replacement: "fiber.pollUnsafe()" |
| 123 | note: "FiberStatus was removed; undefined means not completed and an Exit means completed, with no public running/suspended distinction." |
| 124 | effect/Fiber#succeed: |
| 125 | replacement: "Effect.runFork(Effect.succeed(value))" |
| 126 | note: "Synthetic Fiber constructors were removed; run the corresponding Effect when a Fiber handle is required." |
| 127 | effect/Fiber#unsafeRoots: |
| 128 | replacement: "none" |
| 129 | note: "The runtime no longer exposes a global root-fiber registry; track application fibers explicitly." |
| 130 | effect/Fiber#void: |
| 131 | replacement: "Effect.runFork(Effect.void)" |
| 132 | note: "Synthetic Fiber constants were removed; run Effect.void when a completed Fiber<void> is required." |
| 133 | effect/Fiber#zip: |
| 134 | replacement: "Effect.runFork(Effect.zip(Fiber.join(self), Fiber.join(that)))" |
| 135 | note: "Compose joined Effects and fork the result only if another Fiber handle is required." |
| 136 | effect/Fiber#zipLeft: |
| 137 | replacement: "Effect.runFork(Effect.map(Effect.zip(Fiber.join(self), Fiber.join(that)), ([left]) => left))" |
| 138 | note: "V4 has no Effect.zipLeft; zip joined Effects, project the left value, and fork only if another handle is required." |
| 139 | effect/Fiber#zipRight: |
| 140 | replacement: "Effect.runFork(Effect.map(Effect.zip(Fiber.join(self), Fiber.join(that)), ([, right]) => right))" |
| 141 | note: "V4 has no Effect.zipRight; zip joined Effects, project the right value, and fork only if another handle is required." |
| 142 | effect/Fiber#zipWith: |
| 143 | replacement: "Effect.runFork(Effect.zipWith(Fiber.join(self), Fiber.join(that), f))" |
| 144 | note: "Compose joined Effects and fork the result only if another Fiber handle is required." |