| 1 | effect/Differ#chunk: |
| 2 | replacement: "Schema.toDifferJsonPatch" |
| 3 | note: "Derive a JSON Patch differ from a Schema for the whole Chunk; v4 no longer exposes collection-specific patch constructors." |
| 4 | effect/Differ#combine: |
| 5 | replacement: "differ.combine" |
| 6 | note: "Call the combine method on the Differ value directly; the standalone helper was removed." |
| 7 | effect/Differ#diff: |
| 8 | replacement: "differ.diff" |
| 9 | note: "Call the diff method on the Differ value directly; the standalone helper was removed." |
| 10 | effect/Differ#Differ: |
| 11 | replacement: "Differ.Differ" |
| 12 | note: "The interface remains, but is now an unbranded structural interface and patch takes arguments as patch(oldValue, patch)." |
| 13 | effect/Differ#Differ.Chunk: |
| 14 | replacement: "JsonPatch.JsonPatch" |
| 15 | note: "The Chunk patch namespace was removed; Schema.toDifferJsonPatch uses the common RFC 6902 patch representation." |
| 16 | effect/Differ#Differ.Chunk.Patch: |
| 17 | replacement: "JsonPatch.JsonPatch" |
| 18 | note: "Use the patch type returned by Schema.toDifferJsonPatch instead of the removed Chunk-specific patch type." |
| 19 | effect/Differ#Differ.Chunk.TypeId: |
| 20 | replacement: "none" |
| 21 | note: "Chunk-specific patches and their public brand were removed; do not inspect a patch type id." |
| 22 | effect/Differ#Differ.Context: |
| 23 | replacement: "Context.Context" |
| 24 | note: "The Context patch namespace was removed; construct and merge Context values explicitly rather than diffing environments." |
| 25 | effect/Differ#Differ.Context.Patch: |
| 26 | replacement: "none" |
| 27 | note: "Context patches were removed; use Context.add, Context.merge, and Context.omit to build the desired Context directly." |
| 28 | effect/Differ#Differ.Context.TypeId: |
| 29 | replacement: "none" |
| 30 | note: "Context patches and their public brand were removed." |
| 31 | effect/Differ#Differ.HashMap: |
| 32 | replacement: "JsonPatch.JsonPatch" |
| 33 | note: "The HashMap patch namespace was removed; derive a JSON Patch differ from a Schema for the complete value." |
| 34 | effect/Differ#Differ.HashMap.Patch: |
| 35 | replacement: "JsonPatch.JsonPatch" |
| 36 | note: "Use the patch type returned by Schema.toDifferJsonPatch instead of the removed HashMap-specific patch type." |
| 37 | effect/Differ#Differ.HashMap.TypeId: |
| 38 | replacement: "none" |
| 39 | note: "HashMap-specific patches and their public brand were removed; do not inspect a patch type id." |
| 40 | effect/Differ#Differ.HashSet.Patch: |
| 41 | replacement: "JsonPatch.JsonPatch" |
| 42 | note: "Use the patch type returned by Schema.toDifferJsonPatch instead of the removed HashSet-specific patch type." |
| 43 | effect/Differ#Differ.HashSet.TypeId: |
| 44 | replacement: "none" |
| 45 | note: "HashSet-specific patches and their public brand were removed; do not inspect a patch type id." |
| 46 | effect/Differ#Differ.Or: |
| 47 | replacement: "JsonPatch.JsonPatch" |
| 48 | note: "The Either patch namespace was removed; derive one JSON Patch differ from the Schema for the union value." |
| 49 | effect/Differ#Differ.Or.Patch: |
| 50 | replacement: "JsonPatch.JsonPatch" |
| 51 | note: "Use the patch type returned by Schema.toDifferJsonPatch instead of the removed Either-specific patch type." |
| 52 | effect/Differ#Differ.Or.TypeId: |
| 53 | replacement: "none" |
| 54 | note: "Either-specific patches and their public brand were removed; do not inspect a patch type id." |
| 55 | effect/Differ#Differ.ReadonlyArray: |
| 56 | replacement: "JsonPatch.JsonPatch" |
| 57 | note: "The ReadonlyArray patch namespace was removed; Schema.toDifferJsonPatch uses the common RFC 6902 patch representation." |
| 58 | effect/Differ#Differ.ReadonlyArray.Patch: |
| 59 | replacement: "JsonPatch.JsonPatch" |
| 60 | note: "Use the patch type returned by Schema.toDifferJsonPatch instead of the removed ReadonlyArray-specific patch type." |
| 61 | effect/Differ#Differ.ReadonlyArray.TypeId: |
| 62 | replacement: "none" |
| 63 | note: "ReadonlyArray-specific patches and their public brand were removed; do not inspect a patch type id." |
| 64 | effect/Differ#empty: |
| 65 | replacement: "differ.empty" |
| 66 | note: "Read the empty property from the Differ value directly; the standalone accessor was removed." |
| 67 | effect/Differ#environment: |
| 68 | replacement: "none" |
| 69 | note: "The Context differ was removed; construct the target Context explicitly with Context.add, Context.merge, and Context.omit." |
| 70 | effect/Differ#hashMap: |
| 71 | replacement: "Schema.toDifferJsonPatch" |
| 72 | note: "Derive a JSON Patch differ from a Schema for the whole map; v4 no longer exposes collection-specific patch constructors." |
| 73 | effect/Differ#hashSet: |
| 74 | replacement: "Schema.toDifferJsonPatch" |
| 75 | note: "Derive a JSON Patch differ from a Schema for the whole set; v4 no longer exposes collection-specific patch constructors." |
| 76 | effect/Differ#make: |
| 77 | replacement: "object literal satisfying Differ.Differ" |
| 78 | note: "Differ is structural in v4; provide empty, diff, combine, and patch methods directly, with patch(oldValue, patch) argument order." |
| 79 | effect/Differ#orElseEither: |
| 80 | replacement: "Schema.toDifferJsonPatch" |
| 81 | note: "Derive one differ from the Schema for the Either value; the compositional Either-specific differ and patch type were removed." |
| 82 | effect/Differ#patch: |
| 83 | replacement: "differ.patch" |
| 84 | note: "Call the method directly and reverse the v3 method order: differ.patch(oldValue, patch)." |
| 85 | effect/Differ#readonlyArray: |
| 86 | replacement: "Schema.toDifferJsonPatch" |
| 87 | note: "Derive a JSON Patch differ from a Schema for the whole array; v4 no longer exposes collection-specific patch constructors." |
| 88 | effect/Differ#transform: |
| 89 | replacement: "object literal satisfying Differ.Differ" |
| 90 | note: "There is no transform combinator; define a structural Differ that maps values before delegating to the original differ." |
| 91 | effect/Differ#TypeId: |
| 92 | replacement: "none" |
| 93 | note: "Differ is an unbranded structural interface in v4; do not inspect or implement a public type id." |
| 94 | effect/Differ#update: |
| 95 | replacement: "object literal satisfying Differ.Differ" |
| 96 | note: "The update constructor was removed; define empty, diff, combine, and patch directly for function patches, or use Schema.toDifferJsonPatch." |
| 97 | effect/Differ#updateWith: |
| 98 | replacement: "object literal satisfying Differ.Differ" |
| 99 | note: "The updateWith constructor was removed; encode the desired merge rule in a structural Differ implementation." |