forked from phoedos/pmd
Prepare pmd release 6.27.0
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
repository: pmd/pmd
|
||||
|
||||
pmd:
|
||||
version: 6.27.0-SNAPSHOT
|
||||
version: 6.27.0
|
||||
previous_version: 6.26.0
|
||||
date: ??-????-2020
|
||||
date: 31-August-2020
|
||||
release_type: minor
|
||||
|
||||
# release types: major, minor, bugfix
|
||||
|
@@ -125,6 +125,60 @@ 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.27.0
|
||||
|
||||
* XML rule definition in rulesets: In PMD 7, the `language` attribute will be required on all `rule`
|
||||
elements that declare a new rule. Some base rule classes set the language implicitly in their
|
||||
constructor, and so this is not required in all cases for the rule to work. But this
|
||||
behavior will be discontinued in PMD 7, so missing `language` attributes are now
|
||||
reported as a forward compatibility warning.
|
||||
|
||||
##### Deprecated API
|
||||
|
||||
###### For removal
|
||||
|
||||
* {% jdoc !!core::Rule#getParserOptions() %}
|
||||
* {% jdoc !!core::lang.Parser#getParserOptions() %}
|
||||
* {% jdoc core::lang.AbstractParser %}
|
||||
* {% jdoc !!core::RuleContext#removeAttribute(java.lang.String) %}
|
||||
* {% jdoc !!core::RuleContext#getAttribute(java.lang.String) %}
|
||||
* {% jdoc !!core::RuleContext#setAttribute(java.lang.String, java.lang.Object) %}
|
||||
* {% jdoc apex::lang.apex.ApexParserOptions %}
|
||||
* {% jdoc !!java::lang.java.ast.ASTThrowStatement#getFirstClassOrInterfaceTypeImage() %}
|
||||
* {% jdoc javascript::lang.ecmascript.EcmascriptParserOptions %}
|
||||
* {% jdoc javascript::lang.ecmascript.rule.EcmascriptXPathRule %}
|
||||
* {% jdoc xml::lang.xml.XmlParserOptions %}
|
||||
* {% jdoc xml::lang.xml.rule.XmlXPathRule %}
|
||||
* Properties of {% jdoc xml::lang.xml.rule.AbstractXmlRule %}
|
||||
|
||||
* {% jdoc !!core::Report.ReadableDuration %}
|
||||
* Many methods of {% jdoc !!core::Report %}. They are replaced by accessors
|
||||
that produce a List. For example, {% jdoc !a!core::Report#iterator() %}
|
||||
(and implementing Iterable) and {% jdoc !a!core::Report#isEmpty() %} are both
|
||||
replaced by {% jdoc !a!core::Report#getViolations() %}.
|
||||
|
||||
* The dataflow codebase is deprecated for removal in PMD 7. This
|
||||
includes all code in the following packages, and their subpackages:
|
||||
* {% jdoc_package plsql::lang.plsql.dfa %}
|
||||
* {% jdoc_package java::lang.java.dfa %}
|
||||
* {% jdoc_package core::lang.dfa %}
|
||||
* and the class {% jdoc plsql::lang.plsql.PLSQLDataFlowHandler %}
|
||||
|
||||
* {% jdoc visualforce::lang.vf.VfSimpleCharStream %}
|
||||
|
||||
* {% jdoc jsp::lang.jsp.ast.ASTJspDeclarations %}
|
||||
* {% jdoc jsp::lang.jsp.ast.ASTJspDocument %}
|
||||
* {% jdoc !!scala::lang.scala.ast.ScalaParserVisitorAdapter#zero() %}
|
||||
* {% jdoc !!scala::lang.scala.ast.ScalaParserVisitorAdapter#combine(Object, Object) %}
|
||||
* {% jdoc apex::lang.apex.ast.ApexParserVisitorReducedAdapter %}
|
||||
* {% jdoc java::lang.java.ast.JavaParserVisitorReducedAdapter %}
|
||||
|
||||
* {% jdoc java::lang.java.typeresolution.TypeHelper %} is deprecated in
|
||||
favor of {% jdoc java::lang.java.types.TypeTestUtil %}, which has the
|
||||
same functionality, but a slightly changed API.
|
||||
* Many of the classes in {% jdoc_package java::lang.java.symboltable %}
|
||||
are deprecated as internal API.
|
||||
|
||||
#### 6.26.0
|
||||
|
||||
##### Deprecated API
|
||||
@@ -1008,3 +1062,7 @@ large projects, with many duplications, it was causing `OutOfMemoryError`s (see
|
||||
|
||||
* The Java rule [`LoggerIsNotStaticFinal`](https://pmd.github.io/pmd-6.15.0/pmd_rules_java_errorprone.html#loggerisnotstaticfinal) (`java-errorprone`) has been deprecated
|
||||
and will be removed with PMD 7.0.0. The rule is replaced by [`ProperLogger`](https://pmd.github.io/pmd-6.15.0/pmd_rules_java_errorprone.html#properlogger).
|
||||
|
||||
* The Java rule {% rule "java/errorprone/DataflowAnomalyAnalysis" %} (`java-errorprone`)
|
||||
is deprecated in favour of {% rule "java/bestpractices/UnusedAssignment" %} (`java-bestpractices`),
|
||||
which was introduced in PMD 6.26.0.
|
||||
|
@@ -199,5 +199,10 @@ are deprecated as internal API.
|
||||
* [#2750](https://github.com/pmd/pmd/pull/2750): \[dart] \[cpd] Cpd Dart escaped dollar - [Maikel Steneker](https://github.com/maikelsteneker)
|
||||
|
||||
|
||||
### Stats
|
||||
* 189 commits
|
||||
* 68 closed tickets & PRs
|
||||
* Days since last release: 37
|
||||
|
||||
{% endtocmaker %}
|
||||
|
||||
|
Reference in New Issue
Block a user