Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 2.17 KB

RELEASE_NOTES.md

File metadata and controls

32 lines (24 loc) · 2.17 KB

Maven Central JavaDoc

This is a new major release. Upgrading the version might break your build if you don't adjust your configuration according to the changes mentioned below. Please carefully read the changes section when you are upgrading from 1.x.y.

Changes

(Note: Review carefully, as those might break your existing build when updating from version 1.x.y)

  • #28 Test code is always analyzed unless <includeTestCode> option is configured false.
  • #49 Simplify and formalize "pattern specificity".
  • #53 Package patterns now implicitly match static imports.
  • Declaration variant no longer supported: <restrictImports implementation="de.skuzzle.enforcer.restrictimports.RestrictImports"> (deprecated since 0.12.0).
  • Declaration variant no longer supported: <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports"> (deprecated since 1.4.0).

Features

  • #50 Introduce -Drestrictimports.skip and -Drestrictimports.failBuild command line options.
  • Added <parallel> (-Drestrictimports.parallel) option to run the whole analysis in parallel (Experimental feature, feedback welcome).
  • Improve formatting of the analysis result.

Bug fixes

  • #52 Whitespaces in plugin configuration and source files are handled more gracefully.

Maven Central coordinates for this release:

<dependency>
    <groupId>de.skuzzle.enforcer</groupId>
    <artifactId>restrict-imports-enforcer-rule</artifactId>
    <version>2.0.0</version>
</dependency>