Skip to content

Commit 52972e3

Browse files
committed
2.0.15
1 parent a8e14b9 commit 52972e3

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

Changelog.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
### v2.0.15 - 10 Jul 2013
2+
3+
- Support for 'point' type as a property (#221)
4+
- .call() in aggregates for generic functions (#204)
5+
- Adds hook afterAutoFetch triggered after extending and auto fetching (if any) associations (#219)
6+
- Adds predefined validator .password()
7+
- Adds ability to have the afterLoad hook blocking (#219)
8+
- Changes Model.create() to wait for createInstance callback instead of using the returned value
9+
- Fixes problem with hasOne associations for none persisted instances and autoFetch active just blocking
10+
- Refactored Model.hasOne() constructor to be able to mix parameters
11+
- Fixes reversed hasOne association on the reversed model not being correctly saved (#216)
12+
- Changes Model.hasMany.addAccessor to throw just like .setAccessor when no associations are passed
13+
- Adds ability to pass an Array to hasMany.hasAccessor and also not passing any instance to hasAccessor and have it check for any associated item
14+
- Exposes Model methods to change hooks after model definition
15+
- Fixes postgres driver not returning numbers for number columns
16+
- Fixes passing json object instead of instances to Model.create() associations (#216)
17+
- Passes Model to Instance directly, changes Instance to use Model.properties instead of opts.properties
18+
- Exposes Model.properties
19+
- Removes old Property.js throw error in favour of new one
20+
- Adds initial Model.extendsTo(name, properties[, opts])
21+
- Avoids redefining properties in instances
22+
- Adds ErrorCodes.NOT_DEFINED
23+
- Adds db.drop() - similar to db.sync()
24+
- Changes hasMany.getAccessor to support order as string (closes #196)
25+
- Handle django string formatted sqlite datetime
26+
- Many bug fixes
27+
128
### v2.0.14 - 27 June 2013
229

330
- Changes many errors to use the ErrorCodes generator (#206)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"redshift",
1212
"sqlite"
1313
],
14-
"version" : "2.0.14",
14+
"version" : "2.0.15",
1515
"license" : "MIT",
1616
"homepage" : "http://dresende.github.io/node-orm2",
1717
"repository" : "http://github.com/dresende/node-orm2.git",

0 commit comments

Comments
 (0)