Skip to content

v5.1.2

Latest
Compare
Choose a tag to compare
@deminy deminy released this 24 Jan 05:21
· 46 commits to master since this release
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.