- Merged PR #10: Support unmarshalling to nullable types - @thekid
- Added support for PHP 8.1's https://wiki.php.net/rfc/enumerations (@thekid)
- Merged PR #8: Refactor mapping for classes inside
util
, making them overrideable (@thekid) - Merged PR #7: Add
mapping()
andresolving()
to supply custom (un)-marshalling logic (@thekid)
- Made compatible with XP 12 - @thekid
- Added PHP 8.4 to test matrix - @thekid
- Merged PR #29: Keep empty objects intact - @thekid
The second major release changes the way scalars are unmarshalled to arrays: Previously, they resulted in an empty array and a PHP warning being raised. Now, they result in an array of themselves.
- Merged PR #4: Unmarshal scalars and null to arrays - @thekid
- Merged PR #5: Migrate to new reflection API - @thekid
- Merged PR #3: Migrate to new testing library - @thekid
- Made library compatible with XP 11 - @thekid
- Made compatible with PHP 8.1 - add
ReturnTypeWillChange
attributes to iterator, see https://wiki.php.net/rfc/internal_method_return_types (@thekid)
- Merged PR #1: Add support for
__serialize()
and__unserialize()
(@thekid)
- Only construct objects with one-arg constructors if their parameter accepts the argument (@thekid)
The first major release changes no functionality, but drops support for PHP 5, which has been EOL for almost a year at the time of this release.
- Implemented xp-framework/rfc#334: Drop PHP 5.6. The minimum required PHP version is now 7.0.0! (@thekid)
- Made compatible with XP 10 - @thekid
- Fixed shadowing of
util.data.Iterator
class from xp-forge/sequence (@thekid)
- Added support for
util.XPIterator
instances in marshalling (@thekid)
- Fixed
unmarshal()
when given value is an instance of an enum (@thekid)
- Hello World! First release - @thekid