Releases: zakodium/adonis-mongodb
Releases · zakodium/adonis-mongodb
@zakodium/adonis-mongodb v0.10.3
Bug Fixes
- include src in distribution (4fd53d4)
@zakodium/adonis-mongodb v0.10.2
@zakodium/adonis-mongodb v0.10.1
@zakodium/adonis-mongodb v0.10.0
⚠ BREAKING CHANGES
- move ObjectId export to Zakodium/Mongodb/Odm
- rename isDirty to $isDirty
- move mongodb driver options to options.driverOptions
- The model API has been reworked to be closer to Lucid's.
- move count() method out of find result, make find() method return synchronously
- The MongoDB driver has been upgraded to version 4. Types are now included and many have changed.
- rename Model binding to Odm, and rename Model to BaseModel
Features
- add model boot method and start working on field decorator (18d41c9)
- add model.$dirty (d218456)
- allow to change the connection used in Model.getCollection (16c4180)
- expose model.$isDeleted (39f01d3)
- make query filter optional, add query.count and query.distinct (d7a65b1)
- rename Model binding to Odm, and rename Model to BaseModel (0fa9da6)
- sort find results by descending id by default (d9162b3)
- upgrade mongodb driver to version 4 (1e2e403)
Bug Fixes
- correct types and suppress unavoidable anys (7d95cee)
Code Refactoring
@zakodium/adonis-mongodb v0.9.1
Bug Fixes
- implement workaround to allow closing and reopening connections (48d3ad5)
@zakodium/adonis-mongodb v0.9.0
⚠ BREAKING CHANGES
- implement Connection manager
- rename DatabaseContract and add primaryConnectionName
- rename "default" config field to "connection"
- add Zakodium/ prefix to IoC binding names