Releases: loophp/collection
Releases · loophp/collection
2.0.1
2.0.0
1.1.0
New
- Pass the $collection object by default to the static function returned by the Operation object. Rename Operation::on() in Operation::__invoke().
- Add new typed factories.
- Leverage the variadic arguments wherever we can.
- Add Frequency operation.
- Add Wrap and Unwrap operations.
- Add Group operation.
- Add Since operation.
- Add FoldLeft and FoldRight transformations.
- Add Falsy/Truthy/Nullsy transformations.
- Add Transpose operation.
- Add Column operation.
- Add Shuffle operation.
- Add Window operation.
- Add Loop operation.
- Let the collection use a resource of type stream in its constructor.
Updated operations
- Update Append, Merge and Prepend operation.
- Update Chunk operation.
- Update Collapse operation.
- Update Combination operation.
- Update Cycle operation.
- Update Loop operation, use keys.
- Update Permutate operation.
- Update Product operation.
- Update Reduction operation.
- Update Reverse operation.
- Update RSample operation.
- Update Scale operation.
- Update Shuffle operation.
- Update Slice operation.
- Update Sort operation.
- Update Split operation.
- Update Tail operation.
- Update Times operation.
- Update Walk operation.
- Update Window operation.
- Update Zip operation example.
Code quality
- Get rid of all PSalm warnings.
- Minor else statements removal.
- Refactor the operations.
- Update PHPDoc.
- Add Dependabot configuration.
- Fix PHPStan issues.
- Enable PSaslm and its badge.
- Update GrumPHP configuration.
- Move files in their proper directory.
- Code style update.
Miscellaneous
- Update FUNDING.yml file.
- Add nunomadudo/phpinsights report.
- Increase Grumphp timeout.
- Remove PHP 8 from CI.
- Update badges.
- Update README file.
- Update documentation.