php-api-clients / hydrator

:droplet:
MIT License
4 stars 1 forks source link

Bump react/promise from 2.7.1 to 2.8.0 #49

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@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 your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - 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)