Releases: paralect/node-mongo
Releases Β· paralect/node-mongo
3.0.0-beta3
What's Changed
Full Changelog: 3.0.0-beta2...3.0.0-beta3
3.0.0-beta2
3.0.0-beta1
- Add Typescript
- Update mongo driver
- Remove monk dependency
- Add Outbox collections
2.1.1
2.1.0
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
1.1.0
- Update dependencies.
- Fix required version of the Node.js.
1.0.0
- Update dependencies.
- Add tests.
- Fix required version of the Node.js.
Breaking Changes
- Now, by default, we do not add the fields
createdOn
andupdatedOn
automatically to the model. If you want to save the current behavior, add the appropriateaddCreatedOnField
andaddUpdatedOnField
options to the service definitions.