pmd/docs/pages/release_notes.md
Andreas Dangel f6c994eb3d [javascript] Update Rhino from 1.7.13 to 1.7.14
* Add more nodes
* Note: UpdateExpression is now parsed instead of UnaryExpression
  for increments/decrements
2022-01-13 14:38:28 +01:00

3.0 KiB

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

Javascript: Rhino updated to latest version 1.7.14

Rhino, the implementation of JavaScript we use for parsing JavaScript code, has been updated to the latest version 1.7.14. Now language features like template strings can be parsed. However Rhino does not support all features of the latest EcmaScript standard.

Modified rules

  • The Apex rule {% rule "apex/documentation/ApexDoc" %} has a new property reportProperty. If set to false (default is true if unspecified) doesn't report missing ApexDoc comments on properties. It allows you to enforce ApexDoc comments for classes and methods without requiring them for properties.

Fixed Issues

  • java-bestpractices
    • #3209: [java] UnusedPrivateMethod false positive with static method and cast expression
    • #3468: [java] UnusedPrivateMethod false positive when outer class calls private static method on inner class
  • java-errorprone
    • #3686: [java] ReturnEmptyCollectionRatherThanNull - false negative with conditioned returns
  • java-performance
    • #3492: [java] UselessStringValueOf: False positive when there is no initial String to append to
  • javascript
    • #3703: [javascript] Error - no Node adapter class registered for XmlPropRef

API Changes

External Contributions

{% endtocmaker %}