Prepare pmd release 7.0.0-rc3

This commit is contained in:
Andreas Dangel
2023-05-30 19:53:13 +02:00
parent 25e230aff0
commit e96c2c0fd1
3 changed files with 35 additions and 6 deletions

View File

@ -1,9 +1,9 @@
repository: pmd/pmd
pmd:
version: 7.0.0-SNAPSHOT
version: 7.0.0-rc3
previous_version: 6.55.0
date: 27-May-2023
date: 30-May-2023
release_type: major
# release types: major, minor, bugfix

View File

@ -671,8 +671,9 @@ Language specific fixes:
* [#4553](https://github.com/pmd/pmd/pull/4553): \[java] Fix #4492: GuardLogStatement gives false positive when argument is a Java method reference - [Anastasiia Koba](https://github.com/anastasiia-koba) (@anastasiia-koba)
### 📈 Stats
* 4557 commits
* 572 closed tickets & PRs
* Days since last release: 35
* 4694 commits
* 617 closed tickets & PRs
* Days since last release: 30
{% endtocmaker %}

View File

@ -984,7 +984,35 @@ and [Adding a new language with ANTLR](pmd_devdocs_major_adding_new_language_ant
Related issue: [[core] Language lifecycle (#3782)](https://github.com/pmd/pmd/issues/3782)
### API removals
### API changes
#### 7.0.0-rc3
* The following previously deprecated classes have been removed:
* pmd-core
* `net.sourceforge.pmd.PMD`
* `net.sourceforge.pmd.cli.PMDCommandLineInterface`
* `net.sourceforge.pmd.cli.PMDParameters`
* `net.sourceforge.pmd.cli.PmdParametersParseResult`
* The asset filenames of PMD on [GitHub Releases](https://github.com/pmd/pmd/releases) are
now `pmd-dist-<version>-bin.zip`, `pmd-dist-<version>-src.zip` and `pmd-dist-<version>-doc.zip`.
Keep that in mind, if you have an automated download script.
The structure inside the ZIP files stay the same, e.g. we still provide inside the binary distribution
ZIP file the base directory `pmd-bin-<version>`.
* The CLI option `--stress` (or `-stress`) has been removed without replacement.
* The CLI option `--minimum-priority` was changed with 7.0.0-rc1 to only take the following values:
High, Medium High, Medium, Medium Low, Low. With 7.0.0-rc2 compatibility has been restored, so that the equivalent
integer values (1 to 5) are supported as well.
* Replaced `RuleViolation::getFilename` with new {% jdoc !!core::RuleViolation#getFileId() %}, that returns a
{% jdoc core::lang.document.FileId %}. This is an identifier for a {% jdoc core::lang.document.TextFile %}
and could represent a path name. This allows to have a separate display name, e.g. renderers use
{% jdoc core::reporting.FileNameRenderer %} to either display the full path name or a relative path name
(see {% jdoc !!core::renderers.Renderer#setFileNameRenderer(net.sourceforge.pmd.reporting.FileNameRenderer) %} and
{%jdoc core::reporting.ConfigurableFileNameRenderer %}). Many places where we used a simple String for
a path-like name before have been adapted to use the new {% jdoc core::lang.document.FileId %}.
See [PR #4425](https://github.com/pmd/pmd/pull/4425) for details.
#### 7.0.0-rc2