v0.3.11
Pre-release
Pre-release
github-actions
released this
18 Oct 08:53
·
128 commits
to master
since this release
Changes
- ruleguard: give error message when filter uses undefined var @quasilyte (#282)
- ruleguard: use a separate token.FileSet for gogrep parsing @quasilyte (#275)
- ruleguard: associate rule line with a pattern string @quasilyte (#272)
DSL
- ruleguard: implement ConstSlice predicate @quasilyte (#271)
Matching
- internal/gogrep: add support for
$*_
in slice expr members @quasilyte (#284) - internal/gogrep: implement
struct{...}
andinterface{...}
matching @quasilyte (#278)
Performance
- ruleguard/textmatch: an abstraction on top of regexp for performance @quasilyte (#281)
- internal/gogrep: use external MatcherState (no Clone() per
Engine.Run()
anymore) @quasilyte (#286) - internal/gogrep: make simple call patterns match faster @quasilyte (#277)
- ruleguard: make printed IR more compact @quasilyte (#276)
Other
- use
||
ingo-ruleguard/analyzer/testdata/src/gocritic/rules.go
@penthaapatel (#283) - analyzer/testdata: use
\Q
regexp quoting everywhere @quasilyte (#279)