diff --git a/CMakeLists.txt b/CMakeLists.txt
index 38492c0600b..73345cc3bab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
PROJECT(libswoole)
ENABLE_LANGUAGE(ASM)
-set(SWOOLE_VERSION 5.1.2)
+set(SWOOLE_VERSION 5.1.3)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -g")
diff --git a/ext-src/php_swoole_library.h b/ext-src/php_swoole_library.h
index 6612eb89777..381ff76e3cf 100644
--- a/ext-src/php_swoole_library.h
+++ b/ext-src/php_swoole_library.h
@@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: 3bc066dd5d5f3498f7bb2ef8c5a7408d0cd33149 */
+/* $Id: b1dfd92c6bcb71413e561d75fe860bfb3ca38434 */
#ifndef SWOOLE_LIBRARY_H
#define SWOOLE_LIBRARY_H
diff --git a/include/swoole_version.h b/include/swoole_version.h
index 468380e451e..f68abd7c63c 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 2
+#define SWOOLE_RELEASE_VERSION 3
#define SWOOLE_EXTRA_VERSION ""
-#define SWOOLE_VERSION "5.1.2"
-#define SWOOLE_VERSION_ID 50102
+#define SWOOLE_VERSION "5.1.3"
+#define SWOOLE_VERSION_ID 50103
#define SWOOLE_API_VERSION_ID 0x202208a
#define SWOOLE_BUG_REPORT \
diff --git a/package.xml b/package.xml
index ac34fe5c845..6d5a026a4fa 100644
--- a/package.xml
+++ b/package.xml
@@ -51,10 +51,10 @@
doubaokun@php.net
yes
- 2024-01-24
-
+ 2024-05-24
+
- 5.1.2
+ 5.1.3
5.0
@@ -63,15 +63,11 @@
Apache2.0
- - Added support for embed sapi @matyhtf
- - Fixed compatibility with PHP 8.3 ZEND_CHECK_STACK_LIMIT @Yurunsoft
- - Fixed no Content-Range response header when the range request returns all the contents of the file @Yurunsoft
- - Optimized HTTP server performance @NathanFreeman
- - Fixed truncated cookie @stnguyen90
- - Fixed native-curl crash on PHP 8.3 @NathanFreeman
- - Added CLOSE_SERVICE_RESTART, CLOSE_TRY_AGAIN_LATER, CLOSE_BAD_GATEWAY as valid close reasons for websocket @cjavad
- - Fixed invalid errno after Server::Manager::wait() @JacobBrownAustin
- - Fixed HTTP2 Typo @leocavalcante
+ - Fixed crash in pdo_sqlite hook in version 8.3
+ - Optimized HTTP COOKIE parsing to no longer throw PHP warnings, preventing them from being converted to exceptions
+ - Fixed issue where OpenSSL would not correctly return an empty string when the peer closed the connection
+ - Fixed incorrect setting of TCP_NODELAY
+ - Fixed issue with proc_open hook not supporting pty
@@ -1483,6 +1479,7 @@
+
@@ -1895,6 +1892,7 @@
+
@@ -2481,6 +2479,7 @@
+
@@ -2525,6 +2524,11 @@
+
+
+
+
+
diff --git a/swoole-5.1.3.tgz b/swoole-5.1.3.tgz
new file mode 100644
index 00000000000..7825652a8c4
Binary files /dev/null and b/swoole-5.1.3.tgz differ