- added DynamicAttribute
- added ObjectAttribute (empty associative array is saved as native JS object, not array)
- added onSetNull() and setUpdateExisting() on Many2OneAttribute
- added setSkipOnPopulate(), onSet(), onGet(), onToArray(), setAfterPopulate() and onToDb() callbacks on all attributes
- added support for Entity attribute validation and custom validators through Entity config
- ArrayAttribute now supports nested key validation and validation messages
- EntityDataExtractor now supports nested attributes grouping using brackets, eg:
team[name,members,owner[id,email]]
- Alias can be given to EntityDataExtractor to format returned data, eg:
meta[lastChargeFailed@chargeFailed,[email protected]]
- Changed default attributes returned by
toArray()
: Many2OneAttribute, ArrayAttribute and ObjectAttribute are no longer returned.
- Initial version