Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package regal for openSUSE:Factory checked in at 2026-02-27 17:11:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/regal (Old) and /work/SRC/openSUSE:Factory/.regal.new.29461 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "regal" Fri Feb 27 17:11:09 2026 rev:10 rq:1335376 version:0.39.0 Changes: -------- --- /work/SRC/openSUSE:Factory/regal/regal.changes 2026-01-14 16:23:42.082467774 +0100 +++ /work/SRC/openSUSE:Factory/.regal.new.29461/regal.changes 2026-02-27 17:12:09.373704100 +0100 @@ -1,0 +2,89 @@ +Fri Feb 27 06:16:38 UTC 2026 - Johannes Kastl <[email protected]> + +- Update to version 0.39.0: + We're happy to announce Regal v0.39.0, featuring 3 new linter + rules, many language server improvements, and much faster + linting! + * New Rule: use-array-flatten + Category: idiomatic + The use-array-flatten rule recommends using array.flatten + instead of nested array.concatenation (#1873). + + Avoid + + package policy + flat1 := array.concat(arr1, array.concat(arr2, arr3)) + flat2 := array.concat(arr1, array.concat(arr2, array.concat(arr3, arr4))) + + Prefer + + package policy + flat1 := array.flatten([arr1, arr2, arr3]) + flat2 := array.flatten([arr1, arr2, arr3, arr4]) + + * New Rule: use-object-union-n + Category: idiomatic + The use-object-union-n rule recommends using object.union_n + over nested calls to object.union (#1873). + + Avoid + + package policy + obj := object.union(obj1, object.union(obj2, obj3)) + + Prefer + + package policy + obj := object.union_n([obj1, obj2, obj3]) + + * New Rule: equals-over-count + Category: performance + The new optional equals-over-count rule suggests using direct + equality comparisons rather than count when checking collection + membership or emptiness (#1878). This is a micro-optimization + and not a general recommendation. Must be manually enabled. + * Performance + This release brings an approximate 25% reduction in linting + time through aggregate remodeling and Rego prepare stage + optimizations (#1838). Additional performance work includes + Rego refactoring (#1857, #1884), AST transform improvements + (#1892), and various micro-optimizations (#1866, #1879). + * Language Server Improvements + The language server now includes a semantic token framework for + improved syntax highlighting (#1845, #1865, #1870), code + actions for the constant-condition and + redundant-existence-check fixers (#1830). and an + opaTestProvider feature for test discovery (#1888, #1889, + #1898), + Completion performance is improved with a + completionItem/resolve handler (#1831), and server capabilities + are now properly exposed and consistent with the clients + (#1867, #1880). + Note: Semantic token support is feature flagged and will be + available in the next release. + * Compiler Explorer + Regal now supports the VSCode-based OPA Explorer extension, + providing a rich GUI to compare compiler stages directly in VS + Code (#1862) - thanks @srenatus! A new "Format stages" option + has also been added to the compiler explorer (#1854) - thanks + @johanfylling! + * Experimental: rq Engine Support + Initial support for the rq engine has been added (#1872) + * Various Improvements + - Improved redundant-existence-check rule (#1897, fixes #1805) + - Disabled zero-arity-function rule as opa-fmt now covers that + (#1885) + * Bug Fixes + - Fix nil dereference on compiler errors in explorer (#1837) + - Fix broken links to fixer page (#1852) + - Fix false positive in use-some-for-output-vars (#1886) + - Fix broken input.json completion provider (#1891) + * Dependency Updates + - Regal has been upgraded to use OPA v1.14.0 and Go 1.26. + * Documentation + - Added mise as an alternative installation method (#1849) + - Updated installation documentation (#1861) + - Updated note about eval and debug roots (#1894) + - Show release badge when using pre-release versions (#1899) + +------------------------------------------------------------------- Old: ---- regal-0.38.1.obscpio New: ---- regal-0.39.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ regal.spec ++++++ --- /var/tmp/diff_new_pack.0bC263/_old 2026-02-27 17:12:10.893767094 +0100 +++ /var/tmp/diff_new_pack.0bC263/_new 2026-02-27 17:12:10.893767094 +0100 @@ -1,7 +1,7 @@ # # spec file for package regal # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: regal -Version: 0.38.1 +Version: 0.39.0 Release: 0 Summary: Linter and language server for Rego License: Apache-2.0 @@ -26,8 +26,8 @@ Source1: vendor.tar.gz BuildRequires: bash-completion BuildRequires: fish -BuildRequires: golang(API) >= 1.25 BuildRequires: zsh +BuildRequires: golang(API) >= 1.26 %description Regal is a linter and language server for Rego, making your Rego magnificent, @@ -51,8 +51,8 @@ %package -n %{name}-fish-completion Summary: Fish Completion for %{name} Group: System/Shells -Requires: fish Requires: %{name} = %{version} +Requires: fish Supplements: (%{name} and fish) BuildArch: noarch @@ -62,8 +62,8 @@ %package -n %{name}-zsh-completion Summary: Zsh Completion for %{name} Group: System/Shells -Requires: zsh Requires: %{name} = %{version} +Requires: zsh Supplements: (%{name} and zsh) BuildArch: noarch ++++++ _service ++++++ --- /var/tmp/diff_new_pack.0bC263/_old 2026-02-27 17:12:10.933768751 +0100 +++ /var/tmp/diff_new_pack.0bC263/_new 2026-02-27 17:12:10.937768917 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/open-policy-agent/regal</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v0.38.1</param> + <param name="revision">v0.39.0</param> <param name="match-tag">v*.*.*</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.0bC263/_old 2026-02-27 17:12:10.969770243 +0100 +++ /var/tmp/diff_new_pack.0bC263/_new 2026-02-27 17:12:10.977770575 +0100 @@ -3,6 +3,6 @@ <param name="url">https://github.com/StyraInc/regal</param> <param name="changesrevision">92d1ba9bffa4eae59ae848714097e4125c82ff93</param></service><service name="tar_scm"> <param name="url">https://github.com/open-policy-agent/regal</param> - <param name="changesrevision">fd6dd4d160ef7eafee9d5d606f2e8536ce889bb0</param></service></servicedata> + <param name="changesrevision">23614cc6f50e8b5b1366987e3daa930ba40434b7</param></service></servicedata> (No newline at EOF) ++++++ regal-0.38.1.obscpio -> regal-0.39.0.obscpio ++++++ ++++ 77673 lines of diff (skipped) ++++++ regal.obsinfo ++++++ --- /var/tmp/diff_new_pack.0bC263/_old 2026-02-27 17:12:12.977853460 +0100 +++ /var/tmp/diff_new_pack.0bC263/_new 2026-02-27 17:12:12.981853626 +0100 @@ -1,5 +1,5 @@ name: regal -version: 0.38.1 -mtime: 1768318043 -commit: fd6dd4d160ef7eafee9d5d606f2e8536ce889bb0 +version: 0.39.0 +mtime: 1772130673 +commit: 23614cc6f50e8b5b1366987e3daa930ba40434b7 ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/regal/vendor.tar.gz /work/SRC/openSUSE:Factory/.regal.new.29461/vendor.tar.gz differ: char 15, line 1
