Releases: meszaros-lajos-gyorgy/shovel
Releases · meszaros-lajos-gyorgy/shovel
v2.5.1
Fixed incorrect index calculation for A::findLastIndex()
v2.5.0
Fixed flipped order of concatenation for A::append()
and A::prepend()
Added associative array support for O::assoc()
and O::dissoc()
(fixes #6)
v2.4.0
Added A::without($excludedItems, $values)
v2.3.0
Added O::prop($key, $data)
Added support for objects to A::sortByKey()
v2.2.1
Fixed infinite nesting function calls #19
v2.2.0
Introduced the following features:
A::none()
, A::any()
and F::complement()
v2.1.2
Added the following features:
A::contains()
- alias for A::includes
S::contains()
- alias for S::includes
Also:
A::append()
and A::prepend()
now accepts non-array values as 1st parameter - #8
v2.1.1
Fixed incorrect type hinting for A::findIndex()
v2.1.0
Added the following features:
A::reject($fn, $array)
- #16
v2.0.0
Breaking changes:
A::findIndex($fn, $array)
now returns null
instead of -1
upon not finding any matches. - #18
Added the following features:
A::findLast($fn, $array)
- #17
A::findLastIndex($fn, $array)
- #17