Skip to content

chore(deps): bump github.com/open-policy-agent/opa from 1.21.1 to 1.22.3 - #82

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/open-policy-agent/opa-1.22.3
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/open-policy-agent/opa-1.22.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 15, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/open-policy-agent/opa from 1.21.1 to 1.22.3.

Release notes

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

v1.22.3

This is a bugfix release for a type checker regression in v1.22.0.

It also includes a dependency bump for github.com/klauspost/compress.

[!NOTE] The security advisory in question is GHSA-fpmh-frq8-7rj8. Note that OPA does not support zstd compression in its handlers, but automated vulnerability checkers still flag this as an issue, which is why we bump this version in a patch release.

Allow keys of empty collections in rules replaced by with

A rule like default x := {} is typed as an empty collection, so any constant key on it is rejected, even though tests replace it using with. Empty collections in the types of rules that a with modifier targets are now typed as any.

Dependency Updates

  • build(deps): Bump github.com/agnivade/levenshtein from 1.2.1 to 1.2.2
  • build(deps): Bump github.com/foxcpp/go-mockdns from 1.2.0 to 1.3.0
  • build(deps): Bump github.com/gobwas/glob from 1.0.0 to 1.1.0
  • build(deps): Bump github.com/huandu/go-sqlbuilder from 1.43.0 to 1.44.1
  • build(deps): Bump github.com/klauspost/compress from 1.20.0 to 1.20.3
  • build(deps): Bump github.com/lestrrat-go/jwx/v3 from 3.3.0 to 3.4.0
  • build(deps): Bump github.com/prometheus/client_golang from 1.24.1 to 1.25.0
  • build(deps): Bump github.com/spf13/pflag from 1.0.10 to 1.1.0
  • build(deps): Bump github.com/vektah/gqlparser/v2 from 2.5.58 to 2.5.64
  • build(deps): Bump go.opentelemetry.io/contrib/bridges/prometheus from 0.71.0 to 0.72.0
  • build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.71.0 to 0.72.0
  • build(deps): Bump go.opentelemetry.io/otel from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/sdk from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/sdk/metric from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/trace from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/proto/otlp from 1.11.0 to 1.11.1
  • build(deps): Bump go.yaml.in/yaml/v3 from 3.0.5 to 3.0.6
  • build(deps): Bump golang.org/x/sync from 0.23.0 to 0.24.0
  • build(deps): Bump golang.org/x/term from 0.46.0 to 0.47.0
  • build(deps): Bump golang.org/x/text from 0.42.0 to 0.43.0
  • build(deps): Bump google.golang.org/grpc from 1.84.0 to 1.85.0
  • build(deps): Bump oras.land/oras-go/v2 from 2.6.2 to 2.7.0

v1.22.2

This is a bugfix release for a type checker regression in v1.21.0.

Iterating an empty collection is rejected by the type checker

Policies that iterate a collection known to be empty, such as some x in [] or m[_] where m := {},

... (truncated)

Changelog

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

1.22.3

This is a bugfix release for a type checker regression in v1.22.0.

It also includes a dependency bump for github.com/klauspost/compress.

[!NOTE] The security advisory in question is GHSA-fpmh-frq8-7rj8. Note that OPA does not support zstd compression in its handlers, but automated vulnerability checkers still flag this as an issue, which is why we bump this version in a patch release.

Allow keys of empty collections in rules replaced by with

A rule like default x := {} is typed as an empty collection, so any constant key on it is rejected, even though tests replace it using with. Empty collections in the types of rules that a with modifier targets are now typed as any.

Dependency Updates

  • build(deps): Bump github.com/agnivade/levenshtein from 1.2.1 to 1.2.2
  • build(deps): Bump github.com/foxcpp/go-mockdns from 1.2.0 to 1.3.0
  • build(deps): Bump github.com/gobwas/glob from 1.0.0 to 1.1.0
  • build(deps): Bump github.com/huandu/go-sqlbuilder from 1.43.0 to 1.44.1
  • build(deps): Bump github.com/klauspost/compress from 1.20.0 to 1.20.3
  • build(deps): Bump github.com/lestrrat-go/jwx/v3 from 3.3.0 to 3.4.0
  • build(deps): Bump github.com/prometheus/client_golang from 1.24.1 to 1.25.0
  • build(deps): Bump github.com/spf13/pflag from 1.0.10 to 1.1.0
  • build(deps): Bump github.com/vektah/gqlparser/v2 from 2.5.58 to 2.5.64
  • build(deps): Bump go.opentelemetry.io/contrib/bridges/prometheus from 0.71.0 to 0.72.0
  • build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.71.0 to 0.72.0
  • build(deps): Bump go.opentelemetry.io/otel from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/sdk from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/sdk/metric from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/otel/trace from 1.46.0 to 1.47.0
  • build(deps): Bump go.opentelemetry.io/proto/otlp from 1.11.0 to 1.11.1
  • build(deps): Bump go.yaml.in/yaml/v3 from 3.0.5 to 3.0.6
  • build(deps): Bump golang.org/x/sync from 0.23.0 to 0.24.0
  • build(deps): Bump golang.org/x/term from 0.46.0 to 0.47.0
  • build(deps): Bump golang.org/x/text from 0.42.0 to 0.43.0
  • build(deps): Bump google.golang.org/grpc from 1.84.0 to 1.85.0
  • build(deps): Bump oras.land/oras-go/v2 from 2.6.2 to 2.7.0

... (truncated)

Commits
  • 32b01b6 Release 1.22.3
  • 94d77e7 build(deps): bump the dependencies group across 2 directories with 2 updates
  • 6cea040 build(deps): bump the dependencies group across 1 directory with 2 updates (#...
  • 8e61bb5 build(deps): bump the dependencies group across 2 directories with 13 updates...
  • a720a10 build(deps): bump the go-opentelemetry-io group across 1 directory with 12 up...
  • 9bcc155 ast: Allow keys of empty collections in rules replaced by with
  • 482d9e3 Release 1.22.2 prep (#9521)
  • 7fb317c Release 1.22.1
  • c918277 ast: keep a rule indexed as "anything" for in with a var member
  • d4c8d0c Prepare v1.22.0 release (#9456)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)

Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 1.21.1 to 1.22.3.
- [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.21.1...v1.22.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Nov 15, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, go. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants