- New Features -> ⚡
- Enhancements -> 🌟
- Breaking Changes -> 💥
- Bugs -> 🪲
- Pull Requests -> 📖
- Documents -> 🎓
- Tests -> 👓
v0.9.0 - (2019-01-07)
- ⚡ Added
iterate
method toDB
,Odin
& relational methods - ⚡ Added
unset
method toDB
- ⚡ Added
delete
method toOdin
instance - ⚡ Added
withTrashed
method to relational methods - ⚡ Added
lean
method to relational methods - 💥 Method
restore
inOdin
instance returnsnumber
now (it wasboolean
before) - 🪲 Fixed bug with
^.+_ids$
fields not casting to array ofObjectId
while saving
v0.8.0 - (2018-12-27)
- 🪲 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
version11
to tests
v0.7.0 - (2018-12-14)
- ⚡ Added
whereHas
method to models - 🌟 Added deep relation compatibility to
has
&whereHas
v0.6.2 - (2018-12-07)
- 🌟 Added more compatibility with
Foxify
error handling
v0.6.0 - (2018-12-04)
- ⚡ Added
has
to model queries (use with caution since it may have a negative impact on your performance)
v0.5.4 - (2018-12-03)
- ⚡ Added
Collection
to create collection and indexes
v0.5.0 - (2018-12-01)
- ⚡ 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 - (2018-11-16)
- ⚡ Added
embedMany
relation - 🌟 Improved
toJsonSchema
functionality
v0.3.0 - (2018-11-16)
- ⚡ Added
toJsonSchema
static method to Model so you can easily use it withFoxify
router schema option - 🌟 Improved throwing validation error for
Foxify
usage
v0.2.0 - (2018-11-14)
- ⚡ Added more advanced filtering ability to queries and joins
- ⚡ Added
numeral
toString
schema type - ⚡ Added
enum
toString
schema type
v0.1.0 - (2018-10-20)
- ⚡ Added model hook
created
v0.1.0-beta.16 - (2018-10-12)
- 🪲 Typescript bug fix
- 👓 Added windows os
v0.1.0-beta.15 - (2018-08-22)
- 🪲
Model
schema bug fix
v0.1.0-beta.14 - (2018-08-21)
- 🪲
Model
none safe delete models query bug fix - 🪲
GraphQL
error handling bug fix
v0.1.0-beta.13 - (2018-08-21)
- 🪲
GraphQL
query bug fix
v0.1.0-beta.12 - (2018-08-21)
- 🪲
Model
safe deleting bug fix
v0.1.0-beta.11 - (2018-08-21)
- 🪲
GraphQL
mutations bug fix
v0.1.0-beta.10 - (2018-08-21)
- 🪲
GraphQL
schema typeDate
bug fix
v0.1.0-beta.9 - (2018-08-21)
- 🌟
UPDATED_AT
andDELETED_AT
is applied - 🪲
GraphQL
restore bug fix
v0.1.0-beta.8 - (2018-08-21)
- 🪲
GraphQL
query bug fix
v0.1.0-beta.7 - (2018-08-21)
- 🪲
GraphQL
query bug fix
v0.1.0-beta.6 - (2018-08-21)
- 💥
GraphQL
change insert single to create single (eq.insert_user
=>create_user
) - 💥
GraphQL
changedata
argument toquery
v0.1.0-beta.5 - (2018-08-16)
- 🌟 Some enhancements
- 👓 Added some tests
v0.1.0-beta.4 - (2018-05-24)
- ⚡ Added
morphOne
relation - ⚡ Added
morphMany
relation - 🌟 Improved
join
operation (#1) - 👓 Added some tests
v0.1.0-beta.2 - (2018-05-18)
- ⚡ Added
create
operation to relations
v0.1.0-beta.1 - (2018-05-17)
- 🎉 First Release