Monk Versions Save

The wise MongoDB API

v3.0.4

7 years ago
  • Do not fail when inserting empty array

v3.0.3

7 years ago
  • Cast _id recursively (fix #3)

v3.0.2

7 years ago
  • Fix find cursor close when already paused

v3.0.1

7 years ago
  • Fix find cursor pause and resume

v3.0.0

7 years ago
  • remove Mongoskin dependency
  • new documentation using gitbook
  • add opts arg to Collection.count and collection.distinct
  • deprecate Collection.removeById, Collection.findById, Collection.updateById in favor of using remove, findOne and update directly
  • deprecate collection.id and manager.id in favor of monk.id
  • monk('localhost') can be used as a promise which resolves when the connection opens and rejects when it throws an error (fix #24, fix #10)
  • deprecate Collection.findAndModify in favor of Collection.findOneAndDelete and Collection.findOneAndUpdate (fix #74)
  • add Manager.create (fix #50)
  • add option rawCursor to Collection.find to return the raw cursor (fix #103)

v2.1.0

7 years ago
  • add aggregate method (#56)
  • add dropIndex and dropIndexes methods (#113)
  • use util.inherits instead of __proto__
  • Add castIds option to disable the automatic id casting (#1, #72)

v2.0.0

7 years ago

complete rewrite of monk:

  • return real promises (#104)
  • update mongoskin and mongodb (#111)
  • auto binding of the methods
  • eslint
  • test coverage
  • Support $ne, $in, $nin for id casting
  • Make the sort option behave like fields