Skip to content

Commit d5cd793

Browse files
release v6.0.2 (#5708)
1 parent 9788e23 commit d5cd793

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PROJECT(libswoole)
22
cmake_minimum_required(VERSION 2.8.12)
33

44
ENABLE_LANGUAGE(ASM)
5-
set(SWOOLE_VERSION 6.0.2-dev)
5+
set(SWOOLE_VERSION 6.0.2)
66

77
set(CMAKE_CXX_STANDARD 11)
88
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -g")

include/swoole_version.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
#define SWOOLE_MAJOR_VERSION 6
2222
#define SWOOLE_MINOR_VERSION 0
2323
#define SWOOLE_RELEASE_VERSION 2
24-
#define SWOOLE_EXTRA_VERSION "dev"
25-
#define SWOOLE_VERSION "6.0.2-dev"
24+
#define SWOOLE_EXTRA_VERSION ""
25+
#define SWOOLE_VERSION "6.0.2"
2626
#define SWOOLE_VERSION_ID 60002
2727
#define SWOOLE_API_VERSION_ID 0x202208a
2828

package.xml

+15-15
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
<email>[email protected]</email>
5050
<active>yes</active>
5151
</developer>
52-
<date>2025-02-14</date>
53-
<time>14:00:00</time>
52+
<date>2025-03-22</date>
53+
<time>13:00:00</time>
5454
<version>
55-
<release>6.0.1</release>
55+
<release>6.0.2</release>
5656
<api>6.0</api>
5757
</version>
5858
<stability>
@@ -61,18 +61,11 @@
6161
</stability>
6262
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
6363
<notes>
64-
- Fixed an issue in `SWOOLE_THREAD` mode where the process could not exit properly due to not removing the listening event. @NathanFreeman
65-
- Fixed an issue where large file uploads failed when the `single_thread` configuration was enabled. @matyhtf
66-
- Fixed an issue where compilation could not find the specific file path if the same variable was already defined in `config.m4`. @matyhtf
67-
- Fixed an issue in `Swoole\Process\Pool` where processes could not exit properly upon timeout. @matyhtf
68-
- Fixed an issue in `SWOOLE_THREAD` mode where calling `putenv` caused the program to crash. @matyhtf
69-
- Fixed an issue in `SWOOLE_THREAD` mode where event callback functions could not be set for independent ports. @matyhtf
70-
- Fixed an issue in `SWOOLE_THREAD` mode where runtime parameters could not be retrieved in events such as `onWorkerStart`. @matyhtf
71-
- Fixed an issue where Postgresql would degrade to synchronous mode when receiving large amounts of data under coroutine. @NathanFreeman
72-
- Optimized the parameter judgment logic of `swoole_substr_json_decode`/`swoole_substr_unserialize` functions. @Appla
73-
- Fixed an issue with CPU affinity settings in `config.m4`. @remicollet
74-
- In the Http service, if the process restarts, the underlying layer will send a 500 Internal Server to requests waiting in the queue, close the connection, and discard these requests after sending. @NathanFreeman
75-
- Since the runtime configuration relied upon by the `stream factory` and `stream ops` in the PHP underlying is not thread-safe, in multi-thread mode, only the main thread is allowed to modify these runtime configurations before creating child threads. @matyhtf
64+
- Added `Swoole\Thread::yield()`, `Swoole\Thread::activeCount()`, and `Swoole\Thread::isAlive()` methods. @matyhtf
65+
- Fixed an issue where using single-thread mode and setting heartbeat in `SWOOLE_THREAD` mode would cause exceptions. @matyhtf
66+
- Fixed a segmentation fault issue after enabling `swoole.enable_fiber_mock`. @NathanFreeman
67+
- Fixed an integer overflow issue in the Redis server. @yannaingtun
68+
- The Redis server currently only supports the `RESP2` protocol. When formatting strings that do not comply with this protocol, an exception will be thrown instead of logging. @matyhtf
7669
</notes>
7770
<contents>
7871
<dir name="/">
@@ -853,6 +846,7 @@
853846
<file role="test" name="tests/include/api/swoole_server/tcp_task_server.php" />
854847
<file role="test" name="tests/include/api/swoole_server/testsendfile.txt" />
855848
<file role="test" name="tests/include/api/swoole_thread/putenv.php" />
849+
<file role="test" name="tests/include/api/swoole_thread/sleep.php" />
856850
<file role="test" name="tests/include/api/swoole_timer/accurate_test.php" />
857851
<file role="test" name="tests/include/api/swoole_timer/fixRate_vs_fixDelay.php" />
858852
<file role="test" name="tests/include/api/swoole_timer/invalid_args.php" />
@@ -1098,6 +1092,7 @@
10981092
<file role="test" name="tests/swoole_coroutine/before_create_server_2.phpt" />
10991093
<file role="test" name="tests/swoole_coroutine/before_create_server_3.phpt" />
11001094
<file role="test" name="tests/swoole_coroutine/bug_2387.phpt" />
1095+
<file role="test" name="tests/swoole_coroutine/bug_5699.phpt" />
11011096
<file role="test" name="tests/swoole_coroutine/c_stack_size.phpt" />
11021097
<file role="test" name="tests/swoole_coroutine/call_not_exists_func.phpt" />
11031098
<file role="test" name="tests/swoole_coroutine/call_user_func_array.phpt" />
@@ -1895,6 +1890,7 @@
18951890
<file role="test" name="tests/swoole_process_pool/start_twice.phpt" />
18961891
<file role="test" name="tests/swoole_process_pool/worker_exit_1.phpt" />
18971892
<file role="test" name="tests/swoole_redis_server/big_packet.phpt" />
1893+
<file role="test" name="tests/swoole_redis_server/empty.phpt" />
18981894
<file role="test" name="tests/swoole_redis_server/format.phpt" />
18991895
<file role="test" name="tests/swoole_redis_server/getHandler.phpt" />
19001896
<file role="test" name="tests/swoole_redis_server/nested_map.phpt" />
@@ -2184,7 +2180,9 @@
21842180
<file role="test" name="tests/swoole_server/shutdown_with_base_mode.phpt" />
21852181
<file role="test" name="tests/swoole_server/sigint_with_base.phpt" />
21862182
<file role="test" name="tests/swoole_server/sigint_with_process.phpt" />
2183+
<file role="test" name="tests/swoole_server/single_thread/heartbeat.phpt" />
21872184
<file role="test" name="tests/swoole_server/single_thread/large_packet.phpt" />
2185+
<file role="test" name="tests/swoole_server/single_thread/user_setting.phpt" />
21882186
<file role="test" name="tests/swoole_server/sleep.phpt" />
21892187
<file role="test" name="tests/swoole_server/slow_client.phpt" />
21902188
<file role="test" name="tests/swoole_server/slow_master.phpt" />
@@ -2397,6 +2395,8 @@
23972395
<file role="test" name="tests/swoole_thread/stdio.phpt" />
23982396
<file role="test" name="tests/swoole_thread/stream.phpt" />
23992397
<file role="test" name="tests/swoole_thread/stream_arg.phpt" />
2398+
<file role="test" name="tests/swoole_thread/thread_status.phpt" />
2399+
<file role="test" name="tests/swoole_thread/yield.phpt" />
24002400
<file role="test" name="tests/swoole_timer/after.phpt" />
24012401
<file role="test" name="tests/swoole_timer/after_fork.phpt" />
24022402
<file role="test" name="tests/swoole_timer/bug_2342.phpt" />

0 commit comments

Comments
 (0)