Merge 'master' into pmd/7.0.x
This commit is contained in:
@ -2,7 +2,7 @@ repository: pmd/pmd
|
||||
|
||||
pmd:
|
||||
version: 7.0.0-SNAPSHOT
|
||||
previous_version: 6.52.0
|
||||
previous_version: 6.53.0
|
||||
date: ??-?????-2023
|
||||
release_type: major
|
||||
|
||||
|
@ -246,6 +246,16 @@ the breaking API changes will be performed in 7.0.0.
|
||||
an API is tagged as `@Deprecated` or not in the latest minor release. During the development of 7.0.0,
|
||||
we may decide to remove some APIs that were not tagged as deprecated, though we'll try to avoid it." %}
|
||||
|
||||
#### 6.53.0
|
||||
|
||||
##### Deprecated APIs
|
||||
|
||||
###### For removal
|
||||
|
||||
These classes / APIs have been deprecated and will be removed with PMD 7.0.0.
|
||||
|
||||
* {% jdoc java::lang.java.rule.design.ExcessiveLengthRule %} (Java)
|
||||
|
||||
#### 6.52.0
|
||||
|
||||
##### PMD CLI
|
||||
|
@ -19,53 +19,11 @@ This is a {{ site.pmd.release_type }} release.
|
||||
|
||||
### New and noteworthy
|
||||
|
||||
#### Modified rules
|
||||
|
||||
* The Java rule {% rule java/bestpractices/UnusedPrivateField %} has a new property `reportForAnnotations`.
|
||||
This is a list of fully qualified names of the annotation types that should be reported anyway. If an unused field
|
||||
has any of these annotations, then it is reported. If it has any other annotation, then it is still considered
|
||||
to be used and is not reported.
|
||||
|
||||
#### Deprecated rules
|
||||
|
||||
* The Java rules {% rule java/design/ExcessiveClassLength %} and {% rule java/design/ExcessiveMethodLength %}
|
||||
have been deprecated. The rule {% rule java/design/NcssCount %} can be used instead.
|
||||
The deprecated rules will be removed with PMD 7.0.0.
|
||||
|
||||
* The Java rule {% rule java/errorprone/EmptyStatementNotInLoop %} is deprecated.
|
||||
Use the rule {% rule java/codestyle/UnnecessarySemicolon %} instead.
|
||||
Note: Actually it was announced to be deprecated since 6.46.0 but the rule was not marked as deprecated yet.
|
||||
This has been done now.
|
||||
|
||||
### Fixed Issues
|
||||
* core
|
||||
* [#4248](https://github.com/pmd/pmd/issues/4248): \[core] Can't analyze sources in zip files
|
||||
* apex-security
|
||||
* [#4146](https://github.com/pmd/pmd/issues/4146): \[apex] ApexCRUDViolation: Recognize User Mode in SOQL + DML
|
||||
* java
|
||||
* [#4266](https://github.com/pmd/pmd/issues/4266): \[java] PMD fails to process a record with lambda in compact constructor
|
||||
* java-bestpractices
|
||||
* [#4166](https://github.com/pmd/pmd/issues/4166): \[java] UnusedPrivateField doesn't find annotated unused private fields anymore
|
||||
* [#4250](https://github.com/pmd/pmd/issues/4250): \[java] WhileLoopWithLiteralBoolean - false negative with complex expressions still occurs in PMD 6.52.0
|
||||
* java-design
|
||||
* [#2127](https://github.com/pmd/pmd/issues/2127): \[java] Deprecate rules ExcessiveClassLength and ExcessiveMethodLength
|
||||
* java-errorprone
|
||||
* [#4164](https://github.com/pmd/pmd/issues/4164): \[java]\[doc] AvoidAssertAsIdentifier and AvoidEnumAsIdentifier - clarify use case
|
||||
* java-multithreading
|
||||
* [#4210](https://github.com/pmd/pmd/issues/4210): \[java] DoNotUseThreads report duplicate warnings
|
||||
|
||||
### API Changes
|
||||
|
||||
#### Deprecated APIs
|
||||
|
||||
##### For removal
|
||||
|
||||
These classes / APIs have been deprecated and will be removed with PMD 7.0.0.
|
||||
|
||||
* {% jdoc java::lang.java.rule.design.ExcessiveLengthRule %} (Java)
|
||||
|
||||
### External Contributions
|
||||
* [#4244](https://github.com/pmd/pmd/pull/4244): \[apex] ApexCRUDViolation: user mode and system mode with test cases added - [Tarush Singh](https://github.com/Tarush-Singh35) (@Tarush-Singh35)
|
||||
* [#4274](https://github.com/pmd/pmd/pull/4274): \[java] Fix finding lambda scope in record compact constructor - [kdebski85](https://github.com/kdebski85) (@kdebski85)
|
||||
|
||||
{% endtocmaker %}
|
||||
|
||||
|
@ -5,6 +5,80 @@ permalink: pmd_release_notes_old.html
|
||||
|
||||
Previous versions of PMD can be downloaded here: https://github.com/pmd/pmd/releases
|
||||
|
||||
## 31-December-2022 - 6.53.0
|
||||
|
||||
The PMD team is pleased to announce PMD 6.53.0.
|
||||
|
||||
This is a minor release.
|
||||
|
||||
### Table Of Contents
|
||||
|
||||
* [New and noteworthy](#new-and-noteworthy)
|
||||
* [Modified rules](#modified-rules)
|
||||
* [Deprecated rules](#deprecated-rules)
|
||||
* [Fixed Issues](#fixed-issues)
|
||||
* [API Changes](#api-changes)
|
||||
* [Deprecated APIs](#deprecated-apis)
|
||||
* [For removal](#for-removal)
|
||||
* [External Contributions](#external-contributions)
|
||||
* [Stats](#stats)
|
||||
|
||||
### New and noteworthy
|
||||
|
||||
#### Modified rules
|
||||
|
||||
* The Java rule [`UnusedPrivateField`](https://pmd.github.io/pmd-6.53.0/pmd_rules_java_bestpractices.html#unusedprivatefield) has a new property `reportForAnnotations`.
|
||||
This is a list of fully qualified names of the annotation types that should be reported anyway. If an unused field
|
||||
has any of these annotations, then it is reported. If it has any other annotation, then it is still considered
|
||||
to be used and is not reported.
|
||||
|
||||
#### Deprecated rules
|
||||
|
||||
* The Java rules [`ExcessiveClassLength`](https://pmd.github.io/pmd-6.53.0/pmd_rules_java_design.html#excessiveclasslength) and [`ExcessiveMethodLength`](https://pmd.github.io/pmd-6.53.0/pmd_rules_java_design.html#excessivemethodlength)
|
||||
have been deprecated. The rule [`NcssCount`](https://pmd.github.io/pmd-6.53.0/pmd_rules_java_design.html#ncsscount) can be used instead.
|
||||
The deprecated rules will be removed with PMD 7.0.0.
|
||||
|
||||
* The Java rule [`EmptyStatementNotInLoop`](https://pmd.github.io/pmd-6.53.0/pmd_rules_java_errorprone.html#emptystatementnotinloop) is deprecated.
|
||||
Use the rule [`UnnecessarySemicolon`](https://pmd.github.io/pmd-6.53.0/pmd_rules_java_codestyle.html#unnecessarysemicolon) instead.
|
||||
Note: Actually it was announced to be deprecated since 6.46.0 but the rule was not marked as deprecated yet.
|
||||
This has been done now.
|
||||
|
||||
### Fixed Issues
|
||||
* core
|
||||
* [#4248](https://github.com/pmd/pmd/issues/4248): \[core] Can't analyze sources in zip files
|
||||
* apex-security
|
||||
* [#4146](https://github.com/pmd/pmd/issues/4146): \[apex] ApexCRUDViolation: Recognize User Mode in SOQL + DML
|
||||
* java
|
||||
* [#4266](https://github.com/pmd/pmd/issues/4266): \[java] PMD fails to process a record with lambda in compact constructor
|
||||
* java-bestpractices
|
||||
* [#4166](https://github.com/pmd/pmd/issues/4166): \[java] UnusedPrivateField doesn't find annotated unused private fields anymore
|
||||
* [#4250](https://github.com/pmd/pmd/issues/4250): \[java] WhileLoopWithLiteralBoolean - false negative with complex expressions still occurs in PMD 6.52.0
|
||||
* java-design
|
||||
* [#2127](https://github.com/pmd/pmd/issues/2127): \[java] Deprecate rules ExcessiveClassLength and ExcessiveMethodLength
|
||||
* java-errorprone
|
||||
* [#4164](https://github.com/pmd/pmd/issues/4164): \[java]\[doc] AvoidAssertAsIdentifier and AvoidEnumAsIdentifier - clarify use case
|
||||
* java-multithreading
|
||||
* [#4210](https://github.com/pmd/pmd/issues/4210): \[java] DoNotUseThreads report duplicate warnings
|
||||
|
||||
### API Changes
|
||||
|
||||
#### Deprecated APIs
|
||||
|
||||
##### For removal
|
||||
|
||||
These classes / APIs have been deprecated and will be removed with PMD 7.0.0.
|
||||
|
||||
* <a href="https://docs.pmd-code.org/apidocs/pmd-java/6.53.0/net/sourceforge/pmd/lang/java/rule/design/ExcessiveLengthRule.html#"><code>ExcessiveLengthRule</code></a> (Java)
|
||||
|
||||
### External Contributions
|
||||
* [#4244](https://github.com/pmd/pmd/pull/4244): \[apex] ApexCRUDViolation: user mode and system mode with test cases added - [Tarush Singh](https://github.com/Tarush-Singh35) (@Tarush-Singh35)
|
||||
* [#4274](https://github.com/pmd/pmd/pull/4274): \[java] Fix finding lambda scope in record compact constructor - [kdebski85](https://github.com/kdebski85) (@kdebski85)
|
||||
|
||||
### Stats
|
||||
* 43 commits
|
||||
* 17 closed tickets & PRs
|
||||
* Days since last release: 35
|
||||
|
||||
## 26-November-2022 - 6.52.0
|
||||
|
||||
The PMD team is pleased to announce PMD 6.52.0.
|
||||
|
10
pom.xml
10
pom.xml
@ -76,7 +76,7 @@
|
||||
</issueManagement>
|
||||
|
||||
<properties>
|
||||
<project.build.outputTimestamp>2022-11-26T09:24:58Z</project.build.outputTimestamp>
|
||||
<project.build.outputTimestamp>2022-12-31T17:22:09Z</project.build.outputTimestamp>
|
||||
|
||||
<java.version>8</java.version>
|
||||
|
||||
@ -426,22 +426,22 @@
|
||||
<dependency>
|
||||
<groupId>net.sourceforge.pmd</groupId>
|
||||
<artifactId>pmd-core</artifactId>
|
||||
<version>6.52.0</version> <!-- pmd.dogfood.version -->
|
||||
<version>6.53.0</version> <!-- pmd.dogfood.version -->
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.sourceforge.pmd</groupId>
|
||||
<artifactId>pmd-java</artifactId>
|
||||
<version>6.52.0</version> <!-- pmd.dogfood.version -->
|
||||
<version>6.53.0</version> <!-- pmd.dogfood.version -->
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.sourceforge.pmd</groupId>
|
||||
<artifactId>pmd-jsp</artifactId>
|
||||
<version>6.52.0</version> <!-- pmd.dogfood.version -->
|
||||
<version>6.53.0</version> <!-- pmd.dogfood.version -->
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.sourceforge.pmd</groupId>
|
||||
<artifactId>pmd-javascript</artifactId>
|
||||
<version>6.52.0</version> <!-- pmd.dogfood.version -->
|
||||
<version>6.53.0</version> <!-- pmd.dogfood.version -->
|
||||
</dependency>
|
||||
<!-- This contains the dogfood ruleset -->
|
||||
<dependency>
|
||||
|
Reference in New Issue
Block a user