Closed renovate[bot] closed 1 month ago
This PR is missing a Jira ticket reference in the title or description. Please add a Jira ticket reference to the title or description of this PR.
🥷 Code experts: no user matched threshold 10
To learn more about /:\ gitStream - Visit our Docs
This PR contains the following updates:
7.2.0
->7.4.0
Release Notes
pmd/pmd (pmd)
### [`v7.4.0`](https://togithub.com/pmd/pmd/releases/tag/pmd_releases/7.4.0): PMD 7.4.0 (26-July-2024) ##### 26-July-2024 - 7.4.0 The PMD team is pleased to announce PMD 7.4.0. This is a minor release. ##### Table Of Contents - [🌟 New and changed rules](#new-and-changed-rules) - [New Rules](#new-rules) - [Changed rules](#changed-rules) - [Renamed rules](#renamed-rules) - [🐛 Fixed Issues](#fixed-issues) - [🚨 API Changes](#api-changes) - [✨ External Contributions](#external-contributions) - [📈 Stats](#stats) ##### 🌟 New and changed rules ##### New Rules - The new Apex rule [`AvoidNonRestrictiveQueries`](https://docs.pmd-code.org/pmd-doc-7.4.0/pmd_rules_apex_performance.html#avoidnonrestrictivequeries) finds SOQL and SOSL queries without a where or limit statement. This can quickly cause governor limit exceptions. ##### Changed rules - [`ClassNamingConventions`](https://docs.pmd-code.org/pmd-doc-7.4.0/pmd_rules_apex_codestyle.html#classnamingconventions) (Apex Codestyle): Two new properties to configure different patterns for inner classes and interfaces: `innerClassPattern` and `innerInterfacePattern`. ##### Renamed rules - [`InaccurateNumericLiteral`](https://docs.pmd-code.org/pmd-doc-7.4.0/pmd_rules_ecmascript_errorprone.html#inaccuratenumericliteral) (JavaScript Error Prone) has been renamed from `InnaccurateNumericLiteral`. The old rule name still works but is deprecated. ##### 🐛 Fixed Issues - apex - [#5094](https://togithub.com/pmd/pmd/issues/5094): \[apex] "No adapter exists for type" error message printed to stdout instead of stderr - apex-bestpractices - [#5095](https://togithub.com/pmd/pmd/issues/5095): \[apex] ApexUnitTestShouldNotUseSeeAllDataTrue false negative due to casing (regression in PMD 7) - apex-codestyle - [#4800](https://togithub.com/pmd/pmd/issues/4800): \[apex] ClassNamingConvention: Support naming convention for *inner* classes - apex-performance - [#635](https://togithub.com/pmd/pmd/issues/635): \[apex] New Rule: Avoid soql/sosl queries without a where clause or limit statement - java-bestpractices - [#5106](https://togithub.com/pmd/pmd/issues/5106): \[java] AccessorClassGeneration: Node was null for default constructor - [#5110](https://togithub.com/pmd/pmd/issues/5110): \[java] UnusedPrivateMethod for method referenced by lombok.Builder.ObtainVia - [#5117](https://togithub.com/pmd/pmd/issues/5117): \[java] UnusedPrivateMethod for methods annotated with jakarta.annotation.PostConstruct or PreDestroy - java-errorprone - [#1488](https://togithub.com/pmd/pmd/issues/1488): \[java] MissingStaticMethodInNonInstantiatableClass: False positive with Lombok Builder on Constructor - javascript-errorprone - [#2367](https://togithub.com/pmd/pmd/issues/2367): \[javascript] InnaccurateNumericLiteral is misspelled - [#4716](https://togithub.com/pmd/pmd/issues/4716): \[javascript] InaccurateNumericLiteral with number [`2592000`](https://togithub.com/pmd/pmd/commit/259200000) - plsql - [#5086](https://togithub.com/pmd/pmd/pull/5086): \[plsql] Fixed issue with missing optional table alias in MERGE usage - [#5087](https://togithub.com/pmd/pmd/pull/5087): \[plsql] Add support for SQL_MACRO - [#5088](https://togithub.com/pmd/pmd/pull/5088): \[plsql] Add support for 'DEFAULT' clause on the arguments of some oracle functions - [#5133](https://togithub.com/pmd/pmd/issues/5133): \[plsql] AssertionError: Root of the tree should implement RootNode for a PL/SQL type declaration - cli - [#5120](https://togithub.com/pmd/pmd/issues/5120): \[cli] Can't start designer under Windows - core - [#5091](https://togithub.com/pmd/pmd/issues/5091): \[core] PMD CPD v7.3.0 gives deprecation warning for skipLexicalErrors even when not used ##### 🚨 API Changes - javascript - The old rule name `InnaccurateNumericLiteral` has been deprecated. Use the new name [`InaccurateNumericLiteral`](https://docs.pmd-code.org/pmd-doc-7.4.0/pmd_rules_ecmascript_errorprone.html#inaccuratenumericliteral) instead. ##### ✨ External Contributions - [#5048](https://togithub.com/pmd/pmd/pull/5048): \[apex] Added Inner Classes to Apex Class Naming Conventions Rule - [Justin Stroud](https://togithub.com/justinstroudbah) ([@justinstroudbah](https://togithub.com/justinstroudbah) / [@sgnl-labs](https://togithub.com/sgnl-labs)) - [#5086](https://togithub.com/pmd/pmd/pull/5086): \[plsql] Fixed issue with missing optional table alias in MERGE usage - [Arjen Duursma](https://togithub.com/duursma) ([@duursma](https://togithub.com/duursma)) - [#5087](https://togithub.com/pmd/pmd/pull/5087): \[plsql] Add support for SQL_MACRO - [Arjen Duursma](https://togithub.com/duursma) ([@duursma](https://togithub.com/duursma)) - [#5088](https://togithub.com/pmd/pmd/pull/5088): \[plsql] Add support for 'DEFAULT' clause on the arguments of some oracle functions - [Arjen Duursma](https://togithub.com/duursma) ([@duursma](https://togithub.com/duursma)) - [#5107](https://togithub.com/pmd/pmd/pull/5107): \[doc] Update maven.md - Typo fixed for maven target - [karthikaiyasamy](https://togithub.com/karthikaiyasamy) ([@karthikaiyasamy](https://togithub.com/karthikaiyasamy)) - [#5109](https://togithub.com/pmd/pmd/pull/5109): \[java] Exclude constructor with lombok.Builder for MissingStaticMethodInNonInstantiatableClass - [Krzysztof Debski](https://togithub.com/kdebski85) ([@kdebski85](https://togithub.com/kdebski85)) - [#5111](https://togithub.com/pmd/pmd/pull/5111): \[java] Fix UnusedPrivateMethod for @lombok.Builder.ObtainVia - [Krzysztof Debski](https://togithub.com/kdebski85) ([@kdebski85](https://togithub.com/kdebski85)) - [#5118](https://togithub.com/pmd/pmd/pull/5118): \[java] FP for UnusedPrivateMethod with Jakarta @PostConstruct/PreDestroy annotations - [Krzysztof Debski](https://togithub.com/kdebski85) ([@kdebski85](https://togithub.com/kdebski85)) - [#5121](https://togithub.com/pmd/pmd/pull/5121): \[plsql] Fixed issue with missing optional table alias in MERGE usage - [Arjen Duursma](https://togithub.com/duursma) ([@duursma](https://togithub.com/duursma)) ##### 📈 Stats - 81 commits - 32 closed tickets & PRs - Days since last release: 27Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.