Skip to content

Update dependency checkstyle to v10.26.1 #1201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 25, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
checkstyle (source) 10.19.0 -> 10.26.1 age adoption passing confidence

Release Notes

checkstyle/checkstyle (checkstyle)

v10.26.1

Checkstyle 10.26.1 - https://checkstyle.org/releasenotes.html#Release\_10.26.1

Bug fixes:

#​17250 - NewlineAtEndOfFileCheck and empty files (size 0)

Other Changes:
Preparation for Migration of Checkstyle Codebase to Java 17
Add data to javadoc of Check to indicate true version of module properties inherited from the abstract parent class

v10.26.0

Checkstyle 10.26.0 - https://checkstyle.org/releasenotes.html#Release\_10.26.0

New:

#​14949 - Add Check Support for Java 21 Record Pattern : New Check PatternVariableAssignment

Bug fixes:

#​8965 - Indentation check doesn't give violation when google formatter does
#​17122 - False positive on indentation for Annotation Arrays

Other Changes:
Add data to javadoc of Check to indicate true version of module properties inherited from the abstract parent class
Preparation for Migration of Checkstyle Codebase to Java 17
PropertyCacheFileTest.testPathToCacheContainsOnlyFileName is failing
update JavadocTokenTypes.java to new format of AST print

v10.25.1

Checkstyle 10.25.1 - https://checkstyle.org/releasenotes.html#Release\_10.25.1

Bug fixes:

#​17167 - checkstyle expects different indentation for switch cases.

Other Changes:
Fix the problem when property of module has older version than the module's
Preparation for Migration of Checkstyle Codebase to Java 17
Updating properties in Input files to mention all default properties,
use new nio jdk api instead of all api
Validattion of xdoc files to have separtor between examples
Review latest changes at Google style guide
CI is failing on 'validation.sh no-violation-test-josm'
Typo in check name in 10.25.0 release notes

v10.25.0

Checkstyle 10.25.0 - https://checkstyle.org/releasenotes.html#Release\_10.25.0

New:

#​14945 - Add Check Support for Java 21 Record Pattern : New Check UnnecessaryNullCheckWithInstanceOf

Bug fixes:

#​17120 - False positives for google_checks when using switch expression in lambda

Other Changes:
infra: allow cirrus to run on PR from its own repository
CI Failure in Check no broken links
cirrus CI is faililng with java.exe is not recognized
Add hazelcast project to no-error CI job
Add JUnit Validation to Ensure New Checks Are Listed in `index.xml` Categories
Missing MultiFileRegexpHeader into Header index.html
Fix code blocks formatting in cmdline.html#Download_and_Run
update JavadocTokenTypes.java to new format of AST print
Fix existing cases of `getFileContents()` usage

v10.24.0

Checkstyle 10.24.0 - https://checkstyle.org/releasenotes.html#Release\_10.24.0

New:

#​5983 - CLI: generate suppresion xml content (SuppressionFilter) for certain Checks but whole file with violation
#​16174 - New Check: MultiFileRegexpHeader to allow specify few header file to validate

Bug fixes:

#​16786 - private enums being treated as public in JavadocVariableCheck
#​16564 - EmptyLineSeparator check does not validate newlines before comments in Interfaces
#​8807 - SuppressWithPlainTextCommentFilter is slow on files with multiple errors
#​14654 - incompatibility with google-java-format: CatchFormalParameter is indented by 4 spaces instead of 2
#​15098 - Indentation of the Block child of switch rule is not validated when no braces

