Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 29, 2025

Bumps github.com/open-policy-agent/opa from 1.6.0 to 1.9.0.

Release notes

Sourced from github.com/open-policy-agent/opa's releases.

v1.9.0

This release contains a mix of new features, performance improvements, and bugfixes. Notably:

  • Compile API extensions ported from EOPA
  • Improved rule indexing

Compile Rego Queries Into SQL Filters (#7887)

Compile API extensions with support for SQL filter generation previously exclusive to EOPA has been ported into OPA.

Example

With OPA running with this policy, we'll compile the query data.filters.include into SQL filters:

package filters
METADATA
scope: document
compile:
unknowns: [input.fruits]
include if input.fruits.name == input.favorite

Example Request
POST /v1/compile/filters/include HTTP/1.1
Content-Type: application/json
Accept: application/vnd.opa.sql.postgresql+json
{
  "input": {
    "favorite": "pineapple"
  }
}
Example Response
HTTP/1.1 200 OK
Content-Type: application/vnd.opa.sql.postgresql+json
{
  "result": {
    "query": "WHERE fruits.name = E'pineapple'"
  }
</tr></table> 

... (truncated)

Changelog

Sourced from github.com/open-policy-agent/opa's changelog.

1.9.0

This release contains a mix of new features, performance improvements, and bugfixes. Notably:

  • Compile API extensions ported from EOPA
  • Improved rule indexing

Compile Rego Queries Into SQL Filters (#7887)

Compile API extensions with support for SQL filter generation previously exclusive to EOPA has been ported into OPA.

Example

With OPA running with this policy, we'll compile the query data.filters.include into SQL filters:

package filters
METADATA
scope: document
compile:
unknowns: [input.fruits]
include if input.fruits.name == input.favorite

Example Request
POST /v1/compile/filters/include HTTP/1.1
Content-Type: application/json
Accept: application/vnd.opa.sql.postgresql+json
{
  "input": {
    "favorite": "pineapple"
  }
}
Example Response
HTTP/1.1 200 OK
Content-Type: application/vnd.opa.sql.postgresql+json
{
  "result": {
    "query": "WHERE fruits.name = E'pineapple'"
</tr></table> 

... (truncated)

Commits
  • c49e670 Prepare v1.9.0 release (#7940)
  • 3738431 rego: Add comprehensive WASM performance benchmarks (#7841)
  • e35e9a8 build(deps): bump the gha-dependencies group with 5 updates
  • 85a0e2a Compile API: switch to compile annotation key (#7936)
  • 9c1cf16 build(deps): bump the go-opentelemetry-io group across 1 directory with 7 upd...
  • c24ad37 plugin/decision: encoder return event same size as limit immediately (#7928)
  • 162edff docs: Add Style Guide to policy authoring docs (#7932)
  • 008c9da docs: Update references to cheat sheet and awesome-opa (#7930)
  • 1e999ec plugin/decision: correctly reconfigure limit based on buffer type (#7926)
  • d3d014d build(deps): bump the dependencies group across 2 directories with 12 updates
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Sep 29, 2025
@update-docs
Copy link

update-docs bot commented Sep 29, 2025

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/open-policy-agent/opa-1.9.0 branch from aeb5bf5 to d3f39d8 Compare September 30, 2025 07:39
@kobergj
Copy link
Collaborator

kobergj commented Sep 30, 2025

@dependabot rebase

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 30, 2025

Looks like this PR is already up-to-date with master! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@kobergj
Copy link
Collaborator

kobergj commented Sep 30, 2025

requires go bump:

err: exit status 1: stderr: go: ../../go.mod requires go >= 1.24.6 (running go 1.24.4; GOTOOLCHAIN=local)

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/open-policy-agent/opa-1.9.0 branch from d3f39d8 to 7cff1c2 Compare October 2, 2025 07:17
@kobergj
Copy link
Collaborator

kobergj commented Oct 2, 2025

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/open-policy-agent/opa-1.9.0 branch from 7cff1c2 to 40e9046 Compare October 2, 2025 11:26
@kobergj
Copy link
Collaborator

kobergj commented Oct 2, 2025

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/open-policy-agent/opa-1.9.0 branch from 40e9046 to 76d4dcf Compare October 2, 2025 12:28
@kobergj
Copy link
Collaborator

kobergj commented Oct 2, 2025

Still requires go-bump -> After Balch

@mmattel mmattel requested a review from mklos-kw October 15, 2025 12:26
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/open-policy-agent/opa-1.9.0 branch from 76d4dcf to 5086a50 Compare October 20, 2025 18:24
Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 1.6.0 to 1.9.0.
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](open-policy-agent/opa@v1.6.0...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/open-policy-agent/opa-1.9.0 branch from 5086a50 to bab87f6 Compare October 24, 2025 10:57
@sonarqubecloud
Copy link

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 3, 2025

Superseded by #11778.

@dependabot dependabot bot closed this Nov 3, 2025
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/open-policy-agent/opa-1.9.0 branch November 3, 2025 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants