v0.3.0
Pre-release
Pre-release
Changes
Summary:
- Custom filters support (see examples)
- Debug modes (
-debug-group
,-debug-filter
, ...) - Ruleguard bundles
Bug fixes
- ruleguard: fix interpolation of vars with common prefix @quasilyte (#123)
- ruleguard: set GoRuleInfo fields before passing it to Report() @quasilyte (#147)
- ruleguard: use alternative types.Implements() implementation @quasilyte (#161)
DSL
- dsl: add experimental API related to the custom filters @quasilyte (#171)
- ruleguard: allow Var.Value.Int() and Var.Text as RHS @quasilyte (#126)
- ruleguard,dsl: add Var.Node filters @quasilyte (#124)
- dsl: add a bundle sketch @quasilyte (#145)
- all: forbid unnamed rule groups
func _()
@quasilyte (#148) - all: rename "dsl/fluent" to just "dsl" @quasilyte (#151)
- add custom filter functions initial support @quasilyte (#173)
CLI
- ruleguard: filter parsing improvements @quasilyte (#142)
- analyzer: add -enable and -disable flags @quasilyte (#164)
- ruleguard,analyzer: add -debug-imports flag @quasilyte (#163)
- analyzer: add optional version info (only when built with Make) @quasilyte (#180)
Rules
- add bad defer unlock @cristaloleg (#131)
- add redundant len check @cristaloleg (#132)
Docs
- move docs->_docs, test->_test @quasilyte (#162)
- _docs: update the manual @quasilyte (#182)
Dev
- ci: add coverage @cristaloleg (#122)
- fix CI @cristaloleg (#133)
- add golangci config and enable go-critic @quasilyte (#143)