Swoole v6.1 Released: Major PHP, Library, and Network Protocol Upgrades
Version 6.1 of Swoole, built on Swoole v6.1.1 and PHP 8.4.14, introduces dynamic GCC support for Swoole‑CLI, a new random extension, libind2 and libpsl for Curl, upgrades PHP, numerous extensions, libraries, and switches HTTP/3 implementation, while fixing macOS build issues and deprecating ngtcp2.
New Features 🚀
Dynamic GCC version support added to Swoole‑CLI.
New random extension.
Enabled libind2 in Curl for Chinese domain name resolution.
Enabled libpsl in Curl for domain validation.
Major Changes ⚙️
PHP version upgraded from 8.1.29 to 8.4.14.
Build environment upgrades:
macOS amd64: from macos-13 to macos-15-intel.
macOS arm64: from macos-14 to macos-15.
Extension upgrades:
Swoole extension: from v5.1.x to v6.1.1.
Redis extension: from 5.3.7 to 6.2.0.
Imagick extension: from 3.6.0 to 3.8.0.
Library upgrades:
OpenSSL: from v3.1.4 to v3.6.0 (adds QUIC support).
Curl: from v8.4.0 to v8.16.0.
nghttp2: from v1.57.0 to v1.68.0.
nghttp3: from v1.0.0 to v1.12.0.
ngtcp2: from 8.4.0 to 8.16.0.
HTTP/3 implementation in Curl changed from (quictls + ngtcp2 + nghttp3) to (openssl + nghttp3).
Improvements 🔧
Fixed deprecation warning for libssh2 in the macOS build environment.
Fixes 🛠️
Resolved linking error for gmp library on macOS (enabled -fPIC option).
Deprecations ⚠️
Usage of ngtcp2 library is now frozen.
This release focuses on substantial PHP and related library upgrades, improving compatibility and performance, especially for network protocol support. For full details, refer to the official GitHub release page.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Open Source Tech Hub
Sharing cutting-edge internet technologies and practical AI resources.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
