Skip to content

Commit 8d8a099

Browse files
committed
Prepare pmd release 7.11.0
1 parent 536c8ea commit 8d8a099

File tree

2 files changed

+47
-7
lines changed

2 files changed

+47
-7
lines changed

docs/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repository: pmd/pmd
22

33
pmd:
4-
version: 7.11.0-SNAPSHOT
4+
version: 7.11.0
55
previous_version: 7.10.0
66
date: 2025-02-28
77
# release types: major, minor, bugfix

docs/pages/release_notes.md

Lines changed: 46 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ This is a {{ site.pmd.release_type }} release.
1515
### 🚀 New and noteworthy
1616

1717
#### ✨ New Rules
18-
1918
* The new Apex rule {% rule apex/errorprone/AvoidStatefulDatabaseResult %} detects `Database.Stateful` implementations
2019
that store database results in instance variables. This can cause serialization issues between successive batch
2120
iterations.
2221

2322
#### Signed Releases
24-
2523
We now not only sign the maven artifacts, but also our binary distribution files that you can
2624
download from [GitHub Releases](https://github.com/pmd/pmd/releases).
2725
See the page [Signed Releases](pmd_userdocs_signed_releases.html) in our documentation for how to verify the files.
@@ -42,14 +40,13 @@ See the page [Signed Releases](pmd_userdocs_signed_releases.html) in our documen
4240
* [#5073](https://github.com/pmd/pmd/issues/5073): \[java] UnnecessaryCast false-positive for cast in return position of lambda
4341
* [#5440](https://github.com/pmd/pmd/issues/5440): \[java] UnnecessaryCast reported in stream chain map() call that casts to more generic interface
4442
* [#5523](https://github.com/pmd/pmd/issues/5523): \[java] UnnecessaryCast false-positive for integer operations in floating-point context
45-
* [#5541](https://github.com/pmd/pmd/pull/5541): \[java] Fix IdenticalCatchBranch reporting branches that call different overloads
43+
* [#5541](https://github.com/pmd/pmd/pull/5541): \[java] Fix IdenticalCatchBranch reporting branches that call different overloads
4644
* java-design
4745
* [#5018](https://github.com/pmd/pmd/issues/5018): \[java] FinalFieldCouldBeStatic false-positive for access of super class field
4846
* plsql
4947
* [#5522](https://github.com/pmd/pmd/issues/5522): \[plsql] Parse error for operator in TRIM function call
5048

5149
### 🚨 API Changes
52-
5350
#### Deprecations
5451
* java
5552
* The method {%jdoc !ca!java::lang.java.types.TypeOps#isContextDependent(java::lang.java.types.JMethodSig) %} is deprecated for removal.
@@ -59,14 +56,57 @@ See the page [Signed Releases](pmd_userdocs_signed_releases.html) in our documen
5956
### ✨ Merged pull requests
6057
<!-- content will be automatically generated, see /do-release.sh -->
6158
* [#5425](https://github.com/pmd/pmd/pull/5425): \[apex] New Rule: Avoid Stateful Database Results - [Mitch Spano](https://github.com/mitchspano) (@mitchspano)
59+
* [#5491](https://github.com/pmd/pmd/pull/5491): \[docs] Call render_release_notes.rb within docs - [Andreas Dangel](https://github.com/adangel) (@adangel)
60+
* [#5492](https://github.com/pmd/pmd/pull/5492): \[docs] Add security page with known vulnerabilities - [Andreas Dangel](https://github.com/adangel) (@adangel)
6261
* [#5503](https://github.com/pmd/pmd/pull/5503): \[java] AvoidSynchronizedAtMethodLevel: Fixed error in code example - [Balazs Glatz](https://github.com/gbq6) (@gbq6)
63-
* [#5538](https://github.com/pmd/pmd/pull/5538): Add project icon for IntelliJ IDEA - [Vincent Potucek](https://github.com/punkratz312) (@punkratz312)
62+
* [#5507](https://github.com/pmd/pmd/pull/5507): Fix #5486: \[java] Fix UnusedPrivateMethod - always search decls in current AST - [Andreas Dangel](https://github.com/adangel) (@adangel)
63+
* [#5508](https://github.com/pmd/pmd/pull/5508): Fix #3359: \[java] UnusedPrivateMethod: Ignore lombok.EqualsAndHashCode.Include - [Andreas Dangel](https://github.com/adangel) (@adangel)
64+
* [#5510](https://github.com/pmd/pmd/pull/5510): \[ci] Add signed releases - [Andreas Dangel](https://github.com/adangel) (@adangel)
65+
* [#5524](https://github.com/pmd/pmd/pull/5524): \[ci] New optimized workflow for pull requests - [Andreas Dangel](https://github.com/adangel) (@adangel)
66+
* [#5526](https://github.com/pmd/pmd/pull/5526): Fix #5523: \[java] UnnecessaryCast FP with integer division - [Clément Fournier](https://github.com/oowekyala) (@oowekyala)
67+
* [#5527](https://github.com/pmd/pmd/pull/5527): Fix #5522: \[plsql] Allow arbitrary expressions for TRIM - [Andreas Dangel](https://github.com/adangel) (@adangel)
68+
* [#5528](https://github.com/pmd/pmd/pull/5528): Fix #5442: \[java] Fix stackoverflow with recursive generic types - [Clément Fournier](https://github.com/oowekyala) (@oowekyala)
69+
* [#5529](https://github.com/pmd/pmd/pull/5529): Fix #5493: \[java] IllegalArgumentException with wildcard bound - [Clément Fournier](https://github.com/oowekyala) (@oowekyala)
70+
* [#5530](https://github.com/pmd/pmd/pull/5530): Fix #5073: \[java] UnnecessaryCast FP with lambdas - [Clément Fournier](https://github.com/oowekyala) (@oowekyala)
71+
* [#5537](https://github.com/pmd/pmd/pull/5537): Fix #5504: \[java] UnusedAssignment FP with continue in foreach loop - [Clément Fournier](https://github.com/oowekyala) (@oowekyala)
72+
* [#5538](https://github.com/pmd/pmd/pull/5538): Add project icon for IntelliJ IDEA - [Vincent Potucek](https://github.com/pankratz227) (@pankratz227)
73+
* [#5539](https://github.com/pmd/pmd/pull/5539): \[plsql] Add OracleDBUtils as regression testing project - [Andreas Dangel](https://github.com/adangel) (@adangel)
74+
* [#5541](https://github.com/pmd/pmd/pull/5541): \[java] Fix IdenticalCatchBranch reporting branches that call different overloads - [Clément Fournier](https://github.com/oowekyala) (@oowekyala)
75+
* [#5542](https://github.com/pmd/pmd/pull/5542): Add GitHub issue links in IDEA git log - [Andreas Dangel](https://github.com/adangel) (@adangel)
76+
* [#5544](https://github.com/pmd/pmd/pull/5544): \[javacc] Move grammar files into src/main/javacc - [Andreas Dangel](https://github.com/adangel) (@adangel)
77+
* [#5551](https://github.com/pmd/pmd/pull/5551): \[doc] Update contributors for 7.11.0 - [Andreas Dangel](https://github.com/adangel) (@adangel)
78+
* [#5552](https://github.com/pmd/pmd/pull/5552): Fix #4822: \[java] UnnecessaryCast FP with unchecked cast - [Clément Fournier](https://github.com/oowekyala) (@oowekyala)
79+
* [#5553](https://github.com/pmd/pmd/pull/5553): Fix #5018: \[java] FinalFieldCouldBeStatic FP with super field access - [Clément Fournier](https://github.com/oowekyala) (@oowekyala)
6480

6581
### 📦 Dependency updates
6682
<!-- content will be automatically generated, see /do-release.sh -->
83+
* [#5490](https://github.com/pmd/pmd/pull/5490): Bump PMD from 7.9.0 to 7.10.0
84+
* [#5494](https://github.com/pmd/pmd/pull/5494): Bump liquid from 5.7.1 to 5.7.2 in the all-gems group across 1 directory
85+
* [#5497](https://github.com/pmd/pmd/pull/5497): Bump net.bytebuddy:byte-buddy-agent from 1.16.1 to 1.17.0
86+
* [#5498](https://github.com/pmd/pmd/pull/5498): Bump org.assertj:assertj-core from 3.25.3 to 3.27.3
87+
* [#5499](https://github.com/pmd/pmd/pull/5499): Bump org.mockito:mockito-core from 5.14.2 to 5.15.2
88+
* [#5500](https://github.com/pmd/pmd/pull/5500): Bump org.junit:junit-bom from 5.11.2 to 5.11.4
89+
* [#5501](https://github.com/pmd/pmd/pull/5501): Bump org.scala-lang:scala-reflect from 2.13.15 to 2.13.16
90+
* [#5516](https://github.com/pmd/pmd/pull/5516): Bump org.jetbrains:annotations from 26.0.1 to 26.0.2
91+
* [#5517](https://github.com/pmd/pmd/pull/5517): Bump net.bytebuddy:byte-buddy from 1.15.11 to 1.17.0
92+
* [#5518](https://github.com/pmd/pmd/pull/5518): Bump org.junit.platform:junit-platform-suite from 1.11.3 to 1.11.4
93+
* [#5519](https://github.com/pmd/pmd/pull/5519): Bump org.checkerframework:checker-qual from 3.48.3 to 3.49.0
94+
* [#5520](https://github.com/pmd/pmd/pull/5520): Bump com.google.guava:guava from 33.0.0-jre to 33.4.0-jre
95+
* [#5532](https://github.com/pmd/pmd/pull/5532): Bump net.bytebuddy:byte-buddy-agent from 1.17.0 to 1.17.1
96+
* [#5533](https://github.com/pmd/pmd/pull/5533): Bump log4j.version from 2.24.2 to 2.24.3
97+
* [#5534](https://github.com/pmd/pmd/pull/5534): Bump com.google.code.gson:gson from 2.11.0 to 2.12.1
98+
* [#5535](https://github.com/pmd/pmd/pull/5535): Bump scalameta.version from 4.12.7 to 4.13.1.1
99+
* [#5536](https://github.com/pmd/pmd/pull/5536): Bump org.apache.groovy:groovy from 4.0.24 to 4.0.25
100+
* [#5545](https://github.com/pmd/pmd/pull/5545): Bump commons-logging:commons-logging from 1.3.4 to 1.3.5
101+
* [#5546](https://github.com/pmd/pmd/pull/5546): Bump scalameta.version from 4.13.1.1 to 4.13.2
102+
* [#5547](https://github.com/pmd/pmd/pull/5547): Bump net.bytebuddy:byte-buddy from 1.17.0 to 1.17.1
103+
* [#5548](https://github.com/pmd/pmd/pull/5548): Bump com.puppycrawl.tools:checkstyle from 10.21.2 to 10.21.3
104+
* [#5549](https://github.com/pmd/pmd/pull/5549): Bump org.apache.maven.plugins:maven-compiler-plugin from 3.13.0 to 3.14.0
67105

68106
### 📈 Stats
69107
<!-- content will be automatically generated, see /do-release.sh -->
108+
* 97 commits
109+
* 35 closed tickets & PRs
110+
* Days since last release: 28
70111

71112
{% endtocmaker %}
72-

0 commit comments

Comments
 (0)