Releases: sunrise-php/hydrator
Releases · sunrise-php/hydrator
v2.6.0
- Support for enums for PHP < 8.1.
v2.5.0
- Support for php 8.1 inc. enums #5
- Support for data object #18 (thx @Lukasss93)
- Added new method
InvalidValueException::getPropertyPath():string
v2.4.0
- Empty strings for non-string properties are converted to null.
v2.3.0
- JSON serialization for default collection.
v2.2.0
- Support for DateInterval (#12).
v2.1.0
- The
ObjectCollection::isEmpty()
method was added;
- The ability to pass JSON decoding options.
v2.0.0
- Correct typing for scalar types;
- Dates can now accept timestamps;
- Removed enumerable and JSON types;
- New method
hydrateWithJson
;
- Improved codebase and tests.
v1.3.0
- Support for integer enum cases;
- Support for JSON.