dependabot[bot] opened a new pull request, #126:
URL: https://github.com/apache/cxf-build-utils/pull/126
Bumps [net.sourceforge.pmd:pmd-java](https://github.com/pmd/pmd) from 6.55.0
to 7.5.0.
Release notes
Sourced from https://github.com/pmd/pmd/releases";>net.sourceforge.pmd:pmd-java's
releases.
PMD 7.5.0 (30-August-2024)
30-August-2024 - 7.5.0
The PMD team is pleased to announce PMD 7.5.0.
This is a minor release.
Table Of Contents
https://github.com/pmd/pmd/blob/HEAD/#new-java-23-support";>🚀
New: Java 23 Support
https://github.com/pmd/pmd/blob/HEAD/#new-rules";>🌟 New
Rules
https://github.com/pmd/pmd/blob/HEAD/#fixed-issues";>🐛 Fixed
Issues
https://github.com/pmd/pmd/blob/HEAD/#api-changes";>🚨 API
Changes
https://github.com/pmd/pmd/blob/HEAD/#deprecations";>Deprecations
https://github.com/pmd/pmd/blob/HEAD/#experimental";>Experimental
https://github.com/pmd/pmd/blob/HEAD/#external-contributions";>✨
External Contributions
https://github.com/pmd/pmd/blob/HEAD/#dependency-updates";>📦
Dependency updates
https://github.com/pmd/pmd/blob/HEAD/#stats";>📈 Stats
🚀 New: Java 23 Support
This release of PMD brings support for Java 23. There are no new standard
language features,
but a couple of preview language features:
https://openjdk.org/jeps/455";>JEP 455: Primitive Types in
Patterns, instanceof, and switch (Preview)
https://openjdk.org/jeps/476";>JEP 476: Module Import
Declarations (Preview)
https://openjdk.org/jeps/477";>JEP 477: Implicitly Declared
Classes and Instance Main Methods (Third Preview)
https://openjdk.org/jeps/482";>JEP 482: Flexible Constructor
Bodies (Second Preview)
Note that String Templates (introduced as preview in Java 21 and 22) are
not supported anymore in Java 23,
see https://bugs.openjdk.org/browse/JDK-8329949";>JDK-8329949
for details.
In order to analyze a project with PMD that uses these preview language
features,
you'll need to enable it via the environment variable
PMD_JAVA_OPTS and select the new language
version 23-preview:
export PMD_JAVA_OPTS=--enable-preview
pmd check --use-version java-23-preview ...
Note: Support for Java 21 preview language features have been removed.
The version "21-preview"
are no longer available.
🌟 New Rules
The new Java rule https://docs.pmd-code.org/pmd-doc-7.5.0/pmd_rules_java_multithreading.html#avoidsynchronizedstatement";>AvoidSynchronizedStatement
finds synchronization blocks that
could cause performance issues with virtual threads due to pinning.
The new JavaScript rule https://docs.pmd-code.org/pmd-doc-7.5.0/pmd_rules_ecmascript_performance.html#avoidconsolestatements";>AvoidConsoleStatements
finds any function calls
on the Console API (e.g. console.log). Using these in
production code might negatively impact performance.
🐛 Fixed Issues
apex-performance
... (truncated)
Commits
https://github.com/pmd/pmd/commit/74ada426afd47d7e3748317047d2ad5fee4a35c8";>74ada42
[release] prepare release pmd_releases/7.5.0
https://github.com/pmd/pmd/commit/453f6690b0db734c9625bd152cade54362302765";>453f669
Prepare pmd release 7.5.0
https://github.com/pmd/pmd/commit/bff14449b2673d382290317c756decc2b33f75db";>bff1444
[doc] Update pmd_sidebar.yml
https://github.com/pmd/pmd/commit/8b44d2f374948dc8f93bc23978431e6436bb1ad3";>8b44d2f
[javascript] New rule AvoidConsoleStatements (https://redirect.github.com/pmd/pmd/issues/5126";>#5126)
https://github.com/pmd/pmd/commit/537dab95e4451bfa045d6428e551e1261f97476c";>537dab9
[java] Support Java 23 (https://redirect.github.com/pmd/pmd/issues/5112";>#5112)
https://github.com/pmd/pmd/commit/819b6bc5fb4eb2ca62b29067d4296c8546eafd82";>819b6bc
[java] Fix https://redirect.github.com/pmd/pmd/issues/5084";>#5084
- crash in LUB with raw types (https://redirect.github.com/pmd/pmd/issues/5179";>#5179)
https://github.com/pmd/pmd/commit/ada303de8390e5c2297e8d48c0fd5149f8998396";>ada303d
[doc] Document new java language prop xStrictTypeRes
https://github.com/pmd/pmd/commit/a44a5ca4ef6c621a9453d608bed28452bb3bd46e";>a44a5ca
[doc] Update release notes (https://redirect.github.com/pmd/pmd/issues/5048";>#5048)
https://github.com/pmd/pmd/commit/c6ef54326c8058c193414f61fdb9ad41da1d10d4";>c6ef543
Add https://github.com/AB-xdev";>@AB-xdev as a
contributor
https://github.com/pmd/pmd/commit/488807ff906305d68cbd290a40ef25dbf62831f5";>488807f
[java] Add testcase for https://redirect.github.com/pmd/pmd/issues/5048";>#5048
Additional commits viewable in https://github.com/pmd/pmd/compare/pmd_releases/6.55.0...pmd_releases/7.5.0";>compare
view
[](https://docs.