| 1 | "effect/TestServices#annotate": |
| 2 | replacement: "none" |
| 3 | note: "The annotation service was removed. Use Vitest metadata/options for runner concerns, an ordinary Ref or Context.Reference for application-owned test state, and FiberSet for explicit fiber tracking." |
| 4 | "effect/TestServices#annotations": |
| 5 | replacement: "none" |
| 6 | note: "The annotation service was removed. Use Vitest metadata/options for runner concerns, an ordinary Ref or Context.Reference for application-owned test state, and FiberSet for explicit fiber tracking." |
| 7 | "effect/TestServices#annotationsLayer": |
| 8 | replacement: "none" |
| 9 | note: "The annotation service was removed. Use Vitest metadata/options for runner concerns, an ordinary Ref or Context.Reference for application-owned test state, and FiberSet for explicit fiber tracking." |
| 10 | "effect/TestServices#annotationsWith": |
| 11 | replacement: "none" |
| 12 | note: "The annotation service was removed. Use Vitest metadata/options for runner concerns, an ordinary Ref or Context.Reference for application-owned test state, and FiberSet for explicit fiber tracking." |
| 13 | "effect/TestServices#get": |
| 14 | replacement: "none" |
| 15 | note: "The annotation service was removed. Use Vitest metadata/options for runner concerns, an ordinary Ref or Context.Reference for application-owned test state, and FiberSet for explicit fiber tracking." |
| 16 | "effect/TestServices#supervisedFibers": |
| 17 | replacement: "none" |
| 18 | note: "The annotation service was removed. Use Vitest metadata/options for runner concerns, an ordinary Ref or Context.Reference for application-owned test state, and FiberSet for explicit fiber tracking." |
| 19 | "effect/TestServices#withAnnotations": |
| 20 | replacement: "none" |
| 21 | note: "The annotation service was removed. Use Vitest metadata/options for runner concerns, an ordinary Ref or Context.Reference for application-owned test state, and FiberSet for explicit fiber tracking." |
| 22 | "effect/TestServices#withAnnotationsScoped": |
| 23 | replacement: "none" |
| 24 | note: "The annotation service was removed. Use Vitest metadata/options for runner concerns, an ordinary Ref or Context.Reference for application-owned test state, and FiberSet for explicit fiber tracking." |
| 25 | "effect/TestServices#currentServices": |
| 26 | replacement: "Effect.context()" |
| 27 | note: "The separate FiberRef<Context<TestServices>> was removed. Test services now live in the ordinary Effect Context; override individual references with Effect.provideService." |
| 28 | "effect/TestServices#liveLayer": |
| 29 | replacement: "none" |
| 30 | note: "The standalone TestLive service and layer were removed. TestClock.layer() captures its surrounding live Clock itself." |
| 31 | "effect/TestServices#liveServices": |
| 32 | replacement: "none" |
| 33 | note: "There is no prebuilt aggregate test-service Context. @effect/vitest constructs TestClock and TestConsole layers per test; live references are defaults." |
| 34 | "effect/TestServices#liveWith": |
| 35 | replacement: "TestClock.withLive" |
| 36 | note: "There is no TestLive callback object. Refactor to the effect ultimately run and apply TestClock.withLive, or use it.live for whole-test live execution." |
| 37 | "effect/TestServices#provideLive": |
| 38 | replacement: "TestClock.withLive" |
| 39 | note: "For live time, run the effect with the Clock captured by TestClock.layer(). Use it.live when the entire test should omit all test-service overrides." |
| 40 | "effect/TestServices#provideWithLive": |
| 41 | replacement: "TestClock.testClockWith + TestClock.withLive + Effect.provideService" |
| 42 | note: "To retain test time for the inner effect while its transformer uses live time, combine testClockWith, withLive, and provideService. Other v3 default services have no aggregate equivalent." |
| 43 | "effect/TestServices#repeats": |
| 44 | replacement: "Vitest TestOptions.repeats" |
| 45 | note: "Configure repeats in the Vitest options passed to it.effect or it.live; it is no longer an Effect service value." |
| 46 | "effect/TestServices#retries": |
| 47 | replacement: "Vitest TestOptions.retry" |
| 48 | note: "Configure retry in Vitest test options. To retry an Effect inside a test, use Effect.retry." |
| 49 | "effect/TestServices#samples": |
| 50 | replacement: "{ arbitrary: { runs } }" |
| 51 | note: "Pass the run count through @effect/vitest property-test options, for example it.effect.prop(..., { arbitrary: { runs: samples } })." |
| 52 | "effect/TestServices#shrinks": |
| 53 | replacement: "{ arbitrary: { maxShrinks } }" |
| 54 | note: "Pass maxShrinks through @effect/vitest property-test options, for example it.effect.prop(..., { arbitrary: { maxShrinks } })." |
| 55 | "effect/TestServices#size": |
| 56 | replacement: "CurrentSize" |
| 57 | note: "Define a custom Context.Reference<number> and yield it to read the current size." |
| 58 | "effect/TestServices#sized": |
| 59 | replacement: "CurrentSize" |
| 60 | note: "TestSized was removed. Use a custom Context.Reference<number> directly instead of a wrapper object." |
| 61 | "effect/TestServices#sizedLayer": |
| 62 | replacement: "Layer.succeed(CurrentSize, size)" |
| 63 | note: "Provide the custom size reference as a layer." |
| 64 | "effect/TestServices#sizedWith": |
| 65 | replacement: "CurrentSize.use" |
| 66 | note: "Use the custom reference's callback, or preferably yield CurrentSize in Effect.gen." |
| 67 | "effect/TestServices#testConfig": |
| 68 | replacement: "none" |
| 69 | note: "The runner no longer reads an Effect TestConfig service. Use Vitest TestOptions and property-test arbitrary options; model application state as a custom Context.Reference." |
| 70 | "effect/TestServices#testConfigLayer": |
| 71 | replacement: "none" |
| 72 | note: "The runner no longer reads an Effect TestConfig service. Use Vitest TestOptions and property-test arbitrary options; model application state as a custom Context.Reference." |
| 73 | "effect/TestServices#testConfigWith": |
| 74 | replacement: "none" |
| 75 | note: "The runner no longer reads an Effect TestConfig service. Use Vitest TestOptions and property-test arbitrary options; model application state as a custom Context.Reference." |
| 76 | "effect/TestServices#withTestConfig": |
| 77 | replacement: "none" |
| 78 | note: "The runner no longer reads an Effect TestConfig service. Use Vitest TestOptions and property-test arbitrary options; model application state as a custom Context.Reference." |
| 79 | "effect/TestServices#withTestConfigScoped": |
| 80 | replacement: "none" |
| 81 | note: "The runner no longer reads an Effect TestConfig service. Use Vitest TestOptions and property-test arbitrary options; model application state as a custom Context.Reference." |
| 82 | "effect/TestServices#TestServices": |
| 83 | replacement: "TestClock.TestClock | TestConsole.TestConsole" |
| 84 | note: "This is the v4 @effect/vitest test-environment union. it.effect provides both automatically; it.live provides neither override." |
| 85 | "effect/TestServices#withLiveScoped": |
| 86 | replacement: "none" |
| 87 | note: "There is no scoped TestLive service override. Apply TestClock.withLive to a specific effect, or choose it.live at test declaration time." |
| 88 | "effect/TestServices#withSize": |
| 89 | replacement: "Effect.provideService(effect, CurrentSize, size)" |
| 90 | note: "Provide a custom size Context.Reference for the duration of the wrapped effect." |
| 91 | "effect/TestServices#withSized": |
| 92 | replacement: "Effect.provideService(effect, CurrentSize, size)" |
| 93 | note: "Collapse the old TestSized wrapper to its numeric value and provide the custom reference." |
| 94 | "effect/TestServices#withSizedScoped": |
| 95 | replacement: "Effect.updateServiceScoped(CurrentSize, () => size)" |
| 96 | note: "For a scope-bounded override use updateServiceScoped; otherwise prefer wrapping the workflow with Effect.provideService." |