File tree Expand file tree Collapse file tree 3 files changed +27
-26
lines changed Expand file tree Collapse file tree 3 files changed +27
-26
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# @styra/ucast-prisma
2
2
3
+ ## 0.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 3920db7: Introduce laxer handling of empty compound conditions
8
+
9
+ This aligns better with common Rego patterns, like using multi-value
10
+ rules for generating conditions:
11
+
12
+ ``` rego
13
+ conditions.or contains {"tickets.resolved": false} if { ... }
14
+ ```
15
+
16
+ If the RHS is not satisfied, the conditions would yield
17
+
18
+ ``` json
19
+ {
20
+ "conditions" : {
21
+ "or" : []
22
+ }
23
+ }
24
+ ```
25
+
26
+ and with this change, this will be valid. The condition itself is
27
+ going to be dropped.
28
+
3
29
## 0.0.3
4
30
5
31
### Patch Changes
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @styra/ucast-prisma" ,
3
- "version" : " 0.0.3 " ,
3
+ "version" : " 0.0.4 " ,
4
4
"repository" : {
5
5
"type" : " git" ,
6
6
"url" : " https://github.com/StyraInc/opa-typescript.git" ,
You can’t perform that action at this time.
0 commit comments