release v0.2.0 v0.2.0
authorMichael Wallner <mike@php.net>
Fri, 13 May 2022 07:41:29 +0000 (09:41 +0200)
committerMichael Wallner <mike@php.net>
Fri, 13 May 2022 07:41:29 +0000 (09:41 +0200)
* 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
php_ion.h

index 5976a68e0dbcf87117241931884ecb1362dbba3f..e3f4ef8e18c06a004dd341bc93eb18d834c67b79 100644 (file)
@@ -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>
@@ -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="/">
index a12b2f86a372933d54db09f4f9f516331bfd0000..8879fb12e739297e46590fab2fe67fe9c29523f2 100644 (file)
--- 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()