Andreas Dangel
909e86ca99
[apex] Verify nested subqueries work ( #5218 )
...
Fixes #5218
2024-09-19 17:27:13 +02:00
Andreas Dangel
36c1738135
[core] Sarif format: refer to schemastore.org ( #5202 )
...
Merge pull request #5202 from dschach:master
2024-09-19 17:19:53 +02:00
Andreas Dangel
d2d9ddff4a
[doc] Update release notes ( #5201 , #5202 )
2024-09-19 16:47:12 +02:00
Andreas Dangel
ac2e476e4c
[doc] Update Sarif Json Schema location
2024-09-19 16:47:12 +02:00
Andreas Dangel
6e65c2b3ab
Update @dschach as a contributor
2024-09-19 16:47:12 +02:00
David Schach
dd6e64a94d
fix(sarif): refer to existent $schema location
2024-09-19 16:46:08 +02:00
Juan Martín Sotuyo Dodero
8a9aec831d
Update changelog, refs #5207
2024-09-14 00:35:38 -03:00
Juan Martín Sotuyo Dodero
77b763e321
Merge pull request #5210 from adangel/issue-5059-core-xml-cdata
...
[core] Fix PMD's XMLRenderer to escape CDATA
2024-09-12 09:42:57 -03:00
Andreas Dangel
b410199992
[doc] Update release notes ( #5208 )
2024-09-12 10:30:04 +02:00
Andreas Dangel
537148c90a
[doc] Reformatting tools.md and ci.md
2024-09-12 10:29:51 +02:00
Andreas Dangel
341e089a47
Add @random1223 as a contributor
2024-09-12 10:19:14 +02:00
Andreas Dangel
6d1fb3e4cd
[core] Fix PMD's XMLRenderer to escape CDATA
...
Processing errors might contain inside their details
message a CDATA section. This is output itself as
a CDATA section, but XMLStreamWriter#writeCData doesn't
escape it automatically - it just outputs the string
as is. This results in invalid XML.
Fixes #5059
2024-09-12 09:44:54 +02:00
Tony
aae54f4b33
Added Codety into the tool list.
...
Added Codety into the tool list, Codety Scanner uses PMD as Java code analyzer.
Demo:
GitHub issue review example: https://github.com/codetyio/codety-scanner/actions/runs/10786005219/job/29912188828
GitHub Pull Request automation example: https://github.com/codetyio/codety-scanner/pull/15#issuecomment-2320351633
2024-09-11 21:38:45 -07:00
Andreas Dangel
04b3361dec
[java] Fix #5190 - NPE in type inference caused by null type ( #5192 )
...
Merge pull request #5192 from oowekyala:issue5190-npe-infer
2024-09-09 20:38:36 +02:00
Andreas Dangel
e6346ab6b9
Add @vedantchokshi as a contributor
2024-09-09 20:38:19 +02:00
Andreas Dangel
402eed5073
[doc] Update release notes ( #5190 , #5192 )
2024-09-09 20:12:12 +02:00
Andreas Dangel
2cfbac30b1
[doc] Update release notes ( #5138 )
2024-09-06 20:09:53 +02:00
Andreas Dangel
07ae01b4ea
[apex] Use new apex-parser 4.2.0
...
Verify that #5163 and #5182 are fixed.
2024-09-02 19:42:20 +02:00
Andreas Dangel
2ed25964b8
[release] Prepare next development version [skip ci]
2024-08-30 10:52:17 +02:00
Andreas Dangel
453f6690b0
Prepare pmd release 7.5.0
2024-08-30 10:10:53 +02:00
Andreas Dangel
8b44d2f374
[javascript] New rule AvoidConsoleStatements ( #5126 )
...
Merge pull request #5126 from adangel:js-rule-avoidconsolestatements
2024-08-29 17:42:24 +02:00
Andreas Dangel
537dab95e4
[java] Support Java 23 ( #5112 )
...
Merge pull request #5112 from issue-5062-support-java-23
2024-08-29 17:39:04 +02:00
Andreas Dangel
ada303de83
[doc] Document new java language prop xStrictTypeRes
2024-08-29 17:30:45 +02:00
Andreas Dangel
a44a5ca4ef
[doc] Update release notes ( #5048 )
2024-08-29 16:58:57 +02:00
Andreas Dangel
c6ef54326c
Add @AB-xdev as a contributor
2024-08-29 16:58:42 +02:00
Andreas Dangel
773f792dd6
[java] Fix #5162 SingularField FP with synchronized block ( #5178 )
...
Merge pull request #5178 from oowekyala:issue5162-singularfield-synchronized
2024-08-29 13:05:50 +02:00
Andreas Dangel
d7f564782a
[doc] Update release notes ( #5162 , #5178 )
2024-08-29 13:04:41 +02:00
Andreas Dangel
610f937bc4
[java] Update AvoidSynchronizedAtMethodLevel message to mention ReentrantLock, new rule AvoidSynchronizedStatement ( #5175 )
...
Merge pull request #5175 from chonton:ReentrantLock
2024-08-29 12:50:13 +02:00
Andreas Dangel
3c3be3c81d
[doc] Update release notes ( #5175 )
2024-08-29 12:48:14 +02:00
Andreas Dangel
a4cac6b74f
Update @chonton as a contributor
2024-08-29 12:46:30 +02:00
Andreas Dangel
d4779a135e
[doc] Update release notes ( #5125 )
2024-08-29 10:14:53 +02:00
Andreas Dangel
753dcca877
[doc] Update contributors
...
- Add @jbisotti as a contributor
- Add @soloturn as a contributor
- Add @schosin as a contributor
2024-08-29 09:58:16 +02:00
Andreas Dangel
af1929318b
[doc] Update release notes
2024-08-29 09:30:40 +02:00
Andreas Dangel
40688ae06d
[java] Revamp GuardLogStatementRule to allow var, field and array accesses ( #5169 )
...
Merge pull request #5169 from Monits:issue-5151
2024-08-29 09:25:59 +02:00
Andreas Dangel
93bfe7df0f
Merge branch 'master' into issue-5062-support-java-23
2024-08-27 20:09:09 +02:00
Andreas Dangel
d7d8c9cb29
[java] Rename ASTImportDeclaration#isModuleImport
2024-08-27 19:58:07 +02:00
Andreas Dangel
77bf2b1616
[doc] Update release notes ( #5167 )
2024-08-27 19:13:56 +02:00
Juan Martín Sotuyo Dodero
2f118d0d46
Update changelog, refs #4731
2024-08-24 23:46:33 -03:00
Juan Martín Sotuyo Dodero
45618c0e13
Merge branch 'master' into issue-5151
2024-08-24 18:20:38 -03:00
Juan Martín Sotuyo Dodero
be47aab265
Update changelog, refs #5167
2024-08-24 18:18:38 -03:00
Juan Martín Sotuyo Dodero
1c274fdda0
Update changelog, refs #3602
2024-08-24 00:51:15 -03:00
Juan Martín Sotuyo Dodero
8ecc21c06f
Merge branch 'master' into issue-5151
2024-08-24 00:14:55 -03:00
Juan Martín Sotuyo Dodero
218222524f
Update changelog, refs #5145
2024-08-23 14:36:12 -03:00
Juan Martín Sotuyo Dodero
15b006a52f
Update changelog, refs #5153
2024-08-18 19:41:56 -03:00
Juan Martín Sotuyo Dodero
33e7e71bfa
Update changelog, refs #5152
2024-08-18 19:30:34 -03:00
Juan Martín Sotuyo Dodero
0837be674e
Update changelog, refs #5151
2024-08-18 19:24:46 -03:00
Andreas Dangel
21d499d5ef
[doc] Release Notes for Java 23 Support ( #5062 )
...
Also add some @since tags to new API methods
2024-08-01 11:53:04 +02:00
Andreas Dangel
10681cd6a8
[java] Remove version 21-preview
2024-08-01 10:28:29 +02:00
Andreas Dangel
568314bb89
[java] Add new language version 23 and 23-preview
2024-08-01 10:15:09 +02:00
Andreas Dangel
3735fd145b
[apex] Fix parsing of triggers with declarations
...
Only the grandchildren of a trigger block were ending up in the tree,
but the direct children of triggerBlock were missing, e.g.
ForLoopStatement. This caused OperationWithHighCostInLoop to not
find the loop anymore in triggers.
This will probably fix other false negatives in triggers in
other rules as well.
Fixes #5139
2024-07-27 20:17:25 +02:00