Skip to content

Latest commit

 

History

History
1918 lines (1519 loc) · 169 KB

CHANGELOG.md

File metadata and controls

1918 lines (1519 loc) · 169 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Merged

  • Adds tap() - allows shorter syntax for chaining no side effects operations #340

Commits

  • fix: doctrine/collections deprecations 5b39b54

7.5.2 - 2024-02-20

Merged

  • refactor: remove obsolete All class #338

Commits

  • docs: update changelog b0b4468
  • refactor: minor SA update Tails operation acb6d8f

7.5.1 - 2024-02-19

Merged

  • loophp/iterators: 3.1.1 -> 3.2.0 #337

Commits

7.5.0 - 2024-01-22

Merged

  • sort: improve sort operation #334

Commits

  • docs: update changelog b8bfd5a
  • fix: make sort operation's direction match PHP usort function's direction 3b0f875
  • chore: autofix code style 353f0c2

7.4.0 - 2024-01-18

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

7.3.0 - 2023-12-10

Merged

  • fix: pair and chunk operation when using empty input #327
  • Breaking change: feat: update Collection::fromFile constructor #322
  • feat: add dispersion operation #320
  • Improve return types for psalm #321
  • feat: add entropy operation #317
  • doc: fix duplicate example #315
  • docs: fix light color code everywhere where it was white #312
  • docs: fix light color code over light gray background #311

