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
__::mapKeys
that 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
\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
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