Releases: swoole/swoole-src
Releases · swoole/swoole-src
v4.7.0
New APIs
- Added Process\Pool::detach() (#4221) (@matyhtf)
- Added onDisconnect callback for Swoole\Server (#4230) (@matyhtf)
- Added Coroutine::cancel() (#4247) (#4249) (@matyhtf)
- Added http_compression/body_decompression options for Http Client (#4299) (@matyhtf)
Enhancement
- Supported mysql client prepare field type identification (#4238) (@Yurunsoft)
- Supported c-ares, Refactor DNS (#4275) (@matyhtf)
- Supported setting different idle time for each port (#4290) (@matyhtf)
- Supported SW_DISPATCH_CO_CONN_LB and SW_DISPATCH_CO_REQ_LB for Swoole\Server dispatch_mode (#4318) (@matyhtf)
- Supported timeout for Swoole\ConnectionPool::get (swoole/library#108) (@leocavalcante)
- Supported CURLOPT_PRIVATE for Hook Curl (swoole/library#112) (@sy-records)
- Optimized PDOStatementProxy::setFetchMode function prototype (swoole/library#109) (@yespire)
Fixed
- Fixed uncaught thread creation exception when creating a large number of coroutines (8ce5041) (@matyhtf)
- Fixed the "make install" missing php_swoole.h header file (#4239) (@sy-records)
- Fixed EVENT_HANDSHAKE BC (#4248) (@sy-records)
- Fixed SW_LOCK_CHECK_RETURN (#4302) (@zmyWL)
- Fixed problems with Swoole\Atomic\Long M1 chip (e6fae2e) (@matyhtf)
- Fixed missing return value of Coroutine\go (swoole/library@1ed49db) (@matyhtf)
- Fixed StringObject consistency between other methods and its immutability (swoole/library#111) (@leocavalcante)
- Fixed StringObject substr error (swoole/library#113) (@sy-records)
Kernel
Test
- Added Cygwin build (#4222) (@sy-records)
- Added alpine 3.13 and 3.14 into building test (#4309) (@limingxinleo)
v4.6.7
Enhancement
Fixed
- Fixed signal cannot be registered repeatedly (#4170) (@matyhtf)
- Fixed build on OpenBSD/NetBSD (#4188) (#4194) (@devnexen)
- Fixed special case OnClose event missing while listening for writable events (#4204) (@matyhtf)
- Fixed native curl with Symfony HttpClient (#4208) (@matyhtf)
- Fixed Http\Response::end() always return true (66fcc35) (@matyhtf)
- Fixed PDOException generated by PDOStatementProxy (swoole/library#104) (@twose)
Kernel
- Refactored worker buffer, add msg id for the event data (#4163) (@matyhtf)
- Changed the log level of "Request Entity Too Large" to warning (#4175) (@sy-records)
- Deleted inet_ntoa and inet_aton calls (#4199) (@remicollet)
- Adjusted output_buffer_size value to UINT_MAX (46ab345) (@matyhtf)
v4.6.6
v4.6.5
New APIs
- Add count method to WaitGroup (swoole/library#100) (@sy-records) (@deminy)
Enhancement
- Supported native curl multi (#4093) (#4099) (#4101) (#4105) (#4113) (#4121) (cd7f51c) (#4147) (@matyhtf) (@sy-records) (@huanghantao)
- Allow array HTTP/2 headers, Bug fixed for #4133 (#4140)
Fixed
- Fixed NetBSD build (#4080) (@devnexen)
- Fixed OpenBSD build. (#4108) (@devnexen)
- Fixed illumos/solaris build, member aliases only (#4109) (@devnexen)
- Fixed heartbeat detection of SSL connection does not take effect when handshake is not completed (#4114) (@matyhtf)
- Fixed httpclient proxy with host and port (#4124) (@Yurunsoft)
- Fixed Swoole\Coroutine\Http::request, correct array to the client setting (swoole/library#103) (@leocavalcante) (@deminy)
Kernel
- Supported asm context on BSD (#4082) (@devnexen)
- Used arc4random_buf to implement getrandom under FreeBSD (#4096) (@devnexen)
- Make context darwin arm64: removes workaround and uses the label (#4127) (@devnexen)
Test
- Added build job for alpine (#4104) (@limingxinleo)
v4.4.25
Fixed
- Fix httpclient proxy with host and port
v4.6.4
New APIs
- Added Coroutine\Http::request, Coroutine\Http::post, Coroutine\Http::get (swoole/library#97) (@matyhtf)
Enhancement
- Supported ARM 64 build (#4057) (@devnexen)
- Supported set open_http_protocol in Swoole TCP Server (#4063) (@matyhtf)
- Supported ssl client only set certificate (91704ac) (@matyhtf)
- Supported tcp_defer_accept option for FreeBSD (#4049) (@devnexen)
Fixed
- Fixed Proxy-Authorization missing when use Coroutine\Http\Client (edc0552) (@matyhtf)
- Fixed memory allocation issues with Swoole\Table (3e7770f) (@matyhtf)
- Fixed crash when Coroutine\Http2\Client connects concurrently (630536d) (@matyhtf)
- Fixed enable_ssl_encrypt with DTLS (842733b) (@matyhtf)
- Fixed Coroutine\Barrier mem leak (swoole/library#94) (@Appla) (@FMiS)
- Fixed the offset error caused by CURLOPT_PORT and CURLOPT_URL order (swoole/library#96) (@sy-records)
- Fixed Table::get($key, $field) when field type is float (08ea20c) (@matyhtf)
- Fixed Swoole\Table mem leaks (d78ca8c) (@matyhtf)
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)