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
validateSchemaoption tovalidate. - Change
addCreatedOnFielddefault totrue. - Change
addUpdatedOnFielddefault totrue.
- Rename
validateSchemaoption tovalidate. - Change
addCreatedOnFielddefault totrue. - Change
addUpdatedOnFielddefault totrue.
Query Service
- Remove
generateIdmethod. - Remove
expectDocumentmethod.
Service
- Remove
updatemethod. 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
useStringIdoption.
- Add
useStringIdoption.
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
atomicnamespace. 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
createdOnandupdatedOnautomatically to the model. If you want to save the current behavior, add the appropriateaddCreatedOnFieldandaddUpdatedOnFieldoptions to the service definitions.