Skip to content

Releases: swoole/swoole-src

v4.5.5

14 Oct 04:34
8b11260
Compare
Choose a tag to compare

New APIs

Enhancement

Fixed

  • Fixed PHP8 build (zend_compile_string change) (#3670) (@twose)
  • Fixed PHP8 build (ext/sockets compatibility) (#3684) (@twose)
  • Fixed PHP8 build (php_url_encode_hash_ex change) (#3713) (@remicollet)
  • Fixed invalid conversion from 'const char*' to 'char*' for build (#3686) (@remicollet)
  • Fixed HTTP2 client over HTTP proxy is not working (#3677) (@matyhtf) (@twose)
  • Fixed PDO context data confusion (swoole/library#54) (@sy-records)
  • Fixed onPacket callback or UDP Server with IPv6 return wrong port
  • Fixed Lock::lockwait timeout setting does not take effect

v4.5.4

15 Sep 23:40
9bc8420
Compare
Choose a tag to compare

Backward compatibility Break

New APIs

Enhancement

  • Added open_websocket_ping_frame, open_websocket_pong_frame (#3600) (@Yurunsoft)

Fixed

Kernel

v4.5.3

30 Aug 04:50
41fd89d
Compare
Choose a tag to compare

New APIs

  • Added Swoole\Process\ProcessManager (swoole/library#88f147b) (@huanghantao)
  • Added ArrayObject::append, StringObject::equals (swoole/library#f28556f) (@matyhtf)
  • Added Coroutine::parallel (swoole/library#6aa89a9) (@matyhtf)
  • Added Coroutine\Barrier (swoole/library#2988b2a) (@matyhtf)

Enhancement

Fixed

Kernel

v4.5.3RC1

24 Aug 06:37
66f70f6
Compare
Choose a tag to compare
v4.5.3RC1 Pre-release
Pre-release

New APIs

  • Added Swoole\Process\ProcessManager (swoole/library#88f147b) (@huanghantao)
  • Added ArrayObject::append, StringObject::equals (swoole/library#f28556f) (@matyhtf)
  • Added Coroutine::parallel (swoole/library#6aa89a9) (@matyhtf)
  • Added Coroutine\Barrier (swoole/library#2988b2a) (@matyhtf)

Enhancement

Fixed

Kernel

v4.5.3-beta

03 Aug 08:44
Compare
Choose a tag to compare
v4.5.3-beta Pre-release
Pre-release
update version

v4.5.3-alpha

21 Jul 11:00
9eb89bd
Compare
Choose a tag to compare
v4.5.3-alpha Pre-release
Pre-release
feat: add http 1.1 trailer (#3485)

v4.5.2

28 May 11:51
Compare
Choose a tag to compare

Enhancement

  • Support Server->set(['log_rotation' => SWOOLE_LOG_ROTATION_DAILY]) to generate log file by date (#3311) (@matyhtf)
  • Support swoole_async_set(['wait_signal' => true]), reactor will not exit if there is signal listener (#3314) (@matyhtf)
  • Support Server->sendfile to send empty file (#3318) (@twose)
  • Improve worker idle warning (#3328) (@huanghantao)
  • Improve configuration parser about Host (for HTTPS proxy) (#3343) (@twose)
  • SSL use ecdh auto (#3316) (@matyhtf)
  • SSL quiet shutdown when client close (#3342) (@huanghantao)

Fixed

Kernel

v4.4.19

28 May 11:46
Compare
Choose a tag to compare

Notice: v4.4.x is no longer the main maintenance branch, bug fixes only when necessary

Fixed

  • Merged all the bugfix patches from v4.5.2

v4.5.1

11 May 07:15
Compare
Choose a tag to compare

Enhancement

Fixed

Deprecated

  • Mark Coroutine\System::(fread/fgets/fwrite) as deprecated, please use runtime hook instead (it should have been included in v4.5.0) (c7c9bb4) (@twose)

Kernel

v4.5.0

26 Apr 06:02
Compare
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