Releases: swoole/library
Releases · swoole/library
v5.1.2
Built-in PHP library included in Swoole v5.1.2.
Removed:
- Dropped support for PHP 7 (from PHP 7.2 to 7.4). PHP 7 is not supported in Swoole v5.0.0 and later; there is no need to support PHP 7 in Swoole Library anymore.
Fixed:
- Fix return type of method \Swoole\FastCGI\HttpRequest::withBody(). (commit)
- Fix return value of method \Swoole\Server\Admin::start(). (commit)
- Fix method \Swoole\MultibyteStringObject::ipos(). (commit)
- Fix incorrect operator precedence used in method \Swoole\Coroutine\Admin::start(). (commit)
- Fix issue #164 : set_charset() should be called only if DB connection succeeds. (thanks @timaelliott)
Changed:
- MR #160: Allow to pass array key/index to the callback function of function \Swoole\Coroutine::map(). (by @maxiaozhi)
- MR #166: Support configurable options for Redis. (by @sy-records)
- Add option write_func to class \Swoole\Constant. (commit)
- Improved type declarations and return types.
v5.1.1
v5.1.0
Built-in PHP library included in Swoole v5.1.0.
Added:
- MR #163: support database connection pools of ODBC, SQLite, PostgreSQL, and Oracle via PDO. (by @NathanFreeman)
Fixed:
- Issue #156: PDO Exceptions thrown from Swoole Library should be the same as those from PHP. (by @NathanFreeman)
v5.0.3
Built-in PHP library included in Swoole v5.0.3.