Skip to content

Commit

Permalink
V5.1.1 (#5200)
Browse files Browse the repository at this point in the history
* v5.1.1
  • Loading branch information
NathanFreeman authored Nov 26, 2023
1 parent 0c338d3 commit b902f1b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 26 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
4 changes: 2 additions & 2 deletions include/swoole_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
45 changes: 22 additions & 23 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
<email>[email protected]</email>
<active>yes</active>
</developer>
<date>2023-09-29</date>
<time>11:00:00</time>
<date>2023-11-26</date>
<time>23:00:00</time>
<version>
<release>5.1.0</release>
<release>5.1.1</release>
<api>5.0</api>
</version>
<stability>
Expand All @@ -63,26 +63,15 @@
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- 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
</notes>
<contents>
<dir name="/">
Expand Down Expand Up @@ -808,6 +797,7 @@
<file role="test" name="tests/include/api/syntax_error.txt" />
<file role="test" name="tests/include/api/tcp_server.php" />
<file role="test" name="tests/include/api/test_classes/A.php" />
<file role="test" name="tests/include/api/test_classes/A2.php" />
<file role="test" name="tests/include/api/test_classes/B.php" />
<file role="test" name="tests/include/bootstrap.php" />
<file role="test" name="tests/include/config.php" />
Expand Down Expand Up @@ -997,6 +987,11 @@
<file role="test" name="tests/swoole_coroutine/async_callback/event_cycle.phpt" />
<file role="test" name="tests/swoole_coroutine/async_callback/signal.phpt" />
<file role="test" name="tests/swoole_coroutine/async_callback/timer.phpt" />
<file role="test" name="tests/swoole_coroutine/autoload.phpt" />
<file role="test" name="tests/swoole_coroutine/autoload_not_found.phpt" />
<file role="test" name="tests/swoole_coroutine/autoload_not_found_not_in_coroutine.phpt" />
<file role="test" name="tests/swoole_coroutine/autoload_not_in_coroutine.phpt" />
<file role="test" name="tests/swoole_coroutine/bailout/co_redis_in_shutdown_function.phpt" />
<file role="test" name="tests/swoole_coroutine/bailout/error.phpt" />
<file role="test" name="tests/swoole_coroutine/bailout/error_in.phpt" />
<file role="test" name="tests/swoole_coroutine/bailout/error_internal.phpt" />
Expand Down Expand Up @@ -1189,6 +1184,7 @@
<file role="test" name="tests/swoole_curl/error.phpt" />
<file role="test" name="tests/swoole_curl/event_exit.phpt" />
<file role="test" name="tests/swoole_curl/exec_twice.phpt" />
<file role="test" name="tests/swoole_curl/fatal_error_in_callback.phpt" />
<file role="test" name="tests/swoole_curl/ftp.phpt" />
<file role="test" name="tests/swoole_curl/guzzle.phpt" />
<file role="test" name="tests/swoole_curl/guzzle/cancel.phpt" />
Expand Down Expand Up @@ -1440,6 +1436,7 @@
<file role="test" name="tests/swoole_http_server/bug_5107.phpt" />
<file role="test" name="tests/swoole_http_server/bug_5114.phpt" />
<file role="test" name="tests/swoole_http_server/bug_5146.phpt" />
<file role="test" name="tests/swoole_http_server/bug_5186.phpt" />
<file role="test" name="tests/swoole_http_server/bug_compression_level.phpt" />
<file role="test" name="tests/swoole_http_server/bug_get_request_data_after_end.phpt" />
<file role="test" name="tests/swoole_http_server/callback_new_obj_method.phpt" />
Expand Down Expand Up @@ -1755,6 +1752,7 @@
<file role="test" name="tests/swoole_pgsql_coro/connect_failed.phpt" />
<file role="test" name="tests/swoole_pgsql_coro/error.phpt" />
<file role="test" name="tests/swoole_pgsql_coro/escape.phpt" />
<file role="test" name="tests/swoole_pgsql_coro/fetch.phpt" />
<file role="test" name="tests/swoole_pgsql_coro/insert.phpt" />
<file role="test" name="tests/swoole_pgsql_coro/lob.phpt" />
<file role="test" name="tests/swoole_pgsql_coro/no_field_name.phpt" />
Expand Down Expand Up @@ -2257,6 +2255,7 @@
<file role="test" name="tests/swoole_socket_coro/import_2.phpt" />
<file role="test" name="tests/swoole_socket_coro/import_3.phpt" />
<file role="test" name="tests/swoole_socket_coro/import_4.phpt" />
<file role="test" name="tests/swoole_socket_coro/import_5.phpt" />
<file role="test" name="tests/swoole_socket_coro/iov_max.phpt" />
<file role="test" name="tests/swoole_socket_coro/peek_and_checkLiveness.phpt" />
<file role="test" name="tests/swoole_socket_coro/protocol/bug_3586.phpt" />
Expand Down

0 comments on commit b902f1b

Please sign in to comment.