OPA v0.35.0 Release #78
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
Uh oh!
There was an error while loading. Please reload this page.
-
This release contains a number of fixes and enhancements.
Early Exit Optimization
This release adds an early exit optimization to the evaluator. With this optimization, the evaluator stops evaluating rules when an answer has been found and subsequent evaluation would not yield any new answers. The optimization is automatically applied to complete rules and functions that meet specific requirements. For more information see the Early Exit in Rule Evaluation section in the docs. #2092
Built-in Functions
net.lookup_ip_addr
function was added to allow policies to resolve hostnames to IPv4/IPv6 addresses (#3993)http.send
function has been improved to close TCP connections quickly after receiving the HTTP response and avoid creating HTTP clients unnecessarily when a cached response exists (#4015). This change reduces the number of open file descriptors required in high-throughput environments and prevents OPA from encountering ulimit errors.Rego
print()
calls in the head of rules no longer cause runtime errors (#3967)rego.SkipPartialNamespace
option now correctly sets the flag on the partial evaluation queries (previously it would always set the value totrue
) (#3996) authored by @thomascoquetimport
alias parsing bug identified by fuzzer (#3988)WebAssembly
grow()
call if theinput
document exceeds the available memory space.malloc()
implementation will now callopa_abort
if thegrow()
call fails.Server
print()
calls from thesystem.authz
policy are now included in the logs (#4048)Tooling
opa fmt
command will not generate a line-break when there are generated variables in a function call (#4018) reported by @torsrexopa inspect
command no longer prints a blank namespace when a data.json file is included at the root (#4022)opa build
command will output debug messages if an optimized entrypoint is discarded.Website and Documentation
urlquery
built-in functions have been clarified (#1592) reported by @klaroseCI
Makefile
can now produce Docker images for other architectures. We do not yet publish binaries or images for non-amd64 architectures however if you want to build OPA yourself, theMakefile
does not prohibit it.Backwards Compatibility
Beta Was this translation helpful? Give feedback.
All reactions