- Once settled, don't allow further rejection of additional promises
- PHP 8.4 support
- Replaced
call_user_func*
with native calls
- PHP 8.3 support
- Added PHP 7 type hints
- All previously non-final non-exception classes have been marked as soft-final
- Dropped PHP < 7.2 support
- All functions in the
GuzzleHttp\Promise
namespace
- Removed remaining usage of deprecated functions
- Officially support PHP 8.2
- Revert "Call handler when waiting on fulfilled/rejected Promise"
- Fix pool memory leak when empty array of promises provided
- Call handler when waiting on fulfilled/rejected Promise
- Officially support PHP 8.1
- Fix manually settle promises generated with
Utils::task
- Fixed
each_limit
skipping promises and failing
- Support for PHP 8
- Optional
$recursive
flag toall
- Replaced functions by static methods
- Fix empty
each
processing - Fix promise handling for Iterators of non-unique keys
- Fixed
method_exists
crashes on PHP 8 - Memory leak on exceptions
wait()
foreign promise compatibility
- Adds support for custom task queues.
- Fixed coroutine promise memory leak.
- Update to now catch
\Throwable
on PHP 7+
- Update EachPromise to prevent recurring on a iterator when advancing, as this could trigger fatal generator errors.
- Update Promise to allow recursive waiting without unwrapping exceptions.
- Update EachPromise to immediately resolve when the underlying promise iterator
is empty. Previously, such a promise would throw an exception when its
wait
function was called.
- Conditionally require functions.php.
- Updating EachPromise to call next on the underlying promise iterator as late as possible to ensure that generators that generate new requests based on callbacks are not iterated until after callbacks are invoked.
- Initial release