mongoose-gen
Advanced tools
Comparing version 2.0.1 to 2.1.0
# Changelog | ||
## Version 2.0.0 | ||
## Version 2.1.0 - Mar 27, 2015 | ||
* Enhancement: introduce support for Object type in schema definitions. | ||
## Version 2.0.0 - Jan 27, 2015 | ||
* Fix bug: an instance of mongoose.Schema is somehow linked to the connection instance so it cannot be used for other connections. | ||
@@ -5,0 +8,0 @@ * `.getSchema()` now requires an instance of mongoose.Connection |
@@ -99,3 +99,4 @@ var util = require('util'); | ||
'objectid': mongoose.Schema.ObjectId, | ||
'string': String | ||
'string': String, | ||
'object': Object | ||
}; | ||
@@ -102,0 +103,0 @@ if (types[type.toLowerCase()]) { |
{ | ||
"name": "mongoose-gen", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "generates mongoose schemas from json documents", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/topliceanu/mongoose-gen", |
18124
170