Releases: swoole/swoole-src
Releases ยท swoole/swoole-src
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
v4.8.11
v4.8.10
v4.8.9
v4.8.8
v4.8.7
v4.8.6
v4.8.5
v4.8.4
v4.8.3
- Fixed compatibility of curl native hook with PHP-8.1
- Fixed compatibility of sockets hook with PHP-8
- Fixed the return value error of sockets hook function
- Added Coroutine\Socket::isClosed()
- Fixed Http2Server sendfile cannot set content-type
- Optimize performance of HttpServer date header
ไธญๆ
- ไฟฎๅค curl native hook ๅจ php8.1 ็ๆฌไธ็ๅ ผๅฎนๆง้ฎ้ข
- ไฟฎๅค sockets hook ๅจ php8 ไธ็ๅ ผๅฎนๆง้ฎ้ข
- ไฟฎๅค sockets hook ๅฝๆฐ่ฟๅๅผ้่ฏฏ
- ๅขๅ Coroutine\Socket::isClosed() ๆนๆณ
- ไฟฎๅค Http2Server sendfile ๆ ๆณ่ฎพ็ฝฎ content-type
- ไผๅ HttpServer date header ็ๆง่ฝ๏ผๅขๅ ไบ cache