Skip to content

Releases: sanmai/pipeline

First release in the PHP 7.4-only series

05 Oct 10:54
c67b127
Compare
Choose a tag to compare

...With typed properties.

This release is fully backward-compatible with the previous major version: tests are all the same and passing.

Maintenance release

05 Oct 10:53
3bc221b
Compare
Choose a tag to compare
  • Removed unneeded else and continue in the code.
  • Deprecated fromArray() to simplify the API as take() can do as much
  • Verified support for PHP 7.4.

Maintenance release

28 Jan 02:17
d71fe86
Compare
Choose a tag to compare

This is a maintenance release to serve as a point of reference. Changes include removed redundant PHPDoc, simplified code, and backported additional tests.

Native function invocations

04 Jun 05:10
4a8bae5
Compare
Choose a tag to compare

It should be a tiny bit faster with native function invocations.

More native function invocations

04 Jun 05:06
a9c6f69
Compare
Choose a tag to compare

It should be a tiny bit faster with native function invocations.

Maintenance release

04 Jun 05:41
7ab84bc
Compare
Choose a tag to compare

Maintenance release to serve as a point of reference. Other than that nothing really changed.

Undeprecate deprecated

22 Oct 03:45
Compare
Choose a tag to compare

Previously deprecated Pipeline\fromArray() has some merit as it explicitly wants an array, not just any iterable. Which is a good thing if you want to be sure that you're passing an array, and only.

Welcome, PHP 7.1!

21 Oct 05:25
Compare
Choose a tag to compare

All familiar functions and interfaces, but with iterable type hints all over the place.

As a consequence, Pipeline\take() can now take not only iterators, but plain old arrays too. Arrays are handled eagerly, which is a point to keep in mind. For example:

$foo = take([0, 0, 1, 2, 3])->filter();
// at this point $foo contains exactly [1, 2, 3]

Also because of that Pipeline\fromArray() became useless and is tagged for deprecation in favour of take(). Still available for API compatibility.

Speaking of API compatibility, all previous code should work just as fine.

Native function invocations

20 Oct 15:49
aaffafd
Compare
Choose a tag to compare
  • All native functions are now called from within the root namespace.
  • Faster null comparison used.
  • Overall things should be tiny bit faster.

Native function invocations

20 Oct 16:35
Compare
Choose a tag to compare
  • All native functions are now called from within the root namespace.
  • Faster null comparison used.
  • Overall things should be tiny bit faster.
  • Tarballs should not include tests and other unessential files now.