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/socket from 1.7.0 to 1.11.0 #84

Merged
merged 1 commit into from
Feb 24, 2022

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps react/socket from 1.7.0 to 1.11.0.

Release notes

Sourced from react/socket's releases.

v1.11.0

v1.10.0

  • Feature: Support listening on existing file descriptors (FDs) with SocketServer. (#269 by @​clue)

    $socket = new React\Socket\SocketSever('php://fd/3');

    This is particularly useful when using systemd socket activation like this:

    $ systemd-socket-activate -l 8000 php examples/03-http-server.php php://fd/3
  • Feature: Improve error messages for failed connection attempts with errno and errstr. (#265, #266, #267, #270 and #271 by @​clue and #268 by @​SimonFrings)

    All error messages now always include the appropriate errno and errstr to give more details about the error reason when available. Along with these error details exposed by the underlying system functions, it will also include the appropriate error constant name (such as ECONNREFUSED) when available. Accordingly, failed TCP/IP connections will now report the actual underlying error condition instead of a generic "Connection refused" error. Higher-level error messages will now consistently report the connection URI scheme and hostname used in all error messages.

    For most common use cases this means that simply reporting the Exception message should give the most relevant details for any connection issues:

    $connector = new React\Socket\Connector();
    $connector->connect($uri)->then(function (React\Socket\ConnectionInterface $conn) {
        // …
    }, function (Exception $e) {
        echo 'Error:' . $e->getMessage() . PHP_EOL;
    });
  • Improve test suite, test against PHP 8.1 release.

... (truncated)

Changelog

Sourced from react/socket's changelog.

1.11.0 (2022-01-14)

1.10.0 (2021-11-29)

  • Feature: Support listening on existing file descriptors (FDs) with SocketServer. (#269 by @​clue)

    $socket = new React\Socket\SocketSever('php://fd/3');

    This is particularly useful when using systemd socket activation like this:

    $ systemd-socket-activate -l 8000 php examples/03-http-server.php php://fd/3
  • Feature: Improve error messages for failed connection attempts with errno and errstr. (#265, #266, #267, #270 and #271 by @​clue and #268 by @​SimonFrings)

    All error messages now always include the appropriate errno and errstr to give more details about the error reason when available. Along with these error details exposed by the underlying system functions, it will also include the appropriate error constant name (such as ECONNREFUSED) when available. Accordingly, failed TCP/IP connections will now report the actual underlying error condition instead of a generic "Connection refused" error. Higher-level error messages will now consistently report the connection URI scheme and hostname used in all error messages.

    For most common use cases this means that simply reporting the Exception message should give the most relevant details for any connection issues:

    $connector = new React\Socket\Connector();
    $connector->connect($uri)->then(function (React\Socket\ConnectionInterface $conn) {
        // …
    }, function (Exception $e) {
        echo 'Error:' . $e->getMessage() . PHP_EOL;
    });

... (truncated)

Commits
  • f474156 Prepare v1.11.0 release
  • 7b6772a Merge pull request #283 from SimonFrings/eventloop
  • 4f2497b Use reactphp-block v1.5.0 and remove loop where possible
  • 82acd6c Close open servers and connections at end of tests
  • d846ea9 Clean up event-loop leftovers in test classes
  • 85a920a Merge pull request #281 from clue-labs/tls1.0
  • f0d894c Skip legacy TLS 1.0 tests if disabled by system
  • 894c711 Merge pull request #277 from clue-labs/php8.1
  • 193b3cc Support PHP 8.1
  • 12a880b Merge pull request #278 from clue-labs/fds-tests
  • 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/socket](https://github.com/reactphp/socket) from 1.7.0 to 1.11.0.
- [Release notes](https://github.com/reactphp/socket/releases)
- [Changelog](https://github.com/reactphp/socket/blob/master/CHANGELOG.md)
- [Commits](reactphp/socket@v1.7.0...v1.11.0)

---
updated-dependencies:
- dependency-name: react/socket
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added Dependencies 📦 Pull requests that update a dependency file PHP 🐘 Hypertext Pre Processor labels Feb 24, 2022
@WyriHaximus WyriHaximus added this to the 4.0.3 milestone Feb 24, 2022
@WyriHaximus WyriHaximus merged commit dc265c5 into 4.x Feb 24, 2022
@dependabot dependabot bot deleted the dependabot/composer/4.x/react/socket-1.11.0 branch February 24, 2022 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies 📦 Pull requests that update a dependency file PHP 🐘 Hypertext Pre Processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant