You've already forked opa-regal-pkg
chore(deps): update dependency open-policy-agent/regal to v0.39.0 - autoclosed #2
Reference in New Issue
Block a user
Delete Branch "renovate/open-policy-agent-regal-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.38.1->0.39.0Release Notes
open-policy-agent/regal (open-policy-agent/regal)
v0.39.0Compare Source
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-flattenCategory: idiomatic
The use-array-flatten rule recommends using
array.flatteninstead of nestedarray.concatenation (#1873).Avoid
Prefer
New Rule:
use-object-union-nCategory: idiomatic
The use-object-union-n rule recommends using
object.union_nover nested calls toobject.union(#1873).Avoid
Prefer
New Rule:
equals-over-countCategory: performance
The new optional equals-over-count rule suggests using direct equality comparisons rather than
countwhen 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-conditionandredundant-existence-checkfixers (#1830).and an
opaTestProviderfeature for test discovery (#1888, #1889, #1898),Completion performance is improved with a
completionItem/resolvehandler (#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) - thanks @charlesdaniels!
Various Improvements
redundant-existence-checkrule (#1897, fixes #1805)zero-arity-functionrule asopa-fmtnow covers that (#1885)Bug Fixes
use-some-for-output-vars(#1886)input.jsoncompletion provider (#1891)Dependency Updates
Regal has been upgraded to use OPA v1.14.0 and Go 1.26.
Documentation
New Contributors
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
chore(deps): update dependency open-policy-agent/regal to v0.39.0to chore(deps): update dependency open-policy-agent/regal to v0.39.0 - autoclosedPull request closed