Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 22, 2025

This PR contains the following updates:

Package Type Update Change
openpolicyagent/opa (source) stage minor 1.11.11.12.2

Release Notes

open-policy-agent/opa (openpolicyagent/opa)

v1.12.2

Compare Source

v1.12.2

This bug fix release address issues found in the new string interpolation feature

v1.12.1

Compare Source

This bug fix release reverts a change to regex.replace that unintentionally changed its behaviour for anchored regular expressions.

  • Revert "topdown: make regex.replace respect cancellation" (authored by @​srenatus)

v1.12.0

Compare Source

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

  • Support for string interpolation in the Rego language
  • Faster compilation and runtime
  • Fixes published in the v1.11.1 release
String Interpolation (#​4733)

The Rego language has been extended to support String Interpolation,
which provides a readable means to compose strings containing dynamic values determined at evaluation time.

An interpolated string is composed of a template-string containing zero or more template-expressions that evaluates to a value at evaluation time.
The $ character prefix identifies a template-string, and template-expressions are declared by being enclosed in curly-braces ({, }).

Additionally, undefined template-expression values don't halt evaluation; instead, <undefined> will be injected into the generated string.

package interpolation

allowed_roles := ["admin", "employee"]

default role := "guest"
role := input.role

deny contains $"User {input.username}'s role was '{role}', but must be one of {allowed_roles}" if {
  not role in allowed_roles
}
{
  "deny": [
    "User <undefined>'s role was 'guest', but must be one of [\"admin\", \"employee\"]"
  ],
}

String interpolation is a more readable and less error-prone substitute for the sprintf built-in function.

Authored by @​johanfylling reported by @​anderseknert

Help us out!

New Rego language features are exciting, and we want to maximize their usefulness. If you come across tools and integrations in the community where string interpolation isn't properly handled, such as syntax highlighting, please reach out and let us know.

Runtime, SDK, Tooling
Compiler, Topdown and Rego
Docs, Website, Ecosystem
Miscellaneous

Configuration

📅 Schedule: Branch creation - "before 8am on Monday" (UTC), 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.


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

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

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 22, 2025
@renovate renovate bot requested review from a team as code owners December 22, 2025 00:35
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 22, 2025
@lmolkova lmolkova moved this from Untriaged to Needs More Approval in Semantic Conventions Triage Dec 29, 2025
@renovate renovate bot force-pushed the renovate/openpolicyagent-opa-1.x branch from 5ecc317 to 2f4e2d2 Compare January 5, 2026 16:11
@renovate renovate bot changed the title chore(deps): update openpolicyagent/opa docker tag to v1.12.1 chore(deps): update openpolicyagent/opa docker tag to v1.12.2 Jan 6, 2026
@renovate renovate bot force-pushed the renovate/openpolicyagent-opa-1.x branch from 2f4e2d2 to 8e6ed48 Compare January 6, 2026 16:27
@trask trask added this pull request to the merge queue Jan 6, 2026
Merged via the queue into main with commit 502202e Jan 6, 2026
36 of 39 checks passed
@trask trask deleted the renovate/openpolicyagent-opa-1.x branch January 6, 2026 19:40
Arnav-Bansal added a commit to Arnav-Bansal/semantic-conventions that referenced this pull request Jan 7, 2026
…elemetry#3231)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants