Fixed:
- MR #169: Fix broken requests when keep-alive is turned on in the FastCGI client. (by @NathanFreeman)
- MR #170: Enhance database pool stability by verifying PDO connection existence while fetching. (by @DevZer0x00)
- MR #172: Add keyword "Broken Pipe" for detecting lost DB connections. (by @kingIZZZY)
- Fix accessing undefined properties in method \Swoole\NameResolver::checkResponse(). (commit)
- Fix the implementation of method
\Swoole\MultibyteStringObject::chunk()
. (commit) - Connection pool in Swoole does not support in-memory or temporary SQLite databases. (commit)
Changed:
- Refactor: Rename parameter in method
\Swoole\Database\PDOStatementProxy::setFetchMode()
for consistency. - Refactor: Rename parameter in method
\Swoole\MultibyteStringObject::substr()
for consistency. - Refactor: Enhance method
\Swoole\FastCGI\Message::withBody()
with explicit parameter type. - Refactor: Rename parameter and default value of method
\Swoole\StringObject::chunkSplit()
for consistency. (commit) - Refactor: Rename parameter in method
\Swoole\StringObject::chunk()
for consistency. (commit) - Refactor: Method
\Swoole\ArrayObject::serialize()
returns string instead of stringable object. (commit) - FastCGI: Make constructor argument required for records. (commit)
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.
Built-in PHP library included in Swoole v5.1.1.
This release is the same as Swoole Library 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)
Built-in PHP library included in Swoole v5.0.3.