From c713f73211c9f896e86e6f1744bff7f9fed9ee6f Mon Sep 17 00:00:00 2001
From: MARiA so cute <33935209+NathanFreeman@users.noreply.github.com>
Date: Tue, 22 Oct 2024 09:28:20 +0800
Subject: [PATCH] [5.1]v5.1.5 release (#5532)
* release v5.1.5
---
CMakeLists.txt | 2 +-
include/swoole_version.h | 2 +-
package.xml | 29 ++++++++++++++++++++---------
3 files changed, 22 insertions(+), 11 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9e55521b8e0..7d52777f3b5 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-dev)
+set(SWOOLE_VERSION 5.1.5)
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 c28b616dac1..4bf3637d3fe 100644
--- a/include/swoole_version.h
+++ b/include/swoole_version.h
@@ -22,7 +22,7 @@
#define SWOOLE_MINOR_VERSION 1
#define SWOOLE_RELEASE_VERSION 5
#define SWOOLE_EXTRA_VERSION ""
-#define SWOOLE_VERSION "5.1.5-dev"
+#define SWOOLE_VERSION "5.1.5"
#define SWOOLE_VERSION_ID 50105
#define SWOOLE_API_VERSION_ID 0x202208a
diff --git a/package.xml b/package.xml
index ab07241349d..1184f49fe40 100644
--- a/package.xml
+++ b/package.xml
@@ -51,10 +51,10 @@
doubaokun@php.net
yes
- 2024-08-22
-
+ 2024-10-22
+
- 5.1.4
+ 5.1.5
5.0
@@ -63,11 +63,15 @@
Apache2.0
- - Fix broken build with GCC 14. @remicollet
- - Fix could not send SSL negotiation packet(Resource temporarily unavailable). @NathanFreeman
- - Fix the issue where certain critical parameters of `Swoole\Server` are not reset to 0 during process restart. @NathanFreeman
- - Fix the problem where `Swoole\Http\Request::getMethod()` returns the incorrect request method when `HTTP2` is enabled. @matyhtf
- - Optimize `Swoole\Http\Response::end()`. Response data larger than 16K will be sent directly through the socket, while data smaller than or equal to 16K will be copied to the buffer first before being sent out via the socket. @NathanFreeman
+ - 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
@@ -76,6 +80,7 @@
+
@@ -1494,6 +1499,8 @@
+
+
@@ -1511,8 +1518,11 @@
+
+
+
@@ -2129,6 +2139,7 @@
+
@@ -2575,7 +2586,7 @@
swoole
-
+