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-gherkin
GherkinBaseListener
is deprecated for removal. This class was never intended to be generated. It will be removed with no replacement.GherkinBaseVisitor
is deprecated for removal. This class was never intended to be generated. It will be removed with no replacement.GherkinListener
is deprecated for removal. This class was never intended to be generated. It will be removed with no replacement.GherkinParser
is deprecated for removal. This class was never intended to be generated. It will be removed with no replacement.GherkinVisitor
is deprecated for removal. This class was never intended to be generated. It will be removed with no replacement.
- pmd-julia
JuliaBaseListener
is deprecated for removal. This class was never intended to be generated. It will be removed with no replacement.JuliaBaseVisitor
is deprecated for removal. This class was never intended to be generated. It will be removed with no replacement.JuliaListener
is deprecated for removal. This class was never intended to be generated. It will be removed with no replacement.JuliaParser
is deprecated for removal. This class was never intended to be generated. It will be removed with no replacement.JuliaVisitor
is deprecated for removal. This class was never intended to be generated. It will be removed with no replacement.
- pmd-kotlin
UnicodeClasses
is deprecated for removal. This class was never intended to be generated. It will be removed with no replacement.
- 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)