| 1 | "effect/Context#Context": |
| 2 | replacement: "Context.Context<Services>" |
| 3 | note: "The type remains; unsafeMap is now mapUnsafe and v4 also exposes mutable." |
| 4 | "effect/Context#GenericTag": |
| 5 | replacement: "Context.Service<T>(id)" |
| 6 | note: "Use the function-style Context.Service constructor." |
| 7 | "effect/Context#isTag": |
| 8 | replacement: "Context.isKey" |
| 9 | note: "The service-key guard was renamed." |
| 10 | "effect/Context#ReadonlyTag": |
| 11 | replacement: "Context.Key<Identifier, Shape>" |
| 12 | note: "Use the renamed service-key interface." |
| 13 | "effect/Context#Reference": |
| 14 | replacement: "Context.Reference<Shape>" |
| 15 | note: "Use Context.Reference<Shape>(id, { defaultValue }); the identifier type parameter was removed." |
| 16 | "effect/Context#ReferenceClass": |
| 17 | replacement: "Context.Reference<Shape>(id, { defaultValue })" |
| 18 | note: "Replace reference subclasses with a constant created by Context.Reference." |
| 19 | "effect/Context#ReferenceTypeId": |
| 20 | replacement: "none" |
| 21 | note: "The marker is private in v4; use Context.isReference for runtime discrimination." |
| 22 | "effect/Context#Tag": |
| 23 | replacement: "Context.Service" |
| 24 | note: "Use Context.Service<T>(id), or Context.Service<Self, Shape>()(id) for class syntax." |
| 25 | "effect/Context#Tag.Service": |
| 26 | replacement: "Context.Service.Shape<T>" |
| 27 | note: "The namespace type helper was renamed with Tag." |
| 28 | "effect/Context#TagClass": |
| 29 | replacement: "Context.ServiceClass<Self, Id, Shape>" |
| 30 | note: "Use the renamed class-style service-key type." |
| 31 | "effect/Context#TagClassShape": |
| 32 | replacement: "Context.ServiceClass.Shape<Id, Shape>" |
| 33 | note: "Use the renamed namespace type helper." |
| 34 | "effect/Context#TagTypeId": |
| 35 | replacement: "Context.ServiceTypeId" |
| 36 | note: "The public type identifier was renamed with Tag." |
| 37 | "effect/Context#TagUnify": |
| 38 | replacement: "none" |
| 39 | note: "The Context-specific unification hook was removed; Context.Key already extends Effect." |
| 40 | "effect/Context#TagUnifyIgnore": |
| 41 | replacement: "none" |
| 42 | note: "The Context-specific Unify-ignore artifact was removed." |
| 43 | "effect/Context#TypeId": |
| 44 | replacement: "none" |
| 45 | note: "The Context marker is private in v4; use Context.isContext for runtime checks." |
| 46 | "effect/Context#unsafeGet": |
| 47 | replacement: "Context.getUnsafe" |
| 48 | note: "The unsafe getter was renamed." |
| 49 | "effect/Context#unsafeMake": |
| 50 | replacement: "Context.makeUnsafe" |
| 51 | note: "The unsafe constructor was renamed and accepts a ReadonlyMap." |
| 52 | "effect/Context#ValidTagsById": |
| 53 | replacement: "<I extends R, S>(key: Context.Key<I, S>)" |
| 54 | note: "The alias was removed; express the Context.Key constraint directly." |