PMD v6.14.0 Release Notes
Release Date: 2019-04-28 // almost 5 years ago-
28-April-2019 - 6.14.0
The PMD team is pleased to announce PMD 6.14.0.
π This is a minor release.
Table Of Contents
π 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:
- ignore comments
- ignore imports / libraries
- π honor comment-based suppressions
β‘οΈ Updated PMD Designer
π This PMD release ships a new version of the pmd-designer.
π For the changes, see PMD Designer Changelog.Modified Rules
The Java rule
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
NoPackage
(java-codestyle
) will now report additionally enums
π¦ and annotations that do not have a package declaration.π Fixed Issues
- all
- go
- #1751: [go] Parsing errors encountered with escaped backslash
- java
- java-bestpractices
- π java-codestyle
- java-design
- #1760: [java] UseObjectForClearerAPI flags private methods
API Changes
No changes.
External Contributions
- π #1745: [doc] Fixed some errors in docs - 0xflotus
- β‘οΈ #1746: [java] Update rule to prevent UnusedImport when using JavaDoc with array type - itaigilo
- #1752: [java] UseObjectForClearerAPI Only For Public - BjΓΆrn Kautler
- π #1761: [dart] [cpd] Added CPD support for Dart - Maikel Steneker
- #1776: [java] Show more detailed message when can't resolve field type - Andrey Fomin
- #1781: [java] Location change in AssignmentToNonFinalStatic - Maikel Steneker
- #1789: [cpd] [core] Use current classloader instead of Thread's classloader - Andreas Schmid
- #1791: [dart] [cpd] Dart escaped string - Maikel Steneker