Skip to content

Releases: swoole/swoole-src

v4.5.0

26 Apr 06:02

Choose a tag to compare

New APIs

  • DTLS supports, we can build WebRTC applications now (#3188) (@matyhtf)
  • Built-in FastCGI client, we can proxy HTTP request to FPM with one line of code now (swoole/library#17) (@twose)
  • Co::wait, Co::waitPid, Co::waitSignal (#3158) (@twose)
  • Co::waitEvent (#3197) (@twose)
  • Co::set(['exit_condition' => $callable]) to exit condition of reactor (#2918) (#3012) (@twose)
  • Co::getElapsed to get the coroutine elapsed time (#3162) (@doubaokun)
  • Socket::checkLiveness, Socket::peek (#3057) (@twose)
  • Socket->setProtocol(['open_fastcgi_protocol' => $bool]) (#3103) (@twose)
  • Server::get(Master|Manager|Worker)Pid, Server::getWorkerId (#2793) (#3019) (@matyhtf)
  • Server::getWorkerStatus (SWOOLE_WORKER_BUSY, SWOOLE_WORKER_IDLE) (#3225) (@matyhtf)
  • Server->on('beforeReload', $callable) and Server->on('afterReload', $callable) (Server reload event on manager process) (#3130) (@huanghantao)
  • Http\Server support http_index_files and http_autoindex with static handler (#3171) (@huanghantao)
  • Http2\Client->read(float $timeout = -1), support Coroutine\HTTP2\Client read more than once (#3011) (#3117) (@twose)
  • Http\Request->getContent (alias of rawContent) (#3128) (@huanghantao)
  • swoole_mime_type_(add|set|delete|get|exists) (mime APIs) (#3134) (@twose)

Enhancement

Remove

Kernel

Fixed

  • Fixed enable_delay_receive (#3221) (#3224) (@matyhtf)
  • All other bug fix patches have already been merged into the v4.4.x branch, we will not reiterate them here

v4.4.18

25 Apr 09:53

Choose a tag to compare

Enhancement

Fixed

v4.5.0RC1

08 Apr 06:11

Choose a tag to compare

v4.5.0RC1 Pre-release
Pre-release

New APIs

  • DTLS supports, we can build WebRTC applications now (#3188) (@matyhtf)
  • Built-in FastCGI client, we can proxy HTTP request to FPM with one line of code now (swoole/library#17) (@twose)
  • Co::wait, Co::waitPid, Co::waitSignal (#3158) (@twose)
  • Co::waitEvent (#3197) (@twose)
  • Co::set(['exit_condition' => $callable]) to set exit condition of reactor (#2918) (#3012) (@twose)
  • Co::getElapsed to get the coroutine elapsed time (#3162) (@doubaokun)
  • Socket::checkLiveness, Socket::peek (#3057) (@twose)
  • Socket->setProtocol(['open_fastcgi_protocol' => $bool]) (#3103) (@twose)
  • Server::getInstance, Server::get(Master|Manager|Worker)Pid, Server::getWorkerId (#2793) (#3019) (@matyhtf)
  • Server::getWorkerStatus (SWOOLE_WORKER_BUSY, SWOOLE_WORKER_IDLE) (#3225) (@matyhtf)
  • Server->on('beforeReload', $callable) and Server->on('afterReload', $callable) (Server reload event on manager process) (#3130) (@huanghantao)
  • Http\Server support http_index_files and http_autoindex with static handler (#3171) (@huanghantao)
  • Http2\Client->read(float $timeout = -1), support Coroutine\HTTP2\Client read more than once (#3011) (#3117) (@twose)
  • Http\Request->getContent (alias of rawContent) (#3128) (@huanghantao)
  • swoole_mime_type_(add|set|delete|get|exists) (mime APIs) (#3134) (@twose)

Enhancement

Remove

Kernel

Fixed

  • Fixed enable_delay_receive (#3221) (#3224) (@matyhtf)
  • Fixed ConnectionPool->fill (swoole/library#18) (@NHZEX)
  • All other bug fix patches have already been merged into the v4.4.x branch, we will not reiterate them here

v4.4.17

01 Apr 04:05

Choose a tag to compare

Enhancement

Fixed

v4.4.16

19 Feb 06:29

Choose a tag to compare

Enhancement

Fixed

  • Fixed http2_session.default_ctx double free (bddbb9b) (@twose)
  • Fixed uninitialized http_context (ce77c64) (@twose)
  • Fixed typo in Table (may lead to memory errors) (db4eec1) (@twose)
  • Fixed status error when kill USR2 and no set task_num (e437827) (@GXhua)
  • Fixed incomplete raw-content of HTTP request (#3079) (#3085) (@hantaohuang)
  • Fixed static handler (when the file content is empty, server should not respond 404) (#3084) (@Yurunsoft)
  • Fixed http_compression_level not work (16f9274) (@twose)
  • Fixed null pointer error of Coroutine HTTP2 Server caused by no handle (ed68098) (@twose)
  • Fixed option socket_dontwait not work (2758937) (@matyhtf)
  • Fixed double zend::eval (#3099) (@GXhua)
  • Fixed HTTP2 Server null pointer error (respond after connection is closed) (#3110) (@twose)
  • Fixed PDOStatementProxy::setFetchMode missing arguments (swoole/library#13) (@jcheron)

v4.4.15

15 Jan 06:16

Choose a tag to compare

Enhancement

  • Bad websocket handshake request will respond 400 (fdc1cb6) (@twose)
  • Disable accept when have too many connections (dd9fbf2) (@matyhtf)
  • Binary security of package_eof (#3054) (@twose)
  • Support HTTP chunked request (#3055) (@twose)
  • Unified naming style and improve accessibility of Curl\Handler properties (library/curl) (@twose)

Fixed

v4.4.14

26 Dec 02:34

Choose a tag to compare

Enhancement

Fixed

v4.4.13

17 Dec 07:56

Choose a tag to compare

New API

Enhancement

  • Support websocket compression on Coroutine\Http\Server (#2943) (@twose)
  • Support CURLOPT_PUT, CURLOPT_INFILE, CURLOPT_INFILESIZE (#2954) (@twose)
  • Add error info for bind error (#2972) (@LeiZhang-Hunter) (@twose)
  • Update error info if socket call failed (it will not warn anymore if not necessary) (1e9b8cb) (@twose)
  • Move the library to a separate repo (@twose)
  • Support CURLOPT_IPRESOLVE (library-12ffb4d6) (@twose)
  • Support CURLOPT_PORT, CURLOPT_PROXYPORT, CURLOPT_DNS_USE_GLOBAL_CACHE (library-5a718920) (@twose)
  • Better CURLOPT_ENCODING support (library-7b680712) (@twose)
  • Support curl_reset, CURLOPT_PROXYTYPE, CURLOPT_PROXYUSERNAME, CURLOPT_PROXYPASSWORD, CURLOPT_PROXYUSERPWD (library-84ce0a04) (@twose)

Fixed

Kernel

  • Refactor swoole_(get|set)_object to the way of extending zend_object (more stable and efficient) (#2966) (@twose)
  • Support Github Actions (@twose) (@matyhtf)

v4.4.13RC2

11 Dec 07:59

Choose a tag to compare

v4.4.13RC2 Pre-release
Pre-release

New API

Enhancement

  • Support websocket compression on Coroutine\Http\Server (#2943) (@twose)
  • Support CURLOPT_PUT, CURLOPT_INFILE, CURLOPT_INFILESIZE (#2954) (@twose)
  • Add error info for bind error (#2972) (@LeiZhang-Hunter) (@twose)
  • Update error info if socket call failed (it will not warn anymore if not necessary) (1e9b8cb) (@twose)
  • Move the library to a separate repo (@twose)
  • Support CURLOPT_IPRESOLVE (library-12ffb4d6) (@twose)
  • Support CURLOPT_PORT, CURLOPT_PROXYPORT, CURLOPT_DNS_USE_GLOBAL_CACHE (library-5a718920) (@twose)
  • Better CURLOPT_ENCODING support (library-7b680712) (@twose)
  • Support curl_reset, CURLOPT_PROXYTYPE, CURLOPT_PROXYUSERNAME, CURLOPT_PROXYPASSWORD, CURLOPT_PROXYUSERPWD (library-84ce0a04) (@twose)

Fixed

Kernel

  • Refactor swoole_(get|set)_object to the way of extending zend_object (more stable and efficient) (#2966) (@twose)
  • Support Github Actions (@twose) (@matyhtf)

v4.4.13RC1

05 Dec 10:34

Choose a tag to compare

v4.4.13RC1 Pre-release
Pre-release

New API

Enhancement

  • Support websocket compression on Coroutine\Http\Server (#2943) (@twose)
  • Support CURLOPT_PUT, CURLOPT_INFILE, CURLOPT_INFILESIZE (#2954) (@twose)
  • Add error info for bind error (@LeiZhang-Hunter) (@twose) (#2972)
  • Update error info if socket call failed (it will not warn anymore if not necessary) (1e9b8cb) (@twose)
  • Make library submodule (@twose)

Fixed

Kernel

  • Refactor swoole_(get|set)_object to the way of extending zend_object (more stable and faster) (#2966) (@twose)
  • Support Github Actions (@twose) (@matyhtf)