Skip to content

Releases: quasilyte/go-ruleguard

v0.3.6

05 Jun 17:15
fc40544
Compare
Choose a tag to compare
v0.3.6 Pre-release
Pre-release

Changes

v0.3.5

29 Apr 22:50
a102b9b
Compare
Choose a tag to compare
v0.3.5 Pre-release
Pre-release

Changes

v0.3.4

07 Apr 12:04
211cfa6
Compare
Choose a tag to compare
v0.3.4 Pre-release
Pre-release

Changes

  • ruleguard: implement MatchComment function from the DSL @quasilyte (#223)
  • dsl: add MatchComment method to the DSL module @quasilyte (#222)

v0.3.3

04 Apr 01:09
b1065ae
Compare
Choose a tag to compare
v0.3.3 Pre-release
Pre-release

Changes

v0.3.2

15 Mar 14:36
bce90d2
Compare
Choose a tag to compare
v0.3.2 Pre-release
Pre-release

Changes

v0.3.1

21 Feb 21:55
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release

Changes

Highlights:

  • added more package imports caching
  • started gogrep matching engine rewriting
  • added non-strict literal matching

Bug fixes

  • gogrep: save and restore wildcard positions during $* backtracking @quasilyte (#211)

DSL

Performance

Rules

Dev

v0.3.0

12 Jan 23:39
d9aba8d
Compare
Choose a tag to compare
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

CLI

Rules

Docs

Dev

v0.2.1

06 Nov 22:07
454e2fb
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release

Changes

DSL

  • ruleguard: allow error type in Implements() filter @quasilyte (#120)
  • ruleguard,dsl: add experimental support for const value filters @quasilyte (#116)
  • ruleguard,dsl: add File.PkgPath filter support @quasilyte (#106)
  • ruleguard: give error on repeated DSL calls @quasilyte (#102)
  • ruleguard,dsl: add File.Name filter support @quasilyte (#101)
  • all: add ExprType.Underlying() method @quasilyte (#89)
  • ruleguard/typematch: implement struct type pattern matching @quasilyte (#87)
  • ruleguard: support parenthesized expressions in Where @lamg (#76)

CLI

  • ruleguard,analyzer: implement rules debugging @quasilyte (#104)
  • all: add support for the File filters in Where clause @quasilyte (#83)
  • ruleguard/typematch: implement func type patterns @quasilyte (#82)

Rules

Bug fixes

Docs

v0.2.0: start using Go modules (#67)

12 Aug 20:37
7e7cc88
Compare
Choose a tag to compare
Pre-release

Now with Go modules.

The v0.1.4 introduced the backward-incompatible change.
It was intended to be a minor version bump, but oh well.

Multi rule sets support

12 Aug 11:34
6be9805
Compare
Choose a tag to compare
Pre-release
  • -rules now support multiple rule files (comma separated list)
  • ruleguard package exports a function for rule sets merging