Skip to content

Commit

Permalink
release v0.2.1
Browse files Browse the repository at this point in the history
* Fix possible crash on unserializing uninitialized properties.
  • Loading branch information
m6w6 committed May 31, 2022
1 parent cf1f3df commit 57c246f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
22 changes: 5 additions & 17 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ https://awesomized.github.io/ext-ion/
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2022-05-13</date>
<date>2022-05-31</date>
<version>
<release>0.2.0</release>
<release>0.2.1</release>
<api>0.2.0</api>
</version>
<stability>
Expand All @@ -31,20 +31,7 @@ https://awesomized.github.io/ext-ion/
</stability>
<license uri="http://copyfree.org/content/standard/licenses/2bsd/license.txt">BSD-2-Clause</license>
<notes><![CDATA[
* Improved documentation.
* Upgrade bundled ion-c library.
* Fix gh-issue #5: ion\Timestamp crashes with string timezones.
* Add ion\Exception.
* Refactor (un)serialization facilities:
* Removed ion\Reader\Options class and moved the options to the ion\Reader constructor.
* Removed ion\Writer\Options class and moved the options to the ion\Writer constructor.
* Renamed ion\Serializer\PHP to ion\Serializer\Serializer.
* Renamed ion\Unserializer\PHP to ion\Unserializer\Unserializer.
* Changed ion\Serializer::serialize(mixed $data) to
ion\Serializer::serialize(mixed $data, ion\Writer|array|null $writer = null).
* Changed ion\Unserializer::unserialize(string|resource $data) to
ion\Unserializer::unserialize(ion\Reader|string|resource $data)
* Add support for custom (un)serializers.
* Fix possible crash on unserializing uninitialized properties.
]]></notes>
<contents>
Expand Down Expand Up @@ -128,7 +115,8 @@ https://awesomized.github.io/ext-ion/
<file role="test" name="serialize.phpt"/>
<dir name="unserialize">
<file role="test" name="multifield.phpt"/>
<file role="test" name="argtype.phpt"/>
<file role="test" name="argtype.phpt"/>
<file role="test" name="executor_globals.phpt"/>
<file role="test" name="sid.phpt"/>
<file role="test" name="invalid_annotation.phpt"/>
<file role="test" name="multisequence.phpt"/>
Expand Down
2 changes: 1 addition & 1 deletion php_ion.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
extern zend_module_entry ion_module_entry;
# define phpext_ion_ptr &ion_module_entry

# define PHP_ION_VERSION "0.3.0dev"
# define PHP_ION_VERSION "0.2.1"

# if defined(ZTS) && defined(COMPILE_DL_ION)
ZEND_TSRMLS_CACHE_EXTERN()
Expand Down

0 comments on commit 57c246f

Please sign in to comment.