From b729b299e1170a7b538fb8a16666edeedcc14312 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 12 Nov 2025 08:39:28 +0100 Subject: update to 6.1.2 --- PHPINFO | 6 ++-- REFLECTION | 17 +++++------ composer.json | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++ php-pecl-swoole6.spec | 5 +++- 4 files changed, 94 insertions(+), 12 deletions(-) create mode 100644 composer.json diff --git a/PHPINFO b/PHPINFO index 9db2f78..99d267c 100644 --- a/PHPINFO +++ b/PHPINFO @@ -3,8 +3,8 @@ swoole Swoole => enabled Author => Swoole Team -Version => 6.1.1 -Built => Oct 30 2025 00:00:00 +Version => 6.1.2 +Built => Nov 12 2025 00:00:00 host byte order => little endian coroutine => enabled with boost asm context trace_log => enabled @@ -33,7 +33,7 @@ coroutine_pgsql => enabled coroutine_odbc => enabled coroutine_sqlite => enabled io_uring => enabled -boost stacktrace => enabled +execinfo => enabled Directive => Local Value => Master Value swoole.enable_library => On => On diff --git a/REFLECTION b/REFLECTION index 3ac7caa..0279631 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #120 swoole version 6.1.1 ] { +Extension [ extension #122 swoole version 6.1.2 ] { - Dependencies { Dependency [ json (Required) ] @@ -29,12 +29,12 @@ Extension [ extension #120 swoole version 6.1.1 ] { } } - - Constants [415] { - Constant [ string SWOOLE_VERSION ] { 6.1.1 } - Constant [ int SWOOLE_VERSION_ID ] { 60101 } + - Constants [416] { + Constant [ string SWOOLE_VERSION ] { 6.1.2 } + Constant [ int SWOOLE_VERSION_ID ] { 60102 } Constant [ int SWOOLE_MAJOR_VERSION ] { 6 } Constant [ int SWOOLE_MINOR_VERSION ] { 1 } - Constant [ int SWOOLE_RELEASE_VERSION ] { 1 } + Constant [ int SWOOLE_RELEASE_VERSION ] { 2 } Constant [ string SWOOLE_EXTRA_VERSION ] { } Constant [ bool SWOOLE_DEBUG ] { } Constant [ bool SWOOLE_HAVE_COMPRESSION ] { 1 } @@ -60,9 +60,6 @@ Extension [ extension #120 swoole version 6.1.1 ] { Constant [ int SWOOLE_RAW6 ] { 8 } Constant [ bool SWOOLE_SOCK_SYNC ] { } Constant [ bool SWOOLE_SOCK_ASYNC ] { 1 } - Constant [ int SWOOLE_SYNC ] { 2048 } - Constant [ int SWOOLE_ASYNC ] { 1024 } - Constant [ int SWOOLE_KEEP ] { 4096 } Constant [ int SWOOLE_SSL ] { 512 } Constant [ int SWOOLE_SSLv3_METHOD ] { 1 } Constant [ int SWOOLE_SSLv3_SERVER_METHOD ] { 2 } @@ -298,6 +295,7 @@ Extension [ extension #120 swoole version 6.1.1 ] { Constant [ int SWOOLE_CORO_END ] { 3 } Constant [ int SWOOLE_EXIT_IN_COROUTINE ] { 2 } Constant [ int SWOOLE_EXIT_IN_SERVER ] { 4 } + Constant [ int FILE_LOCK ] { 2 } Constant [ int SWOOLE_CHANNEL_OK ] { 0 } Constant [ int SWOOLE_CHANNEL_TIMEOUT ] { -1 } Constant [ int SWOOLE_CHANNEL_CLOSED ] { -2 } @@ -324,6 +322,9 @@ Extension [ extension #120 swoole version 6.1.1 ] { Constant [ int SWOOLE_HOOK_ALL ] { 2147481599 } Constant [ int SOCKET_ECANCELED ] { 125 } Constant [ int TCP_INFO ] { 11 } + Constant [ int SWOOLE_SYNC ] { 2048 } + Constant [ int SWOOLE_ASYNC ] { 1024 } + Constant [ int SWOOLE_KEEP ] { 4096 } Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_CONNECT_FAILED ] { -1 } Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_REQUEST_TIMEOUT ] { -2 } Constant [ int SWOOLE_HTTP_CLIENT_ESTATUS_SERVER_RESET ] { -3 } diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..b242145 --- /dev/null +++ b/composer.json @@ -0,0 +1,78 @@ +{ + "name": "swoole/swoole", + "type": "php-ext", + "license": "Apache-2.0", + "description": "Swoole is an event-driven, asynchronous, coroutine-based concurrency library with high performance for PHP.", + "require": { + "php": ">=8.1 <8.5" + }, + "php-ext": { + "extension-name": "swoole", + "configure-options": [ + { + "name": "enable-sockets", + "description": "Enable sockets support" + }, + { + "name": "enable-openssl", + "description": "Enable openssl support" + }, + { + "name": "with-openssl-dir", + "description": "Include OpenSSL support (requires OpenSSL >= 1.0.2)", + "needs-value": true + }, + { + "name": "enable-mysqlnd", + "description": "Enable mysqlnd support" + }, + { + "name": "enable-swoole-curl", + "description": "Enable curl support" + }, + { + "name": "enable-cares", + "description": "Enable cares support" + }, + { + "name": "enable-brotli", + "description": "Enable brotli support" + }, + { + "name": "with-brotli-dir", + "description": "Include Brotli support", + "needs-value": true + }, + { + "name": "enable-swoole-pgsql", + "description": "Enable PostgreSQL database support" + }, + { + "name": "with-swoole-odbc", + "description": "Enable ODBC database support", + "needs-value": true + }, + { + "name": "with-swoole-oracle", + "description": "Enable Oracle database support", + "needs-value": true + }, + { + "name": "enable-swoole-sqlite", + "description": "Enable Sqlite database support" + }, + { + "name": "enable-swoole-thread", + "description": "Enable swoole thread support (need php zts support)" + }, + { + "name": "enable-iouring", + "description": "Enable iouring for file async support" + }, + { + "name": "enable-zstd", + "description": "Enable zstd support" + } + ] + } +} diff --git a/php-pecl-swoole6.spec b/php-pecl-swoole6.spec index 707019a..d1d2b33 100644 --- a/php-pecl-swoole6.spec +++ b/php-pecl-swoole6.spec @@ -48,7 +48,7 @@ %bcond_without curl %bcond_without nghttpd2 -%global upstream_version 6.1.1 +%global upstream_version 6.1.2 #global upstream_prever RC2 %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} %global _configure ../%{sources}/configure @@ -385,6 +385,9 @@ cd ../ZTS %changelog +* Wed Nov 12 2025 Remi Collet - 6.1.2-1 +- update to 6.1.2 + * Thu Oct 30 2025 Remi Collet - 6.1.1-1 - update to 6.1.1 -- cgit