1effect/FiberRef#currentConcurrency:
2 replacement: "none"
3 note: "Inherited concurrency was removed; pass concurrency explicitly to each v4 combinator that supports it."
4effect/FiberRef#currentContext:
5 replacement: "Effect.context"
6 note: "Fiber services are stored directly in Context; use Effect.context to read them and Effect.provideContext to override them."
7effect/FiberRef#currentLogAnnotations:
8 replacement: "References.CurrentLogAnnotations"
9 note: "Built-in FiberRefs are now Context.Reference values; yield the reference or provide it with Effect.provideService."
10effect/FiberRef#currentLoggers:
11 replacement: "References.CurrentLoggers"
12 note: "Built-in FiberRefs are now Context.Reference values; yield the reference or provide it with Effect.provideService."
13effect/FiberRef#currentLogLevel:
14 replacement: "References.CurrentLogLevel"
15 note: "Built-in FiberRefs are now Context.Reference values; yield the reference or provide it with Effect.provideService."
16effect/FiberRef#currentLogSpan:
17 replacement: "References.CurrentLogSpans"
18 note: "Renamed and represented as a Context.Reference containing a readonly span array."
19effect/FiberRef#currentMaxOpsBeforeYield:
20 replacement: "Scheduler.MaxOpsBeforeYield"
21 note: "The scheduler setting is now a Context.Reference; yield it or provide it with Effect.provideService."
22effect/FiberRef#currentMetricLabels:
23 replacement: "Metric.CurrentMetricAttributes"
24 note: "Metric labels became metric attributes stored in a Context.Reference."
25effect/FiberRef#currentMinimumLogLevel:
26 replacement: "References.MinimumLogLevel"
27 note: "Built-in FiberRefs are now Context.Reference values; yield the reference or provide it with Effect.provideService."
28effect/FiberRef#currentRequestBatchingEnabled:
29 replacement: "none"
30 note: "The request batching FiberRef was removed; batching is defined by the v4 RequestResolver runAll implementation."
31effect/FiberRef#currentRequestCache:
32 replacement: "RequestResolver.withCache"
33 note: "The ambient request cache was removed; wrap a RequestResolver with an explicit bounded cache."
34effect/FiberRef#currentRequestCacheEnabled:
35 replacement: "RequestResolver.withCache"
36 note: "There is no ambient cache toggle; choose an explicitly cached or uncached RequestResolver."
37effect/FiberRef#currentRuntimeFlags:
38 replacement: "none"
39 note: "RuntimeFlags and their FiberRef were removed; use specific v4 runtime options such as interruptibility and scheduler settings."
40effect/FiberRef#currentScheduler:
41 replacement: "Scheduler.Scheduler"
42 note: "The scheduler is now a Context.Reference; yield it or provide it with Effect.provideService."
43effect/FiberRef#currentSchedulingPriority:
44 replacement: "none"
45 note: "The ambient scheduling-priority FiberRef was removed; use explicit scheduler operations where priority is needed."
46effect/FiberRef#currentSupervisor:
47 replacement: "none"
48 note: "The Supervisor and ambient supervisor FiberRef APIs were removed; track fibers explicitly with FiberSet or FiberMap."
49effect/FiberRef#currentTracerEnabled:
50 replacement: "References.TracerEnabled"
51 note: "Built-in FiberRefs are now Context.Reference values; yield the reference or provide it with Effect.provideService."
52effect/FiberRef#currentTracerSpanAnnotations:
53 replacement: "References.TracerSpanAnnotations"
54 note: "Built-in FiberRefs are now Context.Reference values; yield the reference or provide it with Effect.provideService."
55effect/FiberRef#currentTracerSpanLinks:
56 replacement: "References.TracerSpanLinks"
57 note: "Built-in FiberRefs are now Context.Reference values; yield the reference or provide it with Effect.provideService."
58effect/FiberRef#currentTracerTimingEnabled:
59 replacement: "References.TracerTimingEnabled"
60 note: "Built-in FiberRefs are now Context.Reference values; yield the reference or provide it with Effect.provideService."
61effect/FiberRef#delete:
62 replacement: "Effect.provideService"
63 note: "Context.Reference has no in-place delete; scope the default or desired value around the target Effect."
64effect/FiberRef#FiberRef:
65 replacement: "Context.Reference"
66 note: "Fiber-local values and services share Context.Reference in v4; references have a defaultValue and no fork/join patching."
67effect/FiberRef#FiberRefTypeId:
68 replacement: "Context.isReference"
69 note: "Use the public Context.Reference guard instead of a FiberRef type-id symbol."
70effect/FiberRef#FiberRefUnify:
71 replacement: "none"
72 note: "Context.Reference is a service key and does not require the old FiberRef Effect-unification helper."
73effect/FiberRef#FiberRefUnifyIgnore:
74 replacement: "none"
75 note: "Context.Reference is a service key and does not require the old FiberRef Effect-unification helper."
76effect/FiberRef#get:
77 replacement: "reference"
78 note: "Context.Reference is yieldable as a service; yield it directly to read the current value."
79effect/FiberRef#getAndUpdateSome:
80 replacement: "Ref.getAndUpdateSome"
81 note: "Use Ref for mutable state; for fiber-local configuration compute the value first and scope it with Effect.provideService."
82effect/FiberRef#getWith:
83 replacement: "Effect.flatMap(reference, f)"
84 note: "Yield or flatMap the Context.Reference directly."
85effect/FiberRef#interruptedCause:
86 replacement: "none"
87 note: "The pending interruption cause is no longer exposed as public fiber-local state; inspect completed failure Causes from Fiber.await."
88effect/FiberRef#make:
89 replacement: "Context.Reference"
90 note: "Define a stable Context.Reference key with defaultValue; custom fork and join behavior is not supported."
91effect/FiberRef#makeContext:
92 replacement: "Context.Reference"
93 note: "Define a Context.Reference whose defaultValue returns the Context; custom context diffing is no longer required."
94effect/FiberRef#makeRuntimeFlags:
95 replacement: "none"
96 note: "RuntimeFlags and specialized FiberRef constructors were removed; migrate each flag to its explicit v4 runtime option."
97effect/FiberRef#makeWith:
98 replacement: "Context.Reference"
99 note: "Use the lazy defaultValue option on a stable Context.Reference key."
100effect/FiberRef#modify:
101 replacement: "Ref.modify"
102 note: "Use Ref for mutable state; Context.Reference updates are scoped with Effect.provideService rather than mutated in place."
103effect/FiberRef#modifySome:
104 replacement: "Ref.modifySome"
105 note: "Use Ref for mutable state; Context.Reference updates are scoped with Effect.provideService rather than mutated in place."
106effect/FiberRef#reset:
107 replacement: "Effect.provideService"
108 note: "Context.Reference has no in-place reset; scope its default value around the target Effect."
109effect/FiberRef#set:
110 replacement: "Effect.provideService"
111 note: "Context.Reference values are overridden for an Effect scope instead of mutating the current fiber."
112effect/FiberRef#unhandledErrorLogLevel:
113 replacement: "References.UnhandledLogLevel"
114 note: "Renamed and represented as a Context.Reference using Severity | undefined instead of Option<LogLevel>."
115effect/FiberRef#unsafeMake:
116 replacement: "Context.Reference"
117 note: "Context.Reference construction is synchronous; provide a stable identifier and defaultValue."
118effect/FiberRef#unsafeMakeContext:
119 replacement: "Context.Reference"
120 note: "Define a Context.Reference whose defaultValue returns the Context; there is no specialized unsafe constructor."
121effect/FiberRef#unsafeMakeHashSet:
122 replacement: "Context.Reference"
123 note: "Define a normal Context.Reference with a readonly set default; specialized differ constructors were removed."
124effect/FiberRef#unsafeMakePatch:
125 replacement: "Context.Reference"
126 note: "Define a normal Context.Reference; custom Differ, fork patches, and join behavior are not supported in v4."
127effect/FiberRef#unsafeMakeSupervisor:
128 replacement: "none"
129 note: "Supervisor and FiberRef were removed; track managed fibers explicitly with FiberSet or FiberMap."
130effect/FiberRef#update:
131 replacement: "Ref.update"
132 note: "Use Ref for mutable state; for fiber-local configuration compute a value and scope it with Effect.provideService."
133effect/FiberRef#updateSome:
134 replacement: "Ref.updateSome"
135 note: "Use Ref for mutable state; for fiber-local configuration compute a value and scope it with Effect.provideService."
136effect/FiberRef#updateSomeAndGet:
137 replacement: "Ref.updateSomeAndGet"
138 note: "Use Ref for mutable state; for fiber-local configuration compute a value and scope it with Effect.provideService."
139effect/FiberRef#Variance:
140 replacement: "Context.Reference"
141 note: "The FiberRef-specific variance interface was removed with FiberRef."
142effect/FiberRef#versionMismatchErrorLogLevel:
143 replacement: "none"
144 note: "The version-mismatch logging FiberRef was removed and no public v4 Context.Reference replaces it."