Conversation
Contributor
Bumps pmd.version from 6.55.0 to 7.1.0.
Updates net.sourceforge.pmd:pmd-core from 6.55.0 to 7.1.0
Sourced from net.sourceforge.pmd:pmd-core's releases.
PMD 7.1.0 (26-April-2024)
26-April-2024 - 7.1.0
The PMD team is pleased to announce PMD 7.1.0.
This is a minor release.
Table Of Contents
๐ New and noteworthy
More robust CPD reports
There were a number of circumstances, specially around (but not limited to) literal sequences, were CPD would report duplicate overlapping or partially overlapping matches. These have now been fixed, and CPD will report only the longest non-overlapping duplicate.
These improvements apply to all supported languages, irrespective of supported flags.
โจ New Rules
- The new Java rule
UnnecessaryVarargsArrayCreationreports explicit array creation when a varargs is expected. This is more heavy to read and could be simplified.- The new Java rule
ConfusingArgumentToVarargsMethodreports some confusing situations where a varargs method is called with an inexact argument type. These may end up in a mismatch between the expected parameter type and the actual value.- The new Java rule
LambdaCanBeMethodReferencereports lambda expressions that can be replaced with a method reference. Please read the documentation of the rule for more info. This rule is now part of the Quickstart ruleset.๐ Rule Changes
JUnitTestsShouldIncludeAssertandJUnitTestContainsTooManyAssertshave a new property namedextraAssertMethodNames. With this property, you can configure which additional static methods should be considered as valid verification methods. This allows to use custom mocking or assertion libraries.๐ Fixed Issues
... (truncated)
Commits592e80d[release] prepare release pmd_releases/7.1.07d0dfa0Prepare pmd release 7.1.031585acBump build-tools from 24-SNAPSHOT to 24d0870f3[java] New rule ConfusingArgumentToVarargsMethod (#4971)04206ecRevert "[ci] Disable auto-gen-config for regression tests"f5d47ac[ci] Disable auto-gen-config for regression tests102ba1e[ci] Disable auto-gen-config for regression testsa154f78[doc] Update all-contributors16df3dd[core] Make CPD report maximal, non-repeating and non-overlapping duplicates ...202943e[java] Fix #4948 - ImplicitSwitchFallthrough false positive with nested switc...- Additional commits viewable in compare view
Updates net.sourceforge.pmd:pmd-java from 6.55.0 to 7.1.0
Sourced from net.sourceforge.pmd:pmd-java's releases.
PMD 7.1.0 (26-April-2024)
26-April-2024 - 7.1.0
The PMD team is pleased to announce PMD 7.1.0.
This is a minor release.
Table Of Contents
๐ New and noteworthy
More robust CPD reports
There were a number of circumstances, specially around (but not limited to) literal sequences, were CPD would report duplicate overlapping or partially overlapping matches. These have now been fixed, and CPD will report only the longest non-overlapping duplicate.
These improvements apply to all supported languages, irrespective of supported flags.
โจ New Rules
- The new Java rule
UnnecessaryVarargsArrayCreationreports explicit array creation when a varargs is expected. This is more heavy to read and could be simplified.- The new Java rule
ConfusingArgumentToVarargsMethodreports some confusing situations where a varargs method is called with an inexact argument type. These may end up in a mismatch between the expected parameter type and the actual value.- The new Java rule
LambdaCanBeMethodReferencereports lambda expressions that can be replaced with a method reference. Please read the documentation of the rule for more info. This rule is now part of the Quickstart ruleset.๐ Rule Changes
JUnitTestsShouldIncludeAssertandJUnitTestContainsTooManyAssertshave a new property namedextraAssertMethodNames. With this property, you can configure which additional static methods should be considered as valid verification methods. This allows to use custom mocking or assertion libraries.๐ Fixed Issues
... (truncated)
Commits592e80d[release] prepare release pmd_releases/7.1.07d0dfa0Prepare pmd release 7.1.031585acBump build-tools from 24-SNAPSHOT to 24d0870f3[java] New rule ConfusingArgumentToVarargsMethod (#4971)04206ecRevert "[ci] Disable auto-gen-config for regression tests"f5d47ac[ci] Disable auto-gen-config for regression tests102ba1e[ci] Disable auto-gen-config for regression testsa154f78[doc] Update all-contributors16df3dd[core] Make CPD report maximal, non-repeating and non-overlapping duplicates ...202943e[java] Fix #4948 - ImplicitSwitchFallthrough false positive with nested switc...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Contributor Author
OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
dependabot Bot deleted the dependabot/maven/pmd.version-7.1.0 branch
May 3, 2024 17:14