Skip to content

Commit

Permalink
2.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
dresende committed May 30, 2013
1 parent c2a7167 commit 8764981
Showing 2 changed files with 21 additions and 2 deletions.
17 changes: 17 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
### v2.0.12 - 30 May 2013

- New plugin: orm-paging
- Adds Model.one() as an alias for Model.all().limit(1) (#148)
- Changes Model.one() to return only one instance (or null) instead of an Array (#148)
- Allow passing a single object to Model.create() (#159)
- Fixes passing unknown properties to new instances (fixes #178)
- Adds AggregateFunctions.limit() (#172)
- Checks for driver debug flag and prints debug lines in AggregateFunctions (#171)
- Added Hook 'beforeValidation' prior to _all_ validations
- Avoids JSON parsing values when they are already objects (and not string buffers) (#168)
- Changes beforeRemove, beforeCreate, beforeSave and beforeValidation to use Hooks.wait() (sync or async hooks) (#167)
- Support specifying size of number columns
- Many more bug fixes
- More tests added
- Many documentation improvements

### v2.0.11 - 3 May 2013

- Changes orm.connect() to return an EventEmitter
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
"redshift",
"sqlite"
],
"version" : "2.0.11",
"version" : "2.0.12",
"license" : "MIT",
"homepage" : "http://dresende.github.io/node-orm2",
"repository" : "http://github.com/dresende/node-orm2.git",
@@ -24,7 +24,9 @@
{ "name" : "preslavrachev" },
{ "name" : "Chris Cowan", "email" : "me@chriscowan.us" },
{ "name" : "Paul Dixon", "email" : "paul.dixon@mintbridge.co.uk" },
{ "name" : "David Kosub" }
{ "name" : "David Kosub" },
{ "name" : "Arek W" },
{ "name" : "Joseph Gilley", "email" : "joe.gilley@gmail.com" }
],
"main" : "./lib/ORM",
"scripts" : {

0 comments on commit 8764981

Please sign in to comment.