Releases: foxifyjs/odin
Releases · foxifyjs/odin
v0.10.0
v0.9.0
- ⚡ Added
iteratemethod toDB,Odin& relational methods - ⚡ Added
unsetmethod toDB - ⚡ Added
deletemethod toOdininstance - ⚡ Added
withTrashedmethod to relational methods - ⚡ Added
leanmethod to relational methods - 💥 Method
restoreinOdininstance returnsnumbernow (it wasbooleanbefore) - 🪲 Fixed bug with
^.+_ids$fields not casting to array ofObjectIdwhile saving
v0.8.0
- 🪲 Fixed
embedManyrelation bug - 🪲 Fixed not applying
withTrashedto relations - 💥
Typesis now a peerDependency (@foxify/schema) which needs to be installed! - 👓 Added
embedManytests - 👓 Added
Node.jsversion11to tests
v0.7.0
- ⚡ Added
whereHasmethod to models - 🌟 Added deep relation compatibility to
has&whereHas
v0.6.0
- ⚡ Added
hasto model queries (use with caution since it may have a negative impact on your performance)
v0.5.4
- ⚡ Added
Collectionto create collection and indexes
v0.5.0
- ⚡ Added deep relation loading ability
- ⚡ Added
leanmethod to model queries to skip creating model instances - 🌟 Improved model static method
toJsonSchemafunctionality - 🌟 Improved model hook
created
v0.4.0
- ⚡ Added
embedManyrelation - 🌟 Improved
toJsonSchemafunctionality
v0.3.0
- ⚡ Added
toJsonSchemastatic method to Model so you can easily use it withFoxifyrouter schema option - 🌟 Improved throwing validation error for
Foxifyusage
v0.2.0
- ⚡ Added more advanced filtering ability to queries and joins
- ⚡ Added
numeraltoStringschema type - ⚡ Added
enumtoStringschema type