From 020d2c2235d3716778d7f8dc5c24d87675181f0d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 30 Oct 2021 15:18:30 +0200 Subject: update to 4.8.1 open https://github.com/swoole/swoole-src/pull/4457 add LICENSE file for thirdparty/nlohmann --- PHPINFO | 4 ++-- REFLECTION | 46 ++++++++++++++++++++++++++++++++++++++-------- php-pecl-swoole4.spec | 10 ++++++++-- 3 files changed, 48 insertions(+), 12 deletions(-) diff --git a/PHPINFO b/PHPINFO index fa75628..4c79345 100644 --- a/PHPINFO +++ b/PHPINFO @@ -3,8 +3,8 @@ swoole Swoole => enabled Author => Swoole Team -Version => 4.8.0 -Built => Oct 15 2021 00:00:00 +Version => 4.8.1 +Built => Oct 30 2021 00:00:00 coroutine => enabled with boost asm context trace_log => enabled epoll => enabled diff --git a/REFLECTION b/REFLECTION index 9eb3a6c..8ce01c9 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #106 swoole version 4.8.0 ] { +Extension [ extension #162 swoole version 4.8.1 ] { - Dependencies { Dependency [ json (Required) ] @@ -29,11 +29,11 @@ Extension [ extension #106 swoole version 4.8.0 ] { } - Constants [381] { - Constant [ string SWOOLE_VERSION ] { 4.8.0 } - Constant [ int SWOOLE_VERSION_ID ] { 40800 } + Constant [ string SWOOLE_VERSION ] { 4.8.1 } + Constant [ int SWOOLE_VERSION_ID ] { 40801 } Constant [ int SWOOLE_MAJOR_VERSION ] { 4 } Constant [ int SWOOLE_MINOR_VERSION ] { 8 } - Constant [ int SWOOLE_RELEASE_VERSION ] { 0 } + Constant [ int SWOOLE_RELEASE_VERSION ] { 1 } Constant [ string SWOOLE_EXTRA_VERSION ] { } Constant [ bool SWOOLE_DEBUG ] { } Constant [ bool SWOOLE_HAVE_COMPRESSION ] { 1 } @@ -245,9 +245,9 @@ Extension [ extension #106 swoole version 4.8.0 ] { Constant [ int SWOOLE_RWLOCK ] { 1 } Constant [ int SWOOLE_SPINLOCK ] { 5 } Constant [ int SWOOLE_TIMER_MIN_MS ] { 1 } - Constant [ float SWOOLE_TIMER_MIN_SEC ] { 0,001 } + Constant [ float SWOOLE_TIMER_MIN_SEC ] { 0.001 } Constant [ int SWOOLE_TIMER_MAX_MS ] { 9223372036854775807 } - Constant [ float SWOOLE_TIMER_MAX_SEC ] { 9,2233720368548E+15 } + Constant [ float SWOOLE_TIMER_MAX_SEC ] { 9.2233720368548E+15 } Constant [ int SWOOLE_DEFAULT_MAX_CORO_NUM ] { 100000 } Constant [ int SWOOLE_CORO_MAX_NUM_LIMIT ] { 9223372036854775807 } Constant [ int SWOOLE_CORO_INIT ] { 0 } @@ -528,6 +528,20 @@ Extension [ extension #106 swoole version 4.8.0 ] { Parameter #1 [ $msg ] } } + Function [ function swoole_error_log_ex ] { + + - Parameters [3] { + Parameter #0 [ $level ] + Parameter #1 [ $error ] + Parameter #2 [ $msg ] + } + } + Function [ function swoole_ignore_error ] { + + - Parameters [1] { + Parameter #0 [ $error ] + } + } Function [ function swoole_hashcode ] { - Parameters [2] { @@ -608,6 +622,22 @@ Extension [ extension #106 swoole version 4.8.0 ] { - Parameters [0] { } } + Function [ function swoole_get_objects ] { + + - Parameters [0] { + } + } + Function [ function swoole_get_vm_status ] { + + - Parameters [0] { + } + } + Function [ function swoole_get_object_by_handle ] { + + - Parameters [1] { + Parameter #0 [ $handle ] + } + } Function [ function go ] { - Parameters [1] { @@ -6752,13 +6782,13 @@ Extension [ extension #106 swoole version 4.8.0 ] { } - Methods [7] { - Method [ public method rawContent ] { + Method [ public method getContent ] { - Parameters [0] { } } - Method [ public method getContent ] { + Method [ public method rawContent ] { - Parameters [0] { } diff --git a/php-pecl-swoole4.spec b/php-pecl-swoole4.spec index 45e1cd9..e6e5b69 100644 --- a/php-pecl-swoole4.spec +++ b/php-pecl-swoole4.spec @@ -28,7 +28,7 @@ %bcond_with brotli %endif -%global upstream_version 4.8.0 +%global upstream_version 4.8.1 #global upstream_prever RC2 @@ -38,7 +38,8 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} # Extension is ASL 2.0 # Hiredis is BSD -License: ASL 2.0 and BSD +# nlohmann/json is MIT +License: ASL 2.0 and BSD and MIT URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz @@ -329,6 +330,11 @@ cd ../ZTS %changelog +* Sat Oct 30 2021 Remi Collet - 4.8.1-1 +- update to 4.8.1 +- open https://github.com/swoole/swoole-src/pull/4457 + add LICENSE file for thirdparty/nlohmann + * Fri Oct 15 2021 Remi Collet - 4.8.0-1 - update to 4.8.0 -- cgit