Skip to content

Releases: swoole/swoole-src

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

v4.6.7

14 May 13:05
1ec3202
Compare
Choose a tag to compare

Enhancement

  • Supported call Process::signal() in Manager process and Task synchronous process (#4190) (@matyhtf)

Fixed

Kernel

v4.6.6

22 Apr 09:23
fea6720
Compare
Choose a tag to compare

Enhancement

  • Sent SIGTERM to the manager process on FreeBSD when master process is dead (#4150) (@devnexen)
  • Supported static compilation with PHP (#4153) (@matyhtf)
  • Supported SNI for File Wrapper over HTTP proxy (#4158) (@matyhtf)

Fixed

v4.6.5

09 Apr 10:45
f32867a
Compare
Choose a tag to compare

New APIs

Enhancement

Fixed

Kernel

  • Supported asm context on BSD (#4082) (@devnexen)
  • Used arc4random_buf to implement getrandom under FreeBSD (#4096) (@devnexen)
  • Make context darwin arm64: removes workaround and uses the label (#4127) (@devnexen)

Test

v4.4.25

09 Apr 10:41
ee7affd
Compare
Choose a tag to compare

Fixed

  • Fix httpclient proxy with host and port

v4.6.4

11 Mar 13:09
295e270
Compare
Choose a tag to compare

New APIs

Enhancement

Fixed