Files
pmd/docs/pages/release_notes.md
Juan Martín Sotuyo Dodero eea475cd65 Update changelog, refs #719
2018-04-03 03:44:44 -03:00

2.1 KiB

title, permalink, keywords
title permalink keywords
PMD Release Notes pmd_release_notes.html changelog, release notes

????? - 6.3.0-SNAPSHOT

The PMD team is pleased to announce PMD 6.3.0.

This is a minor release.

Table Of Contents

New and noteworthy

Tree transversal revision

As described in #904, when searching for child nodes of the AST methods such as hasDescendantOfType, getFirstDescendantOfType and findDescendantsOfType were found to behave inconsistently, not all of them honoring find boundaries; that is, nodes that define a self-contained entity which should be considered separately (think of lambdas, nested classes, anonymous classes, etc.). We have modified these methods to ensure all of them honor find boundaries.

This change implies several false positives / unexpected results (ie: ASTBlockStatement falsely returning true to isAllocation()) have been fixed; and lots of searches are now restricted to smaller search areas, which improves performance (depending on the project, we have measured up to 10% improvements during Type Resolution, Symbol Table analysis, and some rule's application).

Fixed Issues

  • documentation
    • #994: [doc] Delete duplicate page contributing.md on the website
  • java-bestpracrtices
    • #370: [java] GuardLogStatementJavaUtil not considering lambdas
    • #719: [java] Unused Code: Java 8 receiver parameter with an internal class

API Changes

External Contributions