Skip to content

Releases: swoole/swoole-src

v4.8.7

18 Feb 06:08
Compare
Choose a tag to compare
  • Added curl_share supports
  • Fixed symbol undefined on arm32 platform
  • Fixed clock_gettime() compatibility
  • Fixed issue where server sending fails with PROCESS mode when kernel lacks large block of memory

v4.8.6

11 Jan 11:50
Compare
Choose a tag to compare
  • Added prefix to boost/context API names
  • Optimized configure options

v4.8.5

24 Dec 14:01
Compare
Choose a tag to compare
  • Revert parameter type of Table
  • Fix crash when received wrong data with websocket protocol

v4.8.4

17 Dec 03:11
Compare
Choose a tag to compare
  • Fixed compatibility of sockets hook with PHP-8.1
  • Fixed compatibility of Table with PHP-8.1
  • Fixed bug #4519

v4.8.3

01 Dec 01:57
Compare
Choose a tag to compare
  • Fixed compatibility of curl native hook with PHP-8.1
  • Fixed compatibility of sockets hook with PHP-8
  • Fixed the return value error of sockets hook function
  • Added Coroutine\Socket::isClosed()
  • Fixed Http2Server sendfile cannot set content-type
  • Optimize performance of HttpServer date header

中文

  1. 修复 curl native hook 在 php8.1 版本下的兼容性问题
  2. 修复 sockets hook 在 php8 下的兼容性问题
  3. 修复 sockets hook 函数返回值错误
  4. 增加 Coroutine\Socket::isClosed() 方法
  5. 修复 Http2Server sendfile 无法设置 content-type
  6. 优化 HttpServer date header 的性能,增加了 cache

v4.8.2

17 Nov 04:50
bc5142a
Compare
Choose a tag to compare
  • Fixed memory leak of proc_open hook
  • Fixed compatibility of curl native hook with PHP-8.0 and PHP-8.1
  • Fixed connection cannot be closed normally in the Manager process
  • Fixed Manager process cannot use sendMessage
  • Fixed Coroutine\Http\Server received abnormally large POST data parsing
  • Fixed cannot exit directly when a fatal error occurs in PHP8 environment
  • Adjust coroutine max_concurrency option, only allowed to be used in Co::set()
  • Adjust Coroutine::join() to ignore non-exists coroutine

中文

  • 修复 proc_open hook 内存泄露的问题
  • 修复 curl native hook 与 PHP-8.0、PHP-8.1 的兼容性问题
  • 修复 Manager 进程中无法正常关闭连接的问题
  • 修复 Manager 进程无法使用 sendMessage 的问题
  • 修复 Coroutine\Http\Server 接收超大 POST 数据解析异常的问题
  • 修复 PHP8 环境下致命错误时进行不能直接退出的问题
  • 调整 coroutine max_concurrency 配置项,只允许在 Co::set() 中使用
  • 调整 Coroutine::join() 忽略不存在的协程

v4.8.1

29 Oct 10:13
3b025ba
Compare
Choose a tag to compare

New APIs

  • Added swoole_error_log_ex(), swoole_ignore_error() (#4440) (@matyhtf)

Enhancement

Fixed

v4.8.0

14 Oct 08:39
ffdb510
Compare
Choose a tag to compare

Backward compatibility Break

  • In base mode, the onStart callback is always called back when the first worker process (worker ID is 0) starts, before onWorkerStart callback. The coroutine API can always be used in the onStart callback, and onStart is called back again when worker-0 restarts with a fatal error (#4389) (@matyhtf)
    • In versions prior to 4.8.0, onStart is called back in worker-0 when there is only one worker process, and called back in the Manager process when there are multiple worker processes.

New APIs

New feature

Enhancement

Fixed

v4.7.1

19 Aug 07:22
75b7ffa
Compare
Choose a tag to compare

New feature

Enhancement

Fixed

v4.7.0

16 Jul 09:28
db6deb0
Compare
Choose a tag to compare

New APIs

Enhancement

Fixed

Kernel

Test