Skip to content

Commit dc46615

Browse files
committed
2.1.1
1 parent ec7ec79 commit dc46615

File tree

2 files changed

+26
-15
lines changed

2 files changed

+26
-15
lines changed

Changelog.md

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,34 @@
1-
### v2.2.0 - (todo, in future)
1+
### v2.2.0 - (to do, in future)
22
- Fixes error code spelling: `PARAM_MISSMATCH` -> `PARAM_MISMATCH`
33

4-
### v2.1.next - (available on master but not on NPM yet)
4+
### v2.1.1 - 13 Sep 2013
5+
56
- Add TypeScript interface
6-
- Add support for custom property types (#305)
7-
- Add promises to query chain (#316)
8-
- Unique validator can be scoped and case insensitive (#288)
9-
- Allow finding by associations (#293)
107
- Allow custom join tables (#276)
8+
- Fixes stack overflow when saving auto-fetched model with relations (#279)
9+
- Unique validator can be scoped and case insensitive (#288)
1110
- Allow async express middleware (#291)
11+
- Allow finding by associations (#293)
12+
- Fix sqlite find with boolean (#292)
13+
- Fix `afterLoad` hook error handling (#301)
1214
- Allow auto-escaping for custom queries (#304)
13-
- Allow passing timezone in database connection string - mysql & postgres only for now (#325, #303)
15+
- Add support for custom property types (#305)
1416
- Allow ordering by raw sql - .orderRaw() when chaining (#308, #311)
15-
- Deprecated `PARAM_MISSMATCH` ErrorCode in favour of correctly spelt `PARAM_MISMATCH` (#315)
16-
- Fix `NaN` handling (#310)
17-
- Fixes stack overflow when saving auto-fetched model with relations (#279)
18-
- Fix `afterLoad` hook error handling (#301)
19-
- Fix sqlite find with boolean (#292)
2017
- Fix saving Instance.extra fields (#312)
18+
- Fix `NaN` handling (#310)
2119
- Fix incorrect SQL query (#313)
20+
- Deprecated `PARAM_MISSMATCH` ErrorCode in favour of correctly spelt `PARAM_MISMATCH` (#315)
21+
- Add promises to query chain (#316)
22+
- Adds a test for hasMany.delAccessor with arguments switched (#320)
23+
- Allow passing timezone in database connection string, local timezone is now default (#325, #303)
24+
- Adds ability to call db.load() with multiple files (closes #329)
25+
- For mysql driver, when using pool, use con.release() instead of con.end() (if defined) (closes #335)
26+
- Passes error from afterLoad hook to ready event
27+
- Most errors now have a model property
28+
- Adds connection.pool and connection.debug settings
29+
- Fixes throw when calling ChainFind.first() or .last() and it has an error
30+
- Removes upper limit on VARCHAR column size
31+
- Allows multi-key models to support hasMany
2232

2333
### v2.1.0 - 3 Aug 2013
2434

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
"mysql",
1010
"postgres",
1111
"redshift",
12-
"sqlite"
12+
"sqlite",
13+
"mongodb"
1314
],
14-
"version" : "2.1.0",
15+
"version" : "2.1.1",
1516
"license" : "MIT",
1617
"homepage" : "http://dresende.github.io/node-orm2",
1718
"repository" : "http://github.com/dresende/node-orm2.git",
@@ -22,7 +23,7 @@
2223
{ "name" : "Chris Cowan", "email" : "[email protected]" },
2324
{ "name" : "Paul Dixon", "email" : "[email protected]" },
2425
{ "name" : "David Kosub" },
25-
{ "name" : "Arek W" },
26+
{ "name" : "Arek W", "email" : "[email protected]" },
2627
{ "name" : "Joseph Gilley", "email" : "[email protected]" },
2728
{ "name" : "Benjamin Pannell", "email" : "[email protected]" }
2829
],

0 commit comments

Comments
 (0)