Skip to content

Releases: swoole/library

v6.0.0

31 Dec 18:52
v6.0.0
5cb6b5d
Compare
Choose a tag to compare

Built-in PHP library included in Swoole v6.0.0.

Removed:

  • Drop support for PHP 8.0.
  • Deprecated option constants removed from class \Swoole\Constant.

Added:

Fixed:

Changed:

  • Added Swoole server option init_arguments and bootstrap (commit).

v5.1.3

31 Dec 18:52
v5.1.3
3bc066d
Compare
Choose a tag to compare

Built-in PHP library included in Swoole v5.1.3.

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)

v5.1.2

24 Jan 05:21
v5.1.2
Compare
Choose a tag to compare

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

24 Dec 03:44
v5.1.1
dd9ca3b
Compare
Choose a tag to compare

Built-in PHP library included in Swoole v5.1.1.

This release is the same as Swoole Library v5.1.0.

v5.1.0

24 Dec 03:42
v5.1.0
dd9ca3b
Compare
Choose a tag to compare

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

09 Dec 05:52
v5.0.3
Compare
Choose a tag to compare

Built-in PHP library included in Swoole v5.0.3.

v0.1.0

06 Dec 07:28
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

v0.1.0