Skip to content

Bump github.com/open-policy-agent/opa from 1.21.2 to 1.22.2 in /lambda - #268

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/lambda/github.com/open-policy-agent/opa-1.22.2
Closed

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps github.com/open-policy-agent/opa from 1.21.2 to 1.22.2.

Release notes

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

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 := {}, were rejected with rego_type_error: undefined ref. Iteration with a non-constant key is valid again, and simply yields nothing. Comparing or unifying the elements of such a collection with a value is accepted as well. Constant keys, like [][0], are still reported as undefined.

Reported by @​kholia.

v1.22.1

This is a bugfix release for a rule indexer regression in v1.21.0.

x in {"a", input.y} never matches for a ref x

allow if {
	input.x in {"a", input.y}
}

For an input of {"x": "b", "y": "b"}, this should evaluate to true. Due to a bug in the rule indexer, the rule body hadn't been returned, and allow thus evaluated to undefined.

Reported by @​kholia.

v1.22.0

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

  • New rego.v2 import
  • Configurable log level for HTTP access logs
  • Stricter handling of bundle signature filenames (breaking change)
  • Partial evaluation unrolls every over a known domain

Configurable log level for HTTP access logs

Added --log-level-request (default info) to control the level at which the HTTP server's "Received request."/"Sent response." access log lines are emitted, independent of the general --log-level. Set it to debug to keep those lines out of logs unless --log-level is also turned up.

Authored by @​srenatus

New rego.v2 import (#9224, #9269)

... (truncated)

Changelog

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

1.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 := {}, were rejected with rego_type_error: undefined ref. Iteration with a non-constant key is valid again, and simply yields nothing. Comparing or unifying the elements of such a collection with a value is accepted as well. Constant keys, like [][0], are still reported as undefined.

Reported by @​kholia.

1.22.1

This is a bugfix release for a rule indexer regression in v1.21.0.

x in {"a", input.y} never matches for a ref x

allow if {
	input.x in {"a", input.y}
}

For an input of {"x": "b", "y": "b"}, this should evaluate to true. Due to a bug in the rule indexer, the rule body hadn't been returned, and allow thus evaluated to undefined.

Reported by @​kholia.

1.22.0

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

  • New rego.v2 import
  • Configurable log level for HTTP access logs
  • Stricter handling of bundle signature filenames (breaking change)
  • Partial evaluation unrolls every over a known domain

Configurable log level for HTTP access logs

Added --log-level-request (default info) to control the level at which the HTTP server's "Received request."/"Sent response." access log lines are emitted, independent of the general --log-level. Set it to debug to keep those lines out of logs unless --log-level is also turned up.

Authored by @​srenatus

New rego.v2 import (#9224, #9269)

... (truncated)

Commits
  • 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)
  • fe8cf50 ast: report reserved names used as import aliases (#9452)
  • 66d072a cmd/version: note that the _static binaries are deprecated
  • d6b52e2 wasm: mark eq and assign as wasm-enabled
  • 5faa7e8 topdown: allocate base cache children on first insert
  • 044290b ast: index references holding a local bound to a scalar
  • 359db76 website: Add links to survey and kubecon (#9448)
  • 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.2 to 1.22.2.
- [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.2...v1.22.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 9, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #269.

@dependabot dependabot Bot closed this Nov 12, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/lambda/github.com/open-policy-agent/opa-1.22.2 branch November 12, 2026 03:53
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.

0 participants