Skip to content

Commit 093bdc8

Browse files
github-actions[bot]srenatus
authored andcommitted
Version Packages
1 parent 3920db7 commit 093bdc8

File tree

3 files changed

+27
-26
lines changed

3 files changed

+27
-26
lines changed

.changeset/tiny-tools-share.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

packages/ucast-prisma/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# @styra/ucast-prisma
22

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+
329
## 0.0.3
430

531
### Patch Changes

packages/ucast-prisma/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@styra/ucast-prisma",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/StyraInc/opa-typescript.git",

0 commit comments

Comments
 (0)