renovate-bot opened a new pull request, #3634: URL: https://github.com/apache/polaris/pull/3634
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [docker.io/openpolicyagent/opa](https://images.chainguard.dev/directory/image/glibc-dynamic/overview) ([source](https://redirect.github.com/open-policy-agent/opa)) | final | minor | `1.12.3` → `1.13.1` | --- ### Release Notes <details> <summary>open-policy-agent/opa (docker.io/openpolicyagent/opa)</summary> ### [`v1.13.1`](https://redirect.github.com/open-policy-agent/opa/blob/HEAD/CHANGELOG.md#1131) [Compare Source](https://redirect.github.com/open-policy-agent/opa/compare/v1.13.0...v1.13.1) This bug fix release addresses an issue found in the new `array.flatten` built-in function - Fix issue in `array.flatten` handling of single item arrays ( [#​8273](https://redirect.github.com/open-policy-agent/opa/issues/8273)) ([#​8272](https://redirect.github.com/open-policy-agent/opa/issues/8272)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) ### [`v1.13.0`](https://redirect.github.com/open-policy-agent/opa/blob/HEAD/CHANGELOG.md#1130) [Compare Source](https://redirect.github.com/open-policy-agent/opa/compare/v1.12.3...v1.13.0) This release contains a mix of new features, performance improvements, and bugfixes. Notably: - A new `immediate` upload trigger mode - A new `array.flatten` built-in function - Numerous performance improvements ##### Immediate Upload Trigger Mode in Decision Logger ([#​8110](https://redirect.github.com/open-policy-agent/opa/issues/7455)) An `immediate` trigger mode has been added to the Decision Logger; enabled by setting the `decision_logs.reporting.trigger` [configuration option](https://www.openpolicyagent.org/docs/configuration#decision-logs) to `immediate`. When enabled, log events are pushed to the log service as soon as the configured upload chunk size criteria is met; or, at latest, when the configured upload delay is reached. Authored by [@​sspaink](https://redirect.github.com/sspaink) ##### Runtime, SDK, Tooling - cmd/fmt: Do not overwrite file on `fmt` without changes ([#​8222](https://redirect.github.com/open-policy-agent/opa/issues/8222)) authored by [@​Loic-R](https://redirect.github.com/Loic-R) - cmd/test: Enable sorting JSON test results by duration ([#​7444](https://redirect.github.com/open-policy-agent/opa/issues/7444)) authored by [@​sspaink](https://redirect.github.com/sspaink) - profiler: `nil` `*Profiler` should not report `Enabled()` ([#​8256](https://redirect.github.com/open-policy-agent/opa/pull/8256)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - rego: Add Data function to simplify adding data from map ([#​5961](https://redirect.github.com/open-policy-agent/opa/issues/5961)) authored by [@​majiayu000](https://redirect.github.com/majiayu000) reported by [@​anderseknert](https://redirect.github.com/anderseknert) - runtime: Correct naming & docs for version checking ([#​8191](https://redirect.github.com/open-policy-agent/opa/pull/8191)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) ##### Compiler, Topdown and Rego - ast: `Body.String()` doesn't panic on empty body ([#​8244](https://redirect.github.com/open-policy-agent/opa/pull/8244)) authored by [@​srenatus](https://redirect.github.com/srenatus) - ast: Improve type error message when referencing functions ([#​6840](https://redirect.github.com/open-policy-agent/opa/issues/6840)) authored by [@​sspaink](https://redirect.github.com/sspaink) - ast: Type Checker recognizes when a variable has multiple assignments but is an undefined function ([#​7463](https://redirect.github.com/open-policy-agent/opa/issues/7463)) authored by [@​sspaink](https://redirect.github.com/sspaink) reported by [@​anderseknert](https://redirect.github.com/anderseknert) - ast/parser: Avoid duplicate loc copies ([#​8142](https://redirect.github.com/open-policy-agent/opa/pull/8142)) authored by [@​srenatus](https://redirect.github.com/srenatus) - topdown: Add `array.flatten` built-in function ([#​8226](https://redirect.github.com/open-policy-agent/opa/issues/8226)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - topdown: Fix issue where `numbers.range_step` built-in could erroneously return `undefined` value ([#​8194](https://redirect.github.com/open-policy-agent/opa/pull/8194)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - topdown: Remove hard-coded missing key error in `strings.render_template` built-in ([#​7931](https://redirect.github.com/open-policy-agent/opa/issues/7931)) authored by [@​colinjlacy](https://redirect.github.com/colinjlacy) reported by [@​anderseknert](https://redirect.github.com/anderseknert) - topdown: Re-introduce cancellation-awareness for `regex.replace` built-in ([#​8179](https://redirect.github.com/open-policy-agent/opa/pull/8179)) authored by [@​srenatus](https://redirect.github.com/srenatus)\ from having been reverted in v1.12.1 - topdown: Support arrays as input for `json.match_schema` ([#​6615](https://redirect.github.com/open-policy-agent/opa/issues/6615)) authored by [@​sspaink](https://redirect.github.com/sspaink) reported by [@​mscudlik](https://redirect.github.com/mscudlik) ##### Performance - ast: Improved annotations parsing ([#​8210](https://redirect.github.com/open-policy-agent/opa/pull/8210)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - ast: Reinstate zero-alloc paths in `Ref.String()` ([#​8202](https://redirect.github.com/open-policy-agent/opa/pull/8202)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - ast: Replace regex implementation in `IsVarCompatibleString` ([#​8164](https://redirect.github.com/open-policy-agent/opa/pull/8164)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - ast: Optimize `Set.Intersect` and `Set.Diff` ([#​8167](https://redirect.github.com/open-policy-agent/opa/pull/8167)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - ast: Optimize `Set.Union` ([#​8172](https://redirect.github.com/open-policy-agent/opa/pull/8172)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - ast: Reduce allocations in `Expr.MarshalJSON` ([#​8204](https://redirect.github.com/open-policy-agent/opa/pull/8204)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - ast: Reduce allocations in `Rule.MarshalJSON` ([#​8205](https://redirect.github.com/open-policy-agent/opa/pull/8205)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - ast: Reduce allocations in `Term.MarshalJSON` ([#​8200](https://redirect.github.com/open-policy-agent/opa/pull/8200)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - ast: Reduce allocations in `With.MarshalJSON` ([#​8206](https://redirect.github.com/open-policy-agent/opa/pull/8206)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - perf: `String()` implementations using appenders ([#​8192](https://redirect.github.com/open-policy-agent/opa/pull/8192)) authored by [@​anderseknert](https://redirect.github.com/anderseknert) - topdown: Avoid redundancy in builtinTrim ([#​8237](https://redirect.github.com/open-policy-agent/opa/pull/8237)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - topdown: Eliminate closure allocations in Set and virtual doc enumeration ([#​8242](https://redirect.github.com/open-policy-agent/opa/pull/8242)) authored by [@​alex60217101990](https://redirect.github.com/alex60217101990) - topdown: Fast paths for `array.reverse` ([#​8177](https://redirect.github.com/open-policy-agent/opa/pull/8177)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - topdown: Optimize `json.remove` and `json.filter` ([#​8193](https://redirect.github.com/open-policy-agent/opa/pull/8193)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - topdown: Optimize `object` built-ins ([#​8175](https://redirect.github.com/open-policy-agent/opa/pull/8175)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - topdown: Optimize `union` built-in ([#​8173](https://redirect.github.com/open-policy-agent/opa/pull/8173)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - topdown: Pre-alloc in various built-ins ([#​8198](https://redirect.github.com/open-policy-agent/opa/pull/8198)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - topdown: Reduce allocs in float sum/product ([#​8235](https://redirect.github.com/open-policy-agent/opa/pull/8235)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - topdown: Skip set copy in `getObjectKeysParam` ([#​8176](https://redirect.github.com/open-policy-agent/opa/pull/8176)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) ##### Docs, Website, Ecosystem - docs: Add authz-spring-boot-starter to Spring Security API ecosystem entry ([#​8234](https://redirect.github.com/open-policy-agent/opa/pull/8234)) authored by [@​francois-eckert](https://redirect.github.com/francois-eckert) - docs: Add header for crypto example to make ([#​8259](https://redirect.github.com/open-policy-agent/opa/pull/8259)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Add notes for automated agents ([#​8147](https://redirect.github.com/open-policy-agent/opa/pull/8147), [#​8203](https://redirect.github.com/open-policy-agent/opa/pull/8203)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Add opa-wasm-zig to the ecosystem ([#​8163](https://redirect.github.com/open-policy-agent/opa/pull/8163)) authored by [@​burdzwastaken](https://redirect.github.com/burdzwastaken) - docs: Add scripts to import docs from source ([#​8148](https://redirect.github.com/open-policy-agent/opa/pull/8148)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Explain how to use the SDK without a initialising a server ([#​8248](https://redirect.github.com/open-policy-agent/opa/pull/8248)) authored by [@​andrewcameronsims](https://redirect.github.com/andrewcameronsims) - docs: Fix a number of redirecting links ([#​8165](https://redirect.github.com/open-policy-agent/opa/issues/8165) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - docs: Fix template-expression examples ([#​8199](https://redirect.github.com/open-policy-agent/opa/pull/8199)) authored by [@​johanfylling](https://redirect.github.com/johanfylling) - docs/ocp: Mention source prefix/path options ([#​8238](https://redirect.github.com/open-policy-agent/opa/pull/8238)) authored by [@​srenatus](https://redirect.github.com/srenatus) - website: Add redirect section for immutable referrers ([#​8262](https://redirect.github.com/open-policy-agent/opa/issues/8262)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) reported by [@​KraLeoD](https://redirect.github.com/KraLeoD) - website: Display 2025 survey results on the website ([#​8258](https://redirect.github.com/open-policy-agent/opa/pull/8258)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - website: Show breadcrumbs in search results ([#​8207](https://redirect.github.com/open-policy-agent/opa/pull/8207)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) ##### Miscellaneous - Decoupled the Rego job check from the Go job checks in the Github PR workflow ([#​8203](https://redirect.github.com/open-policy-agent/opa/pull/8203)) authored by [@​SeanLedford](https://redirect.github.com/SeanLedford) - build: Format `pr_check.rego` with `opa fmt` ([#​8201](https://redirect.github.com/open-policy-agent/opa/pull/8201)) authored by [@​thevilledev](https://redirect.github.com/thevilledev) - build: Migrate PR check to OPA policy ([#​8183](https://redirect.github.com/open-policy-agent/opa/pull/8183)) authored by [@​SeanLedford](https://redirect.github.com/SeanLedford) - build: Run `go get` against `main` to spot redacted ([#​8146](https://redirect.github.com/open-policy-agent/opa/pull/8146)) authored by [@​charlieegan3](https://redirect.github.com/charlieegan3) - deps: Switch to maintained `go.yaml.in/yaml/v3` yaml library ([#​8182](https://redirect.github.com/open-policy-agent/opa/pull/8182)) authored by [@​mrueg](https://redirect.github.com/mrueg) - test/cases: Increase yaml test coverage for some regex and string builtins ([#​8152](https://redirect.github.com/open-policy-agent/opa/pull/8152)) authored by [@​srenatus](https://redirect.github.com/srenatus) - Dependency updates; notably: - build: bump golang from 1.25.5 to 1.25.6 ([#​8224](https://redirect.github.com/open-policy-agent/opa/pull/8224)) authored by [@​srenatus](https://redirect.github.com/srenatus) - build(deps): bump go.opentelemetry.io deps from 1.38.0/0.63.0 to 1.39.0/0.64.0 - build(deps): bump klauspost/compress from v1.18.1 to v1.18.2 ([#​8184](https://redirect.github.com/open-policy-agent/opa/pull/8184)) authored by [@​srenatus](https://redirect.github.com/srenatus)\ because of redaction warning - build(deps): bump github.com/go-ini/ini from v1.67.0 to gopkg.in/ini.v1 v1.67.1 ([#​8208](https://redirect.github.com/open-policy-agent/opa/issues/8208)) authored by [@​gabrpt](https://redirect.github.com/gabrpt) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/apache/polaris). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Mi4xIiwidXBkYXRlZEluVmVyIjoiNDIuOTIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUtcG9sYXJpcyJdfQ==--> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