Other Changes:
fix log typo
Resolve Pitest Suppression in Pitest-Javadoc Profile
update JavadocTokenTypes.java to new format of AST print
doc: Add GSoC guide tip on learning beyond code, link article on code review sentiment
Validate that all Inputs mentioned all default properties in config
Fix indentation of generated content cli for mode '-g'
Adopt Maven Wrapper and Update CI to Fully Use It
doc: update AuditListener image format and dimensions
include PMD `UnusedPrivateMethod`
include PMD `GuardLogStatement`
Add example to MatchXpatch on how to validate Constructor Count in classes
Resolve CheckerFramework violations
Infra: Replace REPOSITORY_OWNER CI ENV var with built-in GITHUB_REPOSITORY_OWNER
Update Filters Exampes to use verifyFilterWithInlineConfigParser
Update vim plugin details
doc: Add UML diagram for Filter and update image reference in documentation
Rename all 'ex' varaibles to 'exc' and forrbit by cheksttyle check 'ex'
migrate pgjdbc no-error execution to jdk21
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
Enforce formatting of `// violation` and `// ok` comments
inconsistent linkcheck errors
Incorrect language class assigned to code blocks in documentation (e.g., logs getting language-xml, Java code getting language-xml)
update documentation: VariableDeclarationUsageDistance on block of initialization methods
Update IndentationCheckTest to use verifyWarns
Remove config_ conditions from xdocs tests
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
use new nio jdk api instead of all api
Cover pitest survivals with tests

v10.23.1

Checkstyle 10.23.1 - https://checkstyle.org/releasenotes.html#Release\_10.23.1

Bug fixes:

#​16630 - JavadocParagraph false violation when <p> is inside of <div>``</div>
#​15769 - google_checks.xml: remove xpath suppression and false-positive indentation violations for block codes
#​15792 - Fix false-negatives regarding LITERAL_CATCH to detect K&R Blocks in google_checks.xml
#​11641 - SuppressWarningsHolder should allow usage of simple name of Checks in aliasList

Other Changes:
doc: remove outdated note about ANTLR versions in Javadoc vs Java grammar explanation
Define violation messages for all violations
Missing test for InputIndentationInvalidArrayInitIndent.java with forceStrictCondition=false
Update Filters Exampes to use verifyFilterWithInlineConfigParser
Cover pitest survivals with tests
disallow import of `java.util.concurrent.atomic.AtomicInteger` yet, it is still used in `api\SeverityLevelCounter.java` and `checks\UniquePropertiesCheck.java`
Update CLI help to mention that folder also can be used
Extend documentation on no lombok support
separate examples by horizontal line
Configuration website does not allow linking to Examples
Remove usage of AtomicInteger from NPathComplexityCheck
update JavadocTokenTypes.java to new format of AST print
chore: use span classes for layout
Website layout breaks at viewport width `>`= 1999px
fix `OSX build` when `.DS_Store` is present
doc: remove SonarCloud badge from README.md
use new nio jdk api instead of all api
Enforce file size on Java inputs
infra: verify-no-exception-configs is in semaphore ci
align ubuntu image version `ubuntu-22.04` -`>` `ubuntu-24.04`
doc: improve variableDeclarationUsage...Check's docs to avoid confusion on calculation of distance
Resolve CheckerFramework violations
fix whitespace typo in `Note : ` -`>` `Note: `
Bad links on Sponsoring page
add Content section to config.xml and writinglisteners.xml.vm
Broken Backport Links on Website
Fix existing cases of `getFileContents()` usage
Broken Flattr Link and Image on Sponsoring Page
Resolve Pitest Suppression in Pitest-Javadoc Profile
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger

v10.23.0

Checkstyle 10.23.0 - https://checkstyle.org/releasenotes.html#Release\_10.23.0

New:

#​9745 - JavadocMethod: new property 'allowInlineReturn' to support for Javadoc return tag as inline

Bug fixes:

#​14697 - False negative in UnusedImportCheck

Other Changes:
SuppressionSingleFilterExamplesTest methods should use: `verifyFilterWithInlineConfigParser`
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
update JavadocTokenTypes.java to new format of AST print
use new nio jdk api instead of all api
CircleCI is failing on xwiki validation.

v10.22.0

v10.21.4

Checkstyle 10.21.4 - https://checkstyle.org/releasenotes.html#Release\_10.21.4

Bug fixes:

#​15161 - AnnotationOnSameLine: FalseNegative when the annotation is on the same line of the modifer of the target class
#​16081 - PARAMETER_DEF in FinalLocalVariable doesn't seem to work in interfaces
#​16165 - Regression: CyclomaticComplexity.switchBlockAsSingleDecisionPoint does not work properly anymore (10.21.1)

