Table of Contents

25-April-2025 - 7.13.0-SNAPSHOT

The PMD team is pleased to announce PMD 7.13.0-SNAPSHOT.

This is a minor release.

πŸš€ New and noteworthy

✨ New Rules

  • The new Apex rule TypeShadowsBuiltInNamespace finds Apex classes, enums, and interfaces that have the same name as a class, enum, or interface in the System or Schema namespace. Shadowing these namespaces in this way can lead to confusion and unexpected behavior.

πŸ› Fixed Issues

  • core
    • #5525: [core] Add rule priority as level to Sarif report
    • #5623: [dist] Make pmd launch script compatible with /bin/sh
  • apex-bestpractices
    • #5667: [apex] ApexUnitTestShouldNotUseSeeAllDataTrue false negative when seeAllData parameter is a string
  • apex-errorprone
    • #3184: [apex] Prevent classes from shadowing System Namespace
  • java
    • #5645: [java] Parse error on switch with yield
  • java-bestpractices
    • #5687: [java] UnusedPrivateMethodRule: exclude serialization method readObjectNoData()

🚨 API Changes

✨ Merged pull requests

  • #5450: Fix #3184: [apex] New Rule: TypeShadowsBuiltInNamespace - Mitch Spano (@mitchspano)
  • #5573: Fix #5525: [core] Add Sarif Level Property - julees7 (@julees7)
  • #5672: [doc] Fix its/it’s and doable/double typos - John Jetmore (@jetmore)
  • #5684: Fix #5667: [apex] ApexUnitTestShouldNotUseSeeAllDataTrue false negative when seeAllDate parameter is a string - Thomas Prouvot (@tprouvot)
  • #5685: [doc] typo fix in PMD Designer reference - Douglas Griffith (@dwgrth)
  • #5687: [java] UnusedPrivateMethodRule: exclude serialization method readObjectNoData() - Gili Tzabari (@cowwoc)

πŸ“¦ Dependency updates

πŸ“ˆ Stats