Skip to content

Releases: foxifyjs/odin

v0.10.0

05 Sep 17:37
Compare
Choose a tag to compare

0.10.0 (2020-09-05)

v0.9.0

07 Jan 18:17
Compare
Choose a tag to compare
  • ⚡ Added iterate method to DB, Odin & relational methods
  • ⚡ Added unset method to DB
  • ⚡ Added delete method to Odin instance
  • ⚡ Added withTrashed method to relational methods
  • ⚡ Added lean method to relational methods
  • 💥 Method restore in Odin instance returns number now (it was boolean before)
  • 🪲 Fixed bug with ^.+_ids$ fields not casting to array of ObjectId while saving

v0.8.0

27 Dec 17:11
Compare
Choose a tag to compare
  • 🪲 Fixed embedMany relation bug
  • 🪲 Fixed not applying withTrashed to relations
  • 💥 Types is now a peerDependency (@foxify/schema) which needs to be installed!
  • 👓 Added embedMany tests
  • 👓 Added Node.js version 11 to tests

v0.7.0

14 Dec 20:36
Compare
Choose a tag to compare
  • ⚡ Added whereHas method to models
  • 🌟 Added deep relation compatibility to has & whereHas

v0.6.0

04 Dec 19:23
Compare
Choose a tag to compare
  • ⚡ Added has to model queries (use with caution since it may have a negative impact on your performance)

v0.5.4

03 Dec 19:52
Compare
Choose a tag to compare
  • ⚡ Added Collection to create collection and indexes

v0.5.0

01 Dec 12:42
Compare
Choose a tag to compare
  • ⚡ Added deep relation loading ability
  • ⚡ Added lean method to model queries to skip creating model instances
  • 🌟 Improved model static method toJsonSchema functionality
  • 🌟 Improved model hook created

v0.4.0

16 Nov 18:30
Compare
Choose a tag to compare
  • ⚡ Added embedMany relation
  • 🌟 Improved toJsonSchema functionality

v0.3.0

16 Nov 16:57
Compare
Choose a tag to compare
  • ⚡ Added toJsonSchema static method to Model so you can easily use it with Foxify router schema option
  • 🌟 Improved throwing validation error for Foxify usage

v0.2.0

14 Nov 17:40
Compare
Choose a tag to compare
  • ⚡ Added more advanced filtering ability to queries and joins
  • ⚡ Added numeral to String schema type
  • ⚡ Added enum to String schema type