UNPKG

4.92 kBMarkdownView Raw
1# Changelog
2
3## Emojis
4
5- New Features -> :zap:
6- Enhancements -> :star2:
7- Breaking Changes -> :boom:
8- Bugs -> :beetle:
9- Pull Requests -> :book:
10- Documents -> :mortar_board:
11- Tests -> :eyeglasses:
12
13---
14
15## [v0.8.0](https://github.com/foxifyjs/odin/releases/tag/v0.8.0) - *(2018-12-27)*
16
17- :beetle: Fixed `embedMany` relation bug
18- :beetle: Fixed not applying `withTrashed` to relations
19- :boom: `Types` is now a peerDependency ([`@foxify/schema`](https://github.com/foxifyjs/schema)) which needs to be installed!
20- :eyeglasses: Added `embedMany` tests
21- :eyeglasses: Added `Node.js` version `11` to tests
22
23## [v0.7.0](https://github.com/foxifyjs/odin/releases/tag/v0.7.0) - *(2018-12-14)*
24
25- :zap: Added `whereHas` method to models
26- :star2: Added deep relation compatibility to `has` & `whereHas`
27
28## [v0.6.2](https://github.com/foxifyjs/odin/releases/tag/v0.6.2) - *(2018-12-07)*
29
30- :star2: Added more compatibility with [`Foxify`](https://github.com/foxifyjs/foxify) error handling
31
32## [v0.6.0](https://github.com/foxifyjs/odin/releases/tag/v0.6.0) - *(2018-12-04)*
33
34- :zap: Added `has` to model queries (use with caution since it may have a negative impact on your performance)
35
36## [v0.5.4](https://github.com/foxifyjs/odin/releases/tag/v0.5.4) - *(2018-12-03)*
37
38- :zap: Added `Collection` to create collection and indexes
39
40## [v0.5.0](https://github.com/foxifyjs/odin/releases/tag/v0.5.0) - *(2018-12-01)*
41
42- :zap: Added deep relation loading ability
43- :zap: Added `lean` method to model queries to skip creating model instances
44- :star2: Improved model static method `toJsonSchema` functionality
45- :star2: Improved model hook `created`
46
47## [v0.4.0](https://github.com/foxifyjs/odin/releases/tag/v0.4.0) - *(2018-11-16)*
48
49- :zap: Added `embedMany` relation
50- :star2: Improved `toJsonSchema` functionality
51
52## [v0.3.0](https://github.com/foxifyjs/odin/releases/tag/v0.3.0) - *(2018-11-16)*
53
54- :zap: Added `toJsonSchema` static method to Model so you can easily use it with `Foxify` router schema option
55- :star2: Improved throwing validation error for `Foxify` usage
56
57## [v0.2.0](https://github.com/foxifyjs/odin/releases/tag/v0.2.0) - *(2018-11-14)*
58
59- :zap: Added more advanced filtering ability to queries and joins
60- :zap: Added `numeral` to `String` schema type
61- :zap: Added `enum` to `String` schema type
62
63## [v0.1.0](https://github.com/foxifyjs/odin/releases/tag/v0.1.0) - *(2018-10-20)*
64
65- :zap: Added model hook `created`
66
67## [v0.1.0-beta.16](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.16) - *(2018-10-12)*
68
69- :beetle: Typescript bug fix
70- :eyeglasses: Added windows os
71
72## [v0.1.0-beta.15](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.15) - *(2018-08-22)*
73
74- :beetle: `Model` schema bug fix
75
76## [v0.1.0-beta.14](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.14) - *(2018-08-21)*
77
78- :beetle: `Model` none safe delete models query bug fix
79- :beetle: `GraphQL` error handling bug fix
80
81## [v0.1.0-beta.13](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.13) - *(2018-08-21)*
82
83- :beetle: `GraphQL` query bug fix
84
85## [v0.1.0-beta.12](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.12) - *(2018-08-21)*
86
87- :beetle: `Model` safe deleting bug fix
88
89## [v0.1.0-beta.11](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.11) - *(2018-08-21)*
90
91- :beetle: `GraphQL` mutations bug fix
92
93## [v0.1.0-beta.10](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.10) - *(2018-08-21)*
94
95- :beetle: `GraphQL` schema type `Date` bug fix
96
97## [v0.1.0-beta.9](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.9) - *(2018-08-21)*
98
99- :star2: `UPDATED_AT` and `DELETED_AT` is applied
100- :beetle: `GraphQL` restore bug fix
101
102## [v0.1.0-beta.8](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.8) - *(2018-08-21)*
103
104- :beetle: `GraphQL` query bug fix
105
106## [v0.1.0-beta.7](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.7) - *(2018-08-21)*
107
108- :beetle: `GraphQL` query bug fix
109
110## [v0.1.0-beta.6](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.6) - *(2018-08-21)*
111
112- :boom: `GraphQL` change insert single to create single (eq. `insert_user` => `create_user`)
113- :boom: `GraphQL` change `data` argument to `query`
114
115## [v0.1.0-beta.5](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.5) - *(2018-08-16)*
116
117- :star2: Some enhancements
118- :eyeglasses: Added some tests
119
120## [v0.1.0-beta.4](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.4) - *(2018-05-24)*
121
122- :zap: Added `morphOne` relation
123- :zap: Added `morphMany` relation
124- :star2: Improved `join` operation ([#1](https://github.com/foxifyjs/odin/issues/1))
125- :eyeglasses: Added some tests
126
127## [v0.1.0-beta.2](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.2) - *(2018-05-18)*
128
129- :zap: Added `create` operation to relations
130
131## [v0.1.0-beta.1](https://github.com/foxifyjs/odin/releases/tag/v0.1.0-beta.1) - *(2018-05-17)*
132
133- :tada: First Release