Releases: swoole/swoole-src
Releases · swoole/swoole-src
v4.4.24
v4.6.3
New APIs
- Added Swoole\Coroutine\go function (swoole/library@82f63be) (@matyhtf)
- Added Swoole\Coroutine\defer function (swoole/library@92fd0de) (@matyhtf)
Enhancement
- Added option compression_min_length for HTTP Server (#4033) (@matyhtf)
- Allowed setting content-length HTTP header in application layer (#4041) (@doubaokun)
Fixed
- Fixed coredump when program reach file open limitation (709813f) (@matyhtf)
- Fixed JIT being disabled (#4029) (@twose)
- Fixed Response::create() bug (a630b5b) (@matyhtf)
- Fixed task process id false positives on ARM (#4040) (@doubaokun)
- Fixed README (#4046) (@asheroto)
- Fixed native-curl crash on PHP8 (#4042) (#4045) (@Yurunsoft) (@matyhtf)
- Fixed mem error (#4050) (@matyhtf)
Kernel
v4.6.2
New APIs
- Added Http::Request::getMethod() (#3987) (@luolaifa000)
- Added Coroutine::Socket:recvLine() (#4014) (@matyhtf)
- Added Socket::readWithBuffer() (#4017) (@matyhtf)
Enhancement
- Improved Response::create() (#3998) (@matyhtf)
- Supported Coroutine\Redis::hExists return bool with compatibility_mode (b8cce7c) (@matyhtf)
- Supported PHP_NORMAL_READ for socket_read (b1a0dcc) (@matyhtf)
Fixed
- Fixed Coroutine::defer coredump in PHP8 (#3997) (@huanghantao)
- Fixed Coroutine::Socket::errCode is not set correctly when using thread context (004d08a) (@matyhtf)
- Fixed build Swoole error on latest macos (#4007) (@matyhtf)
- Fixed php stream context is nullptr when use md5_file with url (#4016) (@ZhiyangLeeCN)
- Fixed rshutdown deprecated warning when throw exception (#4026) (@huanghantao)
Kernel
v4.6.1
Enhancement
- Added --enable-thread-context option (#3970) (@matyhtf)
- Strict session_id, check the connection activity (#3993) (@matyhtf)
- Optimized CURLOPT_PROXY, support user, pass and scheme (swoole/library#87) (sy-records)
Fixed
- Fixed minimal PHP version (#3979) (@remicollet)
- Fixed pecl install missing enable-swoole-json and enable-swoole-curl options (#3980) (@sy-records)
- Fixed openssl thread safety issue (b516d69) (@matyhtf)
- Fixed enableSSL coredump (#3990) (@huanghantao)
Kernel
v4.5.11
Enhancement
- Optimize table (#3959) (@matyhtf)
- Enhancement CURLOPT_PROXY (swoole/library#87) (@sy-records)
Fixed
- Clear all columns when incr and decr (#3956) (@matyhtf)
- Fixed compile error (49fea17) (@matyhtf)
- Fixed fread bugs (#3972) (@matyhtf)
- Fixed openssl thread safety issue (7ee2c1a) (@matyhtf)
- Fixed Invalid argument supplied for foreach (swoole/library#80) (@sy-records)
- Fixed trigger_error param error (swoole/library#86) (@sy-records)
v4.6.0
Backward compatibility Break
- Removed the maximum limit of session id, never repeat (#3879) (@matyhtf)
- Disabled unsafe function when use Coroutine, including pcntl_fork/pcntl_wait/pcntl_waitpid/pcntl_sigtimedwait (#3880) (@matyhtf)
- Enabled coroutine hook by default (#3903) (@matyhtf)
Remove
Deprecated
New APIs
- Supported setPriority/getPriority (#3876) (@matyhtf)
- Supported native-curl hook (#3863) (@matyhtf) (@huanghantao)
- Supported object style callback parameters for Server, off by default (#3888) (@matyhtf)
- Supported ext-sockets hook (#3898) (@matyhtf)
- Supported duplicate header (#3905) (@matyhtf)
- Supported SSL sni (#3908) (@matyhtf)
- Supported hook stdio (#3924) (@matyhtf)
- Supported capture_peer_cert option for stream_socket (#3930) (@matyhtf)
- Added Http\Request::create/parse/isCompleted (#3938) (@matyhtf)
- Added Http\Response::isWritable (db56827) (@matyhtf)
Enhancement
- All time accuracy of Server changed from int to double (#3882) (@matyhtf)
- Added poll EINTR check for swoole_client_select (#3909) (@shiguangqi)
- Added coroutine deadlock detect (#3911) (@matyhtf)
- Supported closing the connection in another process with server base mode (#3916) (@matyhtf)
- Optimized send to worker from master, reduced memory copy (#3910) (@huanghantao) (@matyhtf)
Fixed
- Pop Coroutine::Channel data when channel is closed (960431d) (@matyhtf)
- Fixed memory error when use JIT (#3907) (@twose)
- Fixed port->set() dtls compile error (#3947) (@Yurunsoft)
- Fixed connection_list error (#3948) (@sy-records)
- Fixed ssl verify (#3954) (@matyhtf)
- Clear all columns when incr and decr (#3956) (@matyhtf) (@sy-records)
- Fixed failed to compile with LibreSSL 2.7.5 (#3962) (@matyhtf)
- Fixed undefined constant CURLOPT_HEADEROPT and CURLOPT_PROXYHEADER (swoole/library#77) (@sy-records)
Kernel
v4.5.10
v4.6.0-beta
Update version
v4.4.23
v4.6.0-alpha
fix tests (#3921)