Skip to content

Commit 4a3fd1a

Browse files
Prepare v0.69.0 release (#7076)
Signed-off-by: Ashutosh Narkar <[email protected]>
1 parent af8f915 commit 4a3fd1a

File tree

4 files changed

+5108
-2
lines changed

4 files changed

+5108
-2
lines changed

CHANGELOG.md

+65-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,71 @@
33
All notable changes to this project will be documented in this file. This
44
project adheres to [Semantic Versioning](http://semver.org/).
55

6-
## Unreleased
6+
## 0.69.0
7+
8+
This release contains a mix of features, bugfixes and necessary tooling and test changes required to support the upcoming OPA `1.0` release.
9+
10+
11+
### Inter-Query Value Cache ([#6908](https://github.com/open-policy-agent/opa/issues/6908))
12+
13+
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
14+
compute and can be reused across multiple queries. The cache can be leveraged by built-in functions to store values
15+
that otherwise aren't appropriate for the existing inter-query cache; for instance when the entry size isn't an
16+
appropriate or primary limiting factor for cache eviction.
17+
18+
The default size of the inter-query value cache is unbounded, but can be configured via the
19+
`caching.inter_query_builtin_value_cache.max_num_entries` configuration field. OPA will drop random items from the cache
20+
if this limit is exceeded.
21+
22+
The cache is used by the `regex` and `glob` built-in functions, which previously had individual, non-configurable
23+
caches with a max entry size of `100` each.
24+
25+
Currently, the cache is only exercised when running OPA in server mode (ie. `opa run -s`). Also this feature is unsupported
26+
for WASM.
27+
28+
Authored by @ashutosh-narkar, reported by @amirsalarsafaei
29+
30+
### Topdown and Rego
31+
32+
- Future-proofing tests in the `ast`, `topdown`, `rego` etc. packages to be `1.0` compatible (authored by @johanfylling)
33+
- ast: Attach annotation to static part of rule ref ([#7050](https://github.com/open-policy-agent/opa/issues/7050)) authored by @anderseknert
34+
- ast: Make `Module.String()` include `if`/`contains` for v1 modules ([#6973](https://github.com/open-policy-agent/opa/issues/6973)) authored by @johanfylling reported by @nikpivkin
35+
- topdown/http: Stop `http.send` latency timer when an error is encountered ([#7007](https://github.com/open-policy-agent/opa/pull/7007)) authored by @lukyer
36+
- ast/compile: Refactor local variable replacement and replace declared variables in `with`'s target ([#6979](https://github.com/open-policy-agent/opa/issues/6979)) authored by @srenatus reported by @bluebrown
37+
- ast: Update type checker to cache schema types ([#6970](https://github.com/open-policy-agent/opa/pull/6970)) authored by @nikpivkin
38+
- test: Fix indentation in a YAML test case ([#7039](https://github.com/open-policy-agent/opa/pull/7039)) authored by @matajoh
39+
- format: Bracketing keyword ref elements in formatter output ([#7010](https://github.com/open-policy-agent/opa/pull/7010)) authored by @johanfylling
40+
41+
### Runtime, Tooling, SDK
42+
43+
- Future-proofing tests in the `sdk`, `downlaod`, `server` , `cmd` etc. packages to be `1.0` compatible (authored by @johanfylling)
44+
- cmd: Add `--v0-compatible` flag to make OPA behave as `v0.x` post `v1.0` release ([#7065](https://github.com/open-policy-agent/opa/pull/7065)) authored by @johanfylling
45+
- util: Strip UTF-8 BOM from input JSON when found ([#6988](https://github.com/open-policy-agent/opa/issues/6988)) authored by @anderseknert reported by @adhilto
46+
- plugins/rest: Support reading AWS token from the filesystem for the AWS container credential provider ([#6997](https://github.com/open-policy-agent/opa/pull/6997)) authored by @cmaddalozzo
47+
- debug: Add `RegoOption` launch option to debugger for setting custom Rego options ([#7045](https://github.com/open-policy-agent/opa/issues/7045)) authored by @johanfylling
48+
- debug: Always include `Input` and `Data` variable scopes to ease discoverability of the scopes ([#7074](https://github.com/open-policy-agent/opa/pull/7074)) authored by @johanfylling
49+
- wasm: Fix arithmetic comparison for large numbers, caused by an integer overflow ([#6991](https://github.com/open-policy-agent/opa/issues/6991)) authored by @Ptroger
50+
51+
### Docs, Website, Ecosystem
52+
53+
- Add Marsh McLennan to adopters ([#7060](https://github.com/open-policy-agent/opa/issues/7060)) authored by @anderseknert reported by @pratimsc
54+
- Add APIwiz to adopters ([#7067](https://github.com/open-policy-agent/opa/pull/7067)) authored by @anderseknert
55+
- docs: Fix misnomer in OPA-Istio tutorial to document Istio's AuthorizationPolicy API ([#6984](https://github.com/open-policy-agent/opa/pull/6984)) authored by @tjons
56+
- docs: Readme updates to highlight more up-to-date information about OPA ([#7066](https://github.com/open-policy-agent/opa/pull/7066)) authored by @charlieegan3
57+
- docs: Update documentation to show Debug API uses ([#7036](https://github.com/open-policy-agent/opa/pull/7036)) authored by @charlieegan3
58+
- docs: Simplify the OPA-Istio tutorial example policy ([#7059](https://github.com/open-policy-agent/opa/pull/7059)) authored by @anderseknert
59+
- website: Update policy examples on the OPA home page to be `1.0` compatible ([#7033](https://github.com/open-policy-agent/opa/pull/7033)) authored by @charlieegan3
60+
61+
### Miscellaneous
62+
63+
- build: Bump github.com/golang/glob, remove replace directive ([#7024](https://github.com/open-policy-agent/opa/issues/7024)) authored by @srenatus reported by @mmannerm
64+
- Dependency updates; notably:
65+
- build(deps): bump github.com/containerd/containerd from 1.7.21 to 1.7.22
66+
- build(deps): bump github.com/prometheus/client_golang from 1.20.2 to 1.20.4
67+
- build(deps): bump go.uber.org/automaxprocs from 1.5.3 to 1.6.0
68+
- build(deps): bump golang.org/x/net from 0.28.0 to 0.29.0
69+
- build(deps): bump google.golang.org/grpc from 1.66.0 to 1.67.0
70+
- build(go): bump 1.22.5 to 1.23.1 ([#7006](https://github.com/open-policy-agent/opa/pull/7006)) authored by @srenatus
771

872
## 0.68.0
973

0 commit comments

Comments
 (0)