Table of Contents
29-November-2024 - 7.8.0-SNAPSHOT
The PMD team is pleased to announce PMD 7.8.0-SNAPSHOT.
This is a minor release.
๐ New and noteworthy
๐ New and changed rules
New Rules
- The new Apex rule
QueueableWithoutFinalizer
detects when the Queueable interface is used but a Finalizer is not attached. Without attaching a Finalizer, there is no way of designing error recovery actions should the Queueable action fail.
๐ Fixed Issues
- ant
- #1860: [ant] Reflective access warnings on java > 9 and java < 17
- apex
- html
- #5322: [html] CPD throws exception on when HTML file is missing closing tag
- java
- java-bestpractices
- java-performance
๐จ API Changes
Deprecations
- pmd-xml
XMLLexer
is deprecated for removal. Usenet.sourceforge.pmd.lang.xml.ast.XMLLexer
instead (note different packageast
instead ofantlr4
).
โจ External Contributions
- #5284: [apex] Use case-insensitive input stream to avoid choking on Unicode escape sequences - Willem A. Hajenius (@wahajenius)
- #5303: [apex] New Rule: Queueable Should Attach Finalizer - Mitch Spano (@mitchspano)