Skip to content

Releases: sanmai/pipeline

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.

With Standard pipeline

20 Oct 15:42
Compare
Choose a tag to compare
  • Added Pipeline\Standard as an alias for Simple.

Now the PHP 5.6-compatible version can be used almost in the same way as the more recent versions.

Iterators update

19 Oct 05:13
Compare
Choose a tag to compare
  • unpack() should now properly work with iterators.