Releases: maciejczyzewski/bottomline
Releases · maciejczyzewski/bottomline
Version 0.2.3
- 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
__::mapKeysthat affected PHP 5.5
Version 0.2.2
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
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
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
\Traversableobject, 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
changes made by @MonsieurV, @allejo
0.1.1
changes made by @MonsieurV, @allejo
0.1.0
changes made by @MonsieurV
0.0.9
minor improvements
0.0.8
Merge pull request #22 from nullpunkt/hasKeys new method: __::hasKeys
0.0.7
Merge pull request #8 from bmcminn/master Aligned project with Underscore/Lodash by @bmcminn