Skip to content

Bump react/promise from 2.5.1 to 2.7.1 #37

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

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jan 9, 2019

Bumps react/promise from 2.5.1 to 2.7.1.

Release notes

Sourced from react/promise's releases.

v2.7.1

  • Fix: file_exists warning when resolving with long strings. (#130 by sbesselsen)
  • Improve performance by prefixing all global functions calls with \ to skip the look up and resolve process and go straight to the global function. (#133 by WyriHaximus)

v2.7.0

  • Feature: Improve memory consumption for pending promises by using static internal callbacks without binding to self.
    (#124 by clue)

v2.6.0

  • Feature: Significantly improve memory consumption and performance by only passing resolver args
    to resolver and canceller if callback requires them. Also use static callbacks without
    binding to promise, clean up canceller function reference when they are no longer
    needed and hide resolver and canceller references from call stack on PHP 7+.
    (#113, #115, #116, #117, #118, #119 and #123 by clue)

    These changes combined mean that rejecting promises with an Exception should
    no longer cause any internal circular references which could cause some unexpected
    memory growth in previous versions. By explicitly avoiding and explicitly
    cleaning up said references, we can avoid relying on PHP's circular garbage collector
    to kick in which significantly improves performance when rejecting many promises.

  • Mark legacy progress support / notification API as deprecated
    (#112 by clue)

  • Recommend rejecting promises by throwing an exception
    (#114 by jsor)

  • Improve documentation to properly instantiate LazyPromise
    (#121 by holtkamp)

  • Follower cancellation propagation was originally planned for this release
    but has been reverted for now and is planned for a future release.
    (#99 by jsor and #122 by clue)

Changelog

Sourced from react/promise's changelog.

  • 2.7.1 (2018-01-07)

    • Fix: file_exists warning when resolving with long strings.
      (#130 by sbesselsen)
    • Improve performance by prefixing all global functions calls with \ to skip the look up and resolve process and go straight to the global function.
      (#133 by WyriHaximus)
  • 2.7.0 (2018-06-13)

    • Feature: Improve memory consumption for pending promises by using static internal callbacks without binding to self.
      (#124 by clue)
  • 2.6.0 (2018-06-11)

    • Feature: Significantly improve memory consumption and performance by only passing resolver args
      to resolver and canceller if callback requires them. Also use static callbacks without
      binding to promise, clean up canceller function reference when they are no longer
      needed and hide resolver and canceller references from call stack on PHP 7+.
      (#113, #115, #116, #117, #118, #119 and #123 by clue)

      These changes combined mean that rejecting promises with an Exception should
      no longer cause any internal circular references which could cause some unexpected
      memory growth in previous versions. By explicitly avoiding and explicitly
      cleaning up said references, we can avoid relying on PHP's circular garbage collector
      to kick in which significantly improves performance when rejecting many promises.

    • Mark legacy progress support / notification API as deprecated
      (#112 by clue)

    • Recommend rejecting promises by throwing an exception
      (#114 by jsor)

    • Improve documentation to properly instantiate LazyPromise
      (#121 by holtkamp)

    • Follower cancellation propagation was originally planned for this release
      but has been reverted for now and is planned for a future release.
      (#99 by jsor and #122 by clue)

Commits
  • 31ffa96 Prepare v2.7.1 release
  • 766dbad Merge pull request #133 from WyriHaximus-secret-labs/2.x-function-name-look-u...
  • 79820b9 Improve performance by prefixing all global functions calls with \ to skip th...
  • 8e41741 Merge pull request #130 from mixcom/2.x
  • caaefe2 Add comment to elucidate is_object() check
  • aea79d6 Fix file_exists warning when resolving with long strings
  • f4edc25 Prepare v2.7.0 release
  • 9bd9d48 Merge pull request #124 from clue-labs/static
  • ef228a9 Additional tests to avoid future garbage cycle regressions
  • 72087fd Use static internal callbacks without binding to parent promise
  • 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 cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

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

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview
Copy link
Contributor Author

Looks like react/promise is up-to-date now, so this is no longer needed.

@dependabot-preview dependabot-preview bot deleted the dependabot/composer/react/promise-2.7.1 branch January 11, 2019 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant