Skip to content

dependabot maven(deps): bump pmd.version from 7.3.0 to 7.4.0

Depen d'Abot requested to merge dependabot-maven-pmd.version-7.4.0 into master

Bumps pmd.version from 7.3.0 to 7.4.0. Updates pmd-core from 7.3.0 to 7.4.0

Release notes

Sourced from pmd-core's releases.

PMD 7.4.0 (26-July-2024)

26-July-2024 - 7.4.0

The PMD team is pleased to announce PMD 7.4.0.

This is a minor release.

Table Of Contents

🌟 New and changed rules

New Rules

  • The new Apex rule AvoidNonRestrictiveQueries finds SOQL and SOSL queries without a where or limit statement. This can quickly cause governor limit exceptions.

Changed rules

  • ClassNamingConventions (Apex Codestyle): Two new properties to configure different patterns for inner classes and interfaces: innerClassPattern and innerInterfacePattern.

Renamed rules

  • InaccurateNumericLiteral (JavaScript Error Prone) has been renamed from InnaccurateNumericLiteral. The old rule name still works but is deprecated.

🐛 Fixed Issues

  • apex
    • #5094: [apex] "No adapter exists for type" error message printed to stdout instead of stderr
  • apex-bestpractices
    • #5095: [apex] ApexUnitTestShouldNotUseSeeAllDataTrue false negative due to casing (regression in PMD 7)
  • apex-codestyle
    • #4800: [apex] ClassNamingConvention: Support naming convention for inner classes
  • apex-performance
    • #635: [apex] New Rule: Avoid soql/sosl queries without a where clause or limit statement
  • java-bestpractices
    • #5106: [java] AccessorClassGeneration: Node was null for default constructor
    • #5110: [java] UnusedPrivateMethod for method referenced by lombok.Builder.ObtainVia
    • #5117: [java] UnusedPrivateMethod for methods annotated with jakarta.annotation.PostConstruct or PreDestroy
  • java-errorprone
    • #1488: [java] MissingStaticMethodInNonInstantiatableClass: False positive with Lombok Builder on Constructor
  • javascript-errorprone
    • #2367: [javascript] InnaccurateNumericLiteral is misspelled

... (truncated)

Commits
  • db5fa2d [release] prepare release pmd_releases/7.4.0
  • 5992a2d Prepare pmd release 7.4.0
  • 7272799 Merge pull request #5134 from adangel/issue-5133-plsql-parse-error
  • 3ffb3ec Merge pull request #5137 from adangel/issue-5106-AccessorClassGeneration
  • c194d3e Add @​rbri as a contributor
  • 41393d4 [java] AccessorClassGeneration - handle default ctors
  • 6a242f0 [plsql] Fix CollectionTypeName parsing
  • 87b0c4f [plsql] Fix ScalarDataTypeName parsing
  • 5d39923 [core] Don't log warning about skipLexicalErrors twice (#5102)
  • a3f9d4a [java] Simplify UnusedPrivateMethodRule
  • Additional commits viewable in compare view

Updates pmd-java from 7.3.0 to 7.4.0

Release notes

Sourced from pmd-java's releases.

PMD 7.4.0 (26-July-2024)

26-July-2024 - 7.4.0

The PMD team is pleased to announce PMD 7.4.0.

This is a minor release.

Table Of Contents

🌟 New and changed rules

New Rules

  • The new Apex rule AvoidNonRestrictiveQueries finds SOQL and SOSL queries without a where or limit statement. This can quickly cause governor limit exceptions.

Changed rules

  • ClassNamingConventions (Apex Codestyle): Two new properties to configure different patterns for inner classes and interfaces: innerClassPattern and innerInterfacePattern.

Renamed rules

  • InaccurateNumericLiteral (JavaScript Error Prone) has been renamed from InnaccurateNumericLiteral. The old rule name still works but is deprecated.

🐛 Fixed Issues

  • apex
    • #5094: [apex] "No adapter exists for type" error message printed to stdout instead of stderr
  • apex-bestpractices
    • #5095: [apex] ApexUnitTestShouldNotUseSeeAllDataTrue false negative due to casing (regression in PMD 7)
  • apex-codestyle
    • #4800: [apex] ClassNamingConvention: Support naming convention for inner classes
  • apex-performance
    • #635: [apex] New Rule: Avoid soql/sosl queries without a where clause or limit statement
  • java-bestpractices
    • #5106: [java] AccessorClassGeneration: Node was null for default constructor
    • #5110: [java] UnusedPrivateMethod for method referenced by lombok.Builder.ObtainVia
    • #5117: [java] UnusedPrivateMethod for methods annotated with jakarta.annotation.PostConstruct or PreDestroy
  • java-errorprone
    • #1488: [java] MissingStaticMethodInNonInstantiatableClass: False positive with Lombok Builder on Constructor
  • javascript-errorprone
    • #2367: [javascript] InnaccurateNumericLiteral is misspelled

... (truncated)

Commits
  • db5fa2d [release] prepare release pmd_releases/7.4.0
  • 5992a2d Prepare pmd release 7.4.0
  • 7272799 Merge pull request #5134 from adangel/issue-5133-plsql-parse-error
  • 3ffb3ec Merge pull request #5137 from adangel/issue-5106-AccessorClassGeneration
  • c194d3e Add @​rbri as a contributor
  • 41393d4 [java] AccessorClassGeneration - handle default ctors
  • 6a242f0 [plsql] Fix CollectionTypeName parsing
  • 87b0c4f [plsql] Fix ScalarDataTypeName parsing
  • 5d39923 [core] Don't log warning about skipLexicalErrors twice (#5102)
  • a3f9d4a [java] Simplify UnusedPrivateMethodRule
  • Additional commits viewable in compare view

Updates pmd-javascript from 7.3.0 to 7.4.0

Release notes

Sourced from pmd-javascript's releases.

PMD 7.4.0 (26-July-2024)

26-July-2024 - 7.4.0

The PMD team is pleased to announce PMD 7.4.0.

This is a minor release.

Table Of Contents

🌟 New and changed rules

New Rules

  • The new Apex rule AvoidNonRestrictiveQueries finds SOQL and SOSL queries without a where or limit statement. This can quickly cause governor limit exceptions.

Changed rules

  • ClassNamingConventions (Apex Codestyle): Two new properties to configure different patterns for inner classes and interfaces: innerClassPattern and innerInterfacePattern.

Renamed rules

  • InaccurateNumericLiteral (JavaScript Error Prone) has been renamed from InnaccurateNumericLiteral. The old rule name still works but is deprecated.

🐛 Fixed Issues

  • apex
    • #5094: [apex] "No adapter exists for type" error message printed to stdout instead of stderr
  • apex-bestpractices
    • #5095: [apex] ApexUnitTestShouldNotUseSeeAllDataTrue false negative due to casing (regression in PMD 7)
  • apex-codestyle
    • #4800: [apex] ClassNamingConvention: Support naming convention for inner classes
  • apex-performance
    • #635: [apex] New Rule: Avoid soql/sosl queries without a where clause or limit statement
  • java-bestpractices
    • #5106: [java] AccessorClassGeneration: Node was null for default constructor
    • #5110: [java] UnusedPrivateMethod for method referenced by lombok.Builder.ObtainVia
    • #5117: [java] UnusedPrivateMethod for methods annotated with jakarta.annotation.PostConstruct or PreDestroy
  • java-errorprone
    • #1488: [java] MissingStaticMethodInNonInstantiatableClass: False positive with Lombok Builder on Constructor
  • javascript-errorprone
    • #2367: [javascript] InnaccurateNumericLiteral is misspelled

... (truncated)

Commits
  • db5fa2d [release] prepare release pmd_releases/7.4.0
  • 5992a2d Prepare pmd release 7.4.0
  • 7272799 Merge pull request #5134 from adangel/issue-5133-plsql-parse-error
  • 3ffb3ec Merge pull request #5137 from adangel/issue-5106-AccessorClassGeneration
  • c194d3e Add @​rbri as a contributor
  • 41393d4 [java] AccessorClassGeneration - handle default ctors
  • 6a242f0 [plsql] Fix CollectionTypeName parsing
  • 87b0c4f [plsql] Fix ScalarDataTypeName parsing
  • 5d39923 [core] Don't log warning about skipLexicalErrors twice (#5102)
  • a3f9d4a [java] Simplify UnusedPrivateMethodRule
  • Additional commits viewable in compare view

Updates pmd-jsp from 7.3.0 to 7.4.0

Release notes

Sourced from pmd-jsp's releases.

PMD 7.4.0 (26-July-2024)

26-July-2024 - 7.4.0

The PMD team is pleased to announce PMD 7.4.0.

This is a minor release.

Table Of Contents

🌟 New and changed rules

New Rules

  • The new Apex rule AvoidNonRestrictiveQueries finds SOQL and SOSL queries without a where or limit statement. This can quickly cause governor limit exceptions.

Changed rules

  • ClassNamingConventions (Apex Codestyle): Two new properties to configure different patterns for inner classes and interfaces: innerClassPattern and innerInterfacePattern.

Renamed rules

  • InaccurateNumericLiteral (JavaScript Error Prone) has been renamed from InnaccurateNumericLiteral. The old rule name still works but is deprecated.

🐛 Fixed Issues

  • apex
    • #5094: [apex] "No adapter exists for type" error message printed to stdout instead of stderr
  • apex-bestpractices
    • #5095: [apex] ApexUnitTestShouldNotUseSeeAllDataTrue false negative due to casing (regression in PMD 7)
  • apex-codestyle
    • #4800: [apex] ClassNamingConvention: Support naming convention for inner classes
  • apex-performance
    • #635: [apex] New Rule: Avoid soql/sosl queries without a where clause or limit statement
  • java-bestpractices
    • #5106: [java] AccessorClassGeneration: Node was null for default constructor
    • #5110: [java] UnusedPrivateMethod for method referenced by lombok.Builder.ObtainVia
    • #5117: [java] UnusedPrivateMethod for methods annotated with jakarta.annotation.PostConstruct or PreDestroy
  • java-errorprone
    • #1488: [java] MissingStaticMethodInNonInstantiatableClass: False positive with Lombok Builder on Constructor
  • javascript-errorprone
    • #2367: [javascript] InnaccurateNumericLiteral is misspelled

... (truncated)

Commits
  • db5fa2d [release] prepare release pmd_releases/7.4.0
  • 5992a2d Prepare pmd release 7.4.0
  • 7272799 Merge pull request #5134 from adangel/issue-5133-plsql-parse-error
  • 3ffb3ec Merge pull request #5137 from adangel/issue-5106-AccessorClassGeneration
  • c194d3e Add @​rbri as a contributor
  • 41393d4 [java] AccessorClassGeneration - handle default ctors
  • 6a242f0 [plsql] Fix CollectionTypeName parsing
  • 87b0c4f [plsql] Fix ScalarDataTypeName parsing
  • 5d39923 [core] Don't log warning about skipLexicalErrors twice (#5102)
  • a3f9d4a [java] Simplify UnusedPrivateMethodRule
  • Additional commits viewable in compare view

Merge request reports