Skip to content

Commit 57c246f

Browse files
committed
release v0.2.1
* Fix possible crash on unserializing uninitialized properties.
1 parent cf1f3df commit 57c246f

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

package.xml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ https://awesomized.github.io/ext-ion/
2020
<email>mike@php.net</email>
2121
<active>yes</active>
2222
</lead>
23-
<date>2022-05-13</date>
23+
<date>2022-05-31</date>
2424
<version>
25-
<release>0.2.0</release>
25+
<release>0.2.1</release>
2626
<api>0.2.0</api>
2727
</version>
2828
<stability>
@@ -31,20 +31,7 @@ https://awesomized.github.io/ext-ion/
3131
</stability>
3232
<license uri="http://copyfree.org/content/standard/licenses/2bsd/license.txt">BSD-2-Clause</license>
3333
<notes><![CDATA[
34-
* Improved documentation.
35-
* Upgrade bundled ion-c library.
36-
* Fix gh-issue #5: ion\Timestamp crashes with string timezones.
37-
* Add ion\Exception.
38-
* Refactor (un)serialization facilities:
39-
* Removed ion\Reader\Options class and moved the options to the ion\Reader constructor.
40-
* Removed ion\Writer\Options class and moved the options to the ion\Writer constructor.
41-
* Renamed ion\Serializer\PHP to ion\Serializer\Serializer.
42-
* Renamed ion\Unserializer\PHP to ion\Unserializer\Unserializer.
43-
* Changed ion\Serializer::serialize(mixed $data) to
44-
ion\Serializer::serialize(mixed $data, ion\Writer|array|null $writer = null).
45-
* Changed ion\Unserializer::unserialize(string|resource $data) to
46-
ion\Unserializer::unserialize(ion\Reader|string|resource $data)
47-
* Add support for custom (un)serializers.
34+
* Fix possible crash on unserializing uninitialized properties.
4835
4936
]]></notes>
5037
<contents>
@@ -128,7 +115,8 @@ https://awesomized.github.io/ext-ion/
128115
<file role="test" name="serialize.phpt"/>
129116
<dir name="unserialize">
130117
<file role="test" name="multifield.phpt"/>
131-
<file role="test" name="argtype.phpt"/>
118+
<file role="test" name="argtype.phpt"/>
119+
<file role="test" name="executor_globals.phpt"/>
132120
<file role="test" name="sid.phpt"/>
133121
<file role="test" name="invalid_annotation.phpt"/>
134122
<file role="test" name="multisequence.phpt"/>

php_ion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
extern zend_module_entry ion_module_entry;
1717
# define phpext_ion_ptr &ion_module_entry
1818

19-
# define PHP_ION_VERSION "0.3.0dev"
19+
# define PHP_ION_VERSION "0.2.1"
2020

2121
# if defined(ZTS) && defined(COMPILE_DL_ION)
2222
ZEND_TSRMLS_CACHE_EXTERN()

0 commit comments

Comments
 (0)