Skip to content

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps react/promise from 2.7.1 to 2.8.0.

Release notes

Sourced from react/promise's releases.

v2.8.0

  • 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)

Changelog

Sourced from react/promise's changelog.

  • 2.8.0 (2020-05-12)

    • 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)

Commits
  • f3cff96 Prepare v2.8.0 release
  • a287fc0 Merge pull request #168 from jsor-labs/cancellation-queue-object-check
  • 8feffb8 Add check whether $cancellable is an object
  • f0430ac Merge pull request #165 from clue-labs/deprecate-fulfilled-rejected
  • fb502e2 Mark FulfilledPromise and RejectedPromise as deprecated
  • 0f37290 Merge pull request #163 from clue-labs/2x-php7.4
  • ac2b6a7 Run tests on PHP 7.4
  • 1150e0a Update test suite to PHPUnit 7 and legacy PHPUnit versions
  • 7c98fda Merge pull request #154 from reedy/reedy-patch-2
  • a7da0f8 Add .gitattributes to exclude dev files from exports
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

If all status checks pass Dependabot will automatically merge this pull request.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [react/promise](https://github.com/reactphp/promise) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/reactphp/promise/releases)
- [Changelog](https://github.com/reactphp/promise/blob/v2.8.0/CHANGELOG.md)
- [Commits](reactphp/promise@v2.7.1...v2.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added Dependencies 📦 Pull requests that update a dependency file PHP 🐘 Hypertext Pre Processor labels May 12, 2020
@dependabot-preview dependabot-preview bot merged commit 43ad7fd into master May 12, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/composer/react/promise-2.8.0 branch May 12, 2020 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies 📦 Pull requests that update a dependency file PHP 🐘 Hypertext Pre Processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants