chore(deps): update dependency regal to v0.39.0 (9.4)#4478
Merged
Conversation
Contributor
Merge Queue Status
This pull request spent 39 minutes 17 seconds in the queue, with no time running CI. Waiting for:
All conditions
ReasonPull request #4478 has been merged manually at a5a96c0 HintYou were too fast! |
50 tasks
50 tasks
50 tasks
50 tasks
50 tasks
This was referenced Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.38.1->0.39.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
StyraInc/regal (regal)
v0.39.0We'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 - "* 1 * * 1-5" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by Renovate Bot.