v0.30.1
Regal v0.30.1 is a patch release following the significant v0.30.0 release with first class OPA v1.0.0 support. This patch release addresses some issues discovered in the language server relating to the OPA update as well as a minor new feature.
New options for Regal config location
In addition to the .regal/config.yaml
path we've used thus far, it's now possible to use a .regal.yaml
instead. This is intended to be used by those preferring a single file rather than a dedicated directory. The config directory will still be required for users with custom rules. It is not possible to use $root/.regal/config.yaml
and $root/.regal.yaml
in the same directory at the same time. Regal will still use the config file nearest the root in the directory hierarchy, even if they are of different types. Thanks to @grosser for the suggestion!
Changelog
- lsp/completions: Reorder for cheap rego.v1 check by @charlieegan3 in #1335
- docs: opa-fmt v1/v0 notes by @charlieegan3 in #1336
- tidy: Use cmp.Or in a few places by @charlieegan3 in #1337
- Upgrade Roast to v0.6.0 by @anderseknert in #1338
- lsp: Rename correctly when conflicting by @charlieegan3 in #1334
- config: Allow loading of .regal.yaml file too by @charlieegan3 in #1339
Full Changelog: v0.30.0...v0.30.1