UNPKG

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