forked from phoedos/pmd
3.1 KiB
3.1 KiB
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/codestyle/UseUnderscoresInNumericLiterals" %} (
java-codestyle
) verifies that numeric literals over a given length (4 chars by default, but configurable) are using underscores every 3 digits for readability. The rule only applies to Java 7+ codebases.
Modified Rules
- The Java rule {% rule "java/bestpractices/JUnitTestsShouldIncludeAssert" %} (
java-bestpractices
) now also detects Soft Assertions.
Fixed Issues
- all
- java
- #1460: [java] Intermittent PMD failure : PMD processing errors while no violations reported
- java-codestyle
API Changes
- The implementation of the adapters for the XPath engines Saxon and Jaxen (package
net.sourceforge.pmd.lang.ast.xpath
) are now deprecated. They'll be moved to an internal package come 7.0.0. OnlyAttribute
remains public API.
External Contributions
- #1384: [java] New Rule - UseUnderscoresInNumericLiterals - RajeshR
- #1424: [doc] #1341 Updating Regex Values in default Value Property - avishvat
- #1428: [core] Upgrading JCommander from 1.48 to 1.72 - Thunderforge
- #1430: [doc] Who really knows regex? - Dem Pilafian
- #1434: [java] JUnitTestsShouldIncludeAssert: Recognize AssertJ soft assertions as valid assert statements - Loïc Ledoyen
- #1464: [doc] Fix XSS on documentation web page - Maxime Robert
- #1469: [core] Configurable max loops in DAAPathFinder - Alberto Fernández
{% endtocmaker %}
{% include note.html content="The release notes of previous versions are available here" %}