Skip to content

Commit

Permalink
2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dresende committed Sep 13, 2013
1 parent ec7ec79 commit dc46615
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 15 deletions.
34 changes: 22 additions & 12 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,34 @@
### v2.2.0 - (todo, in future)
### v2.2.0 - (to do, in future)
- Fixes error code spelling: `PARAM_MISSMATCH` -> `PARAM_MISMATCH`

### v2.1.next - (available on master but not on NPM yet)
### v2.1.1 - 13 Sep 2013

- Add TypeScript interface
- Add support for custom property types (#305)
- Add promises to query chain (#316)
- Unique validator can be scoped and case insensitive (#288)
- Allow finding by associations (#293)
- Allow custom join tables (#276)
- Fixes stack overflow when saving auto-fetched model with relations (#279)
- Unique validator can be scoped and case insensitive (#288)
- Allow async express middleware (#291)
- Allow finding by associations (#293)
- Fix sqlite find with boolean (#292)
- Fix `afterLoad` hook error handling (#301)
- Allow auto-escaping for custom queries (#304)
- Allow passing timezone in database connection string - mysql & postgres only for now (#325, #303)
- Add support for custom property types (#305)
- Allow ordering by raw sql - .orderRaw() when chaining (#308, #311)
- Deprecated `PARAM_MISSMATCH` ErrorCode in favour of correctly spelt `PARAM_MISMATCH` (#315)
- Fix `NaN` handling (#310)
- Fixes stack overflow when saving auto-fetched model with relations (#279)
- Fix `afterLoad` hook error handling (#301)
- Fix sqlite find with boolean (#292)
- Fix saving Instance.extra fields (#312)
- Fix `NaN` handling (#310)
- Fix incorrect SQL query (#313)
- Deprecated `PARAM_MISSMATCH` ErrorCode in favour of correctly spelt `PARAM_MISMATCH` (#315)
- Add promises to query chain (#316)
- Adds a test for hasMany.delAccessor with arguments switched (#320)
- Allow passing timezone in database connection string, local timezone is now default (#325, #303)
- Adds ability to call db.load() with multiple files (closes #329)
- For mysql driver, when using pool, use con.release() instead of con.end() (if defined) (closes #335)
- Passes error from afterLoad hook to ready event
- Most errors now have a model property
- Adds connection.pool and connection.debug settings
- Fixes throw when calling ChainFind.first() or .last() and it has an error
- Removes upper limit on VARCHAR column size
- Allows multi-key models to support hasMany

### v2.1.0 - 3 Aug 2013

Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
"mysql",
"postgres",
"redshift",
"sqlite"
"sqlite",
"mongodb"
],
"version" : "2.1.0",
"version" : "2.1.1",
"license" : "MIT",
"homepage" : "http://dresende.github.io/node-orm2",
"repository" : "http://github.com/dresende/node-orm2.git",
Expand All @@ -22,7 +23,7 @@
{ "name" : "Chris Cowan", "email" : "[email protected]" },
{ "name" : "Paul Dixon", "email" : "[email protected]" },
{ "name" : "David Kosub" },
{ "name" : "Arek W" },
{ "name" : "Arek W", "email" : "[email protected]" },
{ "name" : "Joseph Gilley", "email" : "[email protected]" },
{ "name" : "Benjamin Pannell", "email" : "[email protected]" }
],
Expand Down

0 comments on commit dc46615

Please sign in to comment.