knapsack-cloud / twig-renderer

Render templates using Twig PHP, via this Node JS renderer.
11 stars 10 forks source link

build(deps): bump react/http from 0.8.7 to 1.9.0 #105

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 1 year ago

Bumps react/http from 0.8.7 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 and v1.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 and 308 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 and v1.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 and 308 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)

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

... (truncated)

Commits
  • bb3154d Prepare v1.9.0 release
  • 7189c6a Merge pull request #495 from clue-labs/keep-alive-default
  • 684421f Enable HTTP keep-alive by default for HTTP client
  • 5d2df79 Merge pull request #491 from WyriHaximus-labs/1.x-improve-multipart-limits-test
  • 2942434 Improve multipart limits test
  • 9681f76 Merge pull request from GHSA-95x4-j7vc-h8mf
  • b3594f7 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-alive
  • ebaf6f1 Add Connection: close default header to allow toggling keep-alive
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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](https://github.com/knapsack-cloud/twig-renderer/network/alerts).

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

greylabel commented 10 months ago

@dependabot rebase

dependabot[bot] commented 10 months ago

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