v0.26.2
This releases contains a bug fixes for an issue introduced in v0.26.0 as well as a number of other minor improvements.
Notable Bug fixes:
- #1087 fixes an issue in the marshalling of ASTs using RoAST
- #1056 Makes a change to no longer suggest built in functions for default rules
- #1065 fixes an issue where git was required even when fixing in dry run mode
- #1069 fixes an edge case in
use-some-for-output-vars
- #1078, #1080, #1083, #1085 fix issues relating to file rename updates from the client
- #1093 addresses an issue where the fix command produced the incorrect result due to relative paths
- #1081 ensures that
.manifest
files are correctly detected as 'roots' when fixing
New features:
- #1059 updates the language server to suggest boolean values at relevant times
- #1088 adds a new feature for rule authors to use the files from their project as input for evaluation
Changelog
- b1afdf6: build(deps): bump peter-evans/create-pull-request from 7.0.0 to 7.0.1 (#1057) (@dependabot[bot])
- 9c6a0c9: completion: Don't show builtins on default rules (#1056) (@charlieegan3)
- dd9ee43: Increase test coverage (#1058) (@anderseknert)
- 410d775: lsp/completions: add boolean provider (#1059) (@charlieegan3)
- 337862e: tests: Fatal error when no inlay hints are found (#1060) (@charlieegan3)
- 1ef7511: cmd/fix: Only require git when dry-run unset (#1065) (@charlieegan3)
- 8778ec2: fix: Have
use-some-for-output-vars
find comprehension body vars (#1069) (@anderseknert) - d579c9c: build: introduce regal_standalone build flag, use for lint's "fix" hint (#1070) (@srenatus)
- 2690748: 100% test coverage (#1074) (@anderseknert)
- 2e07303: Remove
ast.all_refs
(#1076) (@anderseknert) - 332f6dd: Ensure custom rules docs are up to date (#1079) (@anderseknert)
- 28bac91: lsp: Address empty module issues on rename (#1078) (@charlieegan3)
- 6badb5d: lsp: Always send empty diagnostics when deleted (#1080) (@charlieegan3)
- 146895c: lsp: Correct Path to URI encoding (#1083) (@charlieegan3)
- 71e17a3: e2e: Sort output from fix hint (#1084) (@charlieegan3)
- a562087: Fix issue where .manifest files didn't register as roots (#1081) (@anderseknert)
- 786b89e: Bump roast to v0.2.0 to ensure annotations encodes correctly (#1087) (@anderseknert)
- 3bbfd1e: Add
regal eval:use-as-input
directive (#1088) (@anderseknert) - 0c1ef19: lsp: Rename on template (#1085) (@charlieegan3)
- 52f3377: lsp: Fix Eval issue caused by missing comments (#1091) (@charlieegan3)
- 6f9b32f: cmd/fix: Address relative path root matching (#1093) (@charlieegan3)