-
Notifications
You must be signed in to change notification settings - Fork 47
Comparing changes
Open a pull request
base repository: open-policy-agent/regal
base: v0.30.0
head repository: open-policy-agent/regal
compare: v0.30.1
- 6 commits
- 42 files changed
- 2 contributors
Commits on Jan 14, 2025
-
lsp/completions: Reorder for cheap rego.v1 check (#1335)
#1327 (comment) Signed-off-by: Charlie Egan <charlie@styra.com>
Charlie Egan authoredJan 14, 2025 Configuration menu - View commit details
-
Copy full SHA for d9ba656 - Browse repository at this point
Copy the full SHA d9ba656View commit details -
docs: opa-fmt v1/v0 notes (#1336)
This explains the different behaviour of `opa fmt` between v0 and v1 when working with v0/v1 files in Rego. Signed-off-by: Charlie Egan <charlie@styra.com>
Charlie Egan authoredJan 14, 2025 Configuration menu - View commit details
-
Copy full SHA for 10d3c70 - Browse repository at this point
Copy the full SHA 10d3c70View commit details -
tidy: Use cmp.Or in a few places (#1337)
As suggested here: #1326 (comment) Signed-off-by: Charlie Egan <charlie@styra.com>
Charlie Egan authoredJan 14, 2025 Configuration menu - View commit details
-
Copy full SHA for 0aedf5c - Browse repository at this point
Copy the full SHA 0aedf5cView commit details
Commits on Jan 15, 2025
-
Upgrade Roast to v0.6.0 (#1338)
* Upgrade Roast to v0.6.0 Roast now also on OPA 1.0, and v0.6.0 brings slightly faster serialization of terms as well. Included in this PR too some minor fixes that don't deserve their own PR. Signed-off-by: Anders Eknert <anders@styra.com> * builtins/test: Use new go range loops Address linter issue Signed-off-by: Charlie Egan <charlie@styra.com> --------- Signed-off-by: Anders Eknert <anders@styra.com> Signed-off-by: Charlie Egan <charlie@styra.com> Co-authored-by: Charlie Egan <charlie@styra.com>
Configuration menu - View commit details
-
Copy full SHA for 954df8c - Browse repository at this point
Copy the full SHA 954df8cView commit details -
lsp: Rename correctly when conflicting (#1334)
* lsp: Rename correctly when conflicting This updates the server's rename quick action to use the same name generation conflict resolution logic as the fixer. This is done by allowing the server's cache to be used as a new file provider and consolidating the logic for generating changes required for the templating worker and command worker. This also changes the inlay hints to exit early if the file is not parsed. This reduces errors in the server logs when working with empty files. Signed-off-by: Charlie Egan <charlie@styra.com> * chore: Use strings for fixing file content Signed-off-by: Charlie Egan <charlie@styra.com> * lsp: pass version lookup to ToInput Signed-off-by: Charlie Egan <charlie@styra.com> * fixer: Add test to show fixes after rename Signed-off-by: Charlie Egan <charlie@styra.com> * rules: VersionsMap for all instances of input This adapts the LSP and fixer to use the versionsMap functionality in the same way as the linter. Signed-off-by: Charlie Egan <charlie@styra.com> --------- Signed-off-by: Charlie Egan <charlie@styra.com>
Charlie Egan authoredJan 15, 2025 Configuration menu - View commit details
-
Copy full SHA for faa9c52 - Browse repository at this point
Copy the full SHA faa9c52View commit details -
config: Allow loading of .regal.yaml file too (#1339)
* config: Allow loading of .regal.yaml file too Fixes #1288 Signed-off-by: Charlie Egan <charlie@styra.com> * config: Choose most specific file Signed-off-by: Charlie Egan <charlie@styra.com> * Markdown line length lint * / -> or --------- Signed-off-by: Charlie Egan <charlie@styra.com>
Charlie Egan authoredJan 15, 2025 Configuration menu - View commit details
-
Copy full SHA for 5986638 - Browse repository at this point
Copy the full SHA 5986638View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.30.0...v0.30.1