diff --git a/CHANGELOG.md b/CHANGELOG.md index e442d9c33..f6b306d90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,257 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [6.0.3](https://github.com/loophp/collection/compare/6.0.2...6.0.3) +## [7.0.0](https://github.com/loophp/collection/compare/6.0.3...7.0.0) + +### Merged + +- Psalm 5 upgrade [`#283`](https://github.com/loophp/collection/pull/283) +- add `AbstractCollection` abstract class [`#270`](https://github.com/loophp/collection/pull/270) +- chore(deps): update dependency sphinx_rtd_theme to v0.5.2 [`#275`](https://github.com/loophp/collection/pull/275) +- chore(deps): update actions/stale action to v6 [`#276`](https://github.com/loophp/collection/pull/276) +- chore(deps): add renovate.json [`#274`](https://github.com/loophp/collection/pull/274) +- refactor: `unfold` constructor is not variadic anymore [`#269`](https://github.com/loophp/collection/pull/269) +- Documentation: refactoring [`#266`](https://github.com/loophp/collection/pull/266) +- chore(deps): Bump cachix/install-nix-action from 17 to 18 [`#267`](https://github.com/loophp/collection/pull/267) +- **Breaking change:** refactor: Refactor `Reduce` operation. [`#259`](https://github.com/loophp/collection/pull/259) +- Add action on README file. [`#263`](https://github.com/loophp/collection/pull/263) +- chore(deps): Bump shivammathur/setup-php from 2.20.1 to 2.21.1 [`#261`](https://github.com/loophp/collection/pull/261) +- chore(deps): Bump shivammathur/setup-php from 2.19.0 to 2.20.1 [`#258`](https://github.com/loophp/collection/pull/258) +- New Operations: `Compare`, `Max`, `Min` [`#255`](https://github.com/loophp/collection/pull/255) +- chore(deps): Bump shivammathur/setup-php from 2.18.1 to 2.19.0 [`#253`](https://github.com/loophp/collection/pull/253) +- ci: Use `pcov` for coverage. [`#252`](https://github.com/loophp/collection/pull/252) +- chore(deps-dev): Update psr/cache requirement from ^1.0 to ^1.0 || ^2.0 [`#251`](https://github.com/loophp/collection/pull/251) +- chore(deps): Bump shivammathur/setup-php from 2.18.0 to 2.18.1 [`#250`](https://github.com/loophp/collection/pull/250) +- Update Scrutinizer configuration. [`#249`](https://github.com/loophp/collection/pull/249) +- chore(deps): Bump actions/stale from 4 to 5 [`#248`](https://github.com/loophp/collection/pull/248) +- feat: Add `Averages` operation. [`#238`](https://github.com/loophp/collection/pull/238) +- Simplify `every` operation [`#247`](https://github.com/loophp/collection/pull/247) +- Get rid of `phpspec/prophecy-phpunit`. [`#246`](https://github.com/loophp/collection/pull/246) +- **Breaking change:** fix: Update `scanLeft1` operation. [`#245`](https://github.com/loophp/collection/pull/245) +- chore(deps): Bump shivammathur/setup-php from 2.17.1 to 2.18.0 [`#244`](https://github.com/loophp/collection/pull/244) +- refactor: Update `every` operation. [`#242`](https://github.com/loophp/collection/pull/242) +- chore(deps): Bump actions/cache from 2.1.7 to 3 [`#243`](https://github.com/loophp/collection/pull/243) +- misc: Update `CallbackArrayReducer`. [`#241`](https://github.com/loophp/collection/pull/241) +- chore(deps): Bump actions/checkout from 2.4.0 to 3 [`#240`](https://github.com/loophp/collection/pull/240) +- chore(deps): Bump shivammathur/setup-php from 2.17.0 to 2.17.1 [`#239`](https://github.com/loophp/collection/pull/239) +- chore(deps): Bump shivammathur/setup-php from 2.16.0 to 2.17.0 [`#235`](https://github.com/loophp/collection/pull/235) +- Replace `Iterator` with `iterable` almost everywhere. [`#233`](https://github.com/loophp/collection/pull/233) +- refactor: Use `new` keyword on some operations. [`#231`](https://github.com/loophp/collection/pull/231) +- refactor: Use `StringIteratorAggregate`. [`#234`](https://github.com/loophp/collection/pull/234) +- Tests: Switch to PHPUnit [`#227`](https://github.com/loophp/collection/pull/227) +- Refactor: Replace `RandomIterator` [`#230`](https://github.com/loophp/collection/pull/230) +- Simplify operations that needs more than one instance of the `Generator` - using `IteratorAggregate`. [`#229`](https://github.com/loophp/collection/pull/229) +- Use `loophp/iterators` [`#228`](https://github.com/loophp/collection/pull/228) + +### Fixed + +- tests: Add new tests. [`#264`](https://github.com/loophp/collection/issues/264) + +### Commits + +- **Breaking change:** refactor: `Tails` operation, performance improvements [`d71b2ef`](https://github.com/loophp/collection/commit/d71b2ef419d94a7dc50e8dce42fd5279877838a7) +- **Breaking change:** refactor: Update `Unpack` operation. [`34c36da`](https://github.com/loophp/collection/commit/34c36da5c26cc1e238ce9a803e7152224b12f934) +- chore: update `composer.json` and fix `auto-changelog` command [`6949831`](https://github.com/loophp/collection/commit/6949831449021fc533c640f11710206ea219bf68) +- chore: update `composer.json` [`1ba6085`](https://github.com/loophp/collection/commit/1ba608537969322caf3729e62879665d712c7ded) +- remove obsolete annotation [`908d3e5`](https://github.com/loophp/collection/commit/908d3e55bd7bbe5b0b00d5af8b2a7d0e6c44f9bf) +- refactor: `Tails` operation [`ea4b92c`](https://github.com/loophp/collection/commit/ea4b92cbc5328c5fc78931b98a90cbb6d5e521bd) +- refactor: `Tails` operation, performance improvements [`1c28be3`](https://github.com/loophp/collection/commit/1c28be3210a19fd9f7dcadcbc2cc2e14b1ca050b) +- refactor: `Window` operation: minor performance improvement [`486567a`](https://github.com/loophp/collection/commit/486567ab9d68da43eebd3f2b247a96b213bf8305) +- refactor: upgrade `tests` for PHP 8 [`25067cb`](https://github.com/loophp/collection/commit/25067cb7c638bf9729ccaea560c36052ac4d58c0) +- refactor: upgrade `docs` for PHP 8 [`1d9c134`](https://github.com/loophp/collection/commit/1d9c13488f2b5c3c22dbddc23bb5cda03249b727) +- refactor: upgrade `src` for PHP 8 [`4a4a60b`](https://github.com/loophp/collection/commit/4a4a60b04ccb29f3aaba4f6cdc2cfe4552719b03) +- cs: autofix cs [`4dc36fe`](https://github.com/loophp/collection/commit/4dc36fe1b7e5ba8f070f3b5a79ffd4f78aab2d3c) +- fix: update `IfThenElse` operation [`eb78132`](https://github.com/loophp/collection/commit/eb78132e6b678c628c9e9c36c5c5a119f636cb2a) +- sa: update typing information for PHP 8 [`8ee1134`](https://github.com/loophp/collection/commit/8ee1134ebdce709b6436662182d9f5fa92042aa2) +- update SA annotations [`7154f09`](https://github.com/loophp/collection/commit/7154f0979202ac233ec921506c3da123094ba8ea) +- update SA annotations [`0e8b0e5`](https://github.com/loophp/collection/commit/0e8b0e5bbd55084307917f0e5cf3e3b174ae5009) +- disable phpcs statement [`d7bba3a`](https://github.com/loophp/collection/commit/d7bba3a2c29fa71842127f49bc691f93f6b55b86) +- update PHPStan baseline [`808578a`](https://github.com/loophp/collection/commit/808578a92dc504d29c6eff8e6820d82e020ebf12) +- reorder `Collection` interface use statements [`6bbb829`](https://github.com/loophp/collection/commit/6bbb829eff30c89a97afc60fc48f9685e7d3be73) +- fix: update `span` and `partition` operations [`31d4b31`](https://github.com/loophp/collection/commit/31d4b31f55434a5ca989e6f4366121b94ded635e) +- fix: remove static constructors [`747e1f8`](https://github.com/loophp/collection/commit/747e1f8457a2ab0fcc82d0831300bc3d9fe3022d) +- docs: fix `unfold` signature [`d11addd`](https://github.com/loophp/collection/commit/d11addde114a0beea17c9e4624006a6cfa99a6d6) +- sa: update PSalm baseline [`f78dc32`](https://github.com/loophp/collection/commit/f78dc3249cd32986cf9b3b0822f2dd4f5f807fdb) +- Revert "sa: fix `Wrapable` interface" [`1cf67d1`](https://github.com/loophp/collection/commit/1cf67d1f8bdde2f95607f5fa4eb2f647c8636146) +- sa: fix `Wrapable` interface [`3866fe5`](https://github.com/loophp/collection/commit/3866fe527d7ceb4a0091b8d1b3491cfba3c56c7f) +- sa: fix `template-extends` annotations [`a3f8b45`](https://github.com/loophp/collection/commit/a3f8b4546cabde144712d90923685c40f4c39768) +- cs: reduce the amount of `use` statements [`19eb14e`](https://github.com/loophp/collection/commit/19eb14e3ec16a3066b03de6d3f8d15bcf00bc642) +- cs: reduce the amount of `use` statements [`dce7e48`](https://github.com/loophp/collection/commit/dce7e48265d5fd9a6482f9bdb2ab9e53a2a09bf9) +- Autofix code style. [`cd4a6f6`](https://github.com/loophp/collection/commit/cd4a6f62c99d547f3e46d926b2746f31d6d86511) +- direnv: update `.envrc` [`b402706`](https://github.com/loophp/collection/commit/b402706a303cf75220b75b424451a765f773bf42) +- fix: update constructors [`c49e62b`](https://github.com/loophp/collection/commit/c49e62b05209fe8fd8fba4e6a2c2a0ffb4ffac62) +- fix: Update `GroupBy` static analysis annotations. [`d74d4f8`](https://github.com/loophp/collection/commit/d74d4f8fb4a7d28ccc7d31d5580d25c90ab15bd4) +- fix: update various operations static analysis annotations. [`473f105`](https://github.com/loophp/collection/commit/473f105ffff1de0a6eadc9c795bcff4d0efcd594) +- fix: update various operations static analysis annotations. [`c1998e9`](https://github.com/loophp/collection/commit/c1998e9529f39bfcdad490bfe8e989d0a7f06b76) +- fix: update various operations static analysis annotations. [`2fb44cf`](https://github.com/loophp/collection/commit/2fb44cf8d8dce9fe05f5dff831c74d167f0b27de) +- fix: `Since` and `Until` operation - fix sa [`bde565c`](https://github.com/loophp/collection/commit/bde565c166bda46a697a5e5f2b77371f86c90875) +- fix: `Compare` operation - fix sa [`06729d7`](https://github.com/loophp/collection/commit/06729d7be3d0045209d2bf6fa434ea3d73899cbe) +- fix: fix operator sign [`ea90e23`](https://github.com/loophp/collection/commit/ea90e2320bbc865534c1599cc66bbcdd27a95f5f) +- fix: remove optional parameters [`6a27551`](https://github.com/loophp/collection/commit/6a2755101486841531d2e60f25895c24823a6490) +- fix: update interfaces [`0dae4c2`](https://github.com/loophp/collection/commit/0dae4c2cd38be5da4914b953b41b013c075bbd88) +- fix missing parameter [`69818b3`](https://github.com/loophp/collection/commit/69818b3c30b152b2e28df771362956f1bb34c4c3) +- docs: Update `pipe` documentation [`ec10eeb`](https://github.com/loophp/collection/commit/ec10eebe8f96e17b7a9ddd4575790f1a524d0ca1) +- cs: get rid of obsolete `phpcs` annotations [`a385a6a`](https://github.com/loophp/collection/commit/a385a6a482868bc802954da79c82bff6ffee401a) +- ci: update scrutinizer configuration [`dae9eb6`](https://github.com/loophp/collection/commit/dae9eb657277c0b2f0c4d7f81cf5120dc596f368) +- ci: update scrutinizer configuration [`ca6f602`](https://github.com/loophp/collection/commit/ca6f602d37f967af8b495966e416d99ae0845a5b) +- ci: update scrutinizer configuration [`2d09f65`](https://github.com/loophp/collection/commit/2d09f652c843b1aa7e79720efb0d159fccd41752) +- ci: update scrutinizer configuration [`bac7f9b`](https://github.com/loophp/collection/commit/bac7f9bd29b7b052a9df60f50e6228f8aced0071) +- ci: update scrutinizer configuration [`376bd66`](https://github.com/loophp/collection/commit/376bd668c48bb10d4da0adf79065071604e04d01) +- ci: update trigger paths [`0f2db5b`](https://github.com/loophp/collection/commit/0f2db5b611fa1484448a1222a049671baf6ad662) +- ci: update scrutinizer configuration [`8d12965`](https://github.com/loophp/collection/commit/8d129652c8101e32b02f81347bf158802fa7f2d8) +- ci: fix indentation [`95e60b5`](https://github.com/loophp/collection/commit/95e60b5ecb4a9a9d43a6df84ba99d6bdc62191fe) +- ci: update trigger paths [`e78546e`](https://github.com/loophp/collection/commit/e78546e55ad7c3980ed73f31dc93ce634dcc062f) +- ci: fix `scrutinizer/ocular` [`583668f`](https://github.com/loophp/collection/commit/583668f2167e762148db115d848ea499e51d2c82) +- Autofix code style. [`079a7b9`](https://github.com/loophp/collection/commit/079a7b94bf5692ecdd6ee7f989e3fc42a6f95a89) +- docs: Update changes [`a6653b8`](https://github.com/loophp/collection/commit/a6653b889ab12f6fa7a977cc0bd46483212cf54c) +- `scanLeft` and `scanRight` has been updated and now need two arguments instead of one. [`9355dea`](https://github.com/loophp/collection/commit/9355dea9a643de9e98b476cbb87aef628284d890) +- tests: fix tests [`1233c49`](https://github.com/loophp/collection/commit/1233c4963c69779abc0aafd9bcf11861cf7af38e) +- sa: update SA info of various operations. [`25ed050`](https://github.com/loophp/collection/commit/25ed050f4e60445162d0c1554c74443e68cf2997) +- sa: fixes [`6c5e44c`](https://github.com/loophp/collection/commit/6c5e44cca8bf641c3f40d6818cdf79a715250b33) +- tests: update `diff` SA tests [`ece6067`](https://github.com/loophp/collection/commit/ece60672dc93e67251894836bbfe860d81133249) +- tests: update `diff` SA tests [`0af490e`](https://github.com/loophp/collection/commit/0af490e9de1564b3bd3cc45bb55a16894854ce72) +- fix typos with codespell [`28e7663`](https://github.com/loophp/collection/commit/28e7663c0e00567ea96756499db3831a3e1dc8b7) +- fix Collatz example [`6ec0563`](https://github.com/loophp/collection/commit/6ec0563cb151d793f7e964ffdd56aa42ab91a9ff) +- chore: remove custom nix files [`4197638`](https://github.com/loophp/collection/commit/4197638c020241d0eb40ecd759c2418e24a67317) +- cs: autofix code style [`e546136`](https://github.com/loophp/collection/commit/e546136c0ad9742027f3a9ab064e6ff81e38e0fc) +- refactor: update `Pair` operation [`eed0c7e`](https://github.com/loophp/collection/commit/eed0c7e6360fbc59864ae462185fa991412972b8) +- chore: prettify codebase [`2a0ed02`](https://github.com/loophp/collection/commit/2a0ed02543a1182bdf748ebd4672b37f1e424aa5) +- refactor: align `Duplicate` operation with `Distinct` [`de09c01`](https://github.com/loophp/collection/commit/de09c014550c299516510ae5261241ecf4d6df85) +- docs: do not create ArrayIterator. [`806fa18`](https://github.com/loophp/collection/commit/806fa1867ae2a4f7e749d2f357fcb7cf715a37ca) +- refactor: prevent the creation of an extra variable [`31f87a8`](https://github.com/loophp/collection/commit/31f87a8ea207670d096ea6d7fe2f4ddd4e209d0d) +- docs: do not create ArrayIterator. [`2e50e49`](https://github.com/loophp/collection/commit/2e50e4979e71494d52b565072a7cf9b8fcd6c79d) +- refactor: remove files header [`aacb5e9`](https://github.com/loophp/collection/commit/aacb5e9bd965eaf70db656c724bc7045121db7a0) +- Revert "chore: Ignore Nix files" [`98fe09a`](https://github.com/loophp/collection/commit/98fe09ad05609890143df5a7af31291b6a4f4405) +- docs: Add `phpsandbox` badge and link. [`9f02c7c`](https://github.com/loophp/collection/commit/9f02c7ceb941a89f4154a8e953e1bd143a56ae98) +- docs: Fix minor things. [`679b353`](https://github.com/loophp/collection/commit/679b3532d3d38a73b68406e7393ffe95e24422e3) +- chore: Update `flake.nix` file. [`8ddd35d`](https://github.com/loophp/collection/commit/8ddd35dfadc7d86dea87a220e5db7a8be726dc00) +- chore: Ignore Nix files [`d34980d`](https://github.com/loophp/collection/commit/d34980d6d106a3e8e634c113b0d247cc408ae5f2) +- ci: Add workflow to build a PDF of the documentation for each tag. [`7810400`](https://github.com/loophp/collection/commit/7810400720ec7a6fc5871f8949efa0ff392d4b99) +- chore: Add `composer` command to run the documentation server. [`15dc6bd`](https://github.com/loophp/collection/commit/15dc6bd924c35b7110f7d4a3b222c1e06a099010) +- docs: Update documentation. [`a783394`](https://github.com/loophp/collection/commit/a783394ab3f160c1c4c7e55eb0e331e9a55107f5) +- chore: Add Nix flakes file for documentation building. [`3f90ed6`](https://github.com/loophp/collection/commit/3f90ed66261cd4c0f58d180f73b6a7b79fa2f8c9) +- chore: Remove `docker` stuff. [`88e92b6`](https://github.com/loophp/collection/commit/88e92b61ef4597875392bd0368463db86740295f) +- cs: Upgrade to `loophp/iterators^2`. [`1343255`](https://github.com/loophp/collection/commit/134325524c7533e44d08d570ddc1d68b0f04ffaf) +- refactor: Upgrade to `loophp/iterators^2`. [`691abd4`](https://github.com/loophp/collection/commit/691abd4a459fa41dd3283c0d703c8966015c16d5) +- cs: Autofix code style. [`6f1eda3`](https://github.com/loophp/collection/commit/6f1eda362a0727ae49df1aae757f259e98a63f09) +- chore: Update baseline. [`4463a37`](https://github.com/loophp/collection/commit/4463a37dd9a0c4bc1fa10f34d2eb54174b12e3a1) +- chore: Update scrutinizer configuration. [`fc3a790`](https://github.com/loophp/collection/commit/fc3a79043af9136461ab027d44c4f8f76ae4d8ef) +- ci: Add `prettier` in required status checks. [`c8687cf`](https://github.com/loophp/collection/commit/c8687cf57c68422c387ec5ab6d368c02999528f0) +- chore: Prettify codebase. [`9551288`](https://github.com/loophp/collection/commit/955128859115f22744453f242806833ed3440617) +- chore: Update `.gitattributes`. [`411f937`](https://github.com/loophp/collection/commit/411f93715fe532715067ec091a8a1ea9512527e8) +- ci: Update required status checks. [`5ab0f1f`](https://github.com/loophp/collection/commit/5ab0f1fe472ed797683c9ca7769ac221f5cfcac5) +- ci: Fix step name. [`a65faf4`](https://github.com/loophp/collection/commit/a65faf4d720782ed804a69f336efe3212ae68667) +- prettier: Autofix. [`ff03ea6`](https://github.com/loophp/collection/commit/ff03ea664ca8c42055cbf5e8ce8e2b2bc1042334) +- ci: Fix branch name. [`bbfb1c8`](https://github.com/loophp/collection/commit/bbfb1c836cbde04315acfaf9df4bb6a60e1ff1ef) +- ci: Enable prettier on the whole repo. [`25d1c25`](https://github.com/loophp/collection/commit/25d1c25410bc9ba16f83d217e313cf4439b178dd) +- ci: Simplify things. [`1ef0edc`](https://github.com/loophp/collection/commit/1ef0edc54abba0b0f580163f73dc7d37d02bd601) +- sa: Fix `distinct` tests. [`6147f9c`](https://github.com/loophp/collection/commit/6147f9c09a65073ba6f8b393248d91c03f90b282) +- ci: Include `tests` src directories. [`ff8fea0`](https://github.com/loophp/collection/commit/ff8fea0f6c3e860dc6988b57c82ac9a75993697e) +- sa: Fix `distinct` tests. [`edc521f`](https://github.com/loophp/collection/commit/edc521fde40847faabfb3a17c8790dcf4b983b54) +- chore: Update test workflow. [`7f43d4b`](https://github.com/loophp/collection/commit/7f43d4b79bbe00a518314a6c4239af028e8937df) +- chore: Update test workflow. [`738cc6e`](https://github.com/loophp/collection/commit/738cc6ecb0c5e245cc4f5b32dcb0f709947fe987) +- Update `Filter` and `Reject` operations. [`186c003`](https://github.com/loophp/collection/commit/186c003029d7169a716c30024d174e468036007c) +- Minor cosmetic changes. [`066504a`](https://github.com/loophp/collection/commit/066504ac712195c96ad384fae9ee43b466cbe9ee) +- Autofix code style. [`25b2a69`](https://github.com/loophp/collection/commit/25b2a69e2aca8a83e4861f437c88b166e9119ee6) +- refactor: Minor optimization in `Pack` operation. [`32462ad`](https://github.com/loophp/collection/commit/32462ad2d05c999faa153395d77579c94a6a2e2e) +- fix: `Equals` operation, fix typing information. [`eff8102`](https://github.com/loophp/collection/commit/eff8102fc70e839c722f283bc8d73106a7ced170) +- fix: `Same` operation, fix typing information. [`5a91d8a`](https://github.com/loophp/collection/commit/5a91d8ad5ed3d6f904d9b15797a94b60b6e6ad51) +- fix: `Reduction` operation, fix typing information. [`466232b`](https://github.com/loophp/collection/commit/466232b341edbca6fc76e6c52ca2b50923ceb0c9) +- Use `ReductionIterableAggregate`. [`0d4d7a2`](https://github.com/loophp/collection/commit/0d4d7a2b81295adb418547947b4725733d35abc7) +- Use `ReductionIterableAggregate`. [`a168b6d`](https://github.com/loophp/collection/commit/a168b6da6b9a5751e8c2950da58378afacc9df70) +- Autofix code-style. [`3b49c3a`](https://github.com/loophp/collection/commit/3b49c3a486090999d9e32f98db19a6b7247b7291) +- Revert "Revert last 3 commits." [`16e3c7a`](https://github.com/loophp/collection/commit/16e3c7a2a94a09260a60a2ba260e9a8862a28026) +- Update typing information. [`3017e2a`](https://github.com/loophp/collection/commit/3017e2a5b11d75c09db0ab2695394c9641b15ba3) +- tests: Disable problematic test on PHP < 8. [`c148d16`](https://github.com/loophp/collection/commit/c148d16c64fba8bd2356c8fa18ee49245deae484) +- Revert last 3 commits. [`31cdc99`](https://github.com/loophp/collection/commit/31cdc996bed1b83fd9f95904be85861aefa45396) +- Use `ConcatIterableAggregate`. [`d90986d`](https://github.com/loophp/collection/commit/d90986dde8190afcba3d2db619ee32e85cc98aae) +- Use `MapIterableAggregate`. [`ea45575`](https://github.com/loophp/collection/commit/ea45575fb95bde73aa93bea3063c2d3d1b9667dd) +- Use `FilterIterableAggregate`. [`84b42c2`](https://github.com/loophp/collection/commit/84b42c22c4fa2116b81fa554b0e171f5a0881bdd) +- fix: Performance improvements using `SimpleCachingIteratorAggregate`. [`51e7d6f`](https://github.com/loophp/collection/commit/51e7d6ff50e84cdccb9e9d4a01d9e555ea702093) +- fix: Remove `@psalm-suppress` annotation. [`ab5f9f0`](https://github.com/loophp/collection/commit/ab5f9f0817358934a76d5fe9478adb4b8ec55eca) +- docs: Add more examples snippets. [`a1873a7`](https://github.com/loophp/collection/commit/a1873a7420b63347908b7ca4e6a7a5c97440b83e) +- Revert "ci: Disable XDebug." [`a6b4791`](https://github.com/loophp/collection/commit/a6b479108df5c28ef32f90a2a5619cd32cda6d6d) +- ci: Disable XDebug. [`447bd03`](https://github.com/loophp/collection/commit/447bd039157b69b567cbbfa7789ee9908cef094a) +- SA: Minor changes fix. [`0e30363`](https://github.com/loophp/collection/commit/0e3036333979e5391c25e9d9818ae1ab416fca09) +- SA: Minor changes. [`c835e1c`](https://github.com/loophp/collection/commit/c835e1ce1082e6706c69910fce4ca3d9f7e4f0cd) +- SA: Fix a couple of operations. [`679834b`](https://github.com/loophp/collection/commit/679834b1a3c897a87d6bb06bb9ff37fe9c37344b) +- SA: PHPStan 1.6.0 upgrade. [`843c9c4`](https://github.com/loophp/collection/commit/843c9c47e26afb4b5bbd437f744fc8c2fcec6517) +- refactor: Update `Reverse` operation. [`545bd60`](https://github.com/loophp/collection/commit/545bd608047cd1198d8f5192f41b36a531051b58) +- fix: Remove `ext-xdebug` from `composer.json` for now. [`6209f4b`](https://github.com/loophp/collection/commit/6209f4be13f4f3be00dc9c3d8482d083f05f4b1e) +- fix: Minor static analysis fixes. [`2ce3510`](https://github.com/loophp/collection/commit/2ce3510e147e2e7b392a25fd40e38b6451bcfe99) +- refactor: Minor optimizations here and there. [`f08d88e`](https://github.com/loophp/collection/commit/f08d88e3083c4e833f7a5fda08a7d86b08d70bdb) +- refactor: Minor optimizations here and there. [`e9c4460`](https://github.com/loophp/collection/commit/e9c4460678171209603d3a4a04cbd4edadee36c2) +- refactor: Minor optimizations. [`5987ab7`](https://github.com/loophp/collection/commit/5987ab743175f764ccebf0306e782afddf31c2be) +- refactor: `random` operation: use `RandomIterableAggregate`. [`78e7a6f`](https://github.com/loophp/collection/commit/78e7a6f3a3c22025f7309bbb87b426c9a9fc4fb4) +- tests: Add missing test. [`8afedbf`](https://github.com/loophp/collection/commit/8afedbfbe2b349340daf8ee9ee5ebdeb97dc3d8d) +- tests: Add missing test. [`7a05041`](https://github.com/loophp/collection/commit/7a050410d23bff7e5879cad983310edb99d57b12) +- cs: Autofix code style. [`0d2595e`](https://github.com/loophp/collection/commit/0d2595e96fd7f753914a0163fe834bf7795fd35c) +- misc: Further optimizations with `Every` operations. [`f523cdb`](https://github.com/loophp/collection/commit/f523cdb9370f18d65aaa2f823694573129c90488) +- misc: Further optimizations with `Every` operations. [`de1edb3`](https://github.com/loophp/collection/commit/de1edb31c31151251e33354350dc0ac5c7d8aca4) +- tests: Remove duplicated tests. [`2a0c84d`](https://github.com/loophp/collection/commit/2a0c84de774f90ec0229592e51e00d9b5accf726) +- cs: Minor changes. [`f0612e7`](https://github.com/loophp/collection/commit/f0612e78ec4aedea2344cbc0f9f9bc7b6e0b9a59) +- refactor: Optimize `Head` operation. [`33e2f15`](https://github.com/loophp/collection/commit/33e2f1554c181fa4f9edee50cf17c8410363812c) +- cs: Autofix code style. [`6cc2a05`](https://github.com/loophp/collection/commit/6cc2a05d1129649b6e2c61421030619812bb4b8b) +- fix: SA - Update `Unwindow` operation. [`c9562fd`](https://github.com/loophp/collection/commit/c9562fdce42a35c62a559d047e29df6dfc5acdaf) +- refactor: Simplify and optimize `Transpose`. [`38cca46`](https://github.com/loophp/collection/commit/38cca46b4ff4fb01484b55834e460c926afe8727) +- refactor: Use `new` keyword everywhere. [`aacf7df`](https://github.com/loophp/collection/commit/aacf7dfd64af1db0aa7d016c92d841e260813051) +- refactor: Use `new` keyword everywhere. [`a6db56e`](https://github.com/loophp/collection/commit/a6db56effa708ea58a64f9d34f66e5f87dd9891c) +- refactor: Minor SA annotations update. [`35bf8c2`](https://github.com/loophp/collection/commit/35bf8c2e2080c3b7fcabf67b8be64af3ef744d9b) +- refactor: Use `new` keyword everywhere. [`8a3a05a`](https://github.com/loophp/collection/commit/8a3a05a1afff08ce13506035bc9bf8506346ccc2) +- refactor: Remove useless intermediary variable. [`79ebed1`](https://github.com/loophp/collection/commit/79ebed141ea0d754b718c41beeb58a1742ed4a07) +- refactor: `Drop` rely on `Limit` now. [`16e220a`](https://github.com/loophp/collection/commit/16e220a2e8c2ef13877387574a4af4debacc3d13) +- refactor: Remove useless intermediary variable. [`d6d8aa6`](https://github.com/loophp/collection/commit/d6d8aa68bc2965d3cb52d863cacfc9a767c56bba) +- refactor: Minor optimizations. [`9ac298a`](https://github.com/loophp/collection/commit/9ac298ac4023523735818a9dd54b9edd50a91617) +- refactor: Minor optimizations. [`11bee15`](https://github.com/loophp/collection/commit/11bee15d9f4ff0bab530469796a90956fd62eccd) +- refactor: Use more iterator aggregates. [`19616a6`](https://github.com/loophp/collection/commit/19616a6e84a3aed3f1edd763cbb8742fcd87293a) +- refactor: Use more iterator aggregates. [`669a956`](https://github.com/loophp/collection/commit/669a956da7b48d20a3c444300ed590655fef48fd) +- refactor: Use more iterator aggregates. [`7af1d80`](https://github.com/loophp/collection/commit/7af1d80f7c6c80d15d19d96fbe3b2d051832f314) +- cs: Cleanup `.php-cs-fixer.dist.php`. [`0fba6da`](https://github.com/loophp/collection/commit/0fba6dac5dedc04df7d603bc38248aa708d9d67f) +- feat: Performance improvements using iterator aggregates. [`3b773ad`](https://github.com/loophp/collection/commit/3b773adec50d13c640a19de67f1dde189381764e) +- chore: Normalize composer.json. [`e19bde8`](https://github.com/loophp/collection/commit/e19bde842551b7e6cfd7070614aa76379d25b8bf) +- tests: `TypedIterator` - Add test. [`b9aab65`](https://github.com/loophp/collection/commit/b9aab65f29a1d34f28a173b298a7bef40bda6fb3) +- cs: Autofix code style. [`cbc6c20`](https://github.com/loophp/collection/commit/cbc6c20aa10ada0bf1d69864e33f321807f4d6c4) +- tests: `StringIterator` - Add test. [`fe15a5b`](https://github.com/loophp/collection/commit/fe15a5b26d619d5d0d991cc457508cf70a913341) +- tests: `StringIterator` - Add test. [`a66242d`](https://github.com/loophp/collection/commit/a66242d20e16d6d2c2df2bbc3bd228c2623d0f84) +- fix: Disable PHPCSFixer on specific files. [`eb61a90`](https://github.com/loophp/collection/commit/eb61a90d02596a8d24be903f4ea5ffbe8b9de1d4) +- tests: `TypedIterator` - Add test. [`7280ebc`](https://github.com/loophp/collection/commit/7280ebc841259d24b70d64347d80bf4cf0450827) +- tests: Enable HTML infection reports. [`468d71d`](https://github.com/loophp/collection/commit/468d71d34e1f3b8bcfd1c6a4cd9457e0b5e1f3f7) +- ci: Update PHP configuration. [`f54b002`](https://github.com/loophp/collection/commit/f54b002a86d21ff031d3d7dd12054a31dd258bb7) +- Autofix code style. [`04d7531`](https://github.com/loophp/collection/commit/04d753129989eeeb2d2039dc175c13187fef483f) +- Autofix code style. [`10e7eed`](https://github.com/loophp/collection/commit/10e7eed676712eaee5c97bd166f15966b91c2da7) +- refactor: `Unpack` operation - Use `UnpackIterableAggregate`. [`aaa289a`](https://github.com/loophp/collection/commit/aaa289ac708734ef5e0fcc63f5bc2f20d6ddcf76) +- Update license [`741cbce`](https://github.com/loophp/collection/commit/741cbceda7514bce19e5335a6f7090c65a3e6aee) +- Normalize composer.json [`8ef547d`](https://github.com/loophp/collection/commit/8ef547de2283a80b0eafacffee37af228dada767) +- fix: Add missing `from` keyword. [`d179b11`](https://github.com/loophp/collection/commit/d179b1191ddb763a92c353d35e59074221de0263) +- Autofix code style. [`6df94ee`](https://github.com/loophp/collection/commit/6df94eedc301cd33218b70c326aa45c032950e34) +- refactor: Minor optimization, remove `return` keyword. [`7683362`](https://github.com/loophp/collection/commit/76833628e1fbb418dfbd13ac28b41a7b031dbc66) +- sa: Update PHPStan baseline. [`782a48e`](https://github.com/loophp/collection/commit/782a48e2aad766434df9b2e9828320ef857aa439) +- sa: Fix unresolvable type. [`d112149`](https://github.com/loophp/collection/commit/d1121493e76016f687dd97ec9de4be7c6047ffc4) +- cs: Autofix code style. [`78d5d7a`](https://github.com/loophp/collection/commit/78d5d7a77fdd47f5569975dcf850b421298c5be2) +- sa: Update typing information. [`351676b`](https://github.com/loophp/collection/commit/351676b2ba18ab5b99640a535f7a4e7d1532aa2c) +- fix: Remove local variable. [`58a3919`](https://github.com/loophp/collection/commit/58a391906e8a48759f9622f074562ba8a428c0af) +- fix: `Same` operation - proper sign. [`15bf8de`](https://github.com/loophp/collection/commit/15bf8dee8ba7dbd147392461dbcaa824cdfab481) +- fix: `Same` operation must yield. [`317b519`](https://github.com/loophp/collection/commit/317b519ff671d8decc68c5b6ca6cbea16304e5d4) +- cs: `Same` operation, clear remaining todo. [`518209b`](https://github.com/loophp/collection/commit/518209b167cd3f67d9331edacea05d3cf6982b4e) +- refactor: Simplify `fromGenerator` operation. [`b2e1dc9`](https://github.com/loophp/collection/commit/b2e1dc97fb71a99cefd49e9307c324c48c89ee65) +- sa: Update typing information to reduce warnings. [`b2028d8`](https://github.com/loophp/collection/commit/b2028d8d6c9dd584d21977e54bea493c385302ff) +- refactor: Simplify `DropWhile` operation. [`e794b79`](https://github.com/loophp/collection/commit/e794b797e87b662aea48ae28e2e5ac9cf1f6ba81) +- test: Add minor test for `Sort` operation. [`1935d11`](https://github.com/loophp/collection/commit/1935d1155d166a501de1bb2d0a1dec39a0aaad9f) +- Fix `scrutinizer/ocular` upload. [`5f956e2`](https://github.com/loophp/collection/commit/5f956e236d85fa48dd54d48b2273dbc15fde1718) +- tests: Only do mutation testing on PHP 8.0. [`525e32e`](https://github.com/loophp/collection/commit/525e32e2dccea1dbb3602ee6bad0122c2a878288) +- docs: Update `Contributing` section. [`36cdcd1`](https://github.com/loophp/collection/commit/36cdcd18d07e55b6122d927e55e737fa25b6d597) +- ci: Fix `scrutinizer/ocular` upload. [`5e67380`](https://github.com/loophp/collection/commit/5e67380422ff6ece3707186e365b96a42c54658e) +- docs: Update README. [`20a1352`](https://github.com/loophp/collection/commit/20a1352a3c2fbe31ed7e44aa35497b30d13a602d) +- ci: Fix Grumphp task name. [`4fd27fd`](https://github.com/loophp/collection/commit/4fd27fdd6ff3dd7f39020e683c13a48461aaaffa) +- docs: Enable badge showing infection tests score. [`603eb82`](https://github.com/loophp/collection/commit/603eb82cd4cea8c3cd1d848ce58330a39e912135) +- ci: Enable infection tests reporting. [`fed4fbc`](https://github.com/loophp/collection/commit/fed4fbcaf016a918d76b51e636baffca1e38ff80) +- sa: Improve static analysis score. [`d11d032`](https://github.com/loophp/collection/commit/d11d0327d4cce670a69983e26577356ec7b56a2e) +- refactor: Update `Intersperse` operation - do not throw when values are negative. [`1497db7`](https://github.com/loophp/collection/commit/1497db70da6e4864f86e78e7d80849d1554c65d8) +- chore: Update static files. [`47eb342`](https://github.com/loophp/collection/commit/47eb342be13ecf048adc234b2d2cdec6c9644ed4) +- chore: Update static files. [`401cf20`](https://github.com/loophp/collection/commit/401cf2001732cdf9c1b91b550d6f0b939940578c) +- chore: Normalize composer.json. [`cf34e8d`](https://github.com/loophp/collection/commit/cf34e8d31e9e9fe66ee0c2142e7daf9841f70741) + +## [6.0.3](https://github.com/loophp/collection/compare/6.0.2...6.0.3) - 2021-12-11 ### Merged @@ -13,6 +263,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Commits +- docs: Add/update CHANGELOG. [`7e22909`](https://github.com/loophp/collection/commit/7e22909259cd0804bc6e5be2754c7ff0c8ccb840) - refactor: Improve `Intersperse` operation. [`a208d4c`](https://github.com/loophp/collection/commit/a208d4c8fe4877cff108196f481fdd7935513553) ## [6.0.2](https://github.com/loophp/collection/compare/6.0.1...6.0.2) - 2021-11-30 @@ -328,8 +579,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - cs: Fix minor things here and there. [`9780bbd`](https://github.com/loophp/collection/commit/9780bbdfbc768b6cb2a8475a6754e0cdb4e06523) - fix: Documentation code style. [`152447b`](https://github.com/loophp/collection/commit/152447b9d894f88a01fdb3878c1c9a4c0f6739f3) - docs: Minor typing update. [`5aa1d02`](https://github.com/loophp/collection/commit/5aa1d0270be6afc0c5c18519b2e5e6c1346bf5da) -- docs: Minor typing update. [`f620859`](https://github.com/loophp/collection/commit/f6208598e5f2e24c928a427cd8b42039a66d996c) -- docs: Minor typing update. [`84ea356`](https://github.com/loophp/collection/commit/84ea356cb372351a9a7deb4673c4acb18792ace8) +- docs: Minor typing update. [`f620859`](https://github.com/loophp/collection/commit/f6208598e5f2e24c928a427cd8b42039a66d996c) +- docs: Minor typing update. [`84ea356`](https://github.com/loophp/collection/commit/84ea356cb372351a9a7deb4673c4acb18792ace8) - fix: Typo in README. [`be4aec3`](https://github.com/loophp/collection/commit/be4aec30db6d61320018bc1bae362d6e12af6d54) - refactor: Update Merge operation - use PHP 7.4 code style. [`e967e01`](https://github.com/loophp/collection/commit/e967e014c2c0c5ccb6c18c3a29b40c15473baed4) - refactor: Update Append operation - use PHP 7.4 code style. [`27285f8`](https://github.com/loophp/collection/commit/27285f8b695ec4fe5e2e8cd4cb543b3886e5dbc9) @@ -1313,7 +1564,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add the Cycle operation. [`b82b610`](https://github.com/loophp/collection/commit/b82b610126f5a90e6ac2cafd79be863c13588747) - Update README. [`6f4cddf`](https://github.com/loophp/collection/commit/6f4cddf7363e41a67a4c59df179138590f8cd063) -## [0.0.12](https://github.com/loophp/collection/compare/0.0.11...0.0.12) - 2019-09-09 +## [0.0.12](https://github.com/loophp/collection/compare/0.0.10...0.0.12) - 2019-09-09 ### Commits @@ -1329,11 +1580,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add the Split operation. [`2e0dc1a`](https://github.com/loophp/collection/commit/2e0dc1a5002a118f250d61ac52c50e6641496c46) - Simplify the times() method. [`6d8014b`](https://github.com/loophp/collection/commit/6d8014bd67c6320741720e66adaa55d52a216d80) - Differentiate Operation and Transformation. [`3546cfa`](https://github.com/loophp/collection/commit/3546cfab79a3b7778d9e68027de1f369a01ec003) - -## [0.0.11](https://github.com/loophp/collection/compare/0.0.10...0.0.11) - 2019-09-03 - -### Commits - - Update README. [`3e59719`](https://github.com/loophp/collection/commit/3e59719ce0d86f82a834ff915f3e15fe8e99325a) - Fix bug with rebase method. [`72dd937`](https://github.com/loophp/collection/commit/72dd937bbd12950e5064dc71daba59018ec2e931) - Update PHPDoc. [`16166ea`](https://github.com/loophp/collection/commit/16166eaf2b235ce4426629a0c325ea0ba83639d9)