Skip to content

Version 0.2.0

Compare
Choose a tag to compare
@maciejczyzewski maciejczyzewski released this 22 Apr 15:50
· 50 commits to master since this release
ea94971

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()