Skip to content

Tags: StyraInc/regal

Tags

v0.23.1

Toggle v0.23.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
cmd/lint: show JSON errors (#817)

Signed-off-by: Charlie Egan <[email protected]>

v0.23.0

Toggle v0.23.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
lsp/completions: Drop period from input new text (#799)

This is not consistent with other completions

Signed-off-by: Charlie Egan <[email protected]>

v0.22.0

Toggle v0.22.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
lsp: Fix ast error line index bug (#736)

Signed-off-by: Charlie Egan <[email protected]>

v0.21.3

Toggle v0.21.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: make sure deleted items aren't added back to the cache (#685)

Fixes #679

unrelated: disabled the gocognit linter as it's annoying

Signed-off-by: Anders Eknert <[email protected]>

v0.21.2

Toggle v0.21.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Avoid panic when searching for `.regal/config.yaml` (#684)

As reported in #682, the server panics when the dir for whatever reason
is "". I don't yet know how to trigger this, and the result of this fix
is likely that the config file won't be found when this happens. But as
a temporary measure I prefer to have Regal run with default configuration
compared to crashing.

Signed-off-by: Anders Eknert <[email protected]>

v0.21.1

Toggle v0.21.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: log but don't send back file read errors in documentSymbol handle (

#678)

Fixes #677

Signed-off-by: Anders Eknert <[email protected]>

v0.21.0

Toggle v0.21.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
lsp: implement `workspace/symbol` (#673)

This was rather trivial with document symbols supported. It's now
made possible to search for symbols across the whole workspace, which
is rather nice!

Signed-off-by: Anders Eknert <[email protected]>

v0.20.1

Toggle v0.20.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: avoid panic in walkdir traversal (#628)

Fixes #627

Signed-off-by: Anders Eknert <[email protected]>

v0.20.0

Toggle v0.20.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
lsp: Make verbose logging configurable (#623)

Setting --verbose will now be required to see request responses from the
server.

Signed-off-by: Charlie Egan <[email protected]>

v0.19.0

Toggle v0.19.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
lsp: Handle case where a rego file is empty (#602)

This ensures that an error is shown when the parsing fails
because the file is empty.

In this case, the astError is a single error rather than a
slice.

We should add a new opa-errors entry for empty module.

Signed-off-by: Charlie Egan <[email protected]>