Comparing version
@@ -0,1 +1,5 @@ | ||
2.0.1 / 2015-10-09 | ||
================== | ||
* Return full admin class rather than just admin collection when calling `.admin()` #177 | ||
2.0.0 / 2015-09-21 | ||
@@ -5,4 +9,4 @@ ================== | ||
* The `Grid` class [was removed in mongodb driver 2.0](https://github.com/mongodb/node-mongodb-native/blob/2.0/HISTORY.md#200-alpha1-2014-09-08) and so `mongoskin.Grid` is gone as well. | ||
* `utils.makeSkinClass()`'s optional third parameter `isSingle` is removed. | ||
* `db.collection()` no longer accepts a callback. Use `var collection = db.collection('collname');` instead. | ||
* `utils.makeSkinClass()`'s optional third parameter `isSingle` is removed. | ||
* `db.collection()` no longer accepts a callback. Use `var collection = db.collection('collname');` instead. | ||
@@ -9,0 +13,0 @@ 0.6.1 / 2013-11-24 |
@@ -12,3 +12,3 @@ /*! | ||
var SkinAdmin = exports.SkinAdmin = function(db) { | ||
return db.db('admin'); | ||
return db._admin(); | ||
} |
@@ -69,2 +69,3 @@ /*! | ||
SkinDb.prototype._admin = SkinDb.prototype.admin; | ||
SkinDb.prototype.admin = function () { | ||
@@ -71,0 +72,0 @@ return new SkinAdmin(this); |
{ | ||
"name": "mongoskin", | ||
"description": "The future layer above node-mongodb-native", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"author": "Gui Lin <guileen@gmail.com>", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/kissjs/node-mongoskin", |
190098
0.09%1071
0.09%