t3-code-android-nightly/.repos/effect-smol/migration/annotations/effect__Effectable.yaml
Julius Marminge e3c85ead63
chore(refs): sync Effect and Alchemy references to rc.115 and beta.78 (#12327)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-17 23:21:25 -07:00

30 lines
1.8 KiB
YAML

"effect/Effectable#ChannelTypeId":
replacement: "Channel.TypeId"
note: "The public channel brand moved to its owning module; v4 uses a string TypeId rather than the v3 Symbol."
"effect/Effectable#Class":
replacement: "Effectable.Class"
note: "Still available; replace commit() with an asEffect() method returning the Effect. The intermediate v4 override property/getter is no longer supported."
"effect/Effectable#CommitPrimitive":
replacement: "new<A, E = never, R = never>() => Effect.Effect<A, E, R>"
note: "The named constructor interface was removed; inline the constructor type when needed."
"effect/Effectable#CommitPrototype":
replacement: "Effectable.Prototype"
note: "Use Effectable.Prototype({ label, evaluate(fiber) { ... } }) and move the old commit body into evaluate."
"effect/Effectable#EffectPrototype":
replacement: "Effectable.Prototype"
note: "The raw multi-branded prototype was removed; use Prototype with an explicit evaluate callback."
"effect/Effectable#EffectTypeId":
replacement: "Effect.TypeId"
note: "The public Effect brand moved to Effect; v4 uses a string TypeId rather than the v3 Symbol."
"effect/Effectable#SinkTypeId":
replacement: "Sink.isSink"
note: "Sink's TypeId is private in v4; use the public guard for runtime checks and public Sink constructors for values."
"effect/Effectable#StreamTypeId":
replacement: "Stream.TypeId"
note: "The public stream brand moved to its owning module; v4 uses a string TypeId rather than the v3 Symbol."
"effect/Effectable#StructuralClass":
replacement: "Effectable.Class"
note: "Use Class and migrate commit() to asEffect(); v4 equality is structural by default."
"effect/Effectable#StructuralCommitPrototype":
replacement: "Effectable.Prototype"
note: "Use Prototype with evaluate; a separate structural prototype is unnecessary because v4 equality is structural by default."