Skip to content
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

Bump react/http from 1.5.0 to 1.6.0 #42

Merged
merged 1 commit into from
Feb 7, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 7, 2022

Bumps react/http from 1.5.0 to 1.6.0.

Release notes

Sourced from react/http's releases.

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");
    $response = React\Http\Response\redirect('https://reactphp.org/');
  • 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. (#433 by @​SimonFrings and #434 by @​clue)

  • Feature / Fix: Improve protocol handling for HTTP responses with no body. (#429 and #430 by @​clue)

  • Internal refactoring and internal improvements for handling requests and responses. (#422 by @​WyriHaximus and #431 by @​clue)

  • Improve documentation, update proxy examples, include error reporting in examples. (#420, #424, #426, and #427 by @​clue)

  • Update test suite to use default loop. (#438 by @​clue)

Changelog

Sourced from react/http's changelog.

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");
    $response = React\Http\Response\redirect('https://reactphp.org/');
  • 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. (#433 by @​SimonFrings and #434 by @​clue)

  • Feature / Fix: Improve protocol handling for HTTP responses with no body. (#429 and #430 by @​clue)

  • Internal refactoring and internal improvements for handling requests and responses. (#422 by @​WyriHaximus and #431 by @​clue)

  • Improve documentation, update proxy examples, include error reporting in examples. (#420, #424, #426, and #427 by @​clue)

  • Update test suite to use default loop. (#438 by @​clue)

Commits
  • 59961cc Prepare v1.6.0 release
  • 0b4ed9f Merge pull request #439 from clue-labs/response-types
  • a49404c Update documentation and examples to use new response factory methods
  • 6ca832f Add factory methods for common HTML/JSON/plaintext/XML response types
  • 6acf1a7 Merge pull request #438 from clue-labs/tests
  • 5d30135 Update test suite to use default loop
  • 5d37d37 Update Host header tests requiring root access
  • 9c4815c Merge pull request #434 from clue-labs/php8.1
  • aaa6afb Support PHP 8.1
  • 9717566 Merge pull request #433 from SimonFrings/php
  • 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)

Bumps [react/http](https://github.com/reactphp/http) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/reactphp/http/releases)
- [Changelog](https://github.com/reactphp/http/blob/master/CHANGELOG.md)
- [Commits](reactphp/http@v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: react/http
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependency label Feb 7, 2022
@codecov
Copy link

codecov bot commented Feb 7, 2022

Codecov Report

Merging #42 (74c094c) into main (1bf4815) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##                main       #42   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity        66        66           
===========================================
  Files             13        13           
  Lines            233       233           
===========================================
  Hits             233       233           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7799966...74c094c. Read the comment docs.

@github-actions github-actions bot merged commit 91e3419 into main Feb 7, 2022
@github-actions github-actions bot deleted the dependabot/composer/react/http-1.6.0 branch February 7, 2022 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants