Open History to see the last commit
1"effect/Array#filterMapWhile":
2 replacement: "Array.takeWhileFilter"
3 note: "Same map-until-first-miss behavior; change the callback from Option.some/none to Result.succeed/fail."
4"effect/Array#flatMapNullable":
5 replacement: "Array.flatMapNullishOr"
6 note: "Direct nullish-terminology rename; null and undefined mapper results are still discarded."
7"effect/Array#fromNullable":
8 replacement: "Array.fromNullishOr"
9 note: "Direct nullish-terminology rename; null and undefined become an empty array and other values become a singleton."
10"effect/Array#getEquivalence":
11 replacement: "Array.makeEquivalence"
12 note: "Direct rename; pass the element Equivalence unchanged."
13"effect/Array#getLefts":
14 replacement: "Array.getFailures"
15 note: "Either became Result; this extracts failure payloads in input order."
16"effect/Array#getOrder":
17 replacement: "Array.makeOrder"
18 note: "Direct rename; pass the element Order unchanged."
19"effect/Array#getRights":
20 replacement: "Array.getSuccesses"
21 note: "Either became Result; this extracts success payloads in input order."
22"effect/Array#init":
23 replacement: "Array.init"
24 note: "The API and Option<Array<A>> behavior remain unchanged."
25"effect/Array#isEmptyArray":
26 replacement: "Array.isArrayEmpty"
27 note: "Direct word-order rename; retains the mutable empty-array type guard."
28"effect/Array#isEmptyReadonlyArray":
29 replacement: "Array.isReadonlyArrayEmpty"
30 note: "Direct word-order rename; retains the readonly empty-array type guard."
31"effect/Array#isNonEmptyArray":
32 replacement: "Array.isArrayNonEmpty"
33 note: "Direct word-order rename; retains the mutable NonEmptyArray type guard."
34"effect/Array#isNonEmptyReadonlyArray":
35 replacement: "Array.isReadonlyArrayNonEmpty"
36 note: "Direct word-order rename; retains the NonEmptyReadonlyArray type guard."
37"effect/Array#liftEither":
38 replacement: "Array.liftResult"
39 note: "Either became Result; failures produce an empty array and successes produce a singleton."
40"effect/Array#liftNullable":
41 replacement: "Array.liftNullishOr"
42 note: "Direct nullish-terminology rename; the lifted function still returns zero or one element."
43"effect/Array#modifyNonEmptyHead":
44 replacement: "Array.modifyHeadNonEmpty"
45 note: "Direct word-order rename with the same non-empty-preserving result."
46"effect/Array#modifyNonEmptyLast":
47 replacement: "Array.modifyLastNonEmpty"
48 note: "Direct word-order rename with the same non-empty-preserving result."
49"effect/Array#modifyOption":
50 replacement: "Array.modify"
51 note: "The Option suffix was dropped; an out-of-bounds index still returns Option.none."
52"effect/Array#partitionMap":
53 replacement: "Array.partition"
54 note: "Pass a Result-returning mapper instead of Either; the output remains [failures, successes], corresponding to v3 [lefts, rights]."
55"effect/Array#ReadonlyArray":
56 replacement: "Array.ReadonlyArray"
57 note: "The namespace and its Infer, With, OrNonEmpty, AndNonEmpty, and Flatten utility types remain."
58"effect/Array#removeOption":
59 replacement: "Array.remove"
60 note: "The closest API now returns an unchanged copy out of bounds; use Array.get before Array.remove to preserve the old Option result."
61"effect/Array#replaceOption":
62 replacement: "Array.replace"
63 note: "The Option suffix was dropped; an out-of-bounds index still returns Option.none."
64"effect/Array#setNonEmptyHead":
65 replacement: "Array.setHeadNonEmpty"
66 note: "Direct word-order rename with the same non-empty-preserving result."
67"effect/Array#setNonEmptyLast":
68 replacement: "Array.setLastNonEmpty"
69 note: "Direct word-order rename with the same non-empty-preserving result."
70"effect/Array#splitNonEmptyAt":
71 replacement: "Array.splitAtNonEmpty"
72 note: "Direct word-order rename; the left output remains guaranteed non-empty."
73"effect/Array#tail":
74 replacement: "Array.tail"
75 note: "The API and Option<Array<A>> behavior remain unchanged."
76"effect/Array#unsafeGet":
77 replacement: "Array.getUnsafe"
78 note: "Direct word-order rename; it still throws for an out-of-bounds index."