OPA Release v0.32.0 #13
peteroneilljr
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This release includes a number of improvements and fixes.
💾 Disk-based Storage (Experimental)
This release adds a disk-based storage implementation to OPA. The implementation can be found in github.com/open-policy-agent/storage/disk. There is also an example in the
rego
package that shows how policies can be evaluated with the disk-based store. The disk-based store is currently only available as a library (i.e., it is not integrated into the rest of OPA yet.) In the next few releases, we are planning to integrate the implementation into the OPA server and provide tooling to help leverage the disk-based store.Built-in Functions
This release includes a few improvements to existing built-in functions:
http.send
function now supports UNIX domain sockets (#3661) authored by @kirk-pattonunits.parse_bytes
function now supports E* and P* units (#2911)io.jwt.encode_sign
function uses the built-in context randomization source (which is helpful for replay purposes)Server
This release includes multiple improvements for OPA server deployments in serverless environments:
trigger
configuration that can be set tomanual
orperiodic
(which is the default). Whenmanual
triggering is enabled, the plugins WILL NOT perform any periodic/background operations. Instead, the plugins will only execute when theTrigger
API is invoked.exclude-plugin
parameter to control which plugins are checked. #3713 authored by @gshively11.Tooling
allow_net
field to control whether network operations can be performed (#3746). This field is only used to control schema fetching today. In future versions of OPA, theallow_net
parameter will be used to control other behaviour likehttp.send
.WebAssembly runtime not supported
error message has been improved #3739.Rego
anyOf
andallOf
keywords in JSON schema support in the type checker (#3592) authored by @jchen10500 and @juliafriedman8.rego
package.Allowed() bool
) to therego.ResultSet
API.ast.Value
results from the store so that unnecessary conversions can be avoided.rego
package to make the wasmtime-go dependency optional at build-time (#3545).WebAssembly
Documentation
This release includes a number of documentation improvements:
opa_eval
arguments have been clarified #3699Infrastructure
Backwards Compatibility
The
rego
package no longer relies on build constraints to enable the Wasm runtime. Instead, library users must opt-in to Wasm runtime support by adding an import statement in the Go code:This change ensures that (by default) the wasmtime-go blobs are not vendored in projects that embed OPA as a library. If you are currently relying on the Wasm runtime support in the
rego
package (via therego.Target("wasm")
option), please update you code to include the import above. See #3545 for more details.Beta Was this translation helpful? Give feedback.
All reactions