All notable changes to data-transfer-object
will be documented in this file
- Validator for typed 7.4 properties (#109)
- Add support for typed properties to DTO casting in PHP 7.4
- Bump minimum required PHP version to 7.4
- Support for nested immutable DTOs (#86)
- Ignore static properties when serializing (#88)
- DataTransferObjectError::invalidType : get actual type before mutating $value for the error message (#81)
- Improve extendability of DTOs (#80)
- Ignore static properties (#82)
- Add
DataTransferObject::arrayOf
(#83)
- Improved performance by adding a cache (#79)
- Add
FlexibleDataTransferObject
which allows for unknown properties to be ignored
- Add
iterable
anditerable<\Type>
support
- Allow a DTO to be constructed without an array (#68)
- Improve type error message
- Add DataTransferObjectCollection::items()
- Support immutability
- Fixes #47, allowing empty dto's to be cast to using an empty array.
- Nested array DTO casting supported.
- Properly support
float
.
- Fix uninitialised error with default value.
- Don't use
allValues
anymore.
- Support nested collections in collections
- Cleanup code
- Remove too much magic in nested array casting
- Support nested
toArray
in collections.
- Support nested
toArray
.
- Add strict type declarations
- Add auto casting of nested DTOs
- Rename to data-transfer-object
- Add uninitialized errors.
- Support instanceof on interfaces when type checking
- proper support for collections of value objects
- initial release