Skip to content

Releases: maciejczyzewski/bottomline

Version 0.2.3

02 Mar 05:59
9d37428
Compare
Choose a tag to compare
  • Updates to the __::slug() function,
    • Optimized to be more performant when given plain, old ASCII text
    • Has a workaround for a bug in PHP 8.1 that would return an empty string
  • Added __::dropWhile, __::dropRight, and __::dropRightWhile
  • Fix error in __::mapKeys that affected PHP 5.5

Version 0.2.2

07 Jan 10:52
2303dfc
Compare
Choose a tag to compare

A minor release to fix Composer warnings

Fixes

  • Finally, this library correctly follows PSR-4 compliance and should no longer throw a warning when an optimized autoloader is built

Version 0.2.1

29 Oct 06:53
f4e35ca
Compare
Choose a tag to compare

A minor release with new find* functions similar to those of Lodash.

  • Added new functions to find entities inside of arrays and collections
    • __::find(): mixed|null
    • __::findEntry(): array|null
    • __::findIndex(): int|string
    • __::findLast(): mixed|null
    • __::findLastEntry(): array|null
    • __::findLastIndex(): int|string

Version 0.2.0

22 Apr 15:50
ea94971
Compare
Choose a tag to compare

A breaking release with support for iterables

  • Added __::isEqual
  • Bumped minimum PHP version to 5.5
  • The following functions now have iterable support. When given a \Traversable object, functions will return generators if the function does not need to exhaust the iterator; otherwise, it will return an array. (#48)
    • __::chunk(): array|\Generator
    • __::compact(): array|\Generator
    • __::concat(): array
    • __::concatDeep(): array
    • __::doForEach(): void
    • __::doForEachRight(): void
    • __::drop(): array|\Generator
    • __::ease(): array
    • __::every(): void
    • __::filter(): array|\Generator
    • __::first(): mixed
    • __::flatten(): array|\Generator
    • __::groupBy(): array
    • __::isEmpty(): bool
    • __::last(): array
    • __::map(): array|\Generator
    • __::mapKeys(): array|\Generator
    • __::mapValues(): array|\Generator
    • __::max(): mixed
    • __::merge(): array
    • __::min(): mixed
    • __::pick(): array
    • __::pluck(): array
    • __::reduce(): array
    • __::reduceRight(): array
    • __::reverseIterable(): array|\Generator
    • __::size(): int
    • __::unease(): array
    • __::where(): array
  • Significantly improve type hint documentation for our sequences functionality via chain()

0.1.2

15 Aug 08:54
4ca0cd7
Compare
Choose a tag to compare

changes made by @MonsieurV, @allejo

0.1.1

12 Jan 19:51
Compare
Choose a tag to compare

changes made by @MonsieurV, @allejo

0.1.0

24 Sep 08:19
Compare
Choose a tag to compare

changes made by @MonsieurV

0.0.9

05 Jan 19:07
Compare
Choose a tag to compare
minor improvements

0.0.8

03 Jan 17:50
Compare
Choose a tag to compare
Merge pull request #22 from nullpunkt/hasKeys

new method: __::hasKeys

0.0.7

01 Dec 20:32
Compare
Choose a tag to compare
Merge pull request #8 from bmcminn/master

Aligned project with Underscore/Lodash by @bmcminn