| 1 | "effect/Schedule#addDelayEffect": |
| 2 | replacement: "Schedule.addDelay" |
| 3 | note: "The v4 function is effectful by default and its callback receives full Schedule.Metadata; read metadata.output when only the prior output is needed." |
| 4 | "effect/Schedule#andThen": |
| 5 | replacement: "Schedule.concat" |
| 6 | note: "The sequencing combinator was renamed to Schedule.concat." |
| 7 | "effect/Schedule#andThenEither": |
| 8 | replacement: "Schedule.concatResult" |
| 9 | note: "Sequential phase tagging now uses Result: self outputs are Result.fail and the following schedule outputs are Result.succeed." |
| 10 | "effect/Schedule#as": |
| 11 | replacement: "Schedule.map" |
| 12 | note: "Map the metadata to the constant output; Schedule.map accepts either a plain value or an Effect." |
| 13 | "effect/Schedule#asVoid": |
| 14 | replacement: "Schedule.map" |
| 15 | note: "Map every output to undefined." |
| 16 | "effect/Schedule#bothInOut": |
| 17 | replacement: "none" |
| 18 | note: "There is no direct v4 combinator preserving this output shape. Rebuild it with Schedule.fromStep and Schedule.toStep; schedule steps now return [output, Duration] and terminate with Cause.done." |
| 19 | "effect/Schedule#check": |
| 20 | replacement: "Schedule.while" |
| 21 | note: "Continue while a predicate over metadata.input and metadata.output returns true." |
| 22 | "effect/Schedule#checkEffect": |
| 23 | replacement: "Schedule.while" |
| 24 | note: "Schedule.while accepts an effectful metadata predicate in v4." |
| 25 | "effect/Schedule#collectAllInputs": |
| 26 | replacement: "none" |
| 27 | note: "This stateful collection combinator was removed during the v4 Schedule simplification. Rebuild it with Schedule.fromStep and Schedule.toStep, keeping accumulation state inside the acquired step closure." |
| 28 | "effect/Schedule#collectAllOutputs": |
| 29 | replacement: "none" |
| 30 | note: "This stateful collection combinator was removed during the v4 Schedule simplification. Rebuild it with Schedule.fromStep and Schedule.toStep, keeping accumulation state inside the acquired step closure." |
| 31 | "effect/Schedule#collectUntil": |
| 32 | replacement: "none" |
| 33 | note: "This stateful collection combinator was removed during the v4 Schedule simplification. Rebuild it with Schedule.fromStep and Schedule.toStep, keeping accumulation state inside the acquired step closure." |
| 34 | "effect/Schedule#collectUntilEffect": |
| 35 | replacement: "none" |
| 36 | note: "This stateful collection combinator was removed during the v4 Schedule simplification. Rebuild it with Schedule.fromStep and Schedule.toStep, keeping accumulation state inside the acquired step closure." |
| 37 | "effect/Schedule#collectWhile": |
| 38 | replacement: "none" |
| 39 | note: "This stateful collection combinator was removed during the v4 Schedule simplification. Rebuild it with Schedule.fromStep and Schedule.toStep, keeping accumulation state inside the acquired step closure." |
| 40 | "effect/Schedule#collectWhileEffect": |
| 41 | replacement: "none" |
| 42 | note: "This stateful collection combinator was removed during the v4 Schedule simplification. Rebuild it with Schedule.fromStep and Schedule.toStep, keeping accumulation state inside the acquired step closure." |
| 43 | "effect/Schedule#compose": |
| 44 | replacement: "none" |
| 45 | note: "There is no direct v4 combinator preserving this output shape. Rebuild it with Schedule.fromStep and Schedule.toStep; schedule steps now return [output, Duration] and terminate with Cause.done." |
| 46 | "effect/Schedule#count": |
| 47 | replacement: "Schedule.forever" |
| 48 | note: "The forever schedule outputs the zero-based recurrence count." |
| 49 | "effect/Schedule#CurrentIterationMetadata": |
| 50 | replacement: "Schedule.CurrentMetadata" |
| 51 | note: "The Context.Reference was renamed and now provides Schedule.Metadata with input, output, attempt, duration, and elapsed timing fields." |
| 52 | "effect/Schedule#dayOfMonth": |
| 53 | replacement: "Schedule.cron" |
| 54 | note: "Express the calendar constraint as a cron expression, for example `0 0 <day> * *`, and map its Duration output if a numeric output is required." |
| 55 | "effect/Schedule#dayOfWeek": |
| 56 | replacement: "Schedule.cron" |
| 57 | note: "Express the weekday constraint as a cron expression, for example `0 0 * * <day>`, and map its Duration output if a numeric output is required." |
| 58 | "effect/Schedule#delayed": |
| 59 | replacement: "Schedule.modifyDelay" |
| 60 | note: "Return Effect.succeed(f(metadata.duration)); delay transformations are effectful and receive full metadata in v4." |
| 61 | "effect/Schedule#delayedEffect": |
| 62 | replacement: "Schedule.modifyDelay" |
| 63 | note: "The v4 delay modifier is effectful by default and receives full Schedule.Metadata." |
| 64 | "effect/Schedule#delayedSchedule": |
| 65 | replacement: "Schedule.modifyDelay" |
| 66 | note: "Replace each delay with metadata.output, converting that Duration output through Effect.succeed." |
| 67 | "effect/Schedule#delays": |
| 68 | replacement: "Schedule.map" |
| 69 | note: "Map each decision to metadata.duration to expose the selected recurrence delay." |
| 70 | "effect/Schedule#driver": |
| 71 | replacement: "Schedule.toStepWithSleep" |
| 72 | note: "Acquire the sleeping step function and call it for each input; use Schedule.toStep when delay handling must remain manual." |
| 73 | "effect/Schedule#either": |
| 74 | replacement: "Schedule.min" |
| 75 | note: "Use Schedule.min for fastest-delay composition. It outputs the selected Duration rather than a tuple of both outputs." |
| 76 | "effect/Schedule#eitherWith": |
| 77 | replacement: "Schedule.min" |
| 78 | note: "Schedule.min implements the standard fastest-delay composition; custom interval merging requires a Schedule.fromStep implementation." |
| 79 | "effect/Schedule#elapsed": |
| 80 | replacement: "Schedule.map" |
| 81 | note: "Map metadata.elapsed through Duration.millis." |
| 82 | "effect/Schedule#ensuring": |
| 83 | replacement: "Schedule.during" |
| 84 | note: "Use the duration-bounded v4 schedule constructor." |
| 85 | "effect/Schedule#fromDelay": |
| 86 | replacement: "Schedule.duration" |
| 87 | note: "The duration constructor recurs once after the supplied delay." |
| 88 | "effect/Schedule#fromDelays": |
| 89 | replacement: "Schedule.duration + Schedule.concat" |
| 90 | note: "Build one Schedule.duration per delay and sequence them with Schedule.concat." |
| 91 | "effect/Schedule#fromFunction": |
| 92 | replacement: "Schedule.identity + Schedule.map" |
| 93 | note: "Start with Schedule.identity<A>() and map metadata.input through the function." |
| 94 | "effect/Schedule#hourOfDay": |
| 95 | replacement: "Schedule.cron" |
| 96 | note: "Express the hour constraint as a cron expression such as `0 <hour> * * *`." |
| 97 | "effect/Schedule#intersect": |
| 98 | replacement: "Schedule.max" |
| 99 | note: "Use Schedule.max for slowest-delay composition. It outputs the selected Duration rather than a tuple of both outputs." |
| 100 | "effect/Schedule#intersectWith": |
| 101 | replacement: "Schedule.max" |
| 102 | note: "Schedule.max implements the standard slowest-delay composition; custom interval merging requires a Schedule.fromStep implementation." |
| 103 | "effect/Schedule#IterationMetadata": |
| 104 | replacement: "Schedule.Metadata" |
| 105 | note: "The metadata model now includes duration and uses attempt instead of recurrence; elapsed fields are millisecond numbers." |
| 106 | "effect/Schedule#jitteredWith": |
| 107 | replacement: "Schedule.modifyDelay" |
| 108 | note: "For custom bounds, scale metadata.duration using Random.next inside the effectful delay callback; Schedule.jittered supplies the fixed v4 0.8-1.2 range." |
| 109 | "effect/Schedule#linear": |
| 110 | replacement: "Schedule.forever + Schedule.map + Schedule.modifyDelay" |
| 111 | note: "Map the recurrence attempt to the linearly increasing Duration, then use that output as the recurrence delay." |
| 112 | "effect/Schedule#makeWithState": |
| 113 | replacement: "Schedule.fromStep" |
| 114 | note: "Move mutable state into the acquired step closure; return [output, Duration] for recurrence and Cause.done(output) for termination." |
| 115 | "effect/Schedule#mapBoth": |
| 116 | replacement: "Schedule.fromStep + Schedule.toStep" |
| 117 | note: "Input transformation is no longer a standalone combinator. Wrap Schedule.toStep(self) with Schedule.fromStep and transform the input before invoking the underlying step." |
| 118 | "effect/Schedule#mapBothEffect": |
| 119 | replacement: "Schedule.fromStep + Schedule.toStep" |
| 120 | note: "Input transformation is no longer a standalone combinator. Wrap Schedule.toStep(self) with Schedule.fromStep and transform the input before invoking the underlying step. Apply the effectful output mapping to the returned tuple." |
| 121 | "effect/Schedule#mapEffect": |
| 122 | replacement: "Schedule.map" |
| 123 | note: "Schedule.map accepts an Effect result and receives full Schedule.Metadata." |
| 124 | "effect/Schedule#mapInput": |
| 125 | replacement: "Schedule.fromStep + Schedule.toStep" |
| 126 | note: "Input transformation is no longer a standalone combinator. Wrap Schedule.toStep(self) with Schedule.fromStep and transform the input before invoking the underlying step." |
| 127 | "effect/Schedule#mapInputContext": |
| 128 | replacement: "Schedule.fromStep + Effect.provide" |
| 129 | note: "Provide the transformed service context to both Schedule.toStep acquisition and each returned step Effect." |
| 130 | "effect/Schedule#mapInputEffect": |
| 131 | replacement: "Schedule.fromStep + Schedule.toStep" |
| 132 | note: "Input transformation is no longer a standalone combinator. Wrap Schedule.toStep(self) with Schedule.fromStep and transform the input before invoking the underlying step. Evaluate the input mapping Effect before the underlying step." |
| 133 | "effect/Schedule#minuteOfHour": |
| 134 | replacement: "Schedule.cron" |
| 135 | note: "Express the minute constraint as a cron expression such as `<minute> * * * *`." |
| 136 | "effect/Schedule#modifyDelayEffect": |
| 137 | replacement: "Schedule.modifyDelay" |
| 138 | note: "The v4 delay modifier is effectful by default and receives full Schedule.Metadata." |
| 139 | "effect/Schedule#onDecision": |
| 140 | replacement: "Schedule.tap" |
| 141 | note: "Use Schedule.tap for effects on recurrence metadata. To also observe final completion, wrap Schedule.toStep with Pull.matchEffect in Schedule.fromStep." |
| 142 | "effect/Schedule#provideContext": |
| 143 | replacement: "Schedule.fromStep + Effect.provide" |
| 144 | note: "Provide the Context to both Schedule.toStep acquisition and each Effect returned by the acquired step." |
| 145 | "effect/Schedule#provideService": |
| 146 | replacement: "Schedule.fromStep + Effect.provideService" |
| 147 | note: "Provide the service to both Schedule.toStep acquisition and each Effect returned by the acquired step." |
| 148 | "effect/Schedule#recurUntil": |
| 149 | replacement: "Schedule.identity + Schedule.while" |
| 150 | note: "Continue while the predicate over metadata.input is false." |
| 151 | "effect/Schedule#recurUntilEffect": |
| 152 | replacement: "Schedule.identity + Schedule.while" |
| 153 | note: "Continue while the effectful predicate over metadata.input is false." |
| 154 | "effect/Schedule#recurUntilOption": |
| 155 | replacement: "Schedule.fromStep" |
| 156 | note: "Use a custom step to evaluate the Option-producing function, emit Option.none while recurring, and terminate with the first Option.some result." |
| 157 | "effect/Schedule#recurUpTo": |
| 158 | replacement: "Schedule.during" |
| 159 | note: "Use the duration-bounded schedule constructor." |
| 160 | "effect/Schedule#recurWhile": |
| 161 | replacement: "Schedule.identity + Schedule.while" |
| 162 | note: "Continue while the predicate over metadata.input is true." |
| 163 | "effect/Schedule#recurWhileEffect": |
| 164 | replacement: "Schedule.identity + Schedule.while" |
| 165 | note: "Continue while the effectful predicate over metadata.input is true." |
| 166 | "effect/Schedule#reduce": |
| 167 | replacement: "none" |
| 168 | note: "This stateful collection combinator was removed during the v4 Schedule simplification. Rebuild it with Schedule.fromStep and Schedule.toStep, keeping accumulation state inside the acquired step closure." |
| 169 | "effect/Schedule#reduceEffect": |
| 170 | replacement: "none" |
| 171 | note: "This stateful collection combinator was removed during the v4 Schedule simplification. Rebuild it with Schedule.fromStep and Schedule.toStep, keeping accumulation state inside the acquired step closure." |
| 172 | "effect/Schedule#repeatForever": |
| 173 | replacement: "Schedule.forever" |
| 174 | note: "The infinite zero-delay counter schedule was renamed." |
| 175 | "effect/Schedule#repetitions": |
| 176 | replacement: "Schedule.map" |
| 177 | note: "Map metadata.attempt to the required recurrence count, adjusting by one where the v3 zero-based value is expected." |
| 178 | "effect/Schedule#resetAfter": |
| 179 | replacement: "none" |
| 180 | note: "Automatic schedule reset was removed. Wrap Schedule.toStep(self) with Schedule.fromStep and reacquire the inner step when the reset condition is met." |
| 181 | "effect/Schedule#resetWhen": |
| 182 | replacement: "none" |
| 183 | note: "Automatic schedule reset was removed. Wrap Schedule.toStep(self) with Schedule.fromStep and reacquire the inner step when the reset condition is met." |
| 184 | "effect/Schedule#run": |
| 185 | replacement: "Schedule.toStep" |
| 186 | note: "Acquire the step and traverse inputs manually, supplying each timestamp and collecting successful outputs until Cause.done." |
| 187 | "effect/Schedule#Schedule": |
| 188 | replacement: "Schedule.Schedule" |
| 189 | note: "The model remains but now has Schedule<Output, Input, Error, Env>; its public initial/step fields were replaced by Schedule.toStep and fromStep." |
| 190 | "effect/Schedule#Schedule.DriverVariance": |
| 191 | replacement: "none" |
| 192 | note: "ScheduleDriver was removed in v4, so its variance marker has no replacement. Use the Schedule type parameters or the function returned by Schedule.toStepWithSleep." |
| 193 | "effect/Schedule#Schedule.Variance": |
| 194 | replacement: "Schedule.Schedule.Variance" |
| 195 | note: "The variance marker remains and now tracks Output, Input, Error, and Env through the private Schedule TypeId." |
| 196 | "effect/Schedule#ScheduleDriver": |
| 197 | replacement: "Schedule.toStepWithSleep" |
| 198 | note: "ScheduleDriver was removed. The acquired step function provides manual next calls with automatic sleeping; Schedule.toStep exposes raw delays." |
| 199 | "effect/Schedule#ScheduleDriverTypeId": |
| 200 | replacement: "none" |
| 201 | note: "ScheduleDriver and its public type id were removed. Use the step function returned by Schedule.toStepWithSleep." |
| 202 | "effect/Schedule#ScheduleTypeId": |
| 203 | replacement: "none" |
| 204 | note: "The Schedule type id is private in v4. Use Schedule.isSchedule to narrow unknown values." |
| 205 | "effect/Schedule#secondOfMinute": |
| 206 | replacement: "Schedule.cron" |
| 207 | note: "Use the six-field cron form to express a seconds constraint, for example `<second> * * * * *`." |
| 208 | "effect/Schedule#stop": |
| 209 | replacement: "Schedule.fromStep" |
| 210 | note: "Create a step that immediately returns Cause.done(undefined)." |
| 211 | "effect/Schedule#succeed": |
| 212 | replacement: "Schedule.forever + Schedule.map" |
| 213 | note: "Map every recurrence to the constant value." |
| 214 | "effect/Schedule#sync": |
| 215 | replacement: "Schedule.forever + Schedule.map" |
| 216 | note: "Map every recurrence by lazily evaluating the thunk." |
| 217 | "effect/Schedule#tapInput": |
| 218 | replacement: "Schedule.tap" |
| 219 | note: "Use the unified tap callback and read metadata.input." |
| 220 | "effect/Schedule#tapOutput": |
| 221 | replacement: "Schedule.tap" |
| 222 | note: "Use the unified tap callback and read metadata.output." |
| 223 | "effect/Schedule#unfold": |
| 224 | replacement: "Schedule.fromStep" |
| 225 | note: "Keep the evolving value inside the acquired step closure and emit each value with the desired Duration." |
| 226 | "effect/Schedule#union": |
| 227 | replacement: "Schedule.min" |
| 228 | note: "Use Schedule.min for fastest-delay composition. It outputs the selected Duration rather than both schedule outputs." |
| 229 | "effect/Schedule#unionWith": |
| 230 | replacement: "Schedule.min" |
| 231 | note: "Schedule.min covers the standard union behavior; a custom interval merge requires Schedule.fromStep." |
| 232 | "effect/Schedule#untilInput": |
| 233 | replacement: "Schedule.while" |
| 234 | note: "Continue while the predicate over metadata.input is false." |
| 235 | "effect/Schedule#untilInputEffect": |
| 236 | replacement: "Schedule.while" |
| 237 | note: "Continue while the effectful predicate over metadata.input is false." |
| 238 | "effect/Schedule#untilOutput": |
| 239 | replacement: "Schedule.while" |
| 240 | note: "Continue while the predicate over metadata.output is false." |
| 241 | "effect/Schedule#untilOutputEffect": |
| 242 | replacement: "Schedule.while" |
| 243 | note: "Continue while the effectful predicate over metadata.output is false." |
| 244 | "effect/Schedule#whileInput": |
| 245 | replacement: "Schedule.while" |
| 246 | note: "Continue while the predicate over metadata.input is true." |
| 247 | "effect/Schedule#whileInputEffect": |
| 248 | replacement: "Schedule.while" |
| 249 | note: "Continue while the effectful predicate over metadata.input is true." |
| 250 | "effect/Schedule#whileOutput": |
| 251 | replacement: "Schedule.while" |
| 252 | note: "Continue while the predicate over metadata.output is true." |
| 253 | "effect/Schedule#whileOutputEffect": |
| 254 | replacement: "Schedule.while" |
| 255 | note: "Continue while the effectful predicate over metadata.output is true." |
| 256 | "effect/Schedule#zipLeft": |
| 257 | replacement: "none" |
| 258 | note: "There is no direct v4 combinator preserving this output shape. Rebuild it with Schedule.fromStep and Schedule.toStep; schedule steps now return [output, Duration] and terminate with Cause.done." |
| 259 | "effect/Schedule#zipRight": |
| 260 | replacement: "none" |
| 261 | note: "There is no direct v4 combinator preserving this output shape. Rebuild it with Schedule.fromStep and Schedule.toStep; schedule steps now return [output, Duration] and terminate with Cause.done." |
| 262 | "effect/Schedule#zipWith": |
| 263 | replacement: "none" |
| 264 | note: "There is no direct v4 combinator preserving this output shape. Rebuild it with Schedule.fromStep and Schedule.toStep; schedule steps now return [output, Duration] and terminate with Cause.done." |