repman-io / repman

Repman - PHP Repository Manager: packagist proxy and host for private packages
https://repman.io
MIT License
513 stars 106 forks source link

Bump react/http from 1.5.0 to 1.8.0 #620

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps react/http from 1.5.0 to 1.8.0.

Release notes

Sourced from react/http's releases.

v1.8.0

  • Feature: Support for default request headers. (#461 by @​51imyy)

    $browser = new React\Http\Browser();
    $browser = $browser->withHeader('User-Agent', 'ACME');
    

    $browser->get($url)->then(…);

  • Feature: Forward compatibility with upcoming Promise v3. (#460 by @​clue)

v1.7.0

This is a SECURITY and feature release for the 1.x series of ReactPHP's HTTP component.

  • Security fix: This release fixes a medium severity security issue in ReactPHP's HTTP server component that affects all versions between v0.7.0 and v1.6.0. All users are encouraged to upgrade immediately. Special thanks to Marco Squarcina (TU Wien) for reporting this and working with us to coordinate this release. (CVE-2022-36032 reported by @​lavish and fixed by @​clue)

  • Feature: Improve HTTP server performance by ~20%, reuse syscall values for clock time and socket addresses. (#457 and #467 by @​clue)

  • Feature: Full PHP 8.2+ compatibility, refactor internal Transaction to avoid assigning dynamic properties. (#459 by @​clue and #466 by @​WyriHaximus)

  • Feature / Fix: Allow explicit Content-Length response header on HEAD requests. (#444 by @​mrsimonbennett)

  • Minor documentation improvements. (#452 by @​clue, #458 by @​nhedger, #448 by @​jorrit and #446 by @​SimonFrings)

  • Improve test suite, update to use new reactphp/async package instead of clue/reactphp-block, skip memory tests when lowering memory limit fails and fix legacy HHVM build. (#464 and #440 by @​clue and #450 by @​SimonFrings)

v1.6.0

  • Feature: Add factory methods for common HTML/JSON/plaintext/XML response types. (#439 by @​clue)

    $response = React\Http\Response\html("<h1>Hello wörld!</h1>\n");
    $response = React\Http\Response\json(['message' => 'Hello wörld!']);
    $response = React\Http\Response\plaintext("Hello wörld!\n");
    $response = React\Http\Response\xml("<message>Hello wörld!</message>\n");
    
  • Feature: Expose all status code constants via Response class.

... (truncated)

Changelog

Sourced from react/http's changelog.

1.8.0 (2022-09-29)

  • Feature: Support for default request headers. (#461 by @​51imyy)

    $browser = new React\Http\Browser();
    $browser = $browser->withHeader('User-Agent', 'ACME');
    

    $browser->get($url)->then(…);

  • Feature: Forward compatibility with upcoming Promise v3. (#460 by @​clue)

1.7.0 (2022-08-23)

This is a SECURITY and feature release for the 1.x series of ReactPHP's HTTP component.

  • Security fix: This release fixes a medium severity security issue in ReactPHP's HTTP server component that affects all versions between v0.7.0 and v1.6.0. All users are encouraged to upgrade immediately. Special thanks to Marco Squarcina (TU Wien) for reporting this and working with us to coordinate this release. (CVE-2022-36032 reported by @​lavish and fixed by @​clue)

  • Feature: Improve HTTP server performance by ~20%, reuse syscall values for clock time and socket addresses. (#457 and #467 by @​clue)

  • Feature: Full PHP 8.2+ compatibility, refactor internal Transaction to avoid assigning dynamic properties. (#459 by @​clue and #466 by @​WyriHaximus)

  • Feature / Fix: Allow explicit Content-Length response header on HEAD requests. (#444 by @​mrsimonbennett)

  • Minor documentation improvements. (#452 by @​clue, #458 by @​nhedger, #448 by @​jorrit and #446 by @​SimonFrings)

  • Improve test suite, update to use new reactphp/async package instead of clue/reactphp-block, skip memory tests when lowering memory limit fails and fix legacy HHVM build. (#464 and #440 by @​clue and #450 by @​SimonFrings)

1.6.0 (2022-02-03)

  • Feature: Add factory methods for common HTML/JSON/plaintext/XML response types. (#439 by @​clue)

    $response = React\Http\Response\html("<h1>Hello wörld!</h1>\n");
    $response = React\Http\Response\json(['message' => 'Hello wörld!']);
    $response = React\Http\Response\plaintext("Hello wörld!\n");
    $response = React\Http\Response\xml("<message>Hello wörld!</message>\n");
    

... (truncated)

Commits
  • aa7512e Prepare v1.8.0 release
  • 14e9c6b Merge pull request #461 from 51imyy/1.x
  • 0c27d67 added support for default headers in Browser PHP and moved default header use...
  • c14e0da Merge pull request #460 from clue-labs/promise-v3
  • c556187 Update to stable dev dependencies
  • 8ec53f5 Forward compatibility with upcoming Promise v3
  • 4a1e853 Prepare v1.7.0 release
  • 5f3b58c Merge pull request #466 from WyriHaximus-labs/1.x-test-on-php-8.2
  • 57b259e Merge pull request from GHSA-w3w9-vrf5-8mx8
  • f0b4859 Test on PHP 8.2
  • 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.


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)
codecov[bot] commented 1 year ago

Codecov Report

Base: 99.16% // Head: 99.04% // Decreases project coverage by -0.11% :warning:

Coverage data is based on head (180f145) compared to base (f1327d2). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #620 +/- ## ============================================ - Coverage 99.16% 99.04% -0.12% Complexity 1910 1910 ============================================ Files 301 301 Lines 6075 6075 ============================================ - Hits 6024 6017 -7 - Misses 51 58 +7 ``` | [Impacted Files](https://codecov.io/gh/repman-io/repman/pull/620?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=repman-io) | Coverage Δ | | |---|---|---| | [src/Service/Downloader/ReactDownloader.php](https://codecov.io/gh/repman-io/repman/pull/620/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=repman-io#diff-c3JjL1NlcnZpY2UvRG93bmxvYWRlci9SZWFjdERvd25sb2FkZXIucGhw) | `82.97% <0.00%> (-14.90%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=repman-io). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=repman-io)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.