|
3 | 3 | All notable changes to this project will be documented in this file. This
|
4 | 4 | project adheres to [Semantic Versioning](http://semver.org/).
|
5 | 5 |
|
6 |
| -## Unreleased |
| 6 | +## 0.70.0 |
| 7 | + |
| 8 | +This release contains a mix of features, performance improvements, and bugfixes. |
| 9 | + |
| 10 | +### Optimized read mode for OPA's in-memory store ([#7125](https://github.com/open-policy-agent/opa/pull/7125)) |
| 11 | + |
| 12 | +A new optimized read mode has been added to the default in-memory store, where data written to the store is eagerly converted |
| 13 | +to AST values (the data format used during evaluation). This removes the time spent converting raw data values to AST |
| 14 | +during policy evaluation, thereby improving performance. |
| 15 | + |
| 16 | +The memory footprint of the store will increase, as processed AST values generally take up more space in memory than the |
| 17 | +corresponding raw data values, but overall memory usage of OPA might remain more stable over time, as pre-converted data |
| 18 | +is shared across evaluations and isn't recomputed for each evaluation, which can cause spikes in memory usage. |
| 19 | + |
| 20 | +This mode can be enabled for `opa run`, `opa eval`, and `opa bench` by setting the `--optimize-store-for-read-speed` flag. |
| 21 | + |
| 22 | +More information about this feature can be found [here](https://www.openpolicyagent.org/docs/v0.70.0/policy-performance/#storage-optimization). |
| 23 | + |
| 24 | +Co-authored by @johanfylling and @ashutosh-narkar. |
| 25 | + |
| 26 | +### Topdown and Rego |
| 27 | +- topdown: Use new Inter-Query Value Cache for `json.match_schema` built-in function ([#7011](https://github.com/open-policy-agent/opa/issues/7011)) authored by @anderseknert reported by @lcarva |
| 28 | +- ast: Fix location text attribute for multi-value rules with generated body ([#7128](https://github.com/open-policy-agent/opa/issues/7128)) authored by @anderseknert |
| 29 | +- ast: Fix regression in `opa check` where a file that referenced non-provided schemas failed validation ([#7124](https://github.com/open-policy-agent/opa/pull/7124)) authored by @tjons |
| 30 | +- test/cases/testdata: Fix bug in test by replacing unification by explicit equality check ([#7093](https://github.com/open-policy-agent/opa/pull/7093)) authored by @matajoh |
| 31 | +- ast: Replace use of yaml.v2 library with yaml.v3. The earlier version would parse `yes`/`no` values as boolean. The usage of yaml.v2 in the parser was unintentional and now has been updated to yaml.v3 ([#7090](https://github.com/open-policy-agent/opa/issues/7090)) authored by @anderseknert |
| 32 | + |
| 33 | +### Runtime, Tooling, SDK |
| 34 | +- cmd: Make `opa check` respect `--ignore` when `--bundle` flag is set ([#7136](https://github.com/open-policy-agent/opa/issues/7136)) authored by @anderseknert |
| 35 | +- server/writer: Properly handle result encoding errors which earlier on failure would emit logs such as `superfluous call to WriteHeader()` while still returning `200` HTTP status code. Now, errors encoding the payload properly lead to `500` HTTP status code, without extra logs. Also use Header().Set() not Header().Add() to avoid duplicate content-type headers ([#7114](https://github.com/open-policy-agent/opa/pull/7114)) authored by @srenatus |
| 36 | +- cmd: Support `file://` format for TLS key material file flags in `opa run` ([#7094](https://github.com/open-policy-agent/opa/pull/7094)) authored by @alexrohozneanu |
| 37 | +- plugins/rest/azure: Support managed identity for App Service / Container Apps ([#7085](https://github.com/open-policy-agent/opa/issues/7085)) reported and authored by @apc-kamezaki |
| 38 | +- debug: Fix step-over behaviour when exiting partial rules ([#7096](https://github.com/open-policy-agent/opa/pull/7096)) authored by @johanfylling |
| 39 | +- util+plugins: Fix potential memory leaks with explicit timer cancellation ([#7089](https://github.com/open-policy-agent/opa/pull/7089)) authored by @philipaconrad |
| 40 | + |
| 41 | +### Docs, Website, Ecosystem |
| 42 | +- docs: Fix OCI example with updated flag used by the ORAS CLI ([#7130](https://github.com/open-policy-agent/opa/pull/7130)) authored by @b3n3d17 |
| 43 | +- docs: Delete Atom editor from supported editor integrations ([#7111](https://github.com/open-policy-agent/opa/pull/7111)) authored by @KaranbirSingh7 |
| 44 | +- docs/website: Add Styra OPA ASP.NET Core SDK integration ([#7073](https://github.com/open-policy-agent/opa/pull/7073)) authored by @philipaconrad |
| 45 | +- docs/website: Update compatibility information on the rego-cpp integration ([#7078](https://github.com/open-policy-agent/opa/pull/7078)) authored by @matajoh |
| 46 | + |
| 47 | +### Miscellaneous |
| 48 | +- Dependency updates; notably: |
| 49 | + - build(deps): bump github.com/containerd/containerd from 1.7.22 to 1.7.23 |
| 50 | + - build(deps): bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 |
| 51 | + - build(deps): bump golang.org/x/net from 0.29.0 to 0.30.0 |
| 52 | + - build(deps): bump golang.org/x/time from 0.6.0 to 0.7.0 |
| 53 | + - build(deps): bump google.golang.org/grpc from 1.67.0 to 1.67.1 |
7 | 54 |
|
8 | 55 | ## 0.69.0
|
9 | 56 |
|
|
0 commit comments