Skip to content

Commit 8033930

Browse files
committed
Make 2.2.1 release
Bugs Fixed: - #80324: Segfault in YAML with anonymous functions (cmb69) - Fix memory leak in y_write_object_callback() (cmb69) - Fix memory leak in handle_mapping() (cmb69)
1 parent 827cfef commit 8033930

File tree

2 files changed

+33
-14
lines changed

2 files changed

+33
-14
lines changed

package.xml

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
<email>[email protected]</email>
2121
<active>yes</active>
2222
</lead>
23-
<date>2020-11-28</date>
23+
<date>2020-12-20</date>
2424
<version>
25-
<release>2.2.0</release>
25+
<release>2.2.1</release>
2626
<api>2.0.0</api>
2727
</version>
2828
<stability>
@@ -31,18 +31,10 @@
3131
</stability>
3232
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT</license>
3333
<notes>
34-
New Features:
35-
- PHP 8.0 compatibility
3634
Bugs Fixed:
37-
- #79866 Use serialize_precision when encoding double values (bd808)
38-
- yaml_parse_file_002.phpt: Fix expectations for PHP 8.0.0beta1 (bd808)
39-
- Remove use of call_user_function_ex() for compat with PHP 8.0.0a2 (andypost)
40-
- Adjust test values for compat with 32bit platforms (bd808)
41-
- Fix memory leaks (cmb69)
42-
- #79567 Parsing long long values leads to truncation on LLP64 platforms (bd808)
43-
- #77720 Out of memory error when parsing yaml file (bd808)
44-
- [-Wformat=] issue on 32-bit (remicollet)
45-
- relax test on 32-bit (overflow to float) (remicollet)
35+
- #80324: Segfault in YAML with anonymous functions (cmb69)
36+
- Fix memory leak in y_write_object_callback() (cmb69)
37+
- Fix memory leak in handle_mapping() (cmb69)
4638
</notes>
4739
<contents>
4840
<dir name="/">
@@ -78,6 +70,7 @@
7870
<file role="test" name="bug_79494.phpt" />
7971
<file role="test" name="bug_79567.phpt" />
8072
<file role="test" name="bug_79866.phpt" />
73+
<file role="test" name="bug_80324.phpt" />
8174
<file role="test" name="bug_parsing_alias.phpt" />
8275
<file role="test" name="yaml_001.phpt" />
8376
<file role="test" name="yaml_002.phpt" />
@@ -158,6 +151,32 @@
158151
</extsrcrelease>
159152

160153
<changelog>
154+
<release>
155+
<date>2020-11-28</date>
156+
<version>
157+
<release>2.2.0</release>
158+
<api>2.0.0</api>
159+
</version>
160+
<stability>
161+
<release>stable</release>
162+
<api>stable</api>
163+
</stability>
164+
<license uri="http://www.opensource.org/licenses/mit-license.php">MIT</license>
165+
<notes>
166+
New Features:
167+
- PHP 8.0 compatibility
168+
Bugs Fixed:
169+
- #79866 Use serialize_precision when encoding double values (bd808)
170+
- yaml_parse_file_002.phpt: Fix expectations for PHP 8.0.0beta1 (bd808)
171+
- Remove use of call_user_function_ex() for compat with PHP 8.0.0a2 (andypost)
172+
- Adjust test values for compat with 32bit platforms (bd808)
173+
- Fix memory leaks (cmb69)
174+
- #79567 Parsing long long values leads to truncation on LLP64 platforms (bd808)
175+
- #77720 Out of memory error when parsing yaml file (bd808)
176+
- [-Wformat=] issue on 32-bit (remicollet)
177+
- relax test on 32-bit (overflow to float) (remicollet)
178+
</notes>
179+
</release>
161180
<release>
162181
<date>2020-09-13</date>
163182
<version>

php_yaml.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ extern "C" {
7070
extern "C" {
7171
#endif
7272

73-
#define PHP_YAML_VERSION "2.2.0"
73+
#define PHP_YAML_VERSION "2.2.1"
7474

7575
extern zend_module_entry yaml_module_entry;
7676
#define phpext_yaml_ptr &yaml_module_entry

0 commit comments

Comments
 (0)