[doc] Update release notes (#3532, #3538)

This commit is contained in:
Andreas Dangel
2021-10-14 09:32:51 +02:00
parent c331fa1a8d
commit eeaa300b7b
3 changed files with 29 additions and 0 deletions

View File

@ -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
<rule ref="category/apex/performance.xml/EagerlyLoadedDescribeSObjectResult" />
```
### 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 %}

View File

@ -162,6 +162,7 @@
</properties>
</rule>
<!-- <rule ref="category/apex/performance.xml/AvoidDebugStatements" /> -->
<!-- <rule ref="category/apex/performance.xml/EagerlyLoadedDescribeSObjectResult" /> -->
<!-- NAMING -->
<rule ref="category/apex/codestyle.xml/ClassNamingConventions" message="Class names should begin with an uppercase character">

View File

@ -0,0 +1,13 @@
<?xml version="1.0"?>
<ruleset name="6400"
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd">
<description>
This ruleset contains links to rules that are new in PMD v6.40.0
</description>
<rule ref="category/apex/performance.xml/EagerlyLoadedDescribeSObjectResult" />
</ruleset>