Skip to content

Releases: ghik/silencer

1.4.0

28 May 15:01
Compare
Choose a tag to compare

This version comes with two new features:

  • @silent annotation now accepts an optional message pattern (regex) argument which can be used to suppress specific classes of warnings, e.g.

    @silent("deprecated")
    def usesDeprecatedApi(): Unit = someDeprecatedApi()
  • The plugin can now be configured to reject with an error any redundant @silent annotations which don't suppress any warnings (fixes #28). This can be enabled with the checkUnused flag:

    scalacOptions += "-P:silencer:checkUnused"

1.3.4

24 May 09:10
Compare
Choose a tag to compare

This release introduces performance improvement by @retronym

v1.3.0

03 Dec 10:47
Compare
Choose a tag to compare

This version introduces file path filtering by @mihaisoloi

v1.2

20 Aug 11:33
Compare
Choose a tag to compare

Introduced global regex-based suppression via compiler plugin option - #14 by @cchantep

v1.1

27 Jul 08:23
Compare
Choose a tag to compare
  • @silent is no longer StaticAnnotation so it doesn't make it into classfiles