Skip to content

Upgrade lib react/promise#60

Open
sukhwinder33445 wants to merge 2 commits intomainfrom
upgrade-react-promise
Open

Upgrade lib react/promise#60
sukhwinder33445 wants to merge 2 commits intomainfrom
upgrade-react-promise

Conversation

@sukhwinder33445
Copy link
Contributor

@sukhwinder33445 sukhwinder33445 commented Jan 13, 2026

Changes made:

  • Upgrade react/promise to current latest version 3.3.0, for PHP 8.4/8.5 support.
    • PHP 8.4 support was introduced in v3.2.0
    • PHP 8.5 support was inteoduced in v3.3.0
  • method resolve() requires a param
  • method always() is deprecated, use finally() instead
  • Interface ExtendedPromiseInterface has been replaced by PromiseInterface since v3.0.0

The following modules use these interfaces because they implement Task:

Just for reference: There are other modules like director and vspheredb that are subject to the same changes, not because they use the scheduler, but because they use ReactPHP themselves.

refs #56

@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Jan 13, 2026
@sukhwinder33445 sukhwinder33445 mentioned this pull request Jan 13, 2026
Current latest version is `3.3.0`

- PHP 8.4 support was introduced in v3.2.0 (https://github.com/reactphp/promise/blob/3.x/CHANGELOG.md#320-2024-05-24).
- PHP 8.5 support was inteoduced in v3.3.0 (https://github.com/reactphp/promise/releases/tag/v3.3.0)
- method resolve() requires a param
- method always() is deprecated, use finally() instead
- (Extended|Cancellable)PromiseInterface are removed since v3.0.0
ref https://reactphp.org/promise/changelog.html#300-2023-07-11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla/signed CLA is signed by all contributors of a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant