Skip to content

Update dependency openswoole/ext-openswoole to v26 - #83

Open
renovate[bot] wants to merge 1 commit into
stagingfrom
renovate/openswoole-ext-openswoole-26.x
Open

renovate[bot] wants to merge 1 commit into
stagingfrom
renovate/openswoole-ext-openswoole-26.x

Conversation

@renovate

@renovate renovate Bot commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
openswoole/ext-openswoole major 22.1.2 → 26.11.0

⚠️ CI does not verify if extension can be built successfully or compatible. Build log review at platform.sh is required.


Release Notes

openswoole/ext-openswoole

v26.11.0

Compare Source

New Features

. PHP 8.6 support
. CURLOPT_SEEKFUNCTION support in the native curl hook on PHP 8.6
. CURLOPT_PREREQFUNCTION support in the native curl hook on PHP 8.4+ (Guzzle 7.12+)
. PIE (PHP Installer for Extensions) support
. Response::cookie() also sends Max-Age when an expiry time is set, like setcookie() (#​310)

Changes

. Hooked ssl:// and tls:// client streams use the same peer verification defaults as native PHP; set verify_peer to false to connect to servers with a self-signed certificate
. Cookie values are encoded and decoded like PHP does: a "+" is kept and a space is %20, in the server and the HTTP clients; cookies with spaces set by earlier versions read back with "+" until they are set again; for a cookie name sent twice, the first value is used (#​311)
. OpenSwoole 27.2 will require PHP 8.4 or later; 26.11 is the last release series to support PHP 8.3

Bug Fixes

. Fix stream_socket_enable_crypto with tls (#​401)
. Fix io_uring build on Alpine Linux (#​400)
. Fix SSL client certificate lost in getClientInfo() when the worker pid is greater than 65535
. Fix curl_copy_handle() not keeping the CURLOPT_STDERR stream and callback data in the native curl hook
. Fix preemptive scheduler crash on ZTS builds
. Fix crash in the native curl hook when a curl multi handle is released after the event loop is destroyed
. Fix enable_reuse_port having no effect on Linux because SO_REUSEPORT was not detected at configure time
. Fix the http2_* server settings being ignored and not sent to clients in the SETTINGS frame
. Fix max_idle_time closing active connections and ignoring fractions of a second
. Fix a crash when a coroutine is canceled during file I/O
. Fix stream_select() closing regular files
. Fix closing a unix datagram socket removing the peer's socket file
. Fix process pipes never being closed
. Fix Lock::lockwait() truncating the timeout
. Fix process pool reload stalling, getProcess() ids and a connection leak
. Fix process pool warnings about workers that already exited or detached
. Fix the signal listener count with wait_signal
. Fix a second Coroutine\System::waitSignal() on the same signal leaving the first waiting forever
. Fix Coroutine::select() with push channels and array keys
. Fix Table keys longer than 63 bytes, iteration with an empty key, and incr()/decr() on a bad column
. Fix the Table row lock being taken over from a live holder
. Fix an HTTP/2 RST_STREAM leaving a send_yield coroutine waiting forever
. Fix the open_redis_protocol parser failing on commands split across reads and on pipelined commands
. Fix hooked time_nanosleep() accepting nanoseconds out of range
. Fix a crash in the native curl hook with curl_copy_handle() or connection reuse in curl_multi
. Fix curl_reset() losing the coroutine state of a native curl handle
. Fix co::run() not returning for minutes after curl_multi requests in the native curl hook
. Fix io_uring warnings logged on every file operation when io_uring is not available, for example in Docker containers with the default seccomp profile
. Fix the server master process being killed by SIGALRM when a timer was created before Server::start()
. Fix the static handler sending the file body for HEAD requests
. Fix the HTTP/2 client reply to PING frames and its handling of GOAWAY and padded frames
. Fix CurlHandle objects never being freed with CURLOPT_HEADERFUNCTION in the native curl hook on PHP 8.4+ (#​391)
. Fix HTTP/2 server responses to HEAD requests sending a body
. Fix bundled hiredis symbols colliding with other extensions that link hiredis (#​394)
. Fix the build on FreeBSD 14 and 15 (#​389)
. Fix OpenSwoole\Table ignoring a conflictProportion below 1 (#​362)
. Fix the io_uring reactor failing to start when io_uring is not available; it now falls back to epoll, and reactor_type is accepted by Server::set() (#​408)
. Fix HTTP/2 requests with headers split into CONTINUATION frames, and HPACK errors when http2_header_table_size is set (#​388)
. Fix heap corruption when closing a mysqli connection opened with mysqli_init() and real_connect() in a coroutine (#​409, #​378)
. Fix max_request_execution_time ending later requests early and crashing workers (#​315, #​358)
. Fix coroutines crashing when opcache.preload is enabled (#​343)
. Fix the deprecation warning for on('handshake') (#​303)
. Fix configure not finding libpq in lib64 without pg_config (#​245)
. Fix task workers logging a warning for SIGPIPE
. Fix Xdebug not seeing the request callback with use_fiber_context, which crashed the worker when variables were inspected (#​404)
. Fix the io_uring reactor not answering requests in SWOOLE_PROCESS mode (#​405)
. Fix the io_uring reactor on kernels before 5.13, where multishot poll is not available
. Various stability fixes

v26.2.0

Compare Source

New Features

. PHP 8.5 support
. PHP native Fiber context backend for coroutines: new coroutine context backend using PHP's native zend_fiber API instead of Boost ASM or ucontext. Enables proper integration with xdebug, profilers, and fiber-aware extensions. Configurable at runtime via Co::set(['use_fiber_context' => true]) or INI openswoole.use_fiber_context=On
. Xdebug support: xdebug step debugging now works correctly inside coroutines when fiber context is enabled. Removed the legacy "extremely dangerous" warning
. Runtime reactor type selection: select the event reactor backend at runtime via Co::set(['reactor_type' => OPENSWOOLE_IO_URING]). New constants: OPENSWOOLE_EPOLL, OPENSWOOLE_KQUEUE, OPENSWOOLE_POLL, OPENSWOOLE_SELECT, OPENSWOOLE_IO_URING
. io_uring reactor backend: new event reactor using Linux io_uring with IORING_OP_POLL_ADD as a drop-in replacement for epoll. Enable with --enable-io-uring (requires liburing). Supports multishot poll on kernel 5.13+ with automatic fallback on older kernels
. io_uring async file I/O engine: dedicated io_uring ring for asynchronous file operations (open, read, write, fstat, fsync, unlink, rename, mkdir, rmdir), replacing the thread pool. Unsupported operations gracefully fall back to the thread pool
. Event loop lag metrics: real-time event loop lag monitoring via $server->stats(). Exposes event_loop_lag_ms, event_loop_lag_max_ms, and event_loop_lag_avg_ms per worker, task worker (when coroutine-enabled), and reactor thread (process mode). Useful for detecting blocking operations that stall the event loop
. Coroutine-safe exit() support: intercepts exit() calls inside coroutines on PHP 8.4+ (where exit changed from opcode to function) and throws openswoole_exit_exception instead
. Backward compatibility constant aliases
. Migrate HTTP parser to llhttp: replaces the custom openswoole_http_parser with llhttp parser for improved standards compliance and performance

Bug Fixes

. Fix reflection issues and scope leaks (#​284): OSW_FUNCTION_ALIAS caused global functions to appear as class methods with corrupted return types in Reflection. Replaced with proper PHP_FE/PHP_FALIAS entries
. Fix file I/O hanging under io_uring: race condition where eventfd notification could be lost between draining and re-arming single-shot POLL_ADD. Added reactor end-of-loop callback and timeout CQE filtering
. Fix file lock bug: non-blocking flock (LOCK_NB) now properly checks in-process coroutine lock state before the system flock() call
. Fix CPU affinity compile check: add missing _GNU_SOURCE define before sched.h
. Fix futex compile check: add missing _GNU_SOURCE define before linux/futex.h

Refactoring

. Namespace normalization: openswoole_*, updated internal references and test directories
. Removed compile-time guards from reactor type PHP constants; runtime validation handles unsupported backends
. Removed PHP < 8.0 compatibility code
. Dropped PHP 8.2 support

v25.2.0: for PHP 8.4

Compare Source

  • Support PHP 8.4

Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Read more information about the use of Renovate Bot within Laminas.

| datasource      | package                   | from   | to      |
| --------------- | ------------------------- | ------ | ------- |
| github-releases | openswoole/ext-openswoole | 22.1.2 | 26.11.0 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate
renovate Bot force-pushed the renovate/openswoole-ext-openswoole-26.x branch from e50de71 to 02e2f46 Compare November 18, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants