[ANNOUNCEMENT] swoole-4.2.0 (stable) Released.
| From: | PECL Announce | Date: | Tue, 18 Sep 2018 11:11:25 +0000 |
| Subject: | [ANNOUNCEMENT] swoole-4.2.0 (stable) Released. | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-15477@lists.php.net to get a copy of this message | ||
The new PECL package swoole-4.2.0 (stable) has been released at http://pecl.php.net/.
Release notes
-------------
+ Add new coroutine hooks,
tcp, udp, ssl, tls,
sleep, usleep, and file read and write, mkdir...etc, be async
automatically
+ New ability of the server/client to send the swoole_websocket_frame object directly,
support any type of frame construction, send and receive, support
__toString
+ Better AIO
+ Add the Process\Pool::getProcess method
+ Support --with-hiredis-dir, --with-nghttp2-dir compiling parameters
* Enhanced send_yield, automatic retry within the timeout
* Enhanced timer round detection, repaired millisecond-level ultra-short timer execution error
* Enable TCP_NODELAY by default, turn off Nagle algorithm, reduce latency
* More standardized PECL package
* Re-support the sending of HTTP-header with custom content-length of 0
* Fixed an issue that can not access the Private/Protect properties in the class after coroutine
yield caused by EG(scope) not switched in PHP7.0.x
* Fixed the error opcode and finish status in websocket_server
* Fixed the async_dns_lookup bug
* Completed the code about channel.c overflow space handling
* Fixed the bug of channel->close
* Fixed the bug of coroutine socket->recv_package
* Repair MySQL Statement->execute does not support null parameters
* Support for identifying form-data encoding with a semicolon-separated
boundary
* Add many high-quality unit tests, greater stability
- Remove useless time wheel algorithm
Package Info
-------------
Event-driven asynchronous and concurrent networking engine with high performance for PHP.
- event-driven
- asynchronous non-blocking
- multi-thread reactor
- multi-process worker
- multi-protocol
- millisecond timer
- async mysql client
- built-in http/websocket/http2 server
- async http/websocket client
- async redis client
- async task
- async read/write file system
- async dns lookup
- support IPv4/IPv6/UnixSocket/TCP/UDP
- support SSL/TLS encrypted transmission
Related Links
-------------
Package home: http://pecl.php.net/package/swoole
Changelog: http://pecl.php.net/package-changelog.php?package=swoole
Download: http://pecl.php.net/get/swoole-4.2.0.tgz
Authors
-------------
shen zhe <shenzhe163@gmail.com> (developer)
Han Tianfeng <mikan.tenny@gmail.com> (lead)