Skip to content

Latest commit

 

History

History
executable file
·
19 lines (16 loc) · 928 Bytes

CHANGELOG.md

File metadata and controls

executable file
·
19 lines (16 loc) · 928 Bytes

CHANGELOG

1.4

  • 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.

1.0.0-RC1

  • Initial version