From b902f1b99961a3b6b38549b7f7a68607f6fda7af Mon Sep 17 00:00:00 2001
From: MARiA so cute <33935209+NathanFreeman@users.noreply.github.com>
Date: Sun, 26 Nov 2023 22:40:16 +0800
Subject: [PATCH] V5.1.1 (#5200)
* v5.1.1
---
CMakeLists.txt | 2 +-
include/swoole_version.h | 4 ++--
package.xml | 45 ++++++++++++++++++++--------------------
3 files changed, 25 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..36b57e43787 100644
--- a/package.xml
+++ b/package.xml
@@ -51,10 +51,10 @@
doubaokun@php.netyes
- 2023-09-29
-
+ 2023-11-26
+
- 5.1.0
+ 5.1.15.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
@@ -808,6 +797,7 @@
+
@@ -997,6 +987,11 @@
+
+
+
+
+
@@ -1189,6 +1184,7 @@
+
@@ -1440,6 +1436,7 @@
+
@@ -1755,6 +1752,7 @@
+
@@ -2257,6 +2255,7 @@
+