From d4997abc5afa433e0e9a56417acdd15fba6ffaba Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 30 Sep 2022 10:14:33 +0200 Subject: update to 1.8.0 raise dependency on react/stream 1.4 raise dependency on react/socket 1.12 --- composer.json | 12 ++++++------ php-react-http.spec | 30 +++++++++++++++++------------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/composer.json b/composer.json index 57adfc2..d92ac82 100644 --- a/composer.json +++ b/composer.json @@ -31,16 +31,16 @@ "fig/http-message-util": "^1.1", "psr/http-message": "^1.0", "react/event-loop": "^1.2", - "react/promise": "^2.3 || ^1.2.1", - "react/promise-stream": "^1.1", - "react/socket": "^1.9", + "react/promise": "^3 || ^2.3 || ^1.2.1", + "react/promise-stream": "^1.4", + "react/socket": "^1.12", "react/stream": "^1.2", "ringcentral/psr7": "^1.2" }, "require-dev": { - "clue/http-proxy-react": "^1.7", - "clue/reactphp-ssh-proxy": "^1.3", - "clue/socks-react": "^1.3", + "clue/http-proxy-react": "^1.8", + "clue/reactphp-ssh-proxy": "^1.4", + "clue/socks-react": "^1.4", "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35", "react/async": "^4 || ^3 || ^2", "react/promise-timer": "^1.9" diff --git a/php-react-http.spec b/php-react-http.spec index 6f3800d..9fb5e37 100644 --- a/php-react-http.spec +++ b/php-react-http.spec @@ -12,28 +12,28 @@ %global github_owner reactphp %global github_name http -%global github_version 1.7.0 -%global github_commit 4a1e85382e8c2a9e0fdb8ac04e94585da2083bfa +%global github_version 1.8.0 +%global github_commit aa7512ee17258c88466de30f9cb44ec5f9df3ff3 %global composer_vendor react %global composer_project http # "php": ">=5.3.0" %global php_min_ver 5.3.0 -# "clue/http-proxy-react": "^1.3", ignored as only used in examples -# "clue/reactphp-ssh-proxy": "^1.0", ignored as only used in examples -# "clue/socks-react": "^1.0", ignored as only used in examples +# "clue/http-proxy-react": "^1.8", ignored as only used in examples +# "clue/reactphp-ssh-proxy": "^1.4", ignored as only used in examples +# "clue/socks-react": "^1.4", ignored as only used in examples # "evenement/evenement": "^3.0 || ^2.0 || ^1.0" %global evenement_min_ver 1.0 %global evenement_max_ver 4.0 -# "react/promise": "^2.3 || ^1.2.1" +# "react/promise": "^3 || ^2.3 || ^1.2.1" %global react_promise_min_ver 1.2.1 -%global react_promise_max_ver 3.0 -# "react/promise-stream": "^1.1" -%global react_promise_stream_min_ver 1.1 +%global react_promise_max_ver 4 +# "react/promise-stream": "^1.4" +%global react_promise_stream_min_ver 1.4 %global react_promise_stream_max_ver 2.0 -# "react/socket": "^1.9" -%global react_socket_min_ver 1.9 +# "react/socket": "^1.12" +%global react_socket_min_ver 1.12 %global react_socket_max_ver 2.0 # "react/stream": "^1.2" %global react_stream_min_ver 1.2 @@ -212,7 +212,6 @@ phpab --template fedora \ --output src/autoload.php \ src - cat <<'AUTOLOAD' | tee -a src/autoload.php \Fedora\Autoloader\Dependencies::required([ @@ -256,7 +255,7 @@ FILTER="testSuccessfulResponseEmitsEnd|testPostDataReturnsData|testPostJsonRetur : Upstream tests RETURN_CODE=0 -for CMDARG in "php %{phpunit}" php74 php80 php81; do +for CMDARG in "php %{phpunit}" php74 php80 php81 php82; do if which $CMDARG; then set $CMDARG $1 ${2:-%{_bindir}/phpunit9} \ @@ -280,6 +279,11 @@ exit $RETURN_CODE %changelog +* Fri Sep 30 2022 Remi Collet - 1.8.0-1 +- update to 1.8.0 +- raise dependency on react/stream 1.4 +- raise dependency on react/socket 1.12 + * Fri Sep 23 2022 Remi Collet - 1.7.0-1 - update to 1.7.0 - drop build dependency on clue/block-react -- cgit