Other Changes:
update JavadocTokenTypes.java to new format of AST print
Resolve Pitest Suppression in Pitest-Javadoc Profile
Define violation messages for all violations
Improve documentation - how to add usage of `var` to check `IllegalType`?
Enforce file size on Java inputs
Strange echo failure for static message in github action execution
Remove '//ok' comments from Input files
Cover pitest survivals with tests

v10.21.3

v10.21.2

Checkstyle 10.21.2 - https://checkstyle.org/releasenotes.html#Release\_10.21.2

Bug fixes:

#​15939 - lineWrappingIndentation falsely detects incorrect indentation for text blocks
#​16101 - ignoreFieldDeclaration property should have the highest priority in MagicNumberCheck

Other Changes:
dependency: bump org.apache.maven.plugins:maven-site-plugin from 3.12.1 to 3.21.0
Enable examples tests
Remove '//ok' comments from Input files
update JavadocTokenTypes.java to new format of AST print
Issue #​16077: Removed text under banner images in menu
Define violation messages for all violations
Website: Open External Links in New Tabs for Better User Experience
Enforce file size on Java inputs
use new nio jdk api instead of all api
Expand XPath IT Regression Testing
Test to ensure website checks/filters are in alphabetical order at summary pages
Expandable menu for mobile website

v10.21.1

Checkstyle 10.21.1 - https://checkstyle.org/releasenotes.html#Release\_10.21.1

Bug fixes:

#​11374 - UnusedLocalVariable: False Positive when inner class has same field as variable

Other Changes:
Refactor SummaryJavadoc to avoid null usage
Enable examples tests
update JavadocTokenTypes.java to new format of AST print
Remove '//ok' comments from Input files
Resolve Pitest Suppression in Pitest-Javadoc Profile
Expand XPath IT Regression Testing

v10.21.0

Checkstyle 10.21.0 - https://checkstyle.org/releasenotes.html#Release\_10.21.0

New:

#​15985 - Expand Default Value of constantWaiverParentToken in MagicNumberCheck with All Operators

Other Changes:
Enable examples tests
GitHub action to execute latest checkstyle release on provided conf and source
https://checkstyle.org/checks/ Gives a 404
Refactor SummaryJavadoc to avoid null usage
Test to ensure website checks/filters are in alphabetical order
Expand XPath IT Regression Testing
Define violation messages for all violations.
update JavadocTokenTypes.java to new format of AST print
Remove '//ok' comments from Input files

v10.20.2

Checkstyle 10.20.2 - https://checkstyle.org/releasenotes.html#Release\_10.20.2

Bug fixes:

#​15943 - ArrayIndexOutOfBoundsException on indentation check of try-with-resources
#​13061 - Solving parsing errors for missing description in block tags
#​14573 - JavadocType: False negative for unknown tag with no description
#​11584 - WriteTag reports violation with confusing message when there is no javadoc

Other Changes:
Remove '//ok' comments from Input files
Enable examples tests
doc: Fix Example3 in MagicNumberCheck Docs
Forbid Files.createTempDirectory in Checkstyle and replace with `@`TempDir
Expand XPath IT Regression Testing
avoid reliance on `File.createTempFile` implementation d…
Cover pitest survivals with tests
Fix existing cases of `getFileContents()` usage
Define violation messages for all violations.
OuterTypeNumber: provide java code snippets in documentation
JavadocParagraph: define in documentation list of validated block-tags
Resolve `TailRecursion` inspection violations by replacing tail recursive calls
doc: add check-tfij-style project to 'Additional Checks'
Print patch command line for changes detected by checkerfrawork
update JavadocTokenTypes.java to new format of AST print
NeedBraces need clear description of allowSingleLineStatement

v10.20.1

Checkstyle 10.20.1 - https://checkstyle.org/releasenotes.html#Release\_10.20.1

Bug fixes:

#​15851 - google_checks: False positive on left curly brace in switch statement with lambda-like construct

Other Changes:
Enable examples tests
update JavadocTokenTypes.java to new format of AST print
IDEA inspection suppressions resulted from migration to v2022.3.3
update GSOC.md and CONTRIBUTING.md
Define violation messages for all violations.
Resolve `TailRecursion` inspection violations by replacing tail recursive calls
JavadocParagraph documentation example s should be updated to same by structure
doc: BEGINNING_DEVELOPMENT.md
doc: improve README.md add CONTRIBUTING.md add GSOC.md
Cover pitest survivals with tests

