orm2 v2.0.12 Release Notes

Release Date: 2013-05-30 // almost 11 years ago
    • ๐Ÿ†• New plugin: orm-paging
    • โž• Adds Model.one() as an alias for Model.all().limit(1) ([#148](../../issues/148))
    • ๐Ÿ”„ Changes Model.one() to return only one instance (or null) instead of an Array ([#148](../../issues/148))
    • ๐Ÿ‘ Allow passing a single object to Model.create() ([#159](../../issues/159))
    • ๐Ÿ›  Fixes passing unknown properties to new instances (fixes [#178](../../issues/178))
    • โž• Adds AggregateFunctions.limit() ([#172](../../issues/172))
    • ๐Ÿ–จ Checks for driver debug flag and prints debug lines in AggregateFunctions ([#171](../../issues/171))
    • Added Hook 'beforeValidation' prior to all validations
    • ๐Ÿ“œ Avoids JSON parsing values when they are already objects (and not string buffers) ([#168](../../issues/168))
    • ๐Ÿ”„ Changes beforeRemove, beforeCreate, beforeSave and beforeValidation to use Hooks.wait() (sync or async hooks) ([#167](../../issues/167))
    • ๐Ÿ‘Œ Support specifying size of number columns
    • ๐Ÿ›  Many more bug fixes
    • โœ… More tests added
    • ๐Ÿ“š Many documentation improvements