- fix for parameter handling in
findAndModify
- check for
uri
parameter or throw
- added
distinct
support (fixes #52) - added
Promise#then
- promise: expose
query
*: bumped mongoskin
and therefore node-mongodb-native
- collection: added cursor closing support
- promise: introduce #destroy
- test: added cursor destroy test
- promise: added opts to constructor
- util: fix field negation
- test: added test for promise options
- collection: pass options to promises
- added travis
- manager: added Manager#id and Manager#oid
- collection: introduced Collection#oid
- manager: added Manager#col
- collection: make
findAndModify
accept an oid as the query
- collection: fixed streaming when options are not supplied
- collection: added
count
- collection: avoid mongoskin warn when buffering commands
- Use any debug. [visionmedia]
- Use any mocha. [visionmedia]
- Fixed string-based field selection.
- Added package.json tags.
- Added support for update with ids (fixes #4)
- Added support for new objectids through
Collection#id
- Enhanced findAndModify default behavior for upserts.
- Fixed findAndModify.
- Bumped mongoskin
- Fixed mongoskin version
- Improved options docs section.
- Added global and collection-level options.
- Enabled safe mode by default.
- Improved error handling in tests.
- Fixed
update
callback with safe: false.
- Added tests for
findById
.
- Added
Collection
references toPromise
s. - Fixed
findAndModify
.
- Ensured insert calls back with a single object.
- Ensured
insert
resolves promise in next tick.
- Exposed
util
- Make
Collection
inherit fromEventEmitter
.
- Added
updateById
.
- Initial release.