Skip to content

Releases: dealnews/data-mapper

3.1.1

27 Feb 19:34
bf2db0f
Compare
Choose a tag to compare
  • Fix saving of DateTime as numeric values
  • Fix saving of ArrayObjects

3.1.0

27 Feb 17:34
4685d47
Compare
Choose a tag to compare
  • Add support for dates which are stored as numbers

3.0.0

12 Feb 23:57
251ac68
Compare
Choose a tag to compare
  • 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

20 Nov 17:39
Compare
Choose a tag to compare
  • 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

2.0.0

26 Sep 03:22
Compare
Choose a tag to compare

Update to require PHP 8.0

1.1.0 Release

23 Apr 05:07
Compare
Choose a tag to compare

Update required PHP version

1.0.0 Release

23 Apr 04:45
Compare
Choose a tag to compare
Update to new DealNews coding standards

0.9.1 Release

18 Apr 22:26
Compare
Choose a tag to compare

Fix a notice when deleting if no data has been loaded.

Initial Public Release

05 Jul 05:48
Compare
Choose a tag to compare

A slightly different version of this code has been in use internally at DealNews for a while. This is the initial public release.