Skip to content

Commit 14b86b8

Browse files
committed
Update version for Swoole 4.6.4
1 parent 91704ac commit 14b86b8

File tree

4 files changed

+35
-34
lines changed

4 files changed

+35
-34
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PROJECT(libswoole)
22

33
ENABLE_LANGUAGE(ASM)
4-
set(SWOOLE_VERSION 4.6.4-dev)
4+
set(SWOOLE_VERSION 4.6.4)
55

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

ext-src/php_swoole_library.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Generated by build-library.php, Please DO NOT modify!
33
*/
44

5-
/* $Id: 2d8eaab25259a67bdb984f605d463d0bfb147c3c */
5+
/* $Id: c0b3306481ecd77cc88ab51ba15403bcc33319a9 */
66

77
static const char* swoole_library_source_constants =
88
"\n"
@@ -1905,13 +1905,11 @@ static const char* swoole_library_source_core_coroutine_http_functions =
19051905
"use Swoole\\Coroutine\\Http\\Client\\Exception;\n"
19061906
"\n"
19071907
"/**\n"
1908-
" * @param $url\n"
1909-
" * @param $data\n"
1910-
" * @param mixed $method\n"
1908+
" * @param mixed $data\n"
19111909
" * @throws Exception\n"
19121910
" * @return mixed\n"
19131911
" */\n"
1914-
"function request($url, $method, $data = null, array $options = null, array $headers = null, array $cookies = null)\n"
1912+
"function request(string $url, string $method, $data = null, array $options = null, array $headers = null, array $cookies = null)\n"
19151913
"{\n"
19161914
" $info = parse_url($url);\n"
19171915
" if ($info['scheme'] == 'http') {\n"
@@ -1934,29 +1932,31 @@ static const char* swoole_library_source_core_coroutine_http_functions =
19341932
" if (is_array($cookies)) {\n"
19351933
" $client->setCookies($options);\n"
19361934
" }\n"
1937-
" if ($client->get($info['path'] . '?' . $info['query'])) {\n"
1935+
" $request_url = swoole_array_default_value($info, 'path', '/');\n"
1936+
" if (!empty($info['query'])) {\n"
1937+
" $request_url .= '?' . $info['query'];\n"
1938+
" }\n"
1939+
" if ($client->execute($request_url)) {\n"
19381940
" return $client;\n"
19391941
" }\n"
19401942
" return false;\n"
19411943
"}\n"
19421944
"\n"
19431945
"/**\n"
1944-
" * @param $url\n"
1945-
" * @param $data\n"
1946+
" * @param mixed $data\n"
19461947
" * @throws Exception\n"
19471948
" * @return Client|false|mixed\n"
19481949
" */\n"
1949-
"function post($url, $data, array $options = null, array $headers = null, array $cookies = null)\n"
1950+
"function post(string $url, $data, array $options = null, array $headers = null, array $cookies = null)\n"
19501951
"{\n"
19511952
" return request($url, 'POST', $data, $options, $headers, $cookies);\n"
19521953
"}\n"
19531954
"\n"
19541955
"/**\n"
1955-
" * @param $url\n"
19561956
" * @throws Exception\n"
19571957
" * @return Client|false|mixed\n"
19581958
" */\n"
1959-
"function get($url, array $options = null, array $headers = null, array $cookies = null)\n"
1959+
"function get(string $url, array $options = null, array $headers = null, array $cookies = null)\n"
19601960
"{\n"
19611961
" return request($url, 'GET', null, $options, $headers, $cookies);\n"
19621962
"}\n";

include/swoole_version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
#define SWOOLE_MAJOR_VERSION 4
2222
#define SWOOLE_MINOR_VERSION 6
2323
#define SWOOLE_RELEASE_VERSION 4
24-
#define SWOOLE_EXTRA_VERSION "dev"
25-
#define SWOOLE_VERSION "4.6.4-dev"
24+
#define SWOOLE_EXTRA_VERSION ""
25+
#define SWOOLE_VERSION "4.6.4"
2626
#define SWOOLE_VERSION_ID 40604
2727
#define SWOOLE_API_VERSION_ID 0x202012a
2828

package.xml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
<email>shenzhe163@gmail.com</email>
4343
<active>yes</active>
4444
</developer>
45-
<date>2021-02-08</date>
46-
<time>09:00:00</time>
45+
<date>2021-03-09</date>
46+
<time>19:00:00</time>
4747
<version>
48-
<release>4.6.3</release>
48+
<release>4.6.4</release>
4949
<api>4.0</api>
5050
</version>
5151
<stability>
@@ -54,28 +54,22 @@
5454
</stability>
5555
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
5656
<notes>
57-
New APIs
58-
---
59-
+ Added Swoole\Coroutine\go function (swoole/library@92fd0de) (@matyhtf)
60-
6157
Enhancement
6258
---
63-
+ Added option compression_min_length for HTTP Server (#4033) (@matyhtf)
64-
+ Allowed setting content-length HTTP header in application layer (#4041) (@doubaokun)
59+
+ Supported ARM 64 build (#4057) (@devnexen)
60+
+ Supported set open_http_protocol in Swoole TCP Server (#4063) (@matyhtf)
61+
+ Supported ssl client only set certificate (swoole/swoole-src@91704ac) (@matyhtf)
6562

6663
Fixed
6764
---
68-
* Fixed coredump when program reach file open limitation (swoole/swoole-src@709813f) (@matyhtf)
69-
* Fixed JIT being disabled (#4029) (@twose)
70-
* Fixed Response::create() bug (swoole/swoole-src@a630b5b) (@matyhtf)
71-
* Fixed task process id false positives (#4040) (@doubaokun)
72-
* Fixed coredump with native curl hook (#4042) (@Yurunsoft)
73-
* Fixed README (#4046) (@asheroto)
74-
* Fixed native-curl crash on PHP8 (#4045) (@matyhtf)
75-
76-
Kernel
77-
---
78-
* Optimized ssl_connect/ssl_shutdown (#4030) (@matyhtf)
65+
* Fixed Proxy-Authorization missing when use Coroutine\Http\Client (swoole/swoole-src@edc0552) (@matyhtf)
66+
* Fixed memory allocation issues with Swoole\Table (swoole/swoole-src@3e7770f) (@matyhtf)
67+
* Fixed crash when Coroutine\Http2\Client connects concurrently (swoole/swoole-src@630536d) (@matyhtf)
68+
* Fixed enable_ssl_encrypt with DTLS (swoole/swoole-src@842733b) (@matyhtf)
69+
* Fixed Coroutine\Barrier mem leak (swoole/library#94) (@Appla) (@FMiS)
70+
* Fixed the offset error caused by CURLOPT_PORT and CURLOPT_URL order (swoole/library#96) (@sy-records)
71+
* Fixed Table::get($key, $field) when field type is float (swoole/swoole-src@08ea20c) (@matyhtf)
72+
* Fixed Swoole\Table mem leaks (swoole/swoole-src@d78ca8c) (@matyhtf)
7973
</notes>
8074
<contents>
8175
<dir name="/">
@@ -1077,6 +1071,7 @@
10771071
<file role="test" name="tests/swoole_global/unset_property_01.phpt" />
10781072
<file role="test" name="tests/swoole_global/unset_property_02.phpt" />
10791073
<file role="test" name="tests/swoole_global/unset_property_03.phpt" />
1074+
<file role="test" name="tests/swoole_http2_client_coro/connect_twice.phpt" />
10801075
<file role="test" name="tests/swoole_http2_client_coro/cookies.phpt" />
10811076
<file role="test" name="tests/swoole_http2_client_coro/error.phpt" />
10821077
<file role="test" name="tests/swoole_http2_client_coro/goaway.phpt" />
@@ -1543,6 +1538,8 @@
15431538
<file role="test" name="tests/swoole_runtime/sockets/tcp_server.phpt" />
15441539
<file role="test" name="tests/swoole_runtime/sockets/timeout.phpt" />
15451540
<file role="test" name="tests/swoole_runtime/sockets/udp.phpt" />
1541+
<file role="test" name="tests/swoole_runtime/ssl/local_cert.phpt" />
1542+
<file role="test" name="tests/swoole_runtime/ssl/without_key.phpt" />
15461543
<file role="test" name="tests/swoole_runtime/ssl_client.phpt" />
15471544
<file role="test" name="tests/swoole_runtime/ssl_server.phpt" />
15481545
<file role="test" name="tests/swoole_runtime/stdin.phpt" />
@@ -1590,6 +1587,7 @@
15901587
<file role="test" name="tests/swoole_server/bug_2639.phpt" />
15911588
<file role="test" name="tests/swoole_server/bug_2736.phpt" />
15921589
<file role="test" name="tests/swoole_server/bug_aio.phpt" />
1590+
<file role="test" name="tests/swoole_server/check_callback.phpt" />
15931591
<file role="test" name="tests/swoole_server/check_chunk_total_size.phpt" />
15941592
<file role="test" name="tests/swoole_server/close_force.phpt" />
15951593
<file role="test" name="tests/swoole_server/close_in_connect_callback.phpt" />
@@ -1825,6 +1823,7 @@
18251823
<file role="test" name="tests/swoole_table/big_size.phpt" />
18261824
<file role="test" name="tests/swoole_table/bug_2263.phpt" />
18271825
<file role="test" name="tests/swoole_table/bug_2290.phpt" />
1826+
<file role="test" name="tests/swoole_table/create_10k_object.phpt" />
18281827
<file role="test" name="tests/swoole_table/del.phpt" />
18291828
<file role="test" name="tests/swoole_table/foreach.phpt" />
18301829
<file role="test" name="tests/swoole_table/get_after_destroy.phpt" />
@@ -1995,12 +1994,14 @@
19951994
<file role="src" name="tools/export.php" />
19961995
<file role="src" name="tools/gen-data.php" />
19971996
<file role="src" name="tools/get-ip-info.php" />
1997+
<file role="src" name="tools/next-version.php" />
19981998
<file role="src" name="tools/option-generator.php" />
19991999
<file role="src" name="tools/pecl-package.php" />
20002000
<file role="src" name="tools/phpt-fixer.php" />
20012001
<file role="src" name="tools/rename.php" />
20022002
<file role="src" name="tools/send-http-data.php" />
20032003
<file role="src" name="tools/show-big-files.php" />
2004+
<file role="src" name="tools/templates/version.tpl.h" />
20042005
<file role="src" name="travis/.gitignore" />
20052006
<file role="doc" name="travis/README.md" />
20062007
<file role="src" name="travis/debug/swoole_info.php" />

0 commit comments

Comments
 (0)