Files
pmd/docs/pages/release_notes.md
Andreas Dangel b55676e4d0 Add test case for NoPackage and Annotation
Update release notes, fixes #1782, refs #1771
2019-04-18 19:55:56 +02:00

2.8 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

Dart support

Thanks to the contribution from Maikel Steneker, and built on top of the ongoing efforts to fully support Antlr-based languages, PMD now has CPD support for Dart.

Being based on a proper Antlr grammar, CPD can:

Modified Rules

  • The Java rule {% rule "java/errorprone/AssignmentToNonFinalStatic" %} (java-errorprone) will now report on each assignment made within a constructor rather than on the field declaration. This makes it easier for developers to find the offending statements.

  • The Java rule {% rule "java/codestyle/NoPackage" %} (java-codestyle) will now report additionally enums and annotations that do not have a package declaration.

Fixed Issues

  • go
    • #1751: [go] Parsing errors encountered with escaped backslash
  • java
    • #1729: [java] JavaRuleViolation loses information in className field when class has package-private access level
  • java-bestpractices
    • #1720: [java] UnusedImports false positive for Javadoc link with array type
  • java-codestyle
    • #1782: [java] NoPackage: False Negative for enums
  • java-design
    • #1760: [java] UseObjectForClearerAPI flags private methods

API Changes

External Contributions

{% endtocmaker %}