From 433f8c06a24e299a323d7d83532a78ccd7b6fff3 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Thu, 31 Oct 2019 18:27:57 +0100 Subject: [PATCH] Prepare pmd release 6.19.0 --- do-release.sh | 8 ++++-- docs/_config.yml | 2 +- docs/pages/next_major_development.md | 42 ++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+), 4 deletions(-) diff --git a/do-release.sh b/do-release.sh index f7b5294fa0..5790e5d4bb 100755 --- a/do-release.sh +++ b/do-release.sh @@ -112,11 +112,13 @@ fi git commit -a -m "Prepare pmd release ${RELEASE_VERSION}" ( - echo "Committing current changes (pmd.github.io)" cd ../pmd.github.io git add ${RELEASE_NOTES_POST} - git commit -a -m "Prepare pmd release ${RELEASE_VERSION}" - git push + changes=$(git status --porcelain 2>/dev/null| egrep "^[AMDRC]" | wc -l) + if [ $changes -gt 0 ]; then + echo "Committing current changes (pmd.github.io)" + git commit -a -m "Prepare pmd release ${RELEASE_VERSION}" && git push + fi ) ./mvnw -B release:clean release:prepare \ diff --git a/docs/_config.yml b/docs/_config.yml index fd3422f640..819c1fab73 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -3,7 +3,7 @@ repository: pmd/pmd pmd: version: 6.19.0 previous_version: 6.18.0 - date: ??-October-2019 + date: 31-October-2019 release_type: minor # release types: major, minor, bugfix diff --git a/docs/pages/next_major_development.md b/docs/pages/next_major_development.md index 960b145102..88858ff14b 100644 --- a/docs/pages/next_major_development.md +++ b/docs/pages/next_major_development.md @@ -73,6 +73,48 @@ 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.19.0 + +##### Deprecated APIs + +###### For removal + +* pmd-core + * All the package {% jdoc_package core::dcd %} and its subpackages. See {% jdoc core::dcd.DCD %}. + * In {% jdoc core::lang.LanguageRegistry %}: + * {% jdoc core::lang.LanguageRegistry#commaSeparatedTerseNamesForLanguageVersion(List) %} + * {% jdoc core::lang.LanguageRegistry#commaSeparatedTerseNamesForLanguage(List) %} + * {% jdoc core::lang.LanguageRegistry#findAllVersions() %} + * {% jdoc core::lang.LanguageRegistry#findLanguageVersionByTerseName(String) %} + * {% jdoc core::lang.LanguageRegistry#getInstance() %} + * {% jdoc !!core::RuleSet#getExcludePatterns() %}. Use the new method {% jdoc core::RuleSet#getFileExclusions() %} instead. + * {% jdoc !!core::RuleSet#getIncludePatterns() %}. Use the new method {% jdoc core::RuleSet#getFileInclusions() %} instead. + * {% jdoc !!core::lang.Parser#canParse() %} + * {% jdoc !!core::lang.Parser#getSuppressMap() %} + * {% jdoc !!core::rules.RuleBuilder#RuleBuilder(String,String,String) %}. Use the new constructor with the correct ResourceLoader instead. + * {% jdoc !!core::rules.RuleFactory#RuleFactory() %}. Use the new constructor with the correct ResourceLoader instead. +* pmd-java + * {% jdoc java::lang.java.ast.CanSuppressWarnings %} and its implementations + * {% jdoc java::lang.java.rule.AbstractJavaRule#isSuppressed(Node) %} + * {% jdoc java::lang.java.rule.AbstractJavaRule#getDeclaringType(Node) %}. + * {% jdoc java::lang.java.rule.JavaRuleViolation#isSupressed(Node,Rule) %} + * {% jdoc java::lang.java.ast.ASTMethodDeclarator %} + * {% jdoc java::lang.java.ast.ASTMethodDeclaration#getMethodName() %} + * {% jdoc java::lang.java.ast.ASTMethodDeclaration#getBlock() %} + * {% jdoc java::lang.java.ast.ASTConstructorDeclaration#getParameterCount() %} +* pmd-apex + * {% jdoc apex::lang.apex.ast.CanSuppressWarnings %} and its implementations + * {% jdoc apex::lang.apex.rule.ApexRuleViolation#isSupressed(Node,Rule) %} + +###### Internal APIs + +* pmd-core + * All the package {% jdoc_package core::util %} and its subpackages, + except {% jdoc_package core::util.datasource %} and {% jdoc_package core::util.database %}. + * {% jdoc core::cpd.GridBagHelper %} + * {% jdoc core::renderers.ColumnDescriptor %} + + #### 6.18.0 ##### Changes to Renderer