Fixed

  • fix: pair and chunk operation when using empty input (#327) #326

Commits

7.2.1 - 2023-09-06

Merged

  • feat: add countIn operation #306
  • feat: add length parameter to fromFile constructor #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-action 6a4374b
  • chore: update .editorconfig d700df0
  • refactor: range operation may now yield int|float instead of float 64ba910
  • chore: autofix code style f346796
  • doc: add fizz-buzz example 4d3d325
  • doc: fix groupBy example 55f1989

7.2.0 - 2023-08-11

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.json ff6299f
  • 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

7.1.2 - 2023-02-16

Commits

  • docs: Update changelog. 4e60bd1
  • fix: refactor DropWhile, Since, Until operations for better performance 0e8ffa8

7.1.1 - 2023-02-15

Commits

  • docs: update changelog 958202c
  • refactor: TakeWhile - simplify things 9d4bee7
  • refactor: TakeWhile: do not use CachingIteratorAggregate 09eb135
  • style: autofix codestyle 61f15cd

7.1.0 - 2023-02-09

Merged

  • ci: add missing pcov extension #297
  • chore(deps): update cachix/install-nix-action action to v19 #296
  • Psalm 5.4 upgrade #287
  • IsNotEmpty operation #292
  • Fix reducing operations #288
  • chore(deps): update actions/stale action to v7 #286

Commits

  • docs: update changelog 30682ef
  • chore: update clover coverage 5b510c2
  • 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.json 70f95b6
  • chore: bump Psalm 5dd2a88
  • fix: find operation 50d416a
  • chore: bump vimeo/psalm temporarily 1aca436
  • fix: autofix code style 29b0456
  • fix: unfold static operations a429c78
  • chore: remove obsolete PHPDoc annotations 531249e
  • chore: update PHPStan baseline 999c257
  • fix: foldRight operation f717078
  • fix: groupBy update typing information b55fec7
  • chore: update groupBy b5662f4
  • sa: update PHPStan baseline 61f6367
  • fix: Matching operation, add inline SA annotations e9cc0f3
  • chore: update license date 755f8b3
  • fix: update empty constructor 9a4b0bb
  • fix: foldleft, reduce, update return types and tests 19907fc
  • fix: foldleft operation c3a536b
  • cs: autofix code style 507175d
  • fix: last operation improvements 7c60e2c
  • fix: tails SA improvement 8e3de94
  • fix: tails operation improvements 58c840b
  • fix: compare minor improvement 5e46af0
  • fix: reduce operation static annotations 5c7d401
  • fix: convert callable into Closure f30c87a
  • fix: reduce operation, use ReduceIterableIterator 884f64c
  • 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 collection section with code example 0c1d439
  • ci: fix PDF documentation generation c93f350

7.0.0 - 2022-12-12

Merged

  • Psalm 5 upgrade #283
  • add AbstractCollection abstract 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: unfold constructor is not variadic anymore #269
  • Documentation: refactoring #266
  • chore(deps): Bump cachix/install-nix-action from 17 to 18 #267
  • Breaking change: refactor: Refactor Reduce operation. #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 pcov for 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 Averages operation. #238
  • Simplify every operation #247
  • Get rid of phpspec/prophecy-phpunit. #246
  • Breaking change: fix: Update scanLeft1 operation. #245
  • chore(deps): Bump shivammathur/setup-php from 2.17.1 to 2.18.0 #244
  • refactor: Update every operation. #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 Iterator with iterable almost everywhere. #233
  • refactor: Use new keyword 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 - using IteratorAggregate. #229
  • Use loophp/iterators #228

Fixed

  • tests: Add new tests. #264

Commits

  • Breaking change: refactor: Tails operation, performance improvements d71b2ef
  • Breaking change: refactor: Update Unpack operation. 34c36da
  • docs: update changelog c6b9164
  • chore: update composer.json and fix auto-changelog command 6949831
  • chore: update composer.json 1ba6085
  • remove obsolete annotation 908d3e5
  • refactor: Tails operation ea4b92c
  • refactor: Tails operation, performance improvements 1c28be3
  • refactor: Window operation: minor performance improvement 486567a
  • refactor: upgrade tests for PHP 8 25067cb
  • refactor: upgrade docs for PHP 8 1d9c134
  • refactor: upgrade src for PHP 8 4a4a60b
  • cs: autofix cs 4dc36fe
  • fix: update IfThenElse operation eb78132
  • 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 Collection interface use statements 6bbb829
  • fix: update span and partition operations 31d4b31
  • fix: remove static constructors 747e1f8
  • docs: fix unfold signature d11addd
  • sa: update PSalm baseline f78dc32
  • Revert "sa: fix Wrapable interface" 1cf67d1
  • sa: fix Wrapable interface 3866fe5
  • sa: fix template-extends annotations a3f8b45
  • cs: reduce the amount of use statements 19eb14e
  • cs: reduce the amount of use statements dce7e48
  • Autofix code style. cd4a6f6
  • direnv: update .envrc b402706
  • fix: update constructors c49e62b
  • fix: Update GroupBy static 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: Since and Until operation - fix sa bde565c
  • fix: Compare operation - fix sa 06729d7
  • fix: fix operator sign ea90e23
  • fix: remove optional parameters 6a27551
  • fix: update interfaces 0dae4c2
  • fix missing parameter 69818b3
  • docs: Update pipe documentation ec10eeb
  • cs: get rid of obsolete phpcs annotations a385a6a
  • 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/ocular 583668f
  • Autofix code style. 079a7b9
  • docs: Update changes a6653b8
  • scanLeft and scanRight has 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 diff SA tests ece6067
  • tests: update diff SA tests 0af490e
  • fix typos with codespell 28e7663
  • fix Collatz example 6ec0563
  • chore: remove custom nix files 4197638
  • cs: autofix code style e546136
  • refactor: update Pair operation eed0c7e
  • chore: prettify codebase 2a0ed02
  • refactor: align Duplicate operation with Distinct de09c01
  • 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 phpsandbox badge and link. 9f02c7c
  • docs: Fix minor things. 679b353
  • chore: Update flake.nix file. 8ddd35d
  • chore: Ignore Nix files d34980d
  • ci: Add workflow to build a PDF of the documentation for each tag. 7810400
  • chore: Add composer command to run the documentation server. 15dc6bd
  • docs: Update documentation. a783394
  • chore: Add Nix flakes file for documentation building. 3f90ed6
  • chore: Remove docker stuff. 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 prettier in 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 distinct tests. 6147f9c
  • ci: Include tests src directories. ff8fea0
  • sa: Fix distinct tests. edc521f
  • chore: Update test workflow. 7f43d4b
  • chore: Update test workflow. 738cc6e
  • Update Filter and Reject operations. 186c003
  • Minor cosmetic changes. 066504a
  • Autofix code style. 25b2a69
  • refactor: Minor optimization in Pack operation. 32462ad
  • fix: Equals operation, fix typing information. eff8102
  • fix: Same operation, fix typing information. 5a91d8a
  • fix: Reduction operation, 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-suppress annotation. 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 Reverse operation. 545bd60
  • fix: Remove ext-xdebug from composer.json for 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: random operation: use RandomIterableAggregate. 78e7a6f
  • tests: Add missing test. 8afedbf
  • tests: Add missing test. 7a05041
  • cs: Autofix code style. 0d2595e
  • misc: Further optimizations with Every operations. f523cdb
  • misc: Further optimizations with Every operations. de1edb3
  • tests: Remove duplicated tests. 2a0c84d
  • cs: Minor changes. f0612e7
  • refactor: Optimize Head operation. 33e2f15
  • cs: Autofix code style. 6cc2a05
  • fix: SA - Update Unwindow operation. c9562fd
  • refactor: Simplify and optimize Transpose. 38cca46
  • refactor: Use new keyword everywhere. aacf7df
  • refactor: Use new keyword everywhere. a6db56e
  • refactor: Minor SA annotations update. 35bf8c2
  • refactor: Use new keyword everywhere. 8a3a05a
  • refactor: Remove useless intermediary variable. 79ebed1
  • refactor: Drop rely on Limit now. 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: Unpack operation - Use UnpackIterableAggregate. aaa289a
  • Update license 741cbce
  • Normalize composer.json 8ef547d
  • fix: Add missing from keyword. d179b11
  • Autofix code style. 6df94ee
  • refactor: Minor optimization, remove return keyword. 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: Same operation - proper sign. 15bf8de
  • fix: Same operation must yield. 317b519
  • cs: Same operation, clear remaining todo. 518209b
  • refactor: Simplify fromGenerator operation. b2e1dc9
  • sa: Update typing information to reduce warnings. b2028d8
  • refactor: Simplify DropWhile operation. e794b79
  • test: Add minor test for Sort operation. 1935d11
  • Fix scrutinizer/ocular upload. 5f956e2
  • tests: Only do mutation testing on PHP 8.0. 525e32e
  • docs: Update Contributing section. 36cdcd1
  • ci: Fix scrutinizer/ocular upload. 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 Intersperse operation - do not throw when values are negative. 1497db7
  • chore: Update static files. 47eb342
  • chore: Update static files. 401cf20
  • chore: Normalize composer.json. cf34e8d

6.0.3 - 2021-12-11

Merged

  • Fix intersperse operation. #226

Commits

  • docs: Add/update CHANGELOG. 7e22909
  • refactor: Improve Intersperse operation. a208d4c

6.0.2 - 2021-11-30

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

  • docs: Add/update CHANGELOG. e9373e6
  • cs: Autofix code style. ab5cac3
  • Fix PHP 8.1 Deprecations #225 0cb2e0e
  • cs: Autofix code style. d8d812b
  • sa: Improve static analysis score. db0073e

6.0.1 - 2021-11-12

Merged

  • Update docs version #219
  • Template param order matters? #218

Commits

  • docs: Add/update CHANGELOG. 3142f23

6.0.0 - 2021-11-11

Merged

  • [PHPStan Baseline] Fix Errors Part 2 + Modify Unfold Operation #217
  • [PHPStan Baseline] Fix a few errors #216
  • Fix/update PHPStan #212
  • Fix All operation for standalone usage #215
  • Update all operation 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 Find operation #204
  • Refactor Current operation - Let specify a default value #205
  • chore(deps): Bump actions/checkout from 2.3.4 to 2.3.5 #203
  • fix: Update Flipable interface. #200
  • chore(deps): Bump shivammathur/setup-php from 2.14.0 to 2.15.0 #197

Commits

5.1.0 - 2021-09-27

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 inits operation #191
  • refactor: Update Duplicate and Distinct operations in point free style. #188
  • refactor: Update various operation and typing informations #190
  • refactor: Update Init operation in point free style. #186
  • refactor: Update combine operation in point free style. #187
  • chore(deps): Bump shivammathur/setup-php from 2.12.0 to 2.13.0 #184
  • refactor: Update Transpose operation in point free style. #178
  • refactor: Update Zip operation in point free style. #181
  • refactor: Update Window operation in point free style. #179
  • fix: Update PHPStan configuration #183
  • refactor: Minor optimizations in various operations. #180
  • refactor: Update Collapse operation in point free style. #182
  • refactor: Update cross product operation in point free style. #177

Commits

  • docs: Update CHANGELOG.md. 05beff2
  • fix: Update RandomIterator types. 5a5ae1d
  • fix: Fix Unpair operation return types. 885059f
  • fix: Autofix code style. 08199ca
  • Fix interfaces (to backport to master) f9b7c1c
  • Fix Rangeable interface (to backport to master) da430f9
  • Fix Zipable interface (to backport to master) 7e47439
  • Fix Initsable interface (to backport to master) 711f3c7
  • Fix Groupable interface (to backport to master) 6c24b7e
  • fix: Update return types of Implode and Unlines operation. 05bbf8e
  • refactor: Update Frequency operation return type and minor optimizations here and there. a1964f4
  • refactor: Update Transpose operation in point free style - add missing documentation (#178) bd0ec78
  • tests: Add missing test for the Window operation. a2ee653

5.0.0 - 2021-08-06

Merged

  • Documentation: Collection Principles #174
  • Refactor/update Span and Partition in point-free #175
  • refactor: UpdateDistinct and Duplicate operations. #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 ::fromGenerator constructor. #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 Reduce operation #139
  • Add Equals Operation #152
  • Fix: Prevent warning when using odd amount of items. #154
  • Link to stable docs instead of latest #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 Reverse operation - 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 Map to 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 Reject operation. #125
  • Breaking change: Update Filter operation. #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

4.1.0 - 2021-07-05

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 strict Operation #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

4.0.7 - 2021-05-25

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

  • docs: Update changelog. 9b986aa
  • chore: Add composer commands and necessary files to generate the changelog. 645930e
  • ci: Update CI configuration. 3813450
  • refactor: Autofix code. 540006b
  • chore: Update drupol/php-conventions. cd50573

4.0.6 - 2021-04-20

Commits

4.0.5 - 2021-04-20

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

4.0.4 - 2021-04-17

Merged

  • chore(deps): Bump actions/cache from v2.1.4 to v2.1.5 #75

Commits

  • docs: Update changelog. 583e95b
  • docs: Update README.md. 4fa857b
  • chore: Update composer.json - update dev dependencies constraints. dbf6441
  • refactor: Fix a couple of PSalm issues. 89db061
  • refactor: Minor update on MatchOne operation. b913a6b

4.0.3 - 2021-04-11

Commits

  • docs: Update changelog. 2a5a141
  • refactor: Update MatchOne operation. 287b158
  • tests: Add more tests. 372b1d1
  • refactor: Update Every operation. e0cc29c

4.0.2 - 2021-04-04

Commits

  • docs: Update Changelog. e183f29
  • Revert "refactor: Use call_user_func_array() functions." 54327af

4.0.1 - 2021-04-03

Merged

  • collection: implements missing \Countable interface #74
  • Fix minimum PHP version in the readme #73

Commits

  • docs: Update Changelog. 78b5e2e
  • refactor: Use call_user_func_array() functions. 614a663
  • refactor: Minor optimization in Window operation. 1e8de4a
  • refactor: Minor types fixes. 77db2cd

4.0.0 - 2021-03-18

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

3.4.3 - 2021-01-03

Commits

  • Breaking change: refactor: Update Since operation. 0420906
  • docs: Update changelog. 9be6443
  • refactor: Update Split operation. 5b9d153

3.4.2 - 2021-01-03

Commits

  • docs: Update changelog. 1e36e85
  • refactor: Update and simplify typing information. 6ab1622
  • refactor: Optimize DropWhile operation. 68d7bdc
  • refactor: Optimize Group operation. a4b2653

3.4.1 - 2021-01-02

Commits

  • docs: Update changelog. d7cd376
  • refactor: Optimize DropWhile operation. d91eb93
  • refactor: Optimize Group operation. aa418fe
  • refactor: Update Drop operation. 3d4786b
  • refactor: Minor documentation changes. 7957e26
  • refactor: Update Zip operation. 37593eb

3.4.0 - 2020-12-30

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

3.3.5 - 2020-12-27

Commits

  • docs: Update changelog. 4c4b77d
  • refactor: Rename the Match class. 74d3682

3.3.4 - 2020-12-27

Commits

  • docs: Update changelog. 6acbd55
  • chore: Update .gitignore. ea4bd0c
  • docs: Update typing information. 0f6431c
  • refactor: Update Match operation. 81c0922

3.3.3 - 2020-12-26

Commits

  • docs: Update changelog. 02116ab
  • refactor: Use Match operation in other operations. f676c19
  • docs: Update typing information. 0ae8995
  • feat: Add match operation. fa01f65

3.3.2 - 2020-12-24

Commits

  • docs: Update changelog. b08ee64
  • refactor: Use For loop instead of Foreach. c59cea9

3.3.1 - 2020-12-21

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

3.3.0 - 2020-12-17

Merged

  • Iterators refactoring #54
  • chore(deps-dev): Update friends-of-phpspec/phpspec-code-coverage requirement from ^5 to ^5 || ^6 #53

Commits

  • docs: Update changelog. 1e843a3
  • tests: Add more tests. 8fc51fd
  • refactor: Mark iterators as internal. af7ee07
  • refactor: Rewrite iterators and optimize things here and there. 87124da
  • chore(deps-dev): Update friends-of-phpspec/phpspec-code-coverage requirement || ^6 164a8b5

3.2.0 - 2020-12-15

Commits

  • docs: Update changelog. a6e12ed
  • refactor: Update various operations. b5da182
  • refactor: Use more IteratorIterator. 0127f40
  • refactor: Minor code style update. 54d0f8e
  • docs: Fix code example. 65769b4

3.1.1 - 2020-12-08

Merged

  • Update ScanLeft so it doesn't go further if the iterator is not valid. #49

Commits

  • docs: Update changelog. a4464cb
  • fix: Update ScanLeft so it doesn't go further if the iterator is not valid. 5d9e448
  • docs: Update documentation. e518492

3.1.0 - 2020-12-06

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

  • docs: Update changelog. d06aebc
  • refactor: Update CS. 9852751
  • refactor: Add a $seed parameter to RandomIterator. be7a0c1
  • ci: Always run unit tests. bbf0045
  • docs: Update changelog. 169e00e

3.0.5 - 2020-11-23

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

  • docs: Update changelog. 26d3551
  • docs: Update README badge. 7140fc7
  • ci: Split Github Actions into multiple files. a442fea
  • chore(deps-dev): Update friends-of-phpspec/phpspec-code-coverage requirement || ^5.0.0 cd52844
  • docs: Update typing information. 0ac6f71

3.0.4 - 2020-11-12

Commits

  • docs: Update changelog. cd260e2
  • chore: Update static configuration dev files. 0d3b268
  • refactor: Improve performance by preventing the creation of multiple ClosureIterator at each operation call. dd01c4e

3.0.3 - 2020-11-07

Merged

  • Fix asyncMap warning in the docs #41

Commits

  • docs: Update changelog. a8cafb5
  • refactor: Update AsyncMap operation - major improvements - thanks @kelunik. 1fbf5e9
  • Fix asyncMap warning in the docs 5a1b7be

3.0.2 - 2020-11-06

Commits

  • docs: Update changelog. b97df67
  • refactor: Update Head and First operations. eb792af
  • refactor: Update asyncMap operation, make it variadic. 8b848bb
  • docs: Add missing link. 113b4aa

3.0.1 - 2020-11-05

Merged

  • New asyncMap() operation (featuring amphp!) #40

Commits

  • docs: Update changelog. bd62ce6
  • feat: Add asyncMap operation. 6139ba6
  • chore: Add amphp/parallel dependency. 3ca953b

3.0.0 - 2020-10-27

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

2.7.4 - 2021-06-11

Commits

  • refactor: Deprecate Collection::with() static constructor. 8060689

2.7.3 - 2020-10-17

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

2.7.2 - 2020-10-10

Commits

  • docs: Update changelog. 1b07b0d
  • docs: Update documentation. 94773e6
  • refactor: Add missing annotations. bdedb51
  • refactor: Add return statement. 1a57ffb
  • test: Add missing tests. a2217a8
  • refactor: Align TakeWhile and Until operations. b680be9
  • refactor: Leverage tacit programming. aa4df6e

2.7.1 - 2020-10-08

Merged

  • Fix Has operation. #29
  • chore(deps): Bump actions/checkout from v2.3.2 to v2.3.3 #27

Commits

  • docs: Update changelog. 7ea007d
  • fix: Fix Has operation. 8af7817
  • refactor: Leverage tacit programming. 69541f6

2.7.0 - 2020-10-07

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

2.6.3 - 2020-10-07

Commits

  • docs: Update changelog. 46911c7
  • refactor: Update return types. 25cc915
  • refactor: Add missing annotations. f1aae0d
  • feat: Add Inits operation. 70855c3
  • docs: Update annotations. 39ad38f
  • feat: Add Span operation. 48d9620

2.6.2 - 2020-10-02

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

2.6.1 - 2020-09-23

Commits

  • docs: Update changelog. a8a3eec
  • refactor: Leverage tacit programming (point free style) 764a3c6
  • chore: Update Grumphp configuration. 855aa63
  • feat: Add Every operation. 8ea76af

2.6.0 - 2020-09-22

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

2.5.5 - 2020-09-16

Merged

  • Update vimeo/psalm requirement from 3.14.2 to 3.16 #26
  • Bump actions/create-release from v1.1.3 to v1.1.4 #25

Commits

  • chore: Update composer.json. 92f9ed8
  • docs: Update changelog. 091c97c
  • feat: Add Unwindow operation. e240e6a

2.5.4 - 2020-09-14

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

2.5.3 - 2020-09-12

Commits

  • Breaking change: refactor: Update Associate operation. 168eb1a
  • docs: Update changelog. b3bd1fe
  • docs: Update annotations. 6cb1e77
  • refactor: Update some operation to make them lazy by default. ff6c556
  • docs: Update documentation. d990886
  • refactor: Update Product operation. 1318e41

2.5.2 - 2020-09-08

Commits

2.5.1 - 2020-09-08

Commits

2.5.0 - 2020-09-08

Commits

  • Update changelog. 3ec344d
  • Remove unneeded variable assignations. 8ae26f6
  • Update Unpack operation. c253472
  • Replace Only with IntersectKeys operation. 78a20a3
  • Use Filter operation when it's possible. 841a7c5
  • Update annotations. 3dbf949
  • Replace Iterate with Unfold operation. 6401f74
  • Update Limit operation. 95f8856
  • Update Window operation. c78813b

2.4.0 - 2020-09-07

Commits

2.3.5 - 2020-09-03

Commits

2.3.4 - 2020-09-03

Commits

2.3.3 - 2020-09-01

Commits

  • Update changelog. ea07a8d
  • Replace the Loop operation with the Cycle operation. 2189649
  • Add Unfold operation. 58eeaa0
  • Update annotations. af3226f
  • Update documentation. 3bb8caa

2.3.2 - 2020-08-31

Commits

2.3.1 - 2020-08-30

Commits

2.3.0 - 2020-08-30

Merged

  • Convert operations and transformations to function objects #18

Commits

  • Update Changelog. cddf0b8
  • Remove duplicated information. 961f5b6
  • Update README.md. cb84521
  • Update documentation. f115d1d
  • Update Psalm annotations. 126994f
  • Update tests. a7c1ff3
  • Convert Transformations into Operations. e36b03c
  • Syntactic sugar to reduce the amount of parenthesis. f40dc3b
  • Convert Operations and Transformations into function object. 6ce8ecf

2.2.0 - 2020-08-28

Fixed

  • Update Group operation. (Fix #19) #19

Commits

2.1.0 - 2020-08-22

Merged

  • Bump actions/create-release from v1.1.2 to v1.1.3 #16
  • Bump actions/stale from v3.0.9 to v3.0.10 #15

Commits

2.0.5 - 2020-08-12

Merged

  • Bump actions/checkout from v2.3.1 to v2.3.2 #10

Commits

  • Various minor changes and optimizations. 6e09157
  • Update Contains transformation, make it variadic. b78a704

2.0.4 - 2020-08-08

Commits

  • Simplify the use of the Sort callback in userland. 5014004

2.0.3 - 2020-08-07

Commits

  • Add new Github workflows, from ergebnis/php-library-template. c61749c
  • Use parameters of Closure Iterator. 9f5367b
  • Update documentation. 940fcec
  • Add docker stack for building documentation locally. 54d2559

2.0.2 - 2020-08-05

Commits

  • Add example with random number distribution. f49c1ca
  • Update Sort operation and remove the SortableIterableIterator. d0c7f2f
  • Add more Psalm annotations. e7e7898
  • Update README. aed338c
  • Remove obsolete Psalm annotation. a218d84
  • Add Associate operation. f76a0a5
  • Update and fix Psalm phpdoc. 91c8900

2.0.1 - 2020-08-04

Commits

2.0.0 - 2020-08-03

Merged

  • Feat improve static analysis score. #8

Commits

  • Update README. 69e9683
  • Update Grumphp configuration file. 5c5c0d1
  • Update composer.json. ca6e895
  • Rewrite @template into @psalm-template. f488268
  • Remove PHPStan config file. b3a39a3
  • Update PHPDoc. e095c55
  • Update Intersperse operation. 825b7da
  • Update Flip operation. 0e1489a
  • Use an Iterator for Transformations. e5b6acd
  • Remove obsolete Base class. 1bab2c7
  • Improve static analysis phpdoc. f87758e
  • Improve static analysis phpdoc. 32bb7bf
  • Update default PSalm configuration and composer.json. cd12c3b
  • Update default PSalm configuration. 09e1f63
  • Disable PHPStan checks until bugs are fixed. a716ced
  • Fix static analysis leftovers. 8e3d262
  • Update typing. e1e25cf
  • Update Contains operation. 4723545
  • Add PHPStan configuration file to ignore unsupported features. 2fda169
  • Add Has Transformation. 5c69049
  • Update README. 7699f1b
  • Add tests for Random operation. c71549c
  • Enable CI for PHP 7.1. 8b94f6d
  • Prevent builds from failing on Windows. e65ddb8
  • Add documentation. 95298d6
  • Add documentation. 7c5ee8f
  • New Random operation e20bd8e
  • Use an Iterator instead of iterable. 377b214
  • Update filter operation. 8374728
  • New Cache operation. 63762eb
  • Update Run operation. 5a5a1bd
  • Update Map operation. 106fbfe
  • New Intersect and IntersectKeys operation. 3bc2006
  • New Diff and DiffKeys operation. 1cac685
  • Bump drupol/php-conventions. b65cffe
  • Update scrutinizer. 2a41c7d
  • Update Grumphp configuration file. 7d5282d
  • Update composer.json. 29de649

1.1.1 - 2020-07-20

Merged

  • Bump actions/checkout from v1 to v2.3.1 #7
  • Fix installation instructions #6

Commits

  • Bump drupol/php-conventions. 87d8762
  • Update Github action. a715506
  • Simplify Since and Until operations. ced44cc
  • Update documentation. 51c5402
  • Update Collection::compact() and let user provide parameters. 7733252
  • Implements Collection::compact() operation. 9970d38
  • Implements \JsonSerializable. 8930335

1.1.0 - 2020-07-07

Merged

  • Bump actions/cache from v1 to v2 #4

Commits

  • Update documentation. 67a0007
  • Update Sort operation. 98b2495
  • Update Slice operation. be98389
  • Update Shuffle operation. e88562a
  • Update Scale operation. 74b621c
  • Update RSample operation. 980ebc5
  • Update Product operation. 5247ce5
  • Update Chunk operation. 84c629c
  • Update Collapse operation. 795aa06
  • Update Permutate operation. 72202db
  • Update Combination operation. 64a64a4
  • Remove inheritdoc. 5a727ae
  • Update composer.json. 975e732
  • Update Shuffle operation. 74232f7
  • Update Reverse operation. a9b6c9a
  • Update tests, use new factories. baa9caf
  • Update Window operation. fe0d79b
  • Update Times operation. 3721100
  • Update Tail operation. fe32346
  • Update Cycle operation. d91a49a
  • Update Chunk operation. 20e3573
  • Update Loop operation, use keys. 597122c
  • Add new typed factories. 615189f
  • Add Wrap and Unwrap operations. 0bd0e42
  • Update Append, Merge and Prepend operation. 9b77e0e
  • Update documentation. 02dd5be
  • Update FUNDING.yml file. 44c566f
  • Update tests to avoid issues on CI. e0d5e27
  • Update PHPDoc, fix CS. 0100651
  • Update PHPDoc, remove obsolete doc. 4589576
  • Update README and composer.json file. 2531f66
  • Update README and documentation. e68c325
  • Add Group operation. 93e7be8
  • Code style fixes. 3253196
  • Add nunomadudo/phpinsights report. 03400a7
  • Add nunomadudo/phpinsights report. 2ffb151
  • Update Zip operation example. 742d74f
  • Update documentation. 8c0b06d
  • Minor update in Reduction operation. 68578dd
  • Update Since operation. c3b420c
  • Increase Grumphp timeout. 4da37bc
  • Add Since operation. 12a6bb6
  • Update documentation. 92f8c20
  • Get rid of all PSalm warnings. 4498857
  • Update badges. 15891b8
  • Minor update to Frequency operation. 5b2a3a7
  • Add Frequency operation. 039c803
  • Add a new example. df73058
  • Update README file. 1a70029
  • Minor else statements removal. df0e2c9
  • Minor optimization. 80f722d
  • Remove duplicate type. de7d49c
  • Fix PHPStan. 6e981db
  • Refactor the operations. df85420
  • Minor optimization. cdd94a3
  • Update PHPDoc. bacbadd
  • Remove PHP 8 from CI. d632670
  • Add Falsy/Truthy/Nullsy transformations. e4bf275
  • Update composer.json. 22d2ae9
  • Add Dependabot configuration. 7431348
  • Fix PHPStan issues. d36339a
  • Bump PHPStan. af643c5
  • Fix PHPStan version until its bugs are fixed. c9aa01b
  • Reduce PSALM warnings. 7ffef09
  • Minor improvement. affab6c
  • Add Transpose operation. 0070b45
  • Optimize Zip operation. f87d6fc
  • Add Column operation. 9cc7798
  • Fix some PSalm warnings. ca0b0b7
  • Minor optimizations. 07f058f
  • Minor optimizations. b21631a
  • Update Chunk operation. Now accept variadic parameter. c31335f
  • Update PHPDoc. 70fb09d
  • Enable PSaslm and its badge. 402e2de
  • Bump infection/infection. acf8dd1
  • Add PHP 8 in Github action configuration. 5159694
  • Refactoring. Pass the $collection object by default to the static function returned by the Operation object. Rename Operation::on() in Operation::__invoke(). c1b3f91
  • Update GrumPHP configuration. 17af0b2
  • Update documentation. 9606092
  • Update composer.json. 1f12eb9
  • Update Github actions configuration. b25c0cf
  • Add Shuffle operation. 35c58cb
  • Minor optimization. 5c1f248
  • Update documentation. 7b71cbc
  • Add Window operation. 95a87ca
  • Add Loop operation. 4b7d288
  • Minor optimization in Slice operation. db761a6
  • Leverage the variadic arguments wherever we can. 978323e
  • Use FoldLeft in "Last" transformation. ff1f702
  • Minor optimizations. 18d20d7
  • Move files in their proper directory. dfb52f3
  • Bump drupol/php-conventions. 66d47f2
  • Update Reduction operation. 57cedbc
  • Update Cycle operation. 550819b
  • Update Walk operation. be33b49
  • Update Times operation. 7376353
  • Update Split operation. a323774
  • Add FoldLeft and FoldRight transformations. b261a89
  • Fix PHPStan bogus issue by ignoring it. 88fd00f
  • Update Github actions configuration. a0352ae
  • Update composer.json. 82faa39
  • Let the collection use a resource of type stream in its constructor. a780687
  • Fix code style and PHPStan warnings. caf5a37
  • Update documentation. bbbb99c
  • Update documentation. 94691b8
  • Minor code style update. 633b10a
  • Update documentation. fc62742
  • Update documentation. 68cd85b
  • Update documentation. dbddf8f
  • Update documentation. d397233
  • Improve code consistency based on documentation and interfaces. 2c02bf3
  • Add documentation. 6f45767

1.0.11 - 2020-01-09

Commits

  • Let the callback return arrays with non numerical keys. 77d111f
  • Now ::until() uses a variadic argument. 34b62c4
  • Revert "Try to test using low deps." b325505
  • Try to test using low deps. f46348e
  • Minor changes to the ClosureIterator. ed2d0a9

1.0.10 - 2020-01-08

Commits

  • Fix the behavior of the ::apply() operation. 719eea8
  • Remove obsolete ::rebase() operation. 486b835
  • Fix the behavior of the ::apply() operation. eb1c4ae

1.0.9 - 2020-01-06

Commits

  • Fix behavior of ::filter() operation. bc2d733

1.0.8 - 2020-01-06

Commits

  • Increase default Grumphp timeout to avoid useless failures in CI. 03a53fa
  • Fix PHPStan error. 06c5f62
  • Use self keyword. 59b6fa8
  • Update the ::times() operation. 7737e07
  • Update the ::sort() operation using a new SortableIterableIterator object. f57c286
  • Update documentation. ff360a6
  • Minor optimizations and rephrases. 675f4ab

1.0.7 - 2020-01-03

Commits

  • Add new methods: ::combinate() and ::permutate(). c55a2ef
  • Minor rewrite. 44889cd

1.0.6 - 2020-01-02

Commits

  • Add Product operation to compute the cartesian product. 1940b16
  • Update default documentation homepage. 0507b69
  • First stab at documentation. 0231878
  • First stab at documentation. a847123
  • First stab at documentation. 8178972

1.0.5 - 2020-01-01

Commits

1.0.4 - 2019-12-26

Commits

  • Remove unneeded ArrayIterators and use simple arrays. 01d5ae2
  • Minor changes here and there. 97769de
  • Introduce an IterableIterator to reduce duplicated code here and there. 9fe3d5a
  • Update composer.json. b3b3eed
  • Update Github actions workflow. bc48ab2
  • Update chunk operation. cba479e
  • Update README. b7853d9

1.0.3 - 2019-12-25

Commits

  • Fix bug in ClosureIterator::rewind(). f3779ae

1.0.2 - 2019-12-23

Commits

1.0.1 - 2019-12-06

Commits

  • Cast array keys as string by default in Flip operation. 905d3fb

1.0.0 - 2019-11-12

Commits

0.0.17 - 2019-09-23

Commits

0.0.13 - 2019-09-14

Commits

  • Add the Until operation with tests and example in README. 4c73fe4
  • Update the ::iterate() static method. debec59
  • Use str_plit() instead of mb_str_split(). 48dfce7
  • Move the creation of the new Collection in the Base class. 70181f5
  • Add the Cycle operation. b82b610
  • Update README. 6f4cddf

0.0.12 - 2019-09-09

Commits

  • Update README. 55f7c56
  • Minor cosmetic update. ae0e00b
  • Add the Explode operation. e21e84f
  • If a string is passed as parameter, it will be passed through mb_str_split(). b2007be
  • Pass the key to the Reduce and Recuction operations. ca60af0
  • Minor change in the First transform operation. b8a7556
  • Update Pluck operation. 9e96a94
  • Update the ::iterate() static method. 994772c
  • Update README. 2351988
  • Add the Split operation. 2e0dc1a
  • Simplify the times() method. 6d8014b
  • Differentiate Operation and Transformation. 3546cfa
  • Update README. 3e59719
  • Fix bug with rebase method. 72dd937
  • Update PHPDoc. 16166ea
  • Add distinct() dans rsample() methods. 898a3b1
  • Update the ::iterate() method. e677738

0.0.10 - 2019-09-01

Commits

  • Align return types. 95dbce9
  • Update the Chunk operation. d61bac3
  • Add static method ::iterate(). 3306602
  • Move the run() method from Collection to Base. 55a0e3d
  • Remove Operation abstract class. 71f2702
  • Update .gitattributes. 163b782
  • Use is_iterable(). a07681b

0.0.9 - 2019-09-01

Commits

  • Update README wording. ccaa796
  • Minor phpdoc update. 724c166
  • Update README - Add more documentation. a69e246
  • Add Reduction operation. a749765
  • Update Infection score. 4ad72c2
  • Update code style for foreach loops and minor other things. faa0112
  • Override static::with() so we can have autocomplete working in IDE. 7057e09
  • Create new Base object and Collection is now extending it and final. b3e0d19

0.0.8 - 2019-08-29

Commits

  • Remove useless BaseCollection. c8aca3c
  • Update the return type of Operation interfaces. da1ab80
  • Use is_iterable() instead of \Traversable. 711611b
  • Make the Apply operation lazy. 37ad7bd
  • Let the BaseCollection implements the Runable interface. 64f3808
  • Add Implode operation. 1e3b34b
  • Use iterable instead of \Traversable. 4eb5c88

0.0.7 - 2019-08-27

Commits

0.0.6 - 2019-08-22

Commits

  • Minor update on Collection class. a543106
  • Do not let Operations wrap the return of ::run() in a collection. 8cfd4eb
  • Minor change - Update operations. 38d8f71
  • New interfaces, more abstraction and flexibility. 0add9fc
  • Minor update. 8db4ccf
  • Minor Operations updates. c59054f
  • Minor update. 2d2b6d9
  • Add Intersperse method/operation. 913aa8c
  • Update code style. d8e0c79
  • Update Last operation. af9e6a8

0.0.5 - 2019-08-21

Commits

  • Update README. 3fcbf00
  • Add return type to Closures. a2b9366
  • Add ::sort() method and Operation. e50bbfd
  • Add ::last() method. 9ea67a4
  • Update count() method. baf96eb
  • Minor update. 04739ad
  • Let the Filter operation use a variadic parameter. fd081c2

0.0.4 - 2019-08-20

Commits

0.0.3 - 2019-08-19

Commits

  • Update README. 831850e
  • Use ::with() method everywhere. 748a618
  • Update composer.json 534f374
  • Add more operations. d658c49
  • Use ::empty(). 2bb704b
  • Add Apply operation. 2ef2342
  • Update README. 1bb26c2
  • Update Zip operation using proxy methods. 0d7e849
  • Add ::proxy() operation. 4bba092
  • Add ::Rebase() operation, update code and tests. a9127d8
  • Update the Zip operation. 660f8ad
  • Add ::pluck() method/operation. 8b9c53b
  • Update documentation. d50b257
  • Update code style using latest version of drupol/drupal-conventions. ad60162
  • Update ::get() method. b78b672

0.0.2 - 2019-08-13

Commits

  • Update composer.json. c9aff7b
  • Minor code changes. d645d47
  • Move static methods out of the Collection interface. 7677b5d
  • Minor README file update. 6659473
  • Update code. d95b896
  • Increase code coverage. e73924a
  • Use updated drupol/phpcsfixer-configs-php with PSR12 rule update. a1143c7
  • Use phpstan/phpstan-strict-rules. 83a4e4d

0.0.1 - 2019-08-12

Commits