2.5 KiB
2.5 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
Lua 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 Lua.
Being based on a proper Antlr grammar, CPD can:
- ignore comments
- honor comment-based suppressions
Modified Rules
- The Java rule {% rule "java/errorprone/MissingStaticMethodInNonInstantiatableClass" %} (
java-errorprone) has now the new propertyannotations. When one of the private constructors is annotated with one of the annotations, then the class is not considered non-instantiatable anymore and no violation will be reported. By default, Spring's@Autowiredand Java EE's@Injectannotations are recognized.
Fixed Issues
- doc
- java-errorprone
- #1832: [java] False positives for MissingStaticMethodInNonInstantiatableClass when DI is used
- xml
- #1666: [xml] wrong cdata rule description and examples
API Changes
External Contributions
- #1869: [xml] fix #1666 wrong cdata rule description and examples - Artem
- #1892: [lua] [cpd] Added CPD support for Lua - Maikel Steneker
- #1908: [doc] Update ruleset filename from deprecated basic.xml to quickstart.xml - crunsk
- #1916: [java] Exclude Autowired and Inject for MissingStaticMethodInNonInstantiatableClass - AnthonyKot
{% endtocmaker %}