From 8b06d79d59d6a9a6082a40a06f07f0f2bb6c1d7f Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 13 May 2022 09:41:29 +0200 Subject: [PATCH] release v0.2.0 * 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. --- package.xml | 18 ++++++++++++++++-- php_ion.h | 2 +- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/package.xml b/package.xml index 5976a68..e3f4ef8 100644 --- a/package.xml +++ b/package.xml @@ -20,7 +20,7 @@ https://awesomized.github.io/ext-ion/ mike@php.net yes - 2022-02-01 + 2022-05-13 0.2.0 0.2.0 @@ -31,7 +31,21 @@ https://awesomized.github.io/ext-ion/ BSD-2-Clause diff --git a/php_ion.h b/php_ion.h index a12b2f8..8879fb1 100644 --- a/php_ion.h +++ b/php_ion.h @@ -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() -- 2.30.2