Skip to content

Commit

Permalink
release v0.2.0
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
m6w6 committed May 13, 2022
1 parent d901f11 commit 8b06d79
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
18 changes: 16 additions & 2 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ https://awesomized.github.io/ext-ion/
<email>mike@php.net</email>
<active>yes</active>
</lead>
<date>2022-02-01</date>
<date>2022-05-13</date>
<version>
<release>0.2.0</release>
<api>0.2.0</api>
Expand All @@ -31,7 +31,21 @@ https://awesomized.github.io/ext-ion/
</stability>
<license uri="http://copyfree.org/content/standard/licenses/2bsd/license.txt">BSD-2-Clause</license>
<notes><![CDATA[
* WIP
* 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.
]]></notes>
<contents>
<dir name="/">
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.2.0dev"
# define PHP_ION_VERSION "0.2.0"

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

0 comments on commit 8b06d79

Please sign in to comment.