History.md 9.17 KB

3.2.2 / 2019-09-22

  • fix: dont re-call setOptions() when pulling base class options Automattic/mongoose#8159

3.2.1 / 2018-08-24

  • chore: upgrade deps

3.2.0 / 2018-08-24

  • feat: add $useProjection to opt in to using projection instead of fields re: MongoDB deprecation warnings Automattic/mongoose#6880

3.1.2 / 2018-08-01

  • chore: move eslint to devDependencies #110 jakesjews

3.1.1 / 2018-07-30

  • chore: add eslint #107 Fonger
  • docs: clean up readConcern docs #106 Fonger

3.1.0 / 2018-07-29

  • feat: add readConcern() helper #105 Fonger
  • feat: add maxTimeMS() as alias of maxTime() #105 Fonger
  • feat: add collation() helper #105 Fonger

3.0.1 / 2018-07-02

  • fix: parse sort array options correctly #103 #102 Fonger

3.0.0 / 2018-01-20

  • chore: upgrade deps and add nsp

3.0.0-rc0 / 2017-12-06

  • BREAKING CHANGE: remove support for node < 4
  • BREAKING CHANGE: remove support for retainKeyOrder, will always be true by default re: Automattic/mongoose#2749

2.3.3 / 2017-11-19

  • fixed; catch sync errors in cursor.toArray() re: Automattic/mongoose#5812

2.3.2 / 2017-09-27

  • fixed; bumped debug -> 2.6.9 re: #89

2.3.1 / 2017-05-22

  • fixed; bumped debug -> 2.6.7 re: #86

2.3.0 / 2017-03-05

  • added; replaceOne function
  • added; deleteOne and deleteMany functions

2.2.3 / 2017-01-31

  • fixed; throw correct error when passing incorrectly formatted array to sort()

2.2.2 / 2017-01-31

  • fixed; allow passing maps to sort()

2.2.1 / 2017-01-29

  • fixed; allow passing string to hint()

2.2.0 / 2017-01-08

  • added; updateOne and updateMany functions

2.1.0 / 2016-12-22

  • added; ability to pass an array to select() #81 dciccale

2.0.0 / 2016-09-25

  • added; support for mongodb driver 2.0 streams

1.12.0 / 2016-09-25

  • added; retainKeyOrder option re: Automattic/mongoose#4542

1.11.0 / 2016-06-04

  • added; .minDistance() helper and minDistance for .near() Automattic/mongoose#4179

1.10.1 / 2016-04-26

  • fixed; ensure conditions is an object before assigning #75

1.10.0 / 2016-03-16

  • updated; bluebird to latest 2.10.2 version #74 matskiv

1.9.0 / 2016-03-15

1.8.0 / 2016-03-01

  • fixed; dont throw an error if count used with sort or select Automattic/mongoose#3914

1.7.0 / 2016-02-23

  • fixed; don't treat objects with a length property as argument objects #70
  • added; .findCursor() method #69 nswbmw
  • added; _compiledUpdate property #68 nswbmw

1.6.2 / 2015-07-12

  • fixed; support exec cb being called synchronously #66

1.6.1 / 2015-06-16

  • fixed; do not treat $meta projection as inclusive vkarpov15

1.6.0 / 2015-05-27

  • update dependencies #65 bachp

1.5.0 / 2015-03-31

  • fixed; debug output
  • fixed; allow hint usage with count #61 trueinsider

1.4.0 / 2015-03-29

1.3.0 / 2014-11-06

  • added; setTraceFunction() #53 from jlai

1.2.1 / 2014-09-26

  • fixed; distinct assignment in toConstructor() #51 from esco

1.2.0 / 2014-09-18

  • added; stream() support for find()

1.1.0 / 2014-09-15

  • add #then for co / koa support
  • start checking code coverage

1.0.0 / 2014-07-07

  • Remove broken require() calls until they're actually implemented #48 vkarpov15

