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)
commit8b06d79d59d6a9a6082a40a06f07f0f2bb6c1d7f
tree2c1c177741389adfa56ef3650c844900e88488cb
parentd901f111e3cef4889b8f45968b8e053b9d79dd8f
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
php_ion.h