4.2 KiB
4.2 KiB
title, permalink, keywords
title | permalink | keywords |
---|---|---|
PMD Release Notes | pmd_release_notes.html | changelog, release notes |
{{ site.pmd.date }} - {{ site.pmd.version }}
The PMD team is pleased to announce PMD {{ site.pmd.version }}.
This is a {{ site.pmd.release_type }} release.
{% tocmaker is_release_notes_processor %}
New and noteworthy
New Rules
- The new Java rule {% rule "java/bestpractices/UnusedAssignment" %} (
java-bestpractices
) finds assignments to variables, that are never used and are useless. The new rule is supposed to entirely replace {% rule "java/errorprone/DataflowAnomalyAnalysis" %}.
Fixed Issues
- apex
- #2610: [apex] Support top-level enums in rules
- apex-bestpractices
- #2626: [apex] UnusedLocalVariable - false positive on case insensitivity allowed in Apex
- apex-security
- #2620: [visualforce] False positive on VfUnescapeEl with new Message Channel feature
- core
- java-bestpractices
- #2569: [java] LiteralsFirstInComparisons: False negative for methods returning Strings
- java-design
- java-errorprone
- java-performance
API Changes
Deprecated API
For removal
- {% jdoc core::lang.rule.RuleChainVisitor %} and all implementations in language modules
- {% jdoc core::lang.rule.AbstractRuleChainVisitor %}
- {% jdoc core::lang.Language#getRuleChainVisitorClass() %}
- {% jdoc core::lang.BaseLanguageModule#(java.lang.String,java.lang.String,java.lang.String,java.lang.Class,java.lang.String...) %}
External Contributions
- #2558: [java] Fix issue #1736 and issue #2207 - Young Chan
- #2560: [java] Fix false positives of LawOfDemeter: this and cast expressions - xioayuge
- #2590: Update libraries snyk is referring to as
unsafe
- Artem Krosheninnikov - #2597: [dependencies] Fix issue #2594, update exec-maven-plugin everywhere - Artem Krosheninnikov
- #2621: [visualforce] add new safe resource for VfUnescapeEl - Peter Chittum
- #2640: [java] NullPointerException in rule ProperCloneImplementation - Mykhailo Palahuta
- #2641: [java] AvoidThrowingNullPointerException marks all NullPointerException… - Mykhailo Palahuta
- #2643: [java] AvoidCallingFinalize detects some false positives (2578) - Mykhailo Palahuta
- #2651: [java] False negative: LiteralsFirstInComparisons for methods... (2569) - Mykhailo Palahuta
{% endtocmaker %}