Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency react/promise to v2.10.0 - autoclosed #2

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 9, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react/promise 2.7.1 -> 2.10.0 age adoption passing confidence

Release Notes

reactphp/promise (react/promise)

v2.10.0

Compare Source

v2.9.0

Compare Source

  • Feature: Support union types and address deprecation of ReflectionType::getClass() (PHP 8+).
    (#​198 by @​cdosoftei and @​SimonFrings)

    $promise->otherwise(function (OverflowException|UnderflowException $e) {
        echo 'Error: ' . $e->getMessage() . PHP_EOL;
    });
  • Feature: Support intersection types (PHP 8.1+).
    (#​195 by @​bzikarsky)

    $promise->otherwise(function (OverflowException&CacheException $e) {
        echo 'Error: ' . $e->getMessage() . PHP_EOL;
    });
  • Improve test suite, use GitHub actions for continuous integration (CI),
    update to PHPUnit 9, and add full core team to the license.
    (#​174, #​183, #​186, and #​201 by @​SimonFrings and #​211 by @​clue)

v2.8.0

Compare Source

  • Mark FulfilledPromise, RejectedPromise and LazyPromise as deprecated for Promise v2 (and remove for Promise v3).
    (#​143 and #​165 by @​clue)

    // deprecated
    $fulfilled = new React\Promise\FulfilledPromise($value);
    $rejected = new React\Promise\RejectedPromise($reason);
    
    // recommended alternatives
    $fulfilled = React\Promise\resolve($value);
    $rejected = React\Promise\reject($reason);
  • Fix: Fix checking whether cancellable promise is an object and avoid possible warning.
    (#​168 by @​smscr and @​jsor)

  • Improve documentation and add docblocks to functions and interfaces.
    (#​135 by @​CharlotteDunois)

  • Add .gitattributes to exclude dev files from exports.
    (#​154 by @​reedy)

  • Improve test suite, run tests on PHP 7.4 and update PHPUnit test setup.
    (#​163 by @​clue)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency react/promise to v2.10.0 Update dependency react/promise to v2.10.0 - autoclosed Nov 10, 2023
@renovate renovate bot closed this Nov 10, 2023
@renovate renovate bot deleted the renovate/react-promise-2.x-lockfile branch November 10, 2023 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants