From f68b2258ba4a2c0b102f1efeff2024f2ad39adb0 Mon Sep 17 00:00:00 2001 From: NathanFreeman <1056159381@qq.com> Date: Sun, 26 Nov 2023 22:06:56 +0800 Subject: [PATCH 1/3] v5.1.1 --- CMakeLists.txt | 2 +- include/swoole_version.h | 4 ++-- package.xml | 35 ++++++++++++----------------------- 3 files changed, 15 insertions(+), 26 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 03d493d3e77..a16f85fc798 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ PROJECT(libswoole) ENABLE_LANGUAGE(ASM) -set(SWOOLE_VERSION 5.1.1-DEV) +set(SWOOLE_VERSION 5.1.1) 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 525891528d1..701f3fd54dc 100644 --- a/include/swoole_version.h +++ b/include/swoole_version.h @@ -21,8 +21,8 @@ #define SWOOLE_MAJOR_VERSION 5 #define SWOOLE_MINOR_VERSION 1 #define SWOOLE_RELEASE_VERSION 1 -#define SWOOLE_EXTRA_VERSION "dev" -#define SWOOLE_VERSION "5.1.1-dev" +#define SWOOLE_EXTRA_VERSION "" +#define SWOOLE_VERSION "5.1.1" #define SWOOLE_VERSION_ID 50101 #define SWOOLE_API_VERSION_ID 0x202208a diff --git a/package.xml b/package.xml index 68663a09bde..3ee4d81c23a 100644 --- a/package.xml +++ b/package.xml @@ -51,10 +51,10 @@ doubaokun@php.net yes - 2023-09-29 - + 2023-11-26 + - 5.1.0 + 5.1.1 5.0 @@ -63,26 +63,15 @@ Apache2.0 - - Support pdo_pgsql coroutine hook - - Support pdo_odbc coroutine hook - - Support pdo_oci coroutine hook - - Support pdo_sqlite coroutine hook - - Add configuration for PDO connection pools for pdo_pgsql, pdo_odbc, pdo_oci, pdo_sqlite - - Improved performance of Http\Server, can increase up to 60% in extreme cases - - Fixed the memory leak caused by each request of the WebSocket coroutine client - - Fixed the issue where graceful shutdown of the HTTP coroutine server was not causing the client to exit - - Fixed the issue where adding the --enable-thread-context option during compilation was causing Process::signal() to not work - - Fixed the issue where the connection count was being calculated incorrectly when a process exited abnormally in SWOOLE_BASE mode - - Fixed the incorrect signature of the stream_select() function - - Fixed the case sensitivity issue with the MIME information in files - - Fixed the spelling mistake in Http2\Request::$usePipelineRead, which was causing a warning to be thrown in PHP 8.2 environment - - Fixed the memory leak issue in SWOOLE_BASE mode - - Fixed the memory leak issue caused by setting the expiration time of a cookie in Http\Response::cookie() - - Fixed the connection leak issue in SWOOLE_BASE mode - - Fixed the function signature issue of php_url_encode in Swoole under PHP 8.3 - - Fixed the issue with unit testing options - - Optimized and refactored the code - - Fix compatibility with PHP 8.3 + - Fixed memory leak issue in HTTP coroutine client + - Fixed the issue of can not hook pdo_odbc + - Fixed the error in executing socket import stream + - Fixed the issue with Context::parse_multipart_data() unable to handle empty request body + - Fixed the issue with PostgreSQL coroutine client where the parameters are not working + - Fixed the bug where curl crashes during destruction. + - Fixed the compatibility issue between Swoole 5.x and the latest version of xdebug + - Fixed the problem of class not found error caused by coroutine switching during the process of class autoloading + - Fixed the issue of not being able to compile Swoole on OpenBSD From 667dcc73fd815e1cd1dc17e72a58a476baaee140 Mon Sep 17 00:00:00 2001 From: NathanFreeman <1056159381@qq.com> Date: Sun, 26 Nov 2023 22:10:51 +0800 Subject: [PATCH 2/3] v5.1.1 --- package.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/package.xml b/package.xml index 3ee4d81c23a..563834835bb 100644 --- a/package.xml +++ b/package.xml @@ -52,7 +52,7 @@ yes 2023-11-26 - + 5.1.1 5.0 @@ -797,6 +797,7 @@ + @@ -986,6 +987,11 @@ + + + + + @@ -1178,6 +1184,7 @@ + @@ -1429,6 +1436,7 @@ + @@ -1744,6 +1752,7 @@ + @@ -2246,6 +2255,7 @@ + From 7ef955041464cd5d4814112b47d467dce2fc018b Mon Sep 17 00:00:00 2001 From: NathanFreeman <1056159381@qq.com> Date: Sun, 26 Nov 2023 22:26:06 +0800 Subject: [PATCH 3/3] v5.1.1 --- package.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.xml b/package.xml index 563834835bb..36b57e43787 100644 --- a/package.xml +++ b/package.xml @@ -65,10 +65,10 @@ - Fixed memory leak issue in HTTP coroutine client - Fixed the issue of can not hook pdo_odbc - - Fixed the error in executing socket import stream + - Fixed the error in executing socket_import_stream() - Fixed the issue with Context::parse_multipart_data() unable to handle empty request body - Fixed the issue with PostgreSQL coroutine client where the parameters are not working - - Fixed the bug where curl crashes during destruction. + - Fixed the bug where curl crashes during destruction - Fixed the compatibility issue between Swoole 5.x and the latest version of xdebug - Fixed the problem of class not found error caused by coroutine switching during the process of class autoloading - Fixed the issue of not being able to compile Swoole on OpenBSD