PackageTrack
Sign in Get early access

react/promise-stream

The missing link between Promise-land and Stream-land for ReactPHP

v1.7.0 13M downloads/mo #2434 most downloaded on Packagist reactphp/promise-stream

What this package is like to depend on

Last release 3 years ago

no release in 18 months

Release timing varies

gaps range from 3 weeks to 2.3 years

Nearly every release is documented

notes for 12 of 12 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

12 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

12 releases · May 2017 to Dec 2023
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 12
  1. v1.7.0 13 Dec 2023
    Release notes
    • Feature: Full PHP 8.3 compatibility.
      (#39 by @clue)

    • Update test suite and collect all garbage cycles.
      (#38 and #39 by @clue)

    Open source →
    Release notes
    • Feature: Full PHP 8.3 compatibility. (#39 by @clue)

    • Update test suite and collect all garbage cycles. (#38 and #39 by @clue)

    Open source →
  2. v1.6.0 07 Jul 2023
    Release notes
    • Feature: Update unwrapped stream to avoid unhandled promise rejections.
      (#37 by @clue)

    • Feature: Improve first() promise resolution to clean up any garbage references.
      (#36 by @lucasnetau)

    • Improve test suite and project setup and report failed assertions.
      (#34 by @clue and #35 by @WyriHaximus)

    Open source →
    Release notes
    • Feature: Update unwrapped stream to avoid unhandled promise rejections. (#37 by @clue)

    • Feature: Improve first() promise resolution to clean up any garbage references. (#36 by @lucasnetau)

    • Improve test suite and project setup and report failed assertions. (#34 by @clue and #35 by @WyriHaximus)

    Open source →
  3. v1.5.0 09 Sep 2022
    Release notes
    Open source →
    Release notes
    • Feature: Full support for PHP 8.2 release. (#33 by @WyriHaximus)

    • Improve test suite and minor documentation improvements. (#32 by @clue and #31 by @nhedger)

    Open source →
  4. v1.4.0 20 Jun 2022
    Release notes
    Open source →
    Release notes
    • Feature: Forward compatibility with react/promise 3. (#20 by @WyriHaximus)

    • Improve test suite, test against PHP 8.1 and fix legacy HHVM build. (#28, #29 and #30 by @SimonFrings)

    Open source →
  5. v1.3.0 18 Oct 2021
    Release notes
    • Feature: Improve error reporting by appending previous exception messages.
      (#26 by @clue)

      For most common use cases this means that simply reporting the Exception
      message should give the most relevant details for any issues:

      React\Promise\Stream\buffer($stream)->then(function (string $contents) {
          // …
      }, function (Exception $e) {
          echo 'Error:' . $e->getMessage() . PHP_EOL;
      });
    • Improve documentation, describe promise and stream data types.
      (#27 by @clue and #23 by @WyriHaximus)

    • Improve test suite and add .gitattributes to exclude dev files from exports.
      Use GitHub actions for continuous integration (CI) and run tests on PHPUnit 9 and PHP 8.
      (#21 by @reedy and #22, #24 and #25 by @SimonFrings)

    Open source →
    Release notes
    • Feature: Improve error reporting by appending previous exception messages. (#26 by @clue)

      For most common use cases this means that simply reporting the Exception message should give the most relevant details for any issues:

      React\Promise\Stream\buffer($stream)->then(function (string $contents) {
          // …
      }, function (Exception $e) {
          echo 'Error:' . $e->getMessage() . PHP_EOL;
      });
      
    • Improve documentation, describe promise and stream data types. (#27 by @clue and #23 by @WyriHaximus)

    • Improve test suite and add .gitattributes to exclude dev files from exports. Use GitHub actions for continuous integration (CI) and run tests on PHPUnit 9 and PHP 8. (#21 by @reedy and #22, #24 and #25 by @SimonFrings)

    Open source →
  6. v1.2.0 03 Jul 2019
    Release notes
    • Feature: Support unwrapping object streams by buffering original write chunks in array.
      (#15 by @clue)

    • Feature: Clean up unneeded references for unwrapped streams when closing.
      (#18 by @clue)

    • Fix: Writing to closed unwrapped stream should return false (backpressure).
      (#17 by @clue)

    • Improve test suite to support PHPUnit 7, PHP 7.3 and fix incomplete test
      and improve API documentation.
      (#16 and #19 by @clue)

    Open source →
    Release notes
    • Feature: Support unwrapping object streams by buffering original write chunks in array. (#15 by @clue)

    • Feature: Clean up unneeded references for unwrapped streams when closing. (#18 by @clue)

    • Fix: Writing to closed unwrapped stream should return false (backpressure). (#17 by @clue)

    • Improve test suite to support PHPUnit 7, PHP 7.3 and fix incomplete test and improve API documentation. (#16 and #19 by @clue)

    Open source →
  7. v1.1.1 22 Dec 2017
    Release notes
    • Fix: Fix all() to assume null values if no event data is passed
      (#13 by @clue)

    • Improve test suite by simplifying test bootstrapping logic via Composer and
      add forward compatibility with PHPUnit 5 and PHPUnit 6 and
      test against PHP 7.1 and 7.2
      (#11 and #12 by @clue and #9 by @carusogabriel)

    Open source →
    Release notes
    • Fix: Fix all() to assume null values if no event data is passed (#13 by @clue)

    • Improve test suite by simplifying test bootstrapping logic via Composer and add forward compatibility with PHPUnit 5 and PHPUnit 6 and test against PHP 7.1 and 7.2 (#11 and #12 by @clue and #9 by @carusogabriel)

    Open source →
  8. v1.1.0 28 Nov 2017
    Release notes
    • Feature: Reject first() when stream emits an error event
      (#7 by @clue)

    • Fix: Explicit close() of unwrapped stream should not emit error event
      (#8 by @clue)

    • Internal refactoring to simplify buffer() function
      (#6 by @kelunik)

    Open source →
    Release notes
    • Feature: Reject first() when stream emits an error event (#7 by @clue)

    • Fix: Explicit close() of unwrapped stream should not emit error event (#8 by @clue)

    • Internal refactoring to simplify buffer() function (#6 by @kelunik)

    Open source →
  9. v1.0.0 24 Oct 2017
    Release notes
    • First stable release, now following SemVer

    Contains no other changes, so it's actually fully compatible with the v0.1.2 release.

    Open source →
    Release notes
    • First stable release, now following SemVer

    Contains no other changes, so it's actually fully compatible with the v0.1.2 release.

    Open source →
  10. v0.1.2 18 Oct 2017
    Release notes
    • Feature: Optional maximum buffer length for buffer() (#3 by @WyriHaximus)
    • Improvement: Readme improvements (#5 by @jsor)
    Open source →
    Release notes
    • Feature: Optional maximum buffer length for buffer() (#3 by @WyriHaximus)
    • Improvement: Readme improvements (#5 by @jsor)
    Open source →
  11. v0.1.1 15 May 2017
    Release notes
    • Improvement: Forward compatibility with stream 1.0, 0.7, 0.6, and 0.5 (#2 by @WyriHaximus)
    Open source →
  12. v0.1.0 10 May 2017
    Release notes
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive