Skip to content

Releases: meszaros-lajos-gyorgy/shovel

v2.5.1

25 Jul 15:08
Compare
Choose a tag to compare

Fixed incorrect index calculation for A::findLastIndex()

v2.5.0

25 Jul 00:29
Compare
Choose a tag to compare

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

20 Jul 12:13
Compare
Choose a tag to compare

Added A::without($excludedItems, $values)

v2.3.0

15 Jun 12:12
Compare
Choose a tag to compare

Added O::prop($key, $data)
Added support for objects to A::sortByKey()

v2.2.1

20 May 13:03
Compare
Choose a tag to compare

Fixed infinite nesting function calls #19

v2.2.0

20 May 12:22
Compare
Choose a tag to compare

Introduced the following features:

A::none(), A::any() and F::complement()

v2.1.2

17 May 17:51
Compare
Choose a tag to compare

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

11 May 06:34
Compare
Choose a tag to compare

Fixed incorrect type hinting for A::findIndex()

v2.1.0

10 May 11:02
Compare
Choose a tag to compare

Added the following features:

A::reject($fn, $array) - #16

v2.0.0

10 May 10:53
Compare
Choose a tag to compare

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