Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package opa for openSUSE:Factory checked in at 2025-12-19 16:45:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opa (Old) and /work/SRC/openSUSE:Factory/.opa.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opa" Fri Dec 19 16:45:01 2025 rev:9 rq:1323632 version:1.12.1 Changes: -------- --- /work/SRC/openSUSE:Factory/opa/opa.changes 2025-12-17 18:39:22.926116602 +0100 +++ /work/SRC/openSUSE:Factory/.opa.new.1928/opa.changes 2025-12-19 16:48:20.608138508 +0100 @@ -1,0 +2,120 @@ +Fri Dec 19 08:45:16 UTC 2025 - Johannes Kastl <[email protected]> + +- Update to version 1.12.1: + 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) + +------------------------------------------------------------------- +Fri Dec 19 08:23:00 UTC 2025 - Johannes Kastl <[email protected]> + +- Update to version 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 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 + + Tip + 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 + - oracle: Refactor Oracle better support some and every (#8105, + #8131, #8138) authored by @charlieegan3 + - plugins/bundle: Prevent ns-level polling by validating + intervals (#8082) authored by @jjhwan-h + - plugins/discovery: Initialize plugins before downloading + (#8071) authored by @jt28828 + - topdown: Introduce sink for context cancellation + - topdown: Make regex.replace respect cancellation (#8089) + authored by @srenatus + - topdown: Make replace and strings.replace_n respect + cancellation (#8089) authored by @srenatus + - topdown: Use sink for concat (#8090) authored by @srenatus + - perf: Avoid extra allocation in sink if no cancel (#8104) + authored by @anderseknert + * Compiler, Topdown and Rego + - ast/compile: Deal with error limit without panic/defer + (#8087) authored by @srenatus + - ast/parser: Check if we need to unescape at all (#8135) + authored by @srenatus + - perf: Improved visitor implementation (10% faster + compilation) (#8078) authored by @anderseknert + - perf: Reduce allocations handling terms (#8116) authored by + @anderseknert + - perf: Type-checker performance improvements (#8143) authored + by @anderseknert + * Docs, Website, Ecosystem + - website: Add support for rego string interpolation syntax + highlighting (#8092) authored by @charlieegan3 + - docs/ocp: Update "concepts" for v0.3.0 (#8117) authored by + @srenatus + - website: Show playground errors (#8141) authored by + @charlieegan3 + - website: Update a number of links to their new location + (#8100) authored by @charlieegan3 + - docs: Remove link to feedback form (#8101) authored by + @charlieegan3 + - website: Remove survey bar (#8136) authored by @charlieegan3 + - docs: Update community contacts (#8108) authored by + @charlieegan3 + * Miscellaneous + - ast/checks_test: Fix flaky tests (#8111) authored by + @srenatus + - benchmarks: Install node v24 (#8122) authored by @srenatus + - download: Fix when compiling with tag opa_no_oci (#8070) + authored by @srenatus reported by @mg0083 + - tests: Race in TestStatusUpdateBuffer (#8133) authored by + @thevilledev + - workflow: Integrate benchmarks notebook (#8121) authored by + @srenatus + - workflows: Skip all tests in benchmarks run (#8086) authored + by @srenatus + - Dependency updates; notably: + - build: Bump golang from 1.25.4 to 1.25.5 (#8107) authored + by @srenatus + - build(deps): Bump google.golang.org/grpc from 1.76.0 to + 1.77.0 + +------------------------------------------------------------------- Old: ---- opa-1.11.1.obscpio New: ---- opa-1.12.1.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opa.spec ++++++ --- /var/tmp/diff_new_pack.CGNrRC/_old 2025-12-19 16:48:27.144411845 +0100 +++ /var/tmp/diff_new_pack.CGNrRC/_new 2025-12-19 16:48:27.148412012 +0100 @@ -17,7 +17,7 @@ Name: opa -Version: 1.11.1 +Version: 1.12.1 Release: 0 Summary: Open source, general-purpose policy engine License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.CGNrRC/_old 2025-12-19 16:48:27.200414187 +0100 +++ /var/tmp/diff_new_pack.CGNrRC/_new 2025-12-19 16:48:27.208414521 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/open-policy-agent/opa</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v1.11.1</param> + <param name="revision">v1.12.1</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.CGNrRC/_old 2025-12-19 16:48:27.264416863 +0100 +++ /var/tmp/diff_new_pack.CGNrRC/_new 2025-12-19 16:48:27.280417533 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/open-policy-agent/opa</param> - <param name="changesrevision">eb492e815bef45c43bcf093ac49e954ce6fb0915</param></service></servicedata> + <param name="changesrevision">92dd54dab4e77e6fffa8888c7a30f82dd7be2534</param></service></servicedata> (No newline at EOF) ++++++ opa-1.11.1.obscpio -> opa-1.12.1.obscpio ++++++ ++++ 25138 lines of diff (skipped) ++++++ opa.obsinfo ++++++ --- /var/tmp/diff_new_pack.CGNrRC/_old 2025-12-19 16:48:38.556889098 +0100 +++ /var/tmp/diff_new_pack.CGNrRC/_new 2025-12-19 16:48:38.592890604 +0100 @@ -1,5 +1,5 @@ name: opa -version: 1.11.1 -mtime: 1765916875 -commit: eb492e815bef45c43bcf093ac49e954ce6fb0915 +version: 1.12.1 +mtime: 1766093187 +commit: 92dd54dab4e77e6fffa8888c7a30f82dd7be2534 ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/opa/vendor.tar.gz /work/SRC/openSUSE:Factory/.opa.new.1928/vendor.tar.gz differ: char 146, line 2