v10.20.0

Checkstyle 10.20.0 - https://checkstyle.org/releasenotes.html#Release\_10.20.0

Breaking backward compatibility:

#​15687 - JavadocMethodCheck: removed unnecessary tokens from acceptable

New:

#​14424 - HideUtilityClassConstructor - Add option to skip validation based on list of annotations

Bug fixes:

#​15831 - google_checks.xml not allowing eol left curly for switch statement with lambda-like construct

Other Changes:
Resolve `TailRecursion` inspection violations by replacing tail recursive calls
Enable examples tests
Missing test class for ConstructorsDeclarationGroupingCheck's documentation examples
Expand XPath IT Regression Testing
Define violation messages for all violations.
update JavadocTokenTypes.java to new format of AST print

Configuration

📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Sep 25, 2024
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from e279255 to 9eb01c0 Compare September 26, 2024 10:25
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 9eb01c0 to 9e2c71f Compare September 29, 2024 19:53
@renovate renovate bot changed the title Update dependency checkstyle to v10.18.1 Update dependency checkstyle to v10.18.2 Sep 29, 2024
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 9e2c71f to 86f5f4e Compare October 21, 2024 11:14
@renovate renovate bot changed the title Update dependency checkstyle to v10.18.2 Update dependency checkstyle to v10.19.0 Oct 26, 2024
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 86f5f4e to d585307 Compare October 26, 2024 12:39
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from d585307 to 9fed9b0 Compare October 28, 2024 13:17
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 9fed9b0 to 9eb0f3b Compare October 31, 2024 09:55
@renovate renovate bot changed the title Update dependency checkstyle to v10.19.0 Update dependency checkstyle to v10.20.0 Oct 31, 2024
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 9eb0f3b to f27ce6e Compare October 31, 2024 16:23
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from f27ce6e to 04a9baf Compare November 4, 2024 08:37
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 04a9baf to 4682533 Compare November 4, 2024 13:08
@renovate renovate bot changed the title Update dependency checkstyle to v10.20.0 Update dependency checkstyle to v10.20.1 Nov 7, 2024
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 4682533 to f144439 Compare November 7, 2024 17:25
@renovate renovate bot changed the title Update dependency checkstyle to v10.20.1 Update dependency checkstyle to v10.20.2 Dec 1, 2024
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 2d5a913 to fd9bf6a Compare June 5, 2025 11:37
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from fd9bf6a to 5603830 Compare June 10, 2025 12:54
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 5603830 to 1cec756 Compare June 21, 2025 15:06
@renovate renovate bot changed the title Update dependency checkstyle to v10.25.0 Update dependency checkstyle to v10.25.1 Jun 21, 2025
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 1cec756 to 92fa704 Compare June 24, 2025 14:14
@renovate renovate bot changed the title Update dependency checkstyle to v10.25.1 Update dependency checkstyle to v10.26.0 Jun 24, 2025
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 92fa704 to 1919537 Compare June 24, 2025 14:47
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 1919537 to aa94e7f Compare June 24, 2025 15:38
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from aa94e7f to 6b830bd Compare June 29, 2025 23:13
@renovate renovate bot changed the title Update dependency checkstyle to v10.26.0 Update dependency checkstyle to v10.26.1 Jun 29, 2025
@hmcts-jenkins-a-to-c hmcts-jenkins-a-to-c bot requested a deployment to preview June 29, 2025 23:17 Abandoned
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 6b830bd to 9d54614 Compare July 1, 2025 09:22
@renovate renovate bot enabled auto-merge (squash) July 1, 2025 09:22
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 9d54614 to 8fc7e33 Compare July 1, 2025 12:07
@renovate renovate bot force-pushed the renovate/checkstyle-10.x branch from 8fc7e33 to 89bb836 Compare July 1, 2025 13:39
@josh-uk josh-uk closed this Jul 2, 2025
auto-merge was automatically disabled July 2, 2025 08:43

Pull request was closed

Copy link
Contributor Author

renovate bot commented Jul 2, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (10.26.1). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/checkstyle-10.x branch July 2, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant