OPA now has a new inter-query value cache added to the SDK. It is intended to be used for values that are expensive to compute and can be reused across multiple queries. The cache can be leveraged by built-in functions to store values that otherwise aren't appropriate for the existing inter-query cache; for instance when the entry size isn't an appropriate or primary limiting factor for cache eviction.
The default size of the inter-query value cache is unbounded, but can be configured via the caching.inter_query_builtin_value_cache.max_num_entries configuration field. OPA will drop random items from the cache if this limit is exceeded.
The cache is used by the regex and glob built-in functions, which previously had individual, non-configurable caches with a max entry size of 100 each.
Currently, the cache is only exercised when running OPA in server mode (ie. opa run -s). Also this feature is unsupported for WASM.
topdown/http: Stop http.send latency timer when an error is encountered (#7007) authored by @lukyer
ast/compile: Refactor local variable replacement and replace declared variables in with's target (#6979) authored by @srenatus reported by @bluebrown
ast: Update type checker to cache schema types (#6970) authored by @nikpivkin
test: Fix indentation in a YAML test case (#7039) authored by @matajoh
format: Bracketing keyword ref elements in formatter output (#7010) authored by @johanfylling
Runtime, Tooling, SDK
Future-proofing tests in the sdk, downlaod, server , cmd etc. packages to be 1.0 compatible (authored by @johanfylling)
cmd: Add --v0-compatible flag to make OPA behave as v0.x post v1.0 release (#7065) authored by @johanfylling
OPA now has a new inter-query value cache added to the SDK. It is intended to be used for values that are expensive to
compute and can be reused across multiple queries. The cache can be leveraged by built-in functions to store values
that otherwise aren't appropriate for the existing inter-query cache; for instance when the entry size isn't an
appropriate or primary limiting factor for cache eviction.
The default size of the inter-query value cache is unbounded, but can be configured via the
caching.inter_query_builtin_value_cache.max_num_entries configuration field. OPA will drop random items from the cache
if this limit is exceeded.
The cache is used by the regex and glob built-in functions, which previously had individual, non-configurable
caches with a max entry size of 100 each.
Currently, the cache is only exercised when running OPA in server mode (ie. opa run -s). Also this feature is unsupported
for WASM.
topdown/http: Stop http.send latency timer when an error is encountered (#7007) authored by @lukyer
ast/compile: Refactor local variable replacement and replace declared variables in with's target (#6979) authored by @srenatus reported by @bluebrown
ast: Update type checker to cache schema types (#6970) authored by @nikpivkin
test: Fix indentation in a YAML test case (#7039) authored by @matajoh
format: Bracketing keyword ref elements in formatter output (#7010) authored by @johanfylling
Runtime, Tooling, SDK
Future-proofing tests in the sdk, downlaod, server , cmd etc. packages to be 1.0 compatible (authored by @johanfylling)
cmd: Add --v0-compatible flag to make OPA behave as v0.x post v1.0 release (#7065) authored by @johanfylling
Updates google.golang.org/protobuf from 1.34.2 to 1.35.1
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the all-go-mod-patch-and-minor group with 8 updates in the / directory:
1.1.0
1.1.1
0.68.0
0.69.0
0.68.0-envoy-4
0.69.0-envoy
1.17.3
1.18.0
0.27.0
0.28.0
0.29.0
0.30.0
0.6.0
0.7.0
1.34.2
1.35.1
Updates
github.com/andybalholm/brotli
from 1.1.0 to 1.1.1Commits
57434b5
Encoder: check for empty block97e8583
matchfinder.M4: some refinements to scoringUpdates
github.com/open-policy-agent/opa
from 0.68.0 to 0.69.0Release notes
Sourced from github.com/open-policy-agent/opa's releases.
... (truncated)
Changelog
Sourced from github.com/open-policy-agent/opa's changelog.
... (truncated)
Commits
4a3fd1a
Prepare v0.69.0 release (#7076)af8f915
Addmirror
linter71ab7ba
debug: Always includingInput
andData
variable scopese16f22a
docs: Another minor update to README.md (#7072)27dcd29
rego-v1: Future-proofing misc tests to be 1.0 compatible0385717
build(deps): bump actions/checkout from 4.1.7 to 4.2.0 (#7069)5cbc1e0
topdown: glob|regex code nitpicks (#7071)4ba95d0
format: Bracketing keyword ref elements in formatter output (#7010)6148b0b
Add APIwiz to adopters (#7067)c487e39
docs: Update generated CLI docsUpdates
github.com/open-policy-agent/opa-envoy-plugin
from 0.68.0-envoy-4 to 0.69.0-envoyRelease notes
Sourced from github.com/open-policy-agent/opa-envoy-plugin's releases.
Commits
420d0d0
build(deps): bump github.com/open-policy-agent/opa from 0.68.0 to 0.69.0df3f81c
cmd: avoid panic when starting with a bad config (#598)35d872f
build(deps): bump google.golang.org/grpc from 1.66.2 to 1.67.0840ae78
build(deps): bump github.com/prometheus/client_golangf16fcd7
set invalid request status if request parsing failsdc328ea
build(deps): bump google.golang.org/grpc from 1.66.1 to 1.66.2cc89e9a
build(deps): bump golang.org/x/tools from 0.24.0 to 0.25.014bc09d
build(deps): bump google.golang.org/grpc from 1.66.0 to 1.66.10820cbe
build(deps): bump github.com/prometheus/client_golangUpdates
github.com/tidwall/gjson
from 1.17.3 to 1.18.0Commits
133f42c
Generally faster parsing92dff34
Update README.mdUpdates
golang.org/x/crypto
from 0.27.0 to 0.28.0Commits
adef4cc
go.mod: update golang.org/x dependenciesa0819fb
sha3: fix cSHAKE initialization for extremely large N and or S42ee18b
ssh: return ServerAuthError after too many auth failures9e92970
bn256: add missing symbols in commentUpdates
golang.org/x/net
from 0.29.0 to 0.30.0Commits
6cc5ac4
go.mod: update golang.org/x dependenciesf88258d
websocket: update nhooyr.io/websocket to github.com/coder/websocket7191757
http2: add support for net/http HTTP2 config field4790dc7
http2: add support for server-originated pings541dbe5
http2: add Server.WriteByteTimeout3c333c0
route: fix address parsing of messages on DarwinUpdates
golang.org/x/term
from 0.24.0 to 0.25.0Commits
9d5441a
go.mod: update golang.org/x dependenciesUpdates
golang.org/x/time
from 0.6.0 to 0.7.0Commits
772484e
x/time/rate: correctly handle 0 limitsUpdates
google.golang.org/protobuf
from 1.34.2 to 1.35.1Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show