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