28-January-2023 - 6.54.0-SNAPSHOT

The PMD team is pleased to announce PMD 6.54.0-SNAPSHOT.

This is a minor release.

New and noteworthy

Fixed Issues

  • core
    • #4279: [core] Can not set ruleset property value to empty
    • #4340: [core] Allow to filter found matches in CPDReport

API Changes

Deprecated APIs

For removal
  • ApexRootNode#getApexVersion has been deprecated for removal. The version returned is always Version.CURRENT, as the apex compiler integration doesn’t use additional information which Apex version actually is used. Therefore, this method can’t be used to determine the Apex version of the project that is being analyzed.
Internal APIs
Experimental APIs
  • CPDReport has a new method which limited mutation of a given report:
    • filterMatches creates a new CPD report with some matches removed with a given predicate based filter.

External Contributions

  • #4280: [apex] Deprecate ApexRootNode.getApexVersion - Aaron Hurst (@aaronhurst-google)
  • #4285: [java] CommentDefaultAccessModifier - add co.elastic.clients.util.VisibleForTesting as default suppressed annotation - Matthew Luckam (@mluckam)