unreal4u / telegram-api

Complete async capable Telegram bot API implementation for PHP7
https://github.com/unreal4u/telegram-api/wiki
MIT License
791 stars 174 forks source link

Bump react/http from 1.5.0 to 1.7.0 #148

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Bumps react/http from 1.5.0 to 1.7.0.

Release notes

Sourced from react/http's releases.

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. (#432 by @​clue)

    $response = new React\Http\Message\Response(
        React\Http\Message\Response::STATUS_OK, // 200 OK
        …
    );
    $response = new React\Http\Message\Response(
        React\Http\Message\Response::STATUS_NOT_FOUND, // 404 Not Found
        …
    );
    
  • Feature: Full support for PHP 8.1 release.

... (truncated)

Changelog

Sourced from react/http's changelog.

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");
    
  • Feature: Expose all status code constants via Response class. (#432 by @​clue)

    $response = new React\Http\Message\Response(
        React\Http\Message\Response::STATUS_OK, // 200 OK
        …
    );
    $response = new React\Http\Message\Response(
        React\Http\Message\Response::STATUS_NOT_FOUND, // 404 Not Found
        …
    );
    

... (truncated)

Commits
  • 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
  • 00e481e Merge pull request #467 from clue-labs/reuse-address
  • d92e564 Improve performance, reuse server params for same connection
  • 663c9a3 Do not decode cookie names anymore
  • b5a66a4 Merge pull request #464 from clue-labs/async
  • 9946ba7 Update to use new reactphp/async package instead of clue/reactphp-block
  • a2ae0f1 Avoid using deprecated functions from clue/reactphp-block
  • 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) - `@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 You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/unreal4u/telegram-api/network/alerts).
dependabot[bot] commented 1 year ago

Superseded by #151.