0.9.0 / 2014-05-22

  • added; thunk() support
  • release 0.8.0

0.8.0 / 2014-05-15

  • added; support for maxTimeMS #44 yoitsro
  • updated; devDependency (driver to 1.4.4)

0.7.0 / 2014-05-02

  • fixed; pass $maxDistance in $near object as described in docs #43 vkarpov15
  • fixed; cloning buffers #42 gjohnson
  • tests; a little bit more mongodb agnostic #34 refack

0.6.0 / 2014-04-01

  • fixed; Allow $meta args in sort() so text search sorting works #37 vkarpov15

0.5.3 / 2014-02-22

  • fixed; cloning mongodb.Binary

0.5.2 / 2014-01-30

  • fixed; cloning ObjectId constructors
  • fixed; cloning of ReadPreferences #30 ashtuchkin
  • tests; use specific mongodb version #29 AvianFlu
  • tests; remove dependency on ObjectId #28 refack
  • tests; add failing ReadPref test

0.5.1 / 2014-01-17

  • added; deprecation notice to tags parameter #27 ashtuchkin
  • readme; add links

0.5.0 / 2014-01-16

  • removed; mongodb driver dependency #26 ashtuchkin
  • removed; first class support of read preference tags #26 (still supported though) ashtuchkin
  • added; better ObjectId clone support
  • fixed; cloning objects that have no constructor #21
  • docs; cleaned up ashtuchkin

0.4.2 / 2014-01-08

  • updated; debug module 0.7.4 refack

0.4.1 / 2014-01-07

  • fixed; inclusive/exclusive logic

0.4.0 / 2014-01-06

  • added; selected()
  • added; selectedInclusively()
  • added; selectedExclusively()

0.3.3 / 2013-11-14

0.3.2 / 2013-09-06

  • added; geometry support for near()

0.3.1 / 2013-08-22

  • fixed; update retains key order #19

0.3.0 / 2013-08-22

  • less hardcoded isNode env detection #18 vshulyak
  • added; validation of findAndModify varients
  • clone update doc before execution
  • stricter env checks

0.2.7 / 2013-08-2

  • Now support GeoJSON point values for Query#near

0.2.6 / 2013-07-30

  • internally, 'asc' and 'desc' for sorts are now converted into 1 and -1, respectively

0.2.5 / 2013-07-30

  • updated docs
  • changed internal representation of sort to use objects instead of arrays

0.2.4 / 2013-07-25

  • updated; sliced to 0.0.5

0.2.3 / 2013-07-09

  • now using a callback in collection.find instead of directly calling toArray() on the cursor ebensing

0.2.2 / 2013-07-09

  • now exposing mongodb export to allow for better testing ebensing

0.2.1 / 2013-07-08

  • select no longer accepts arrays as parameters ebensing

0.2.0 / 2013-07-05

  • use $geoWithin by default

0.1.2 / 2013-07-02

  • added use$geoWithin flag ebensing
  • fix read preferences typo ebensing
  • fix reference to old param name in exists() ebensing

0.1.1 / 2013-06-24

  • fixed; $intersects -> $geoIntersects #14 ebensing
  • fixed; Retain key order when copying objects #15 ebensing
  • bump mongodb dev dep

0.1.0 / 2013-05-06

  • findAndModify; return the query
  • move mquery.proto.canMerge to mquery.canMerge
  • overwrite option now works with non-empty objects
  • use strict mode
  • validate count options
  • validate distinct options
  • add aggregate to base collection methods
  • clone merge arguments
  • clone merged update arguments
  • move subclass to mquery.prototype.toConstructor
  • fixed; maxScan casing
  • use regexp-clone
  • added; geometry/intersects support
  • support $and
  • near: do not use "radius"
  • callbacks always fire on next turn of loop
  • defined collection interface
  • remove time from tests
  • clarify goals
  • updated docs;

0.0.1 / 2012-12-15

  • initial release