Skip to content

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Aug 7, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/open-policy-agent/opa v1.6.0 -> v1.9.0 age confidence

Release Notes

open-policy-agent/opa (github.com/open-policy-agent/opa)

v1.9.0

Compare Source

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'"
  }
}

See the documentation for more details.

Authored by @​srenatus and @​philipaconrad

Improved Rule Indexing For "Naked" Refs (#​7897)

OPA's rule indexer is a means by which OPA can optimize evaluation performance.
Briefly, the indexer can in some cases determine that a rule won't successfully evaluate before it's evaluated based on the query input.
The indexer previously only considered terms in certain compound expressions, ignoring single terms; e.g. an expression containing a sole "naked" ref. This has now changed!

Example

Given a policy with an allow rule containing two "naked" refs: input.foo and input.bar:

package example

allow if {
    input.foo
    input.bar
}

and the input document:

{
    "foo": 1
}

before this improvement, when evaluating the query data.example.allow, we get the trace log:

query:1           Enter data.example.allow = _
query:1           | Eval data.example.allow = _
query:1           | Index data.example.allow (matched 1 rule, early exit)
policy.rego:3     | Enter data.example.allow
policy.rego:5     | | Eval input.foo
policy.rego:6     | | Eval input.bar
policy.rego:6     | | Fail input.bar
policy.rego:5     | | Redo input.foo
query:1           | Fail data.example.allow = _

Here, we can see that the allow rule is evaluated, but fails on the input.bar expression, as it's referencing an undefined value.

With the improvement to the indexer, we instead get:

query:1     Enter data.example.allow = _
query:1     | Eval data.example.allow = _
query:1     | Index data.example.allow (matched 0 rules, early exit)
query:1     | Fail data.example.allow = _

Where we can see that the allow rule was never evaluated, since the input doesn't meet the conditions established by the indexer; i.e. both input.foo and input.bar must have defined values.

Authored by @​srenatus

Runtime, Tooling
Compiler, Topdown and Rego
Docs, Website
Miscellaneous
  • Bump golangci-lint to v2.4.0 (#​7878) authored by @​sspaink
  • Community Guidelines: update email list (#​7900) authored by @​srenatus
  • ci: port binary tests to testscript (#​7865) authored by @​srenatus
  • dependabot: Updating e2e go deps together with core OPA deps (#​7923) authored by @​johanfylling
  • github_actions: Add working directory in arguments for Link Checker (#​7883) authored by @​sspaink
  • rego: Add comprehensive WASM performance benchmarks (#​7841) authored by @​anivar
  • Dependency updates; notably:
    • build: Bump go to 1.25.1
    • build(deps): Add github.com/huandu/go-sqlbuilder 1.37.0
    • build(deps): Bump github.com/lestrrat-go/jwx/v3 from 3.0.10 to 3.0.11
    • build(deps): Bump github.com/prometheus/client_golang from 1.23.0 to 1.23.2
    • build(deps): Bump golang.org/x/net from 0.43.0 to 0.44.0
    • build(deps): Bump golang.org/x/time from 0.12.0 to 0.13.0
    • build(deps): Bump google.golang.org/grpc from 1.75.0 to 1.75.1
    • build(deps): Bump google.golang.org/protobuf from 1.36.8 to 1.36.9
    • build(deps): bump go.opentelemetry.io deps from 1.37.0/0.62.0 to 1.38.0/0.63.0

v1.8.0

Compare Source

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

  • Support for EdDSA signatures in io.jwt built-ins, including a new io.jwt.verify_eddsa built-in.
EdDSA Support in built-ins (#​7824)

Support for the EdDSA signing algorithm has been added to built-in functions in the io.jwt namespace.

This introduces the new io.jwt.verify_eddsa built-in function, and adds EdDSA support for the following built-ins:

This feature benefited greatly from the groundwork laid by @​lestrrat in (#​7638). 👏 🎉 🥳

Authored by @​johanfylling reported by @​aromeyer

Runtime
Topdown
  • perf: Performance greatly improved for Object.Insert on existing key (#​7820) authored by @​anderseknert
  • topdown,bundle,plugins: Upgrade interned jwx (0.9.x) with github.com/lestrrat-go/jwx/v3 (#​7638) authored by @​lestrrat
Docs, Website
Miscellaneous

v1.7.1

Compare Source

This is a bug fix release addressing two issues for users that include OPA's CLI in their own application's CLI:

  • A missing symbol in the cmd package (cmd.RootCommand)
  • A possible panic in the opa parse command

v1.7.0

Compare Source

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

  • Improved OPA SDK/API for better extensibility
SDK Improvements

The OPA SDK/API has been improved to provide better extensibility an more points of integration for developers.

Runtime, Tooling
Compiler, Topdown and Rego
Docs, Website

Note: While we have been working on the new website we have been showing
the edge documentation contents (as contents and framework changes often must
go hand in hand). Now that the website development pace has slowed and the
functionality is more stable, we will be returning to showing the documentation
content from the latest release instead. Please use the
edge documentation site
to review new changes. PR previews are also based on the latest branch commit.
This change will be made to show the v1.7.0 release shortly after publishing.

Miscellaneous

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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested a review from q2w as a code owner August 7, 2025 18:30
@forking-renovate forking-renovate bot added the dependencies Pull requests that update a dependency file label Aug 7, 2025
@renovate-bot renovate-bot requested a review from a team as a code owner August 7, 2025 18:30
@renovate-bot renovate-bot added the dependencies Pull requests that update a dependency file label Aug 7, 2025
Copy link

forking-renovate bot commented Aug 7, 2025

ℹ Artifact update notice

File name: cli/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 38 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.24.0 -> 1.24.6
go (toolchain) 1.24.7 -> 1.24.8
github.com/spf13/cobra v1.9.1 -> v1.10.1
github.com/spf13/viper v1.20.1 -> v1.21.0
google.golang.org/protobuf v1.36.8 -> v1.36.9
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.27.0 -> v1.29.0
github.com/cenkalti/backoff/v5 v5.0.2 -> v5.0.3
github.com/go-jose/go-jose/v4 v4.0.5 -> v4.1.1
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 -> v2.27.2
github.com/prometheus/client_golang v1.22.0 -> v1.23.2
github.com/prometheus/common v0.62.0 -> v0.66.1
github.com/prometheus/procfs v0.15.1 -> v0.17.0
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 -> v0.0.0-20250401214520-65e299d6c5c9
github.com/sagikazarmark/locafero v0.7.0 -> v0.11.0
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 -> v1.4.0
github.com/sirupsen/logrus v1.9.3 -> v1.9.4-0.20230606125235-dd1b4c2e81af
github.com/sourcegraph/conc v0.3.0 -> v0.3.1-0.20240121214520-5f936abd7ae8
github.com/spf13/afero v1.12.0 -> v1.15.0
github.com/spf13/cast v1.7.1 -> v1.10.0
github.com/spf13/pflag v1.0.6 -> v1.0.10
github.com/tchap/go-patricia/v2 v2.3.2 -> v2.3.3
github.com/vektah/gqlparser/v2 v2.5.28 -> v2.5.30
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0 -> v0.63.0
go.opentelemetry.io/otel v1.36.0 -> v1.38.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.36.0 -> v1.38.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.36.0 -> v1.38.0
go.opentelemetry.io/otel/metric v1.36.0 -> v1.38.0
go.opentelemetry.io/otel/sdk v1.36.0 -> v1.38.0
go.opentelemetry.io/otel/sdk/metric v1.36.0 -> v1.38.0
go.opentelemetry.io/otel/trace v1.36.0 -> v1.38.0
go.opentelemetry.io/proto/otlp v1.6.0 -> v1.7.1
go.yaml.in/yaml/v3 v3.0.3 -> v3.0.4
golang.org/x/crypto v0.41.0 -> v0.42.0
golang.org/x/net v0.43.0 -> v0.44.0
golang.org/x/sys v0.35.0 -> v0.36.0
golang.org/x/term v0.34.0 -> v0.35.0
golang.org/x/time v0.12.0 -> v0.13.0
google.golang.org/genproto/googleapis/api v0.0.0-20250818200422-3122310a409c -> v0.0.0-20250825161204-c5933d9347a5
google.golang.org/genproto/googleapis/rpc v0.0.0-20250818200422-3122310a409c -> v0.0.0-20250825161204-c5933d9347a5
google.golang.org/grpc v1.74.2 -> v1.75.1

@dpebot
Copy link
Collaborator

dpebot commented Aug 7, 2025

/gcbrun

@renovate-bot renovate-bot changed the title chore(deps): update module github.com/open-policy-agent/opa to v1.7.0 chore(deps): update module github.com/open-policy-agent/opa to v1.7.1 Aug 7, 2025
@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from ec02b96 to c6225cb Compare August 7, 2025 22:27
@dpebot
Copy link
Collaborator

dpebot commented Aug 7, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from c6225cb to a229268 Compare August 8, 2025 17:45
@dpebot
Copy link
Collaborator

dpebot commented Aug 8, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from a229268 to aee0842 Compare August 8, 2025 18:43
@dpebot
Copy link
Collaborator

dpebot commented Aug 8, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from aee0842 to 37196ba Compare August 8, 2025 19:04
@dpebot
Copy link
Collaborator

dpebot commented Aug 8, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 37196ba to 2474850 Compare August 8, 2025 21:12
@dpebot
Copy link
Collaborator

dpebot commented Aug 8, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 2474850 to 8c9d1b6 Compare August 11, 2025 23:42
@dpebot
Copy link
Collaborator

dpebot commented Aug 11, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 8c9d1b6 to 3db4b89 Compare August 12, 2025 16:33
@dpebot
Copy link
Collaborator

dpebot commented Aug 12, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 3db4b89 to 38b5590 Compare August 15, 2025 21:17
@dpebot
Copy link
Collaborator

dpebot commented Aug 15, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 38b5590 to a500718 Compare August 22, 2025 17:40
@dpebot
Copy link
Collaborator

dpebot commented Aug 22, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from a500718 to 3737ffd Compare August 22, 2025 22:17
@dpebot
Copy link
Collaborator

dpebot commented Aug 22, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 3737ffd to 9db8776 Compare August 26, 2025 21:21
@dpebot
Copy link
Collaborator

dpebot commented Aug 26, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 9db8776 to 4f77c91 Compare August 26, 2025 21:28
@dpebot
Copy link
Collaborator

dpebot commented Sep 4, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 35936f0 to 3a3c724 Compare September 4, 2025 15:27
@renovate-bot renovate-bot changed the title chore(deps): update module github.com/open-policy-agent/opa to v1.7.1 chore(deps): update module github.com/open-policy-agent/opa to v1.8.0 Sep 4, 2025
@dpebot
Copy link
Collaborator

dpebot commented Sep 4, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 3a3c724 to 9c09f7a Compare September 10, 2025 23:06
@dpebot
Copy link
Collaborator

dpebot commented Sep 10, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 9c09f7a to c86b997 Compare September 15, 2025 17:22
@dpebot
Copy link
Collaborator

dpebot commented Sep 15, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from c86b997 to ea243d2 Compare September 15, 2025 18:16
@dpebot
Copy link
Collaborator

dpebot commented Sep 15, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from ea243d2 to 83cda00 Compare September 15, 2025 20:28
@dpebot
Copy link
Collaborator

dpebot commented Sep 15, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 83cda00 to a62944f Compare September 17, 2025 23:57
@dpebot
Copy link
Collaborator

dpebot commented Sep 17, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from a62944f to 5d4a4f6 Compare September 23, 2025 05:03
@dpebot
Copy link
Collaborator

dpebot commented Sep 23, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 5d4a4f6 to 1e9188a Compare September 23, 2025 18:25
@dpebot
Copy link
Collaborator

dpebot commented Sep 23, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 1e9188a to 3e62532 Compare September 30, 2025 19:01
@dpebot
Copy link
Collaborator

dpebot commented Sep 30, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 3e62532 to 11d28b6 Compare September 30, 2025 20:48
@dpebot
Copy link
Collaborator

dpebot commented Sep 30, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 11d28b6 to 1f7d5b2 Compare September 30, 2025 23:17
@dpebot
Copy link
Collaborator

dpebot commented Sep 30, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from 1f7d5b2 to a3bad4b Compare October 3, 2025 11:10
@renovate-bot renovate-bot changed the title chore(deps): update module github.com/open-policy-agent/opa to v1.8.0 chore(deps): update module github.com/open-policy-agent/opa to v1.9.0 Oct 3, 2025
@dpebot
Copy link
Collaborator

dpebot commented Oct 3, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/cli-github.com-open-policy-agent-opa-1.x branch from a3bad4b to edafc74 Compare October 9, 2025 12:08
@dpebot
Copy link
Collaborator

dpebot commented Oct 9, 2025

/gcbrun

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants