Skip to content

Commit d7a7ec0

Browse files
authored
Update version for Swoole 4.5.9 (#3889)
1 parent a42f955 commit d7a7ec0

File tree

4 files changed

+14
-31
lines changed

4 files changed

+14
-31
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.5.8)
4+
SET(SWOOLE_VERSION 4.5.9)
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: 5 additions & 2 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: 7952a7b69374058b888e279d996b8b8a4e286b44 */
5+
/* $Id: 715c851e14c6db497c509fc781153df5e00e96c0 */
66

77
static const char* swoole_library_source_constants =
88
"\n"
@@ -16,7 +16,10 @@ static const char* swoole_library_source_constants =
1616
"\n"
1717
"declare(strict_types=1);\n"
1818
"\n"
19-
"define('SWOOLE_LIBRARY', true);\n";
19+
"define('SWOOLE_LIBRARY', true);\n"
20+
"\n"
21+
"!defined('CURLOPT_HEADEROPT') && define('CURLOPT_HEADEROPT', 229);\n"
22+
"!defined('CURLOPT_PROXYHEADER') && define('CURLOPT_PROXYHEADER', 10228);\n";
2023

2124
static const char* swoole_library_source_std_exec =
2225
"\n"

include/swoole_version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020

2121
#define SWOOLE_MAJOR_VERSION 4
2222
#define SWOOLE_MINOR_VERSION 5
23-
#define SWOOLE_RELEASE_VERSION 8
23+
#define SWOOLE_RELEASE_VERSION 9
2424
#define SWOOLE_EXTRA_VERSION ""
25-
#define SWOOLE_VERSION "4.5.8"
26-
#define SWOOLE_VERSION_ID 40508
25+
#define SWOOLE_VERSION "4.5.9"
26+
#define SWOOLE_VERSION_ID 40509
2727
#define SWOOLE_API_VERSION_ID 0x202011a
2828

2929
#define SWOOLE_BUG_REPORT \

package.xml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
<email>[email protected]</email>
4343
<active>yes</active>
4444
</developer>
45-
<date>2020-11-20</date>
46-
<time>15:00:00</time>
45+
<date>2020-11-26</date>
46+
<time>00:00:00</time>
4747
<version>
48-
<release>4.5.8</release>
48+
<release>4.5.9</release>
4949
<api>4.0</api>
5050
</version>
5151
<stability>
@@ -54,33 +54,13 @@
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_error_log function (swoole/swoole-src@67d2bff) (@matyhtf)
60-
+ Supported SSL for readVector and writeVector (#3857) (@huanghantao)
61-
6257
Enhancement
6358
---
64-
+ Did not wait when the child process does not exist (#3832) (@matyhtf)
65-
+ Supported DTLS 16k record (#3849) (@matyhtf)
66-
+ Supported priority for cookie (#3854) (@matyhtf)
67-
+ Supported more CURL options (swoole/library#71) (@sy-records)
68-
+ Handled CURL header names in case insensitive manner (swoole/library#76) (@filakhtov) (@twose) (@sy-records)
59+
+ Added SWOOLE_HTTP_CLIENT_ESTATUS_SEND_FAILED constant for Coroutine\\Http\\Client (#3873) (@sy-records)
6960

7061
Fixed
7162
---
72-
* Fixed readv_all and writev_all when trigger EAGAIN errno (#3830) (@huanghantao)
73-
* Fixed warning for PHP8 (swoole/swoole-src@03f3fb0) (@matyhtf)
74-
* Fixed binary security of swoole table keys (#3842) (@twose)
75-
* Fixed System::writeFile append file issue when using FILE_APPEND (swoole/swoole-src@a71956d) (@matyhtf)
76-
* Fixed CURLOPT_WRITEFUNCTION (swoole/library#74) (@sy-records)
77-
* Fixed memory overread when parse form-data boundary (#3858) (@twose)
78-
* Fixed is_callable() can not access internal private callable on PHP8 (#3859) (@twose)
79-
80-
Kernel
81-
---
82-
* Refactored memory allocation function, replace macro with SwooleG.std_allocator (#3853) (@matyhtf)
83-
* Refactored pipe (#3841) (@matyhtf)
63+
* Fixed PHP8 compatibility (#3868) (#3869) (#3872) (@twose) (@huanghantao) (@doubaokun)
8464
</notes>
8565
<contents>
8666
<dir name="/">

0 commit comments

Comments
 (0)