2.0.0
- Update dependencies.
Breaking Changes
Manager
- Rename
validateSchema
option tovalidate
. - Change
addCreatedOnField
default totrue
. - Change
addUpdatedOnField
default totrue
.
- Rename
validateSchema
option tovalidate
. - Change
addCreatedOnField
default totrue
. - Change
addUpdatedOnField
default totrue
.
Query Service
- Remove
generateId
method. - Remove
expectDocument
method.
Service
- Remove
update
method. Use updateOne or updateMany. - Remove
ensureIndex
. Use atomic.createIndex. - Remove
createOrUpdate
. Use create or updateOne or updateMany. - Remove
findOneAndUpdate
. Use findOne and updateOne.
Features
Manager
- Add
useStringId
option.
- Add
useStringId
option.
Query Service
- Add more monk's methods. See full list
Service
- Add generateId method.
- Add updateOne method.
- Add updateMany method.
- Add performTransaction method.
- Add more monk's methods in
atomic
namespace. See full list