|
1 | 1 | # Changelog |
2 | 2 |
|
3 | 3 | ## [Unreleased] |
| 4 | + |
| 5 | +### Fixed |
| 6 | + |
| 7 | +- ZModel validation issues when accessing fields defined in a base model from `future().` or `this.`. |
| 8 | + |
| 9 | +## 2.5.0 |
| 10 | + |
4 | 11 | ### Added |
5 | | -- A new `path` parameter to the `@@validate` attribute for providing an optional path to the field that caused the error. |
| 12 | + |
| 13 | +- A new `path` parameter to the `@@validate` attribute for providing an optional path to the field that caused the error. |
6 | 14 |
|
7 | 15 | ## 2.4.0 |
| 16 | + |
8 | 17 | ### Added |
9 | | -- The `uuid()` function is updated to support the new UUID version feature from Prisma. |
10 | 18 |
|
11 | | -## 2.3.0 |
| 19 | +- The `uuid()` function is updated to support the new UUID version feature from Prisma. |
| 20 | + |
| 21 | +## 2.3.0 |
| 22 | + |
12 | 23 | ### Added |
13 | | -- New `check()` policy rule function. |
| 24 | + |
| 25 | +- New `check()` policy rule function. |
14 | 26 |
|
15 | 27 | ### Fixed |
16 | | -- Fixed the issue with formatting schemas containing `Unsupported` type. |
| 28 | + |
| 29 | +- Fixed the issue with formatting schemas containing `Unsupported` type. |
17 | 30 |
|
18 | 31 | ## 2.2.0 |
| 32 | + |
19 | 33 | ### Added |
20 | | -- Support comparing fields from different models in mutation policy rules ("create", "update", and "delete). |
| 34 | + |
| 35 | +- Support comparing fields from different models in mutation policy rules ("create", "update", and "delete). |
21 | 36 |
|
22 | 37 | ## 2.1.0 |
| 38 | + |
23 | 39 | ### Added |
24 | | -- Support using ZModel type names (e.g., `DateTime`) as model field names. |
25 | | -- `auth()` is resolved from all reachable schema files. |
| 40 | + |
| 41 | +- Support using ZModel type names (e.g., `DateTime`) as model field names. |
| 42 | +- `auth()` is resolved from all reachable schema files. |
26 | 43 |
|
27 | 44 | ## 2.0.0 |
| 45 | + |
28 | 46 | ### Added |
29 | | -- ZenStack V2 release! |
| 47 | + |
| 48 | +- ZenStack V2 release! |
30 | 49 |
|
31 | 50 | ## 1.11.0 |
| 51 | + |
32 | 52 | ### Added |
33 | | -- Added support to complex usage of `@@index` attribute like `@@index([content(ops: raw("gin_trgm_ops"))], type: Gin)`. |
| 53 | + |
| 54 | +- Added support to complex usage of `@@index` attribute like `@@index([content(ops: raw("gin_trgm_ops"))], type: Gin)`. |
| 55 | + |
34 | 56 | ### Fixed |
35 | | -- Fixed several ZModel validation issues related to model inheritance. |
| 57 | + |
| 58 | +- Fixed several ZModel validation issues related to model inheritance. |
36 | 59 |
|
37 | 60 | ## 1.7.0 |
38 | 61 |
|
|
0 commit comments