Skip to content

Commit 709f131

Browse files
committed
Release v1.44.0
Signed-off-by: Stephan Renatus <[email protected]>
1 parent 5c780cd commit 709f131

3 files changed

Lines changed: 6717 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,55 @@ In iteration-heavy policies, the speedups can be dramatic.
1111

1212
This optimization is now enabled by default, so your policies will immediately benefit upon upgrading to the latest Enterprise OPA version.
1313

14+
15+
## v1.44.0
16+
17+
[![OPA v1.9.0](https://openpolicyagent.org/badge/v1.9.0)](https://github.com/open-policy-agent/opa/releases/tag/v1.9.0)
18+
[![Regal v0.36.1](https://img.shields.io/github/v/release/open-policy-agent/regal?filter=v0.36.1&label=Regal)](https://github.com/open-policy-agent/regal/releases/tag/v0.36.1)
19+
20+
This release pulls in [OPA v1.9.0](https://github.com/open-policy-agent/opa/releases/tag/v1.9.0) and the latest Regal release, [v0.36.1](https://github.com/open-policy-agent/regal/releases/tag/v0.36.1).
21+
22+
The Compile API extensions have been ported from EOPA to OPA, and are now feature in EOPA as a standard OPA feature.
23+
Concretely, this means that the **headers** and **annotations** expected for Compile API usage need to follow the OPA requirements.
24+
If you have used EOPA's Compile API extensions to generate data filters before, you need to replace:
25+
26+
1. Compile metadata no longer resides in "custom section"
27+
28+
Before:
29+
30+
```rego
31+
package filters
32+
33+
# METADATA
34+
# scope: document
35+
# custom:
36+
# unknowns:
37+
# - input.fruits
38+
# mask_rule: masks
39+
```
40+
41+
After:
42+
43+
```rego
44+
package filters
45+
46+
# METADATA
47+
# scope: document
48+
# compile: # <-------- replace custom with compile
49+
# unknowns:
50+
# - input.fruits
51+
# mask_rule: masks
52+
```
53+
54+
(If you have other `custom` annotations, those can stay in the "custom" section. Only the compile-related keys have been moved into their own section.)
55+
56+
2. Headers
57+
58+
The target and dialect selection was driven by Accept headers.
59+
Previously, these used a prefix of "application/vnd.styra".
60+
Now, they use "application/vnd.opa", e.g. "application/vnd.opa.postgresql+json".
61+
62+
1463
## v1.43.2
1564

1665
[![OPA v1.8.0](https://openpolicyagent.org/badge/v1.8.0)](https://github.com/open-policy-agent/opa/releases/tag/v1.8.0)

build/version-badges.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ REGAL=$(go list -m github.com/open-policy-agent/regal | cut -d' ' -f2)
77
OPA=$(go list -m github.com/open-policy-agent/opa | cut -d' ' -f2)
88

99
cat <<EOF
10-
[![OPA ${OPA}](https://img.shields.io/endpoint?url=https://openpolicyagent.org/badge-endpoint/${OPA})](https://github.com/open-policy-agent/opa/releases/tag/${OPA})
10+
[![OPA ${OPA}](https://openpolicyagent.org/badge/${OPA})](https://github.com/open-policy-agent/opa/releases/tag/${OPA})
1111
[![Regal ${REGAL}](https://img.shields.io/github/v/release/open-policy-agent/regal?filter=${REGAL}&label=Regal)](https://github.com/open-policy-agent/regal/releases/tag/${REGAL})
1212
EOF

0 commit comments

Comments
 (0)