Releases: swoole/swoole-src
Releases · swoole/swoole-src
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)
v4.5.9
Enhancement
- Added SWOOLE_HTTP_CLIENT_ESTATUS_SEND_FAILED constant for Coroutine\Http\Client (#3873) (@sy-records)
Fixed
- Fixed PHP8 compatibility (#3868) (#3869) (#3872) (@twose) (@huanghantao) (@doubaokun)
- Fixed undefined constant CURLOPT_HEADEROPT and CURLOPT_PROXYHEADER (swoole/library#77) (@sy-records)
- Fixed CURLOPT_USERPWD (swoole/library@7952a7b6) (@twose)
v4.5.8
New APIs
- Added swoole_error_log function (67d2bff) (@matyhtf)
- Supported SSL for readVector and writeVector (#3857) (@huanghantao)
Enhancement
- Did not wait when the child process does not exist (#3832) (@matyhtf)
- Supported DTLS 16k record (#3849) (@matyhtf)
- Supported priority for cookie (#3854) (@matyhtf)
- Supported more CURL options (swoole/library#71) (@sy-records)
- Handled CURL header names in case insensitive manner (swoole/library#76) (@filakhtov) (@twose) (@sy-records)
Fixed
- Fixed readv_all and writev_all when trigger EAGAIN errno (#3830) (@huanghantao)
- Fixed warning for PHP8 (03f3fb0) (@matyhtf)
- Fixed binary security of swoole table keys (#3842) (@twose)
- Fixed System::writeFile append file issue when using FILE_APPEND (a71956d) (@matyhtf)
- Fixed CURLOPT_WRITEFUNCTION (swoole/library#74) (swoole/library#75) (@sy-records)
- Fixed memory overread when parse form-data boundary (#3858) (@twose)
- Fixed is_callable() can not access internal private callable on PHP8 (#3859) (@twose)
Kernel
v4.5.7
New APIs
- Added writeVector, writeVectorAll, readVector, readVectorAll for Coroutine::Socket (#3764) (@huanghantao)
Enhancement
- Added task_worker_num and dispatch_count for server->stats (#3771) (#3806) (@sy-records) (@matyhtf)
- Added extension dependencies, including json, mysqlnd, sockets (#3789) (@remicollet)
- Limited the minimum for uid server->bind is INT32_MIN (#3785) (@sy-records)
- Added compilation option for JSON decoder, Support negative offset (#3809) (@matyhtf)
- Added CURLOPT_TCP_NODELAY for Curl (swoole/library#65) (@sy-records) (@deminy)
Fixed
- Fixed sync client::connect error info (#3784) (@twose)
- Fixed the scandir function hooked (#3793) (@twose)
- Fixed some errors in the barrier (swoole/library#68) (@sy-records)