From df1f708b22440110aff8c125244d3de56569ed8c Mon Sep 17 00:00:00 2001
From: MARiA so cute <33935209+NathanFreeman@users.noreply.github.com>
Date: Thu, 28 Nov 2024 00:57:58 +0800
Subject: [PATCH] release v5.1.6 (#5592)
---
.github/workflows/ext.yml | 2 +-
CMakeLists.txt | 2 +-
include/swoole_version.h | 6 +++---
package.xml | 31 ++++++++++++++++---------------
4 files changed, 21 insertions(+), 20 deletions(-)
diff --git a/.github/workflows/ext.yml b/.github/workflows/ext.yml
index de2aadc2b51..7b25873a805 100644
--- a/.github/workflows/ext.yml
+++ b/.github/workflows/ext.yml
@@ -45,7 +45,7 @@ jobs:
runs-on: macos-latest
steps:
- name: install dependencies
- run: brew reinstall php
+ run: brew reinstall php@8.3 && brew link php@8.3 --force
- uses: actions/checkout@v4
- name: phpize
run: phpize
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7d52777f3b5..31dc1ab6faf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@ PROJECT(libswoole)
cmake_minimum_required(VERSION 2.8.12)
ENABLE_LANGUAGE(ASM)
-set(SWOOLE_VERSION 5.1.5)
+set(SWOOLE_VERSION 5.1.6)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -g")
diff --git a/include/swoole_version.h b/include/swoole_version.h
index 4bf3637d3fe..9b9a34d6525 100644
--- a/include/swoole_version.h
+++ b/include/swoole_version.h
@@ -20,10 +20,10 @@
#define SWOOLE_MAJOR_VERSION 5
#define SWOOLE_MINOR_VERSION 1
-#define SWOOLE_RELEASE_VERSION 5
+#define SWOOLE_RELEASE_VERSION 6
#define SWOOLE_EXTRA_VERSION ""
-#define SWOOLE_VERSION "5.1.5"
-#define SWOOLE_VERSION_ID 50105
+#define SWOOLE_VERSION "5.1.6"
+#define SWOOLE_VERSION_ID 50106
#define SWOOLE_API_VERSION_ID 0x202208a
#define SWOOLE_BUG_REPORT \
diff --git a/package.xml b/package.xml
index f9090605113..9c491f50901 100644
--- a/package.xml
+++ b/package.xml
@@ -51,10 +51,10 @@
doubaokun@php.net
yes
- 2024-10-22
-
+ 2024-11-27
+
- 5.1.5
+ 5.1.6
5.0
@@ -63,15 +63,13 @@
Apache2.0
- - Fix the need to use `zend_ini_parse_quantity` to parse string numbers for PHP versions greater than 8.2. @matyhtf
- - Fix an occasional resource unavailability issue when coroutineizing `pdo_pgsql`. @NathanFreeman
- - Fix header file reference issues when coroutineizing `pdo_pgsql`. @NathanFreeman
- - Fix incorrect relative path checks to avoid bypassing path validation. @matyhtf
- - Fix incorrect concurrency count caused by process restarts in high-concurrency environments. @matyhtf
- - Sync some related code for `php8.3 curl`. @NathanFreeman
- - Fix core test errors in the `process` module. @NathanFreeman
- - In `SWOOLE_BASE` mode, all connections should be closed during the `PHP RSHUTDOWN` phase. @matyhtf
- - Optimize kernel code. @matyhtf
+ - Fixed the issue where `Swoole\Http\Response::end()` returns `null`. @NathanFreeman
+ - Fixed the problem where the mutex lock of `Swoole\Table` could not be used before the process exits. @matyhtf
+ - Fixed the failure of `Swoole\Server::stop()` caused by using named parameters. @matyhtf
+ - Fixed the issue where the `runtime tcp` module did not support dynamically enabling SSL encryption. @matyhtf
+ - Fixed the `Fatal error` issue caused by the timeout feature of `PHP` in `ZTS` mode. @matyhtf
+ - Fixed the problem where `Swoole\Coroutine::getaddrinfo()` method could lead to SIGSEGV. @matyhtf
+ - Fixed the issue where the HTTP client running for a long time resulted in incorrect timeout settings. @matyhtf
@@ -1135,6 +1133,7 @@
+
@@ -1892,7 +1891,6 @@
-
@@ -1993,10 +1991,12 @@
+
+
+
+
-
-
@@ -2128,6 +2128,7 @@
+