react/promise breaking changes
react/promise v3.0.0 (July 11, 2023) is its newest release with breaking changes, 46 of them. The first: react/promise v3.0.0 requires PHP 7.1 or later. Every breaking API change we have recorded in react/promise on Packagist: 46 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v3.3.0, released August 19, 2025. MIT license. Source repository
Its v3.0.0 release requires PHP 7.1 or later. PHP end of life dates.
react/promise v3.0.0 breaking changes
- Removed
The package now requires PHP 7.1 or newer, and PHP 8.1 or newer is recommended. github.com - Removed
CancellablePromiseInterface
PromiseInterface now includes cancel(). Code that type-checks against CancellablePromiseInterface must use PromiseInterface instead. github.com - Removed
ExtendedPromiseInterface
PromiseInterface now includes then(), catch(), finally() and cancel(). Code that type-checks against ExtendedPromiseInterface must use PromiseInterface instead. github.com - Removed
FulfilledPromise
This internal class was removed. Use the resolve() function instead. github.com - Removed
LazyPromise
The deprecated LazyPromise class was removed. github.com - Removed
map
These deprecated functions were removed. Use any() and all() instead. github.com - Removed
React\Promise\CancellablePromiseInterface
React\Promise\CancellablePromiseInterface was removed in react/promise v3.0.0 packagist.org - Removed
React\Promise\CancellationQueue
React\Promise\CancellationQueue was removed in react/promise v3.0.0 packagist.org - Removed
React\Promise\Deferred::notify
React\Promise\Deferred::notify was removed in react/promise v3.0.0 packagist.org - Removed
React\Promise\Deferred::progress
React\Promise\Deferred::progress was removed in react/promise v3.0.0 packagist.org - Removed
React\Promise\ExtendedPromiseInterface
React\Promise\ExtendedPromiseInterface was removed in react/promise v3.0.0 packagist.org - Removed
React\Promise\FulfilledPromise
Use resolve instead. packagist.org - Removed
React\Promise\LazyPromise
React\Promise\LazyPromise was removed in react/promise v3.0.0 packagist.org - Removed
React\Promise\map
React\Promise\map was removed in react/promise v3.0.0 packagist.org - Removed
React\Promise\Promise::done
The done() method is gone. Unhandled rejections are now reported globally instead. packagist.org - Removed
React\Promise\Promise::progress
React\Promise\Promise::progress was removed in react/promise v3.0.0 packagist.org - Removed
React\Promise\PromisorInterface
React\Promise\PromisorInterface was removed in react/promise v3.0.0 packagist.org - Removed
React\Promise\reduce
React\Promise\reduce was removed in react/promise v3.0.0 packagist.org - Removed
React\Promise\RejectedPromise
Use reject instead. packagist.org - Removed
React\Promise\some
React\Promise\some was removed in react/promise v3.0.0 packagist.org - Removed
React\Promise\UnhandledRejectionException
React\Promise\UnhandledRejectionException was removed in react/promise v3.0.0 packagist.org - Removed
reduce
These deprecated functions were removed. Use any() and all() instead. github.com - Removed
RejectedPromise
This internal class was removed. Use the reject() function instead. github.com - Removed
some
These deprecated functions were removed. Use any() and all() instead. github.com - Removed
then
The deprecated third argument to then() for progress notifications was removed. github.com - Behavior changed
Unhandled promise rejections are now reported by default. Code relying on silent rejections must handle them. github.com - Behavior changed
Classes can no longer be extended by inheritance. Use composition instead. github.com - Behavior changed
race
Calling race() with an empty array now returns a promise that never settles. github.com - Signature changed
all
These functions now require one array or iterable of promises or values instead of variable arguments. github.com - Signature changed
any
These functions now require one array or iterable of promises or values instead of variable arguments. github.com - Signature changed
race
These functions now require one array or iterable of promises or values instead of variable arguments. github.com - Signature changed
React\Promise\all
Was function all($promisesOrValues); now function all(iterable $promisesOrValues): PromiseInterface. packagist.org - Signature changed
React\Promise\any
Was function any($promisesOrValues); now function any(iterable $promisesOrValues): PromiseInterface. packagist.org - Signature changed
React\Promise\Deferred
Was class Deferred implements PromisorInterface; now final class Deferred. packagist.org - Signature changed
React\Promise\Deferred::promise
Was public function promise(); now public function promise(): PromiseInterface. packagist.org - Signature changed
React\Promise\Deferred::reject
Calling reject() with no argument no longer works. Pass a Throwable as the reason. packagist.org - Signature changed
React\Promise\Deferred::resolve
Calling resolve() with no argument no longer works. Pass null explicitly when there is no value. packagist.org - Signature changed
React\Promise\Promise
Was class Promise implements ExtendedPromiseInterface, CancellablePromiseInterface; now final class Promise implements PromiseInterface. packagist.org - Signature changed
React\Promise\Promise::always
Was public function always(callable $onFulfilledOrRejected); now public function always(callable $onFulfilledOrRejected): PromiseInterface. packagist.org - Signature changed
React\Promise\Promise::cancel
Was public function cancel(); now public function cancel(): void. packagist.org - Signature changed
React\Promise\Promise::otherwise
Was public function otherwise(callable $onRejected); now public function otherwise(callable $onRejected): PromiseInterface. packagist.org - Signature changed
React\Promise\Promise::then
Was public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null); now public function then(callable $onFulfilled = null, callable $onRejected = null): PromiseInterface. packagist.org - Signature changed
React\Promise\PromiseInterface::then
Was public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null); now public function then(?callable $onFulfilled = null, ?callable $onRejected = null): PromiseInterface. packagist.org - Signature changed
React\Promise\race
Was function race($promisesOrValues); now function race(iterable $promisesOrValues): PromiseInterface. packagist.org - Signature changed
React\Promise\reject
Was function reject($promiseOrValue = null); now function reject(\Throwable $reason): PromiseInterface. packagist.org - Signature changed
React\Promise\resolve
Was function resolve($promiseOrValue = null); now function resolve($promiseOrValue): PromiseInterface. packagist.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.