loophp/collection
A (memory) friendly, easy, lazy and modular collection class.
7.6.1
830K downloads/mo
#4204 most downloaded on Packagist
loophp/collection
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 12 months
Nearly every release is documented
notes for 104 of 104 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
104 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
104 releases · Aug 2019 to Aug 2024
2020
2021
2022
2023
2024
2025
2026
Releases
latest 60 of 104-
7.6.127 Aug 2024Release notes
Open source →Release notes
Open source → -
7.6.002 Apr 2024Release notes
Open source →Merged
- Adds tap() - allows shorter syntax for chaining no side effects operations
#340
Commits
- fix:
doctrine/collectionsdeprecations5b39b54
Release notes
Open source → - Adds tap() - allows shorter syntax for chaining no side effects operations
-
7.5.220 Feb 2024Release notes
Open source →Merged
- refactor: remove obsolete
Allclass#338
Commits
- refactor: minor SA update
Tailsoperationacb6d8f
- refactor: remove obsolete
-
7.5.119 Feb 2024Release notes
Open source → -
7.5.022 Jan 2024 -
7.4.018 Jan 2024Release notes
Open source →Merged
- feat: implements stable sorting
#333 - chore(deps): update actions/download-artifact action to v4
#329 - chore(deps): update actions/upload-artifact action to v4
#330 - chore(deps): update actions/stale action to v9
#328
Fixed
- feat: implements stable sorting (#333)
#331
Commits
- feat: implements stable sorting
-
7.3.010 Dec 2023Release notes
Open source →Merged
- fix:
pairandchunkoperation when using empty input#327 - Breaking change: feat: update
Collection::fromFileconstructor#322 - feat: add
dispersionoperation#320 - Improve return types for psalm
#321 - feat: add
entropyoperation#317 - doc: fix
duplicateexample#315 - docs: fix light color code everywhere where it was white
#312 - docs: fix light color code over light gray background
#311
Fixed
- fix:
pairandchunkoperation when using empty input (#327)#326
Commits
- docs: update changelog
ed5ef20 - fix: remove unused parameter bind
b2ef168 - fix: remove unused parameter bind
df8d3e9 - refactor: improve SA tests
81b1195 - fix: Updated PSalm baseline
4374455 - fix: Updated PSalm baseline
80c7a12 - fix:
Entropyoperation138fc0e - cs: autofix coding standards
7be4f29 - cs: autofix coding standards
46db7b8 - docs: fix builds
c1acfbb - docs: update RTD config
9bdd856 - autofix code style
9b4cf93 - autofix code style
1101f3a - refactor: update
sortoperationcc26a56
- fix:
-
7.2.106 Sep 2023Release notes
Open source →Merged
- feat: add
countInoperation#306 - feat: add
lengthparameter tofromFileconstructor#307 - chore(deps): update cachix/install-nix-action action to v23
#308 - chore(deps): update actions/checkout action to v4
#309
Commits
- docs: update changelog
5321ebc - ci: switch to
DeterminateSystems/nix-installer-action6a4374b - chore: update
.editorconfigd700df0 - refactor:
rangeoperation may now yieldint|floatinstead offloat64ba910 - chore: autofix code style
f346796 - doc: add
fizz-buzzexample4d3d325 - doc: fix
groupByexample55f1989
- feat: add
-
7.2.011 Aug 2023Release notes
Open source →Merged
- chore(deps): update cachix/install-nix-action action to v22
#305 - Update lazy-json-parsing.php
#301 - chore(deps): update actions/stale action to v8
#300 - chore(deps): update cachix/install-nix-action action to v20
#299
Commits
- docs: update changelog
1bfd964 - ci: update, add
composer.jsonff6299f - chore: minimum PHP version is 8.1
309f4b0 - cs: autofix code style
13ef487 - chore: autofix cs
3847ab0 - cs: autofix codestyle
2cdf128 - tests: migrate phpunit configuration
52540ff - static-analysis: minor update
3c06179 - tests: update Psalm configuration file.
a081ef1 - fix: update parameter type to satisfy PSalm 5.8.0
9ad6d0f - style: remove headers
d062040
- chore(deps): update cachix/install-nix-action action to v22
-
7.1.216 Feb 2023 -
7.1.115 Feb 2023 -
7.1.009 Feb 2023Release notes
Open source →Merged
- ci: add missing
pcovextension#297 - chore(deps): update cachix/install-nix-action action to v19
#296 - Psalm 5.4 upgrade
#287 IsNotEmptyoperation#292- Fix
reducingoperations#288 - chore(deps): update actions/stale action to v7
#286
Commits
- docs: update changelog
30682ef - chore: update
clover coverage5b510c2 - chore: fix phpunit 9 and 10 compatibility
0273e64 - chore: fix phpunit 9 and 10 compatibility
2a62cf2 - chore: fix phpunit 9 and 10 compatibility
631a57f - chore: fix phpunit 9 and 10 compatibility
cd9b36d - chore: fix phpunit 10 compatibility
3aab1e1 - chore: update
composer.json70f95b6 - chore: bump Psalm
5dd2a88 - fix:
findoperation50d416a - chore: bump vimeo/psalm temporarily
1aca436 - fix: autofix code style
29b0456 - fix:
unfoldstatic operationsa429c78 - chore: remove obsolete PHPDoc annotations
531249e - chore: update PHPStan baseline
999c257 - fix:
foldRightoperationf717078 - fix:
groupByupdate typing informationb55fec7 - chore: update
groupByb5662f4 - sa: update PHPStan
baseline61f6367 - fix:
Matchingoperation, add inline SA annotationse9cc0f3 - chore: update license date
755f8b3 - fix: update
emptyconstructor9a4b0bb - fix:
foldleft,reduce, update return types and tests19907fc - fix:
foldleftoperationc3a536b - cs: autofix code style
507175d - fix:
lastoperation improvements7c60e2c - fix:
tailsSA improvement8e3de94 - fix:
tailsoperation improvements58c840b - fix:
compareminor improvement5e46af0 - fix:
reduceoperation static annotations5c7d401 - fix: convert
callableintoClosuref30c87a - fix:
reduceoperation, useReduceIterableIterator884f64c - chore: remove obsolete PHPDoc annotations
0453ee3 - ci: update workflows
6f320a6 - fix: prevent wrapping and unwrapping arrays when it's not needed
08af31b - docs: fix badge link
3571e0c - fix: prevent wrapping and unwrapping arrays when it's not needed
937740d - ci: fix PDF documentation generation
92f778c - docs: update
extending collectionsection with code example0c1d439 - ci: fix PDF documentation generation
c93f350
- ci: add missing
-
7.0.012 Dec 2022Release notes
Open source →Merged
- Psalm 5 upgrade
#283 - add
AbstractCollectionabstract class#270 - chore(deps): update dependency sphinx_rtd_theme to v0.5.2
#275 - chore(deps): update actions/stale action to v6
#276 - chore(deps): add renovate.json
#274 - refactor:
unfoldconstructor is not variadic anymore#269 - Documentation: refactoring
#266 - chore(deps): Bump cachix/install-nix-action from 17 to 18
#267 - Breaking change: refactor: Refactor
Reduceoperation.#259 - Add action on README file.
#263 - chore(deps): Bump shivammathur/setup-php from 2.20.1 to 2.21.1
#261 - chore(deps): Bump shivammathur/setup-php from 2.19.0 to 2.20.1
#258 - New Operations:
Compare,Max,Min#255 - chore(deps): Bump shivammathur/setup-php from 2.18.1 to 2.19.0
#253 - ci: Use
pcovfor coverage.#252 - chore(deps-dev): Update psr/cache requirement from ^1.0 to ^1.0 || ^2.0
#251 - chore(deps): Bump shivammathur/setup-php from 2.18.0 to 2.18.1
#250 - Update Scrutinizer configuration.
#249 - chore(deps): Bump actions/stale from 4 to 5
#248 - feat: Add
Averagesoperation.#238 - Simplify
everyoperation#247 - Get rid of
phpspec/prophecy-phpunit.#246 - Breaking change: fix: Update
scanLeft1operation.#245 - chore(deps): Bump shivammathur/setup-php from 2.17.1 to 2.18.0
#244 - refactor: Update
everyoperation.#242 - chore(deps): Bump actions/cache from 2.1.7 to 3
#243 - misc: Update
CallbackArrayReducer.#241 - chore(deps): Bump actions/checkout from 2.4.0 to 3
#240 - chore(deps): Bump shivammathur/setup-php from 2.17.0 to 2.17.1
#239 - chore(deps): Bump shivammathur/setup-php from 2.16.0 to 2.17.0
#235 - Replace
Iteratorwithiterablealmost everywhere.#233 - refactor: Use
newkeyword on some operations.#231 - refactor: Use
StringIteratorAggregate.#234 - Tests: Switch to PHPUnit
#227 - Refactor: Replace
RandomIterator#230 - Simplify operations that needs more than one instance of the
Generator- usingIteratorAggregate.#229 - Use
loophp/iterators#228
Fixed
- tests: Add new tests.
#264
Commits
- Breaking change: refactor:
Tailsoperation, performance improvementsd71b2ef - Breaking change: refactor: Update
Unpackoperation.34c36da - docs: update changelog
c6b9164 - chore: update
composer.jsonand fixauto-changelogcommand6949831 - chore: update
composer.json1ba6085 - remove obsolete annotation
908d3e5 - refactor:
Tailsoperationea4b92c - refactor:
Tailsoperation, performance improvements1c28be3 - refactor:
Windowoperation: minor performance improvement486567a - refactor: upgrade
testsfor PHP 825067cb - refactor: upgrade
docsfor PHP 81d9c134 - refactor: upgrade
srcfor PHP 84a4a60b - cs: autofix cs
4dc36fe - fix: update
IfThenElseoperationeb78132 - sa: update typing information for PHP 8
8ee1134 - update SA annotations
7154f09 - update SA annotations
0e8b0e5 - disable phpcs statement
d7bba3a - update PHPStan baseline
808578a - reorder
Collectioninterface use statements6bbb829 - fix: update
spanandpartitionoperations31d4b31 - fix: remove static constructors
747e1f8 - docs: fix
unfoldsignatured11addd - sa: update PSalm baseline
f78dc32 - Revert "sa: fix
Wrapableinterface"1cf67d1 - sa: fix
Wrapableinterface3866fe5 - sa: fix
template-extendsannotationsa3f8b45 - cs: reduce the amount of
usestatements19eb14e - cs: reduce the amount of
usestatementsdce7e48 - Autofix code style.
cd4a6f6 - direnv: update
.envrcb402706 - fix: update constructors
c49e62b - fix: Update
GroupBystatic analysis annotations.d74d4f8 - fix: update various operations static analysis annotations.
473f105 - fix: update various operations static analysis annotations.
c1998e9 - fix: update various operations static analysis annotations.
2fb44cf - fix:
SinceandUntiloperation - fix sabde565c - fix:
Compareoperation - fix sa06729d7 - fix: fix operator sign
ea90e23 - fix: remove optional parameters
6a27551 - fix: update interfaces
0dae4c2 - fix missing parameter
69818b3 - docs: Update
pipedocumentationec10eeb - cs: get rid of obsolete
phpcsannotationsa385a6a - ci: update scrutinizer configuration
dae9eb6 - ci: update scrutinizer configuration
ca6f602 - ci: update scrutinizer configuration
2d09f65 - ci: update scrutinizer configuration
bac7f9b - ci: update scrutinizer configuration
376bd66 - ci: update trigger paths
0f2db5b - ci: update scrutinizer configuration
8d12965 - ci: fix indentation
95e60b5 - ci: update trigger paths
e78546e - ci: fix
scrutinizer/ocular583668f - Autofix code style.
079a7b9 - docs: Update changes
a6653b8 scanLeftandscanRighthas been updated and now need two arguments instead of one.9355dea- tests: fix tests
1233c49 - sa: update SA info of various operations.
25ed050 - sa: fixes
6c5e44c - tests: update
diffSA testsece6067 - tests: update
diffSA tests0af490e - fix typos with codespell
28e7663 - fix Collatz example
6ec0563 - chore: remove custom nix files
4197638 - cs: autofix code style
e546136 - refactor: update
Pairoperationeed0c7e - chore: prettify codebase
2a0ed02 - refactor: align
Duplicateoperation withDistinctde09c01 - docs: do not create ArrayIterator.
806fa18 - refactor: prevent the creation of an extra variable
31f87a8 - docs: do not create ArrayIterator.
2e50e49 - refactor: remove files header
aacb5e9 - Revert "chore: Ignore Nix files"
98fe09a - docs: Add
phpsandboxbadge and link.9f02c7c - docs: Fix minor things.
679b353 - chore: Update
flake.nixfile.8ddd35d - chore: Ignore Nix files
d34980d - ci: Add workflow to build a PDF of the documentation for each tag.
7810400 - chore: Add
composercommand to run the documentation server.15dc6bd - docs: Update documentation.
a783394 - chore: Add Nix flakes file for documentation building.
3f90ed6 - chore: Remove
dockerstuff.88e92b6 - cs: Upgrade to
loophp/iterators^2.1343255 - refactor: Upgrade to
loophp/iterators^2.691abd4 - cs: Autofix code style.
6f1eda3 - chore: Update baseline.
4463a37 - chore: Update scrutinizer configuration.
fc3a790 - ci: Add
prettierin required status checks.c8687cf - chore: Prettify codebase.
9551288 - chore: Update
.gitattributes.411f937 - ci: Update required status checks.
5ab0f1f - ci: Fix step name.
a65faf4 - prettier: Autofix.
ff03ea6 - ci: Fix branch name.
bbfb1c8 - ci: Enable prettier on the whole repo.
25d1c25 - ci: Simplify things.
1ef0edc - sa: Fix
distincttests.6147f9c - ci: Include
testssrc directories.ff8fea0 - sa: Fix
distincttests.edc521f - chore: Update test workflow.
7f43d4b - chore: Update test workflow.
738cc6e - Update
FilterandRejectoperations.186c003 - Minor cosmetic changes.
066504a - Autofix code style.
25b2a69 - refactor: Minor optimization in
Packoperation.32462ad - fix:
Equalsoperation, fix typing information.eff8102 - fix:
Sameoperation, fix typing information.5a91d8a - fix:
Reductionoperation, fix typing information.466232b - Use
ReductionIterableAggregate.0d4d7a2 - Use
ReductionIterableAggregate.a168b6d - Autofix code-style.
3b49c3a - Revert "Revert last 3 commits."
16e3c7a - Update typing information.
3017e2a - tests: Disable problematic test on PHP < 8.
c148d16 - Revert last 3 commits.
31cdc99 - Use
ConcatIterableAggregate.d90986d - Use
MapIterableAggregate.ea45575 - Use
FilterIterableAggregate.84b42c2 - fix: Performance improvements using
SimpleCachingIteratorAggregate.51e7d6f - fix: Remove
@psalm-suppressannotation.ab5f9f0 - docs: Add more examples snippets.
a1873a7 - Revert "ci: Disable XDebug."
a6b4791 - ci: Disable XDebug.
447bd03 - SA: Minor changes fix.
0e30363 - SA: Minor changes.
c835e1c - SA: Fix a couple of operations.
679834b - SA: PHPStan 1.6.0 upgrade.
843c9c4 - refactor: Update
Reverseoperation.545bd60 - fix: Remove
ext-xdebugfromcomposer.jsonfor now.6209f4b - fix: Minor static analysis fixes.
2ce3510 - refactor: Minor optimizations here and there.
f08d88e - refactor: Minor optimizations here and there.
e9c4460 - refactor: Minor optimizations.
5987ab7 - refactor:
randomoperation: useRandomIterableAggregate.78e7a6f - tests: Add missing test.
8afedbf - tests: Add missing test.
7a05041 - cs: Autofix code style.
0d2595e - misc: Further optimizations with
Everyoperations.f523cdb - misc: Further optimizations with
Everyoperations.de1edb3 - tests: Remove duplicated tests.
2a0c84d - cs: Minor changes.
f0612e7 - refactor: Optimize
Headoperation.33e2f15 - cs: Autofix code style.
6cc2a05 - fix: SA - Update
Unwindowoperation.c9562fd - refactor: Simplify and optimize
Transpose.38cca46 - refactor: Use
newkeyword everywhere.aacf7df - refactor: Use
newkeyword everywhere.a6db56e - refactor: Minor SA annotations update.
35bf8c2 - refactor: Use
newkeyword everywhere.8a3a05a - refactor: Remove useless intermediary variable.
79ebed1 - refactor:
Droprely onLimitnow.16e220a - refactor: Remove useless intermediary variable.
d6d8aa6 - refactor: Minor optimizations.
9ac298a - refactor: Minor optimizations.
11bee15 - refactor: Use more iterator aggregates.
19616a6 - refactor: Use more iterator aggregates.
669a956 - refactor: Use more iterator aggregates.
7af1d80 - cs: Cleanup
.php-cs-fixer.dist.php.0fba6da - feat: Performance improvements using iterator aggregates.
3b773ad - chore: Normalize composer.json.
e19bde8 - tests:
TypedIterator- Add test.b9aab65 - cs: Autofix code style.
cbc6c20 - tests:
StringIterator- Add test.fe15a5b - tests:
StringIterator- Add test.a66242d - fix: Disable PHPCSFixer on specific files.
eb61a90 - tests:
TypedIterator- Add test.7280ebc - tests: Enable HTML infection reports.
468d71d - ci: Update PHP configuration.
f54b002 - Autofix code style.
04d7531 - Autofix code style.
10e7eed - refactor:
Unpackoperation - UseUnpackIterableAggregate.aaa289a - Update license
741cbce - Normalize composer.json
8ef547d - fix: Add missing
fromkeyword.d179b11 - Autofix code style.
6df94ee - refactor: Minor optimization, remove
returnkeyword.7683362 - sa: Update PHPStan baseline.
782a48e - sa: Fix unresolvable type.
d112149 - cs: Autofix code style.
78d5d7a - sa: Update typing information.
351676b - fix: Remove local variable.
58a3919 - fix:
Sameoperation - proper sign.15bf8de - fix:
Sameoperation must yield.317b519 - cs:
Sameoperation, clear remaining todo.518209b - refactor: Simplify
fromGeneratoroperation.b2e1dc9 - sa: Update typing information to reduce warnings.
b2028d8 - refactor: Simplify
DropWhileoperation.e794b79 - test: Add minor test for
Sortoperation.1935d11 - Fix
scrutinizer/ocularupload.5f956e2 - tests: Only do mutation testing on PHP 8.0.
525e32e - docs: Update
Contributingsection.36cdcd1 - ci: Fix
scrutinizer/ocularupload.5e67380 - docs: Update README.
20a1352 - ci: Fix Grumphp task name.
4fd27fd - docs: Enable badge showing infection tests score.
603eb82 - ci: Enable infection tests reporting.
fed4fbc - sa: Improve static analysis score.
d11d032 - refactor: Update
Intersperseoperation - do not throw when values are negative.1497db7 - chore: Update static files.
47eb342 - chore: Update static files.
401cf20 - chore: Normalize composer.json.
cf34e8d
- Psalm 5 upgrade
-
6.0.311 Dec 2021 -
6.0.230 Nov 2021Release notes
Open source →Merged
- chore(deps): Bump shivammathur/setup-php from 2.15.0 to 2.16.0
#223 - chore(deps): Bump actions/cache from 2.1.6 to 2.1.7
#222 - [PHPStan Baseline] A few small fixes
#220
Commits
- chore(deps): Bump shivammathur/setup-php from 2.15.0 to 2.16.0
-
6.0.112 Nov 2021 -
6.0.011 Nov 2021Release notes
Open source →Merged
- [PHPStan Baseline] Fix Errors Part 2 + Modify
UnfoldOperation#217 - [PHPStan Baseline] Fix a few errors
#216 - Fix/update PHPStan
#212 - Fix
Alloperation for standalone usage#215 - Update
alloperation to prevent data loss#209 - chore(deps): Bump actions/checkout from 2.3.5 to 2.4.0
#214 - refactor(groupbyable)!: simplify implementation and update typing info
#207 - feat: Add
Findoperation#204 - Refactor
Currentoperation - Let specify a default value#205 - chore(deps): Bump actions/checkout from 2.3.4 to 2.3.5
#203 - fix: Update
Flipableinterface.#200 - chore(deps): Bump shivammathur/setup-php from 2.14.0 to 2.15.0
#197
Commits
- docs: Add/update CHANGELOG.
a55e97a - Fix ReadTheDocs builds - see readthedocs/readthedocs.org#8616
49d1673 - refactor: Simplify
MatchOneoperation - Add missing typing informations.f66b407 - refactor: Simplify
MatchOneoperation.1e6ad7a - tests: Add SA tests for
RandomandShuffleoperations.cefe0f5 - tests: Add SA tests for
Wrapoperation.ef61f57
- [PHPStan Baseline] Fix Errors Part 2 + Modify
-
5.1.027 Sep 2021Release notes
Open source →Merged
- Update various typing information
#196 - chore(deps): Bump shivammathur/setup-php from 2.13.0 to 2.14.0
#195 - refactor: Fix PSalm issues.
#194 - Fix
initsoperation#191 - refactor: Update
DuplicateandDistinctoperations in point free style.#188 - refactor: Update various operation and typing informations
#190 - refactor: Update
Initoperation in point free style.#186 - refactor: Update
combineoperation in point free style.#187 - chore(deps): Bump shivammathur/setup-php from 2.12.0 to 2.13.0
#184 - refactor: Update
Transposeoperation in point free style.#178 - refactor: Update
Zipoperation in point free style.#181 - refactor: Update
Windowoperation in point free style.#179 - fix: Update PHPStan configuration
#183 - refactor: Minor optimizations in various operations.
#180 - refactor: Update
Collapseoperation in point free style.#182 - refactor: Update cross
productoperation in point free style.#177
Commits
- docs: Update CHANGELOG.md.
05beff2 - fix: Update
RandomIteratortypes.5a5ae1d - fix: Fix
Unpairoperation return types.885059f - fix: Autofix code style.
08199ca - Fix interfaces (to backport to master)
f9b7c1c - Fix
Rangeableinterface (to backport to master)da430f9 - Fix
Zipableinterface (to backport to master)7e47439 - Fix
Initsableinterface (to backport to master)711f3c7 - Fix
Groupableinterface (to backport to master)6c24b7e - fix: Update return types of
ImplodeandUnlinesoperation.05bbf8e - refactor: Update
Frequencyoperation return type and minor optimizations here and there.a1964f4 - refactor: Update
Transposeoperation in point free style - add missing documentation (#178)bd0ec78 - tests: Add missing test for the
Windowoperation.a2ee653
- Update various typing information
-
5.0.006 Aug 2021Release notes
Open source →Merged
- Documentation: Collection Principles
#174 - Refactor/update
SpanandPartitionin point-free#175 - refactor: Update
DistinctandDuplicateoperations.#168 - refactor: Update Unpack operation - do not use MapN.
#169 - refactor: Use ETA Reduction for the Pipe operation.
#164 - refactor: Add missing type hints.
#171 - ci: Enable tests on macOS.
#170 - Update Reject operation - Use Filter based algorithm and point free style.
#167 - Fix Column Typing + SA Check
#166 - SA: Update operations.
#165 - Breaking change: refactor: Make constructor private.
#163 - Improve static analysis tests
#153 - chore(deps-dev): Update infection/infection requirement || ^0.24.0
#162 - feat: Add
::fromGeneratorconstructor.#150 - Temporary workaround until phpstan/phpstan#5372 is fixed.
#161 - Drop accepts non-variadic count
#157 - Add API Docs Description to Interface Methods
#156 - Add Operation:
Same#155 - Add
Reduceoperation#139 - Add
EqualsOperation#152 - Fix: Prevent warning when using odd amount of items.
#154 - Link to
stabledocs instead oflatest#151 - Update Span and Partition operations.
#148 - Breaking change: refactor: Reduce the use of the spread operators and variadic parameters.
#146 - refactor: Rename variables and properties.
#145 - chore(deps): Bump actions/stale from 3.0.19 to 4
#143 - chore(deps): Bump shivammathur/setup-php from 2.11.0 to 2.12.0
#144 - Add AsyncMapN Operation | Remove AsyncMap Variadic Callbacks Usage
#141 - Add coverage check
#142 - Span: Add Variadic Callback Support
#140 - Update
Reverseoperation - optimize and remove todos.#138 - Add IsEmpty Operation
#137 - Update Operations Signatures in API Docs
#136 - Add All Operation
#133 - Refactor Scalar Operations
#132 - Update
Mapto only take a single callback#134 - Provide util class for reducer callback
#131 - Refactor
::partition()and::span()#124 - Add Collection::isEmpty Method
#130 - Change GitHub Actions Workflow Triggers
#127 - Add
Rejectoperation.#125 - Breaking change: Update
Filteroperation.#126
Commits
- docs: Add/update CHANGELOG.
74d3069 - chore: Add AFUP presentation link.
404d0b7 - chore: Update Github configuration files.
c6488a4 - Update IfThenElse operation, add missing typing information.
5f4ef9e - Update IfThenElse operation, add missing typing information.
ed3c095 - ci: Fix code-style workflow.
40cc177 - chore: Update composer.json, remove obsolete dependencies.
d8a8d50
- Documentation: Collection Principles
-
4.1.005 Jul 2021Release notes
Open source →Merged
- Show Collection is Immutable & Operations Pure
#122 - Trim Static Analysis Baselines
#121 - Adding More Static Analysis Checks
#120 - feat: Add Matching operation and implements Selectable from Doctrine.
#115 - Add FlatMap Operation
#117 - Update Distinct operation
#111 - Static Analysis Checks: Common Operations (III)
#114 - Introduce MapN | Deprecate Map With Multiple Callbacks | Static Analysis Checks
#112 - Bump minimum version of phpspec to ^7.1.
#113 - Static Analysis Checks: Common Operations (II)
#109 - Operation Interfaces return Collection Interface
#108 - Static Analysis Checks: Common Operations (I)
#106 - feat: Add When operation.
#105 - Improve Collection Typings + Add
strictOperation#102 - PHP 8 Compatibility
#104 - Update Psalm Annotations
#101 - chore(deps): Bump actions/cache from 2.1.5 to 2.1.6
#100 - SA Checks: Methods Starting with "a"
#97
Commits
- docs: Add/update CHANGELOG.
5edb9e7 - chore: Update .gitattributes for saving space (and trees).
c7ba932 - docs: Minor update in code typing.
c8ad466 - Update PSalm and PHPStan baselines.
58d8035 - Add missing Partitionable.
defb903 - Fixes & improvements
77201ba - test: Add missing test.
997efd9 - refactor: Update distinct operation.
023d399 - tests: Autofix code style.
366c79b - tests: Add missing static analysis tests.
fb641e8 - ci: Remove obsolete required status checks.
6a7f8c5 - docs: Add a note on how to extend a Collection.
9d21114 - ci: Run static-analysis tools only on Linux platform.
fb9fcd7 - ci: Do not do unit testing on Darwin platforms.
8921563 - refactor: Fix PHPStan.
717b364 - refactor: Fix Applyable type hints.
cd8ef32 - docs: Update example.
3f18553
- Show Collection is Immutable & Operations Pure
-
4.0.725 May 2021Release notes
Open source →Merged
- SA Checks: fromIterable, empty
#96 - SA Checks: fromCallable
#94 - docs: Add lazy JSON parsing examples using @halaxa JsonMachine library.
#93 - Introduce Static Analysis Checking System
#90 - Code Analysis Fixes - PHPStan
#89 - Update Documentation III
#88 - Update API Documentation II
#86 - chore(deps): Bump actions/stale from 3.0.18 to 3.0.19
#87 - Feature: Add Squash operation
#83 - Fix CI configuration.
#85 - Update Documentation
#84 - chore(deps): Bump shivammathur/setup-php from 2 to 2.11.0
#79 - chore(deps-dev): Update infection/infection requirement || ^0.23.0
#81 - refactor: Remove static factory methods from contract
#78 - Update
drupol/php-conventions#76
Commits
- SA Checks: fromIterable, empty
-
4.0.620 Apr 2021Release notes
Open source → -
4.0.520 Apr 2021Release notes
Open source →Commits
- docs: Update changelog.
a53167d - ci: Update Docker stack - now includes service for creating changelogs.
228831e - refactor: Remove variable assignation.
afe71bf - refactor: Update Pipe operation - remove call_user_func.
d31df6f - feat: Add Coalesce operation.
6e5c758 - refactor: Improve Has operation.
1425343
- docs: Update changelog.
-
4.0.417 Apr 2021Release notes
Open source → -
4.0.311 Apr 2021 -
4.0.204 Apr 2021 -
4.0.103 Apr 2021 -
4.0.018 Mar 2021Release notes
Open source →Merged
- update psalm type for map operation
#72 - chore(deps): Bump actions/stale from v3.0.17 to v3.0.18
#70 - Fix typo in the docs
#68 - Fix minimum PHP version in the docs
#69 - feat: Add Dump operation.
#67 - chore(deps): Bump actions/stale from v3.0.16 to v3.0.17
#66 - chore(deps): Bump actions/cache from v2 to v2.1.4
#64 - chore(deps): Bump actions/stale from v3.0.15 to v3.0.16
#65 - fix: Update behavior of Apply operation.
#63 - chore(deps): Bump actions/stale from v3.0.14 to v3.0.15
#60 - chore(deps-dev): Update infection/infection requirement from ^0.20.1 to ^0.20.1 || ^0.21.0
#61
Fixed
- update psalm type for map operation
#71
Commits
- Breaking change: fix: Update behavior of Apply operation.
e4fa034 - Breaking change: refactor: Update Every operation.
fb542be - Breaking change: refactor: Update TakeWhile operation.
dbb9307 - Breaking change: refactor: Update Until operation.
71a7693 - docs: Update changelog for release 4.0.0.
730a638 - refactor: Minor syntax update (php74).
3c2d3e3 - chore: Update badge.
c5a9e58 - fix: Documentation code style.
cd0f8f8 - cs: Fix minor things here and there.
9780bbd - fix: Documentation code style.
152447b - docs: Minor typing update.
5aa1d02 - docs: Minor typing update.
f620859 - docs: Minor typing update.
84ea356 - fix: Typo in README.
be4aec3 - refactor: Update Merge operation - use PHP 7.4 code style.
e967e01 - refactor: Update Append operation - use PHP 7.4 code style.
27285f8 - refactor: Update Prepend operation - use PHP 7.4 code style.
b990edb - refactor: Update Drop operation - use PHP 7.4 code style.
406afee - feat: Add Partition command.
97f8479 - refactor: Remove obsolete PHPCS options.
bc6d61e - fix: Update Github configuration.
9327044 - refactor: Minor cosmetic stuff.
42197be - refactor: Fix CS.
bd8c40f - docs: Update Apply documentation.
51b2494 - refactor: Cleanup.
0d87d15 - docs: Update typing information.
51eff67 - Update Apply.
2797d5d - Add tests.
0567c27 - Fix CS.
7705b94 - chore(deps-dev): Update infection/infection requirement || ^0.21.0
e591835 - refactor: Minor optimization in Collection::fromCallable().
6d2e65a - docs: Update typing information.
0f2d096 - refactor: Minor style and type changes.
34d626c - docs: Update typing information.
6c14308 - docs: Update.
79d8b2a - docs: Update typing information.
861cb9f - refactor: Update Split operation.
7502dc0 - refactor: Update Has operation.
88cae79 - refactor: Update Contains operation.
e646c8c - refactor: Update Distinct operation.
102a45d - refactor: Update DropWhile operation.
0a91335 - refactor: Update MatchOne operation.
d1bdbdf - refactor: Update Since operation.
c8c3d9b - refactor: Update Distinct operation.
80e676b - refactor: Minor - Fix typing information.
c7aebfe - refactor: Minor - add missing return types.
837bd76 - refactor: Minor optimization in Unwindow operation.
710c52f - refactor: Minor optimization in Split operation.
ae36094
- update psalm type for map operation
-
3.4.303 Jan 2021 -
3.4.203 Jan 2021 -
3.4.102 Jan 2021 -
3.4.030 Dec 2020Release notes
Open source →Merged
- Use key and current operation at the same time
#58
Commits
- docs: Update changelog.
45a46b8 - refactor: Return instead of yield.
a7b6a9c - tests: Update tests.
9472d03 - docs: Update typing information.
09d0531 - docs: Update documentation.
77debe9 - tests: Update tests.
d8a82a5 - refactor: Simplify operations.
e1d91ec - refactor: Use Foreach loops."
c8d66c1 - fix: Simple fix which should fix the issue.
804b4de - tests: Reproduce issue in a test.
f09ae23 - refactor: Factorize closures.
739e9c6
- Use key and current operation at the same time
-
3.3.527 Dec 2020Release notes
Open source → -
3.3.427 Dec 2020 -
3.3.326 Dec 2020 -
3.3.224 Dec 2020Release notes
Open source → -
3.3.121 Dec 2020Release notes
Open source →Merged
- chore(deps-dev): Update drupol/php-conventions requirement from ^2.0.3 to ^2.0.3 || ^3.0.0
#55
Commits
- docs: Update changelog.
f826fa4 - refactor: Use For loop instead of Foreach.
47e0f5e - docs: Update typing information.
a1d636f - refactor: Minor updates.
17eac77 - fix: Update Implode operation.
eafa573 - refactor: Introduce MultipleIterableIterator.
aa7701d - refactor: Use EmptyIterator.
4390145 - chore(deps-dev): Update drupol/php-conventions requirement || ^3.0.0
497e332 - refactor: Minor update in ArrayCacheIterator::valid().
1ed8a16
- chore(deps-dev): Update drupol/php-conventions requirement from ^2.0.3 to ^2.0.3 || ^3.0.0
-
3.3.017 Dec 2020Release notes
Open source →Merged
- Iterators refactoring
#54 - chore(deps-dev): Update friends-of-phpspec/phpspec-code-coverage requirement from ^5 to ^5 || ^6
#53
Commits
- Iterators refactoring
-
3.2.015 Dec 2020 -
3.1.108 Dec 2020Release notes
Open source → -
3.1.006 Dec 2020Release notes
Open source →Merged
- Add $seed parameter to RandomIterator
#47 - chore(deps): Bump actions/stale from v3.0.13 to v3.0.14
#46 - chore(deps): Update actions/checkout requirement to v2.3.4
#45
Commits
- Add $seed parameter to RandomIterator
-
3.0.523 Nov 2020Release notes
Open source →Merged
- ci: Split CI files.
#44 - chore(deps-dev): Update phpspec/phpspec requirement from ^5.1.2 || ^6.2.1 to ^5.1.2 || ^6.2.1 || ^7.0.0
#43 - chore(deps): Bump actions/stale from v3.0.12 to v3.0.13
#38 - chore(deps): Bump actions/checkout from v2.3.3 to v2.3.4
#39 - chore(deps-dev): Update friends-of-phpspec/phpspec-code-coverage requirement from ^4.3.2 to ^4.3.2 || ^5.0.0
#42
Commits
- ci: Split CI files.
-
3.0.412 Nov 2020 -
3.0.307 Nov 2020 -
3.0.206 Nov 2020 -
3.0.105 Nov 2020 -
3.0.027 Oct 2020Release notes
Open source →Merged
- Refactoring - Preparation of release 3.0
#34
Commits
- Breaking change: refactor: Update constructors.
a080fae - Breaking change: refactor: Remove Collection::with constructor.
90c732c - docs: Update changelog.
3f847a1 - tests: Update tests.
7d81431 - refactor: Update composer.json.
504567a - ci: Test on PHP 7.4 only.
eed419c - ci: Drop support of PHP 7.1.
1aae097 - refactor: Add forgotten typed argument.
9fd2f9d - test: Update tests.
693e7a6 - refactor: PHP 7.4 upgrade.
ef8e8da - docs: Update documentation.
f84063d - refactor: Update CacheIterator
02dc0a4 - docs: Update annotations.
7386746 - refactor: Update Iterator annotations.
dc9a311
- Refactoring - Preparation of release 3.0
-
2.7.411 Jun 2021Release notes
Open source →Commits
- refactor: Deprecate Collection::with() static constructor.
8060689
- refactor: Deprecate Collection::with() static constructor.
-
2.7.317 Oct 2020Release notes
Open source →Merged
- chore(deps-dev): Update vimeo/psalm requirement from 3.17.1 to 3.17.2
#35 - chore(deps): Bump actions/stale from v3.0.11 to v3.0.12
#30 - chore(deps-dev): Update vimeo/psalm requirement from 3.16 to 3.17.1
#32 - Fix simple code examples path
#31
Commits
- docs: Update changelog.
b3b3c62 - chore: Update composer.json.
4a395bd - test: Add more tests.
0529610 - fix: Fix RandomIterator::rewind().
c3c1dd0 - ci: Enable GD extension.
07b0868 - refactor: Update times constructor.
053cb80 - refactor: Simplify static constructors.
958dc79 - docs: Move code examples into simple files.
464ff15
- chore(deps-dev): Update vimeo/psalm requirement from 3.17.1 to 3.17.2
-
2.7.210 Oct 2020 -
2.7.108 Oct 2020 -
2.7.007 Oct 2020Release notes
Open source →Commits
- Breaking change: refactor: Remove Reduce operation.
42934a9 - Breaking change: refactor: Update Implode operation.
4cedd34 - Breaking change: refactor: Update Has operation.
082384b - Breaking change: refactor: Update Get operation.
b761ce7 - Breaking change: refactor: Update Contains operation.
a99e72a - Breaking change: refactor: Update Falsy, Nullsy and Truthy operations.
07fbce4 - Breaking change: refactor: Update Fold* operations.
f6828f0 - Breaking change: refactor: Rename Run into Pipe.
e3b3261 - docs: Update changelog.
bca5780 - docs: Update README.
ce14a0d - feat: Add Group operation.
a7df56c - refactor: Rename Group operation into GroupBy
248e5a4
- Breaking change: refactor: Remove Reduce operation.
-
2.6.307 Oct 2020 -
2.6.202 Oct 2020Release notes
Open source →Commits
- docs: Update changelog.
ea9a8f1 - feat: Add Tails operation.
1299853 - chore: Update .gitignore.
ffae108 - chore: Update composer.json.
2686f05 - docs: Update annotations.
0e111ab - refactor: Update Distinct operation.
9d2579c - docs: Update API page.
7dfe75f - docs: Add link.
824ed65 - refactor: Init operation improvements.
7d23688 - refactor: Last operation improvements.
88350e2 - refactor: Leverage tacit programming (point free style)
13b5d6d - docs: Add missing link.
675af9a
- docs: Update changelog.
-
2.6.123 Sep 2020 -
2.6.022 Sep 2020Release notes
Open source →Commits
- Breaking change: refactor: Update Compact operation.
10fd55f - Breaking change: refactor: Update Explode operation.
d28abcd - Breaking change: refactor: Update Split operation.
1c669b2 - docs: Update changelog.
47b4716 - feat: Add fromFile static constructor.
7211052 - feat: Add Words operation.
72df47a - feat: Add Unwords operation.
b6aef32 - feat: Add Unlines operation.
ab9fde2 - feat: Add Lines operation.
24cd4a5 - refactor: Refactor operations using their parent operation counterpart.
0835f2d - refactor: Update Reverse operation.
6ce7b13 - feat: Add scanLeft1 operation.
8b9aaa3 - feat: Add scanRight1 operation.
1183407 - feat: Add scanRight operation.
c01274f - docs: Update FoldLeft and FoldRight.
98ced08 - feat: Add scanLeft operation.
ff0c7e4 - docs: Update annotations.
317483e - feat: Add FoldRight1 operation.
18b9b1d - feat: Add FoldLeft1 operation.
c034101 - docs: Update README.
ecdbc18 - docs: Update documentation.
7985455 - docs: Update API page.
516f786
- Breaking change: refactor: Update Compact operation.
-
2.5.516 Sep 2020 -
2.5.414 Sep 2020Release notes
Open source →Commits
- docs: Update changelog.
249f0f3 - ci: Update release process to include changelog automatically.
abb4e4f - Bump actions/stale from v3.0.10 to v3.0.11
f7ba528 - docs: Update Usage page.
2d5d9f6 - docs: Update documentation of Append and Prepend operations.
8441ad6 - feat: Add Duplicate operation.
b2d2a82 - docs: Updated append method documentation.
da6caa9
- docs: Update changelog.
-
2.5.312 Sep 2020 -
2.5.208 Sep 2020