Skip to content

Releases: Automattic/monk

v3.0.4

07 Jul 10:22
Compare
Choose a tag to compare
  • Do not fail when inserting empty array

v3.0.3

06 Jul 14:41
Compare
Choose a tag to compare
  • Cast _id recursively (fix #3)

v3.0.2

06 Jul 13:19
Compare
Choose a tag to compare
  • Fix find cursor close when already paused

v3.0.1

06 Jul 11:53
Compare
Choose a tag to compare
  • Fix find cursor pause and resume

v3.0.0

06 Jul 10:55
Compare
Choose a tag to compare
  • 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

05 Jul 16:29
Compare
Choose a tag to compare
  • 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)

version 2.0.0

23 Jun 13:34
Compare
Choose a tag to compare

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