diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md index b8f8783555..81630e5bd7 100644 --- a/docs/pages/release_notes.md +++ b/docs/pages/release_notes.md @@ -14,11 +14,26 @@ This is a {{ site.pmd.release_type }} release. ### New and noteworthy +#### New rules + +* The new Apex rule {% rule apex/performance/EagerlyLoadedDescribeSObjectResult %} finds + `DescribeSObjectResult`s which could have been loaded eagerly via `SObjectType.getDescribe()`. + +```xml + +``` + + ### Fixed Issues +* apex + * [#3532](https://github.com/pmd/pmd/issues/3532): \[apex] Promote usage of consistent getDescribe() info + ### API Changes ### External Contributions +* [#3538](https://github.com/pmd/pmd/pull/3538): \[apex] New rule EagerlyLoadedDescribeSObjectResult - [Jonathan Wiesel](https://github.com/jonathanwiesel) + {% endtocmaker %} diff --git a/pmd-apex/src/main/resources/rulesets/apex/quickstart.xml b/pmd-apex/src/main/resources/rulesets/apex/quickstart.xml index 803f786571..5fd3386416 100644 --- a/pmd-apex/src/main/resources/rulesets/apex/quickstart.xml +++ b/pmd-apex/src/main/resources/rulesets/apex/quickstart.xml @@ -162,6 +162,7 @@ + diff --git a/pmd-core/src/main/resources/rulesets/releases/6400.xml b/pmd-core/src/main/resources/rulesets/releases/6400.xml new file mode 100644 index 0000000000..a2b5bf9e31 --- /dev/null +++ b/pmd-core/src/main/resources/rulesets/releases/6400.xml @@ -0,0 +1,13 @@ + + + + +This ruleset contains links to rules that are new in PMD v6.40.0 + + + + +