Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: bump github.com/open-policy-agent/opa from 1.6.0 to 1.12.1#21365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dependabot wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromdependabot/go_modules/github.com/open-policy-agent/opa-1.12.1

Conversation

@dependabot
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubDec 22, 2025
edited
Loading

Bumpsgithub.com/open-policy-agent/opa from 1.6.0 to 1.12.1.

Release notes

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

v1.12.1

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

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

v1.12.0

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

  • Support forString 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 supportString 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.

packageinterpolationallowed_roles:= ["admin","employee"]defaultrole:="guest"role:= input.roledeny contains$"User {input.username}'s role was '{role}', but must be one of {allowed_roles}" if{notrole inallowed_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 thesprintf built-in function.

Authored by@​johanfylling reported by@​anderseknert

[!TIP]Help us out!

... (truncated)

Changelog

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

1.12.1

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

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

1.12.0

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 supportString 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.

packageinterpolationallowed_roles:= ["admin","employee"]defaultrole:="guest"role:= input.roledeny contains$"User {input.username}'s role was '{role}', but must be one of {allowed_roles}" if{notrole inallowed_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 thesprintf built-in function.

Authored by@​johanfylling reported by@​anderseknert

Help us out!

... (truncated)

Commits
  • 92dd54d Release v1.12.1
  • fb09d24 Revert "topdown: makeregex.replace respect cancellation"
  • d61ac38 Prepare v1.12.0 release (#8144)
  • 5a0dc47 Template string performance improvements and more (#8143)
  • f5c3743 perf: reduce allocations handling terms (#8116)
  • d80ffc4 website: Show playground errors
  • 7e1c361 oracle: Use typed targets for specific matchers (#8138)
  • 629cbd8 String interpolation docs (#8129)
  • 9c52121 ast/parser: avoid allocating slices for variadic options
  • c0df469 ast/parser: check if we need to unescape at all
  • Additional commits viewable incompare 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 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)

@dependabotdependabotbot added dependenciesPull requests that update a dependency file goPull requests that update go code labelsDec 22, 2025
@github-actionsgithub-actionsbotenabled auto-merge (squash)December 22, 2025 12:02
@dependabotdependabotbotforce-pushed thedependabot/go_modules/github.com/open-policy-agent/opa-1.12.1 branch fromf8f80bb to4219cecCompareDecember 22, 2025 12:25
Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 1.6.0 to 1.12.1.- [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.12.1)---updated-dependencies:- dependency-name: github.com/open-policy-agent/opa  dependency-version: 1.12.1  dependency-type: direct:production  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbotforce-pushed thedependabot/go_modules/github.com/open-policy-agent/opa-1.12.1 branch from4219cec tob4598cbCompareDecember 22, 2025 12:40
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@github-actionsgithub-actions[bot]github-actions[bot] approved these changes

Assignees

No one assigned

Labels

dependenciesPull requests that update a dependency filegoPull requests that update go code

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant


[8]ページ先頭

©2009-2025 Movatter.jp