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
    • #5623: [dist] Make pmd launch script compatible with /bin/sh
  • apex-errorprone
    • #3184: [apex] Prevent classes from shadowing System Namespace
  • java
    • #5645: [java] Parse error on switch with yield

🚨 API Changes

✨ Merged pull requests

  • #5450: Fix #3184: [apex] New Rule: TypeShadowsBuiltInNamespace - Mitch Spano (@mitchspano)
  • #5672: [doc] Fix its/it’s and doable/double typos - John Jetmore (@jetmore)

πŸ“¦ Dependency updates

πŸ“ˆ Stats