Skip to content

Releases: jupe/mongoose-query

v0.5.2 patch release

27 May 04:52
fc650b6
Compare
Choose a tag to compare

This patch release updates several dependencies and fixes some bugs

Changes

chore(package): update mocha to version 5.0.0 (#30)
chore(package): update mongoose to version 4.13.4 (#31)
chore(package): update eslint-plugin-node to version 6.0.0 (#33)
Update mongoose to the latest version 🚀 (#29)
chore(package): update mongoose to version 5.0.8 (#36)
chore(package): update eslint-plugin-mocha to version 4.12.0 (#37)
chore(package): update eslint-plugin-mocha to version 5.0.0 (#38)
chore(package): update lodash to version 4.17.9 (#42)
chore(package): update mongoose to version 5.1.1 (#43)
update dev dependencies (#45)
Some strings are detected as date, but they should not (#44)

v0.5.1 patch release

24 Oct 08:26
Compare
Choose a tag to compare

This patch fixes tens of bugs from quey parser and bring a lot of more unit and api tests.

Fixes

#27 Several fixes and refactoring parseQuery function
#11 aggregate query with dates doesn’t work

v0.5.0

21 Oct 12:13
Compare
Choose a tag to compare

#25 Start using eslint for whole library
#23 fix: date parsing when passing numbers
#24 Integrate forks changes + some fixes

  • includeAllParams -option (activated by default)
  • exports parseQuery
  • update documentation
  • Attach a query method to a schema's query property
  • fix: key= number search
  • fix: {m} -query (elemMatch)

v0.4.0

21 Oct 11:52
Compare
Choose a tag to compare

fix leanQuery with flat option (#21)

  • fix leanQuery with flat option
  • several smaller fixes and promise tests
  • boolean conversion allows numbers (0=false, !0 = true) and undefined (=true)
  • fix: count promise resolves now same count object than callback
  • add promise tests which validate same thing than callback tests
  • disconnect mongoose after tests

v0.3.0 release

28 Jul 20:02
Compare
Choose a tag to compare

major refactoring including several fixes and more tests

  • Update package.json
  • fixes against latest mongoose.
  • This drops Model.Query api because it seems to be internally used by mongoose. Use Model.query instead.
  • split module to smaller parts
  • add parseQuery tests
  • add more promise supports (flat)
  • several fixes popups during parseQuery tests, e.g. date parsing
  • moving to ES6 age.. - require node.js 6.x .
  • update documentation

v0.2.1 release

20 Dec 10:43
Compare
Choose a tag to compare

bug fixes and oid (=objectId) support for searching