Releases: softwareventures/array
Releases · softwareventures/array
v7.0.0
7.0.0 (2023-12-06)
⚠ BREAKING CHANGES
- node: node versions < 18, 19 are no longer
supported. - shuffle: The deprecated function
shuffle
has been deleted. This function was
always out of scope for this package because it
is non-deterministic and therefore not
functionally pure. If you need a similar
function, use the package "array-shuffle"
instead. - filterFirst: The deprecated function
filterFirst
has been deleted because it is
confusing. UseexcludeFirst
instead and
invert the predicate. - head: The deprecated function
head
has been deleted. Usefirst
instead. - isArrayLike: isArrayLike can no longer be
called with a type parameter. This function was
unsound when called with a type parameter. Code
that relied on specifying the type parameter
explicitly should be rewritten to validate the
type of array elements by some other method. - isArray: isArray can no longer be called
with a type parameter. This function was unsound
when called with a type parameter. Code that
relied on specifying the type parameter
explicitly should be rewritten to validate the
type of array elements by some other method.
Features
- filterFirst: delete deprecated function (c3d2759)
- head: delete deprecated function (928b19e)
- node: drop support for node < 18, 19 (6b4c34a)
- shuffle: delete deprecated function (3a310e5), closes #45
Code Refactoring
v7.0.0-alpha.1
7.0.0-alpha.1 (2023-12-05)
⚠ BREAKING CHANGES
- shuffle: The deprecated function
shuffle
has been deleted. This function was
always out of scope for this package because it
is non-deterministic and therefore not
functionally pure. If you need a similar
function, use the package "array-shuffle"
instead. - filterFirst: The deprecated function
filterFirst
has been deleted because it is
confusing. UseexcludeFirst
instead and
invert the predicate. - head: The deprecated function
head
has been deleted. Usefirst
instead. - isArrayLike: isArrayLike can no longer be
called with a type parameter. This function was
unsound when called with a type parameter. Code
that relied on specifying the type parameter
explicitly should be rewritten to validate the
type of array elements by some other method. - isArray: isArray can no longer be called
with a type parameter. This function was unsound
when called with a type parameter. Code that
relied on specifying the type parameter
explicitly should be rewritten to validate the
type of array elements by some other method.
Features
- filterFirst: delete deprecated function (c3d2759)
- head: delete deprecated function (928b19e)
- shuffle: delete deprecated function (3a310e5), closes #45
Code Refactoring
v6.1.0
v5.4.0
v4.7.0
4.7.0 (2023-12-05)
Features
- average: add average function (d6f5f53)
- filterfirst: deprecate filterFirst function in favour of excludeFirst (2781889)
- findLast: add findLast function (656352a)
- findLastIndex: add findLastIndex function (3324194)
- lastIndexOf: add lastIndexOf function (c69fe93)
- maximumby: add maximumBy function (1f1461f)
- minimumby: add minimumBy function (d17ab79)
v3.11.0
3.11.0 (2023-12-05)
Features
- all: add type-narrowing signature (67086f1)
- average: add average function (b985d4e)
- dropuntil: add dropUntil function (8cb64c5)
- equal: add equal function (10513ca)
- filterfirst: deprecate filterFirst function in favour of excludeFirst (0bd21f7)
- findLast: add findLast function (7d4d287)
- findLastIndex: add findLastIndex function (d3e010b)
- first: replace "head" with "first" (2a723e9)
- lastIndexOf: add lastIndexOf function (6f66fb4)
- maximumby: add maximumBy function (890ff9b)
- minimumby: add minimumBy function (737d068)
- notequal: add notEqual function (5306a8a)
- only: add only function (dca4f97)
- partitionuntil: add partitionUntil function (669a85a)
- prefixmatch: add prefixMatch function (6409e59)
- sort: add sort function (65edcda)
- sortby: add sortBy function (8bdd0a3)
- sortbydescending: add sortByDescending function (bfc6957)
- split: add split function (b934e94)
- takeuntil: add takeUntil function (c0142bc)
- zip: add zip function (4713f5c)
v6.0.3
v6.0.2
v6.0.1
v6.0.0
6.0.0 (2022-11-18)
⚠ BREAKING CHANGES
- node: node versions 12, 17 are no longer supported.
Features
- mapkeyby: accept readonly tuple as return value of mapping function (4cfabde)
- mapkeyfirstby: accept readonly tuple as return value of mapping function (46d0d17)
- mapkeyfirstby: add missing curried variant of mapKeyFirstBy (a33b091)
- mapkeylastby: add mapKeyLastBy function (a6b5699)
- node: drop support for node 12, 17 (22d72d4)