pmd/docs/pages/release_notes.md
2018-11-26 19:11:14 +01:00

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
    • #1284: [doc] Keep record of every currently deprecated API
    • #1318: [test] Kotlin DSL to ease test writing
    • #1341: [doc] Documentation Error with Regex Properties
  • java
    • #1460: [java] Intermittent PMD failure : PMD processing errors while no violations reported
  • java-codestyle
    • #1232: [java] Detector for large numbers not separated by _
    • #1372: [java] false positive for UselessQualifiedThis
    • #1435: [java] JUnitTestsShouldIncludeAssert: Support AssertJ soft assertions

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. Only Attribute remains public API.

External Contributions

{% endtocmaker %}

{% include note.html content="The release notes of previous versions are available here" %}