Yii2-Curl
Yii2-Curl copied to clipboard
Bump react/http from 1.2.0 to 1.9.0
Bumps react/http from 1.2.0 to 1.9.0.
Release notes
Sourced from react/http's releases.
v1.9.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.8.0
andv1.8.0
. All users are encouraged to upgrade immediately. (CVE-2023-26044 reported and fixed by@WyriHaximus
)Feature: Support HTTP keep-alive for HTTP client (reusing persistent connections). (#481, #484, #486 and #495 by
@clue
)This feature offers significant performance improvements when sending many requests to the same host as it avoids recreating the underlying TCP/IP connection and repeating the TLS handshake for secure HTTPS requests.
$browser = new React\Http\Browser();
// Up to 300% faster! HTTP keep-alive is enabled by default $response = React\Async\await($browser->get('https://httpbingo.org/redirect/6')); assert($response instanceof Psr\Http\Message\ResponseInterface);
Feature: Add
Request
class to represent outgoing HTTP request message. (#480 by@clue
)Feature: Preserve request method and body for
307 Temporary Redirect
and308 Permanent Redirect
. (#442 by@dinooo13
)Feature: Include buffer logic to avoid dependency on reactphp/promise-stream. (#482 by
@clue
)Improve test suite and project setup and report failed assertions. (#478 by
@clue
, #487 and #491 by@WyriHaximus
and #475 and #479 by@SimonFrings
)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.
... (truncated)
Changelog
Sourced from react/http's changelog.
1.9.0 (2023-04-26)
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.8.0
andv1.8.0
. All users are encouraged to upgrade immediately. (CVE-2023-26044 reported and fixed by@WyriHaximus
)Feature: Support HTTP keep-alive for HTTP client (reusing persistent connections). (#481, #484, #486 and #495 by
@clue
)This feature offers significant performance improvements when sending many requests to the same host as it avoids recreating the underlying TCP/IP connection and repeating the TLS handshake for secure HTTPS requests.
$browser = new React\Http\Browser();
// Up to 300% faster! HTTP keep-alive is enabled by default $response = React\Async\await($browser->get('https://httpbingo.org/redirect/6')); assert($response instanceof Psr\Http\Message\ResponseInterface);
Feature: Add
Request
class to represent outgoing HTTP request message. (#480 by@clue
)Feature: Preserve request method and body for
307 Temporary Redirect
and308 Permanent Redirect
. (#442 by@dinooo13
)Feature: Include buffer logic to avoid dependency on reactphp/promise-stream. (#482 by
@clue
)Improve test suite and project setup and report failed assertions. (#478 by
@clue
, #487 and #491 by@WyriHaximus
and #475 and #479 by@SimonFrings
)1.8.0 (2022-09-29)
... (truncated)
Commits
bb3154d
Prepare v1.9.0 release7189c6a
Merge pull request #495 from clue-labs/keep-alive-default684421f
Enable HTTP keep-alive by default for HTTP client5d2df79
Merge pull request #491 from WyriHaximus-labs/1.x-improve-multipart-limits-test2942434
Improve multipart limits test9681f76
Merge pull request from GHSA-95x4-j7vc-h8mfb3594f7
Stop parsing multipart request bodies once the configured limit of form field...436d84d
Merge pull request #487 from WyriHaximus-labs/1.x-template-params-can-only-ha...a221964
Merge pull request #486 from clue-labs/keep-aliveebaf6f1
AddConnection: close
default header to allow toggling keep-alive- Additional commits viewable in compare view
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) You can disable automated security fix PRs for this repo from the Security Alerts page.