Releases: swoole/swoole-src
Releases Β· swoole/swoole-src
v5.0.1
- Supported
PHP-8.2
- Improved coroutine exception handling, compatible with
ext-soap
- Fixed parameter compatibility of
Coroutine::printBackTrace()
anddebug_print_backtrace()
- Added pgsql coroutine client LOB supports
- Fixed
Event::add()
support for sockets resources - Fixed compile error when no zlib
- Improved websocket client, upgrade header contains websocket instead of equal
- Optimized http client, disable
keep-alive
when server sends connection close - Optimized http client, prohibit adding the
Accept-Encoding
header without compression library - Improved debug info, set password as sensitive parameter under PHP-8.2
- Fixed crash when unpack server task parsed to an unexpected string
- Enhanced
Server::taskWaitMulti()
, no blocking in coroutine environment - Fixed the problem that adding a timer less than 1ms is forced to 0
- Fixed crash when using
table::getMemorySize()
before add columns - Optimized log function, no longer print screen when writing to the log file fails
- Modify the
expire
parameter name ofHttp\Response::setCookie()
toexpires
, fix #4780
v4.8.12
- Supports
PHP-8.2
- Enhanced
Event::add()
support for sockets resources - Fixed incorrect error message when wrong multipart body is received
- Improved
Http\Client::sendfile()
, support large files over 4G - Improved
Server::taskWaitMulti()
, support coroutine environment - Fixed incorrect error message when add timer less than 1ms
- Fixed deadlock caused by writing log when disk is full
v5.0.0
Minimum PHP version requirement is
8.0
Added
- Added
max_concurrency
option for Server - Added
max_retries
option for Coroutine\Http\Client - Added
name_resolver
global option - Added
upload_max_filesize
option for Server - Added
Coroutine::getExecuteTime()
- Added SWOOLE_DISPATCH_CONCURRENT_LB dispatch_mode for Server
Changed
- Enhanced type system, added types for parameters and return values of all functions
- Optimized error handling, all constructors will throw exceptions when fail
- Adjusted the default mode of Server, the default is SWOOLE_BASE mode
- Migrate pgsql coroutine client to core
- Contains all bugfixes from the 4.8.x branch
Removed
- Removed PSR-0 style class names
- Removed the automatic addition of
Event::wait()
in shutdown function - Removed
Server::tick/after/clearTimer/defer
aliases - Removed
--enable-http2
/--enable-swoole-json
, adjusted to be enable by default
Deprecated
- Deprecated
Coroutine\Redis
andCoroutine\MySQL