Repository navigation
Releases: dealnews/data-mapper
Releases · dealnews/data-mapper
Release list
3.4.0
3.3.1
Always return an array from find to be like getMulti
3.3.0
3.1.2
Fix bug where nulls for datetimes would cause an error
3.1.1
- Fix saving of DateTime as numeric values
- Fix saving of ArrayObjects
3.1.0
- Add support for dates which are stored as numbers
3.0.0
- Update Repository dependency which has new method names
- Add support for ArrayObject properties. If an object has a property that an object that extends ArrayObject, and the data contains an array for that property, the code should recognize that and use ArrayObject::exchangeArray to set the value rather than trying to assign an array to an object.
2.1.0
- Add methods for getting a mapper or class name from the Repository class
- Add support for encoding data as json, yaml, or PHP serialize when storing
- Add support for creating DateTime objects for properties from scalar values
- Add support for read only properties in the mapper
- Add phan, parallel-lint, and php-cs-fixer configs and composer commands