Releases
v4.5.0
twose
released this
26 Apr 06:02
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
You can’t perform that action at this time.