Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 7, 2025

This PR contains the following updates:

Package Change Age Confidence
checkstyle (source) 9.3 -> 11.0.1 age confidence

Release Notes

checkstyle/checkstyle (checkstyle)

v11.0.1

Compare Source

Checkstyle 11.0.1 - https://checkstyle.org/releasenotes.html#Release_11.0.1

Bug fixes:

#​3110 - some messages are still hardcoded in english
#​17563 - Google style: No proper way to check if the reason for swallowing the exception is actually appropriate
#​17551 - Missing violations on Unicode and Octal values of \s
#​17501 - Google style: Word TODO of Todo comment must be in all caps

Other Changes:
fix cirrus-ci failure to install jdk21
Preparation for Migration of Checkstyle Codebase to Java 21
Enable assorted Error Prone Support checks
Conversion to Enhance Switch for SuppressionWarningCheck Causing Deeply Nesting Issues
Convert eligible classes to records
dependecies: update caciocavallo to latest
Convert switch statements to enhanced switch expressions
Add anchored links for each property
site log has a lot of warnings 'Anchor name "Description" used more than once'
Resolve CheckerFramework violations
Add filters table validation in xdoc folder
Wiki page on how to make test methods from issue description
improve position of tag `yamllint`
Use TypeName check to validate Examples classes
AnnotationLocation does not enforce annotation placement after Javadoc as documented
IT regression area Folder structure for suppressionxpathfilter

v11.0.0

Checkstyle 11.0.0 - https://checkstyle.org/releasenotes.html#Release_11.0.0

Breaking backward compatibility:

#​13209 - Migrate project to JDK 17
#​17321 - Use jdk17 as minimial required

New:

#​17366 - FinalParameters - missing several tokens to check

Bug fixes:

#​17332 - False positive from JavadocType: Unused @param tag
#​8205 - fix all false-negatives about there is no single space between a type annotation and [] or .... for Google Style
#​17158 - InvalidJavadocPosition false-positive for record compact constructor with package-private accessibility
#​14291 - Escape sequences in TextBlock, IllegalTokenText module should violate them for Google style
#​17193 - Google-style: Improper enforcement of horizontal whitespace for double slash //

Other Changes:
Upgrade all scripts to groovy 3.0.17 or 4.x
IT regression area Folder structure for suppressionxpathfilter
release is failing with "deploy failed: 403 - Forbidden"
config.html page does not allow linking to Examples
doc: add jetbrains logo by their request
Fix compareTo method for testInputViolations
xsd for the checkstyle configuration xml file
create XSD definition for XML report
Resolve invisiable problems after bump of maven site plugin 3.21.0
website: in CLI help ouput, mark config parameter as optional
test to check indentation trailing comments are vertically aligned
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
SiteUtil.getPropertiesJavadocs does not reflect all the constituents of what it does
refactor methods in SiteUtil.java
Links to modules should be without anchor
Javadoc website mistakenly showing HTML entities meant for other characters.
regression-report.yml does not post error message if failing at handle_xxx phase
Convert concatenated strings to text blocks
website: fix links in google_style.html
suppressionxpathfilter.xml.template should use example macros
Inconsistent or Missing Whitespaces in 'Beginning Development' Page Code Blocks
Google-style: add '4.8.4.4 Switch expressions' to coverage table
Updating properties in Input files to mention all default properties,
Replace collect(toUnmodifiableList()) with toList()
Refactor instanceof checks to pattern variables
doc: Finished implementation of example separators in SuppressionXpathFilter website page
doc: Implemented example separators on SuppressionXpathFilter website page
Validate that all properties are used in examples
update google-java-format.sh to validate that all Input that are excluded have file InputFormatted
Resolve Pitest Suppression in Pitest-Javadoc Profile
add trino to no-error testing in CI
importcontrol.xml.template should use example macroses
Cover pitest survivals with tests
suppressionfilter.xml.template should use example macroses
Add `@`Serial annotation to serialVersionUID fields
Move the same class members from macroses to new common utility class
semaphore CI is failing with FAILED DOWNLOADS for junit-platform-commons-1.10.1.jar
update JavadocTokenTypes.java to new format of AST print
Make all notes sections be displayed under the Description section
Update Filters Exampes to use verifyFilterWithInlineConfigParser
Set up RegexpSingleline to check for presence of newly added Description macro in every module xdoc
Add new Description Macro
Add new Notes Macro
`<`table`>` tags miss `<`div class"wrapper"`>` wrapping in module javadocs
XdocsJavaDocsTest expected vs actual inconsistency when dealing with new javadoc module data marking
Preparation for Migration of Checkstyle Codebase to Java 17
wesite: not wrappable property now it is causing horizontal scrolling
Remove from Travis CI snapshot deploy and stop using of Travis CI
Google-style: Add resources-noncompilable inputs to the google-java-format.sh
Google-style: Add resources-noncompilable inputs to the compilation by latest jdk
Replace `<`source`>``<`/source`>` tag in Checkstyle javadoc content
JavadocMetadataScraper doesn't scrap text from javadoc inline tag for description section in meta data

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

Compare Source

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

Compare Source

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

Compare Source

Checkstyle 10.22.0 - https://checkstyle.org/releasenotes.html#Release_10.22.0

Breaking backward compatibility:

#​9280 - JavadocVariable: new property 'accessModifiers' as substitution of 'scope' and 'excludeScope'
#​15499 - Change default or IllegalIdentifierName

Bug fixes:

#​16641 - FileContents.getJavadocBefore(): Comments should not be skipped if it is not alone in line
#​16385 - JavadocTagContinuationIndentation Ignore indentation check when HTML tag break line
#​16628 - use SLL prediction mode for fast javadoc parsing to improve performance
#​43 - JavadocMethod: Javadoc Not Detected Above Multiline Comments
#​12817 - Incorrect Indentation errors for expression switches with google_checks.xml
#​6637 - SuppressWarningsHolder aliasList members don't act like aliases
#​13043 - Make references optional for link and linkplain tags
#​16005 - Parse errors if ``@see spans multiple lines
#​14446 - Parse error when Javadoc contains @snippet with code example that uses Java annotation

Other Changes:
update JavadocTokenTypes.java to new format of AST print
Broken Link - Javadoc OpenJDK 8 Report in website, 404 Error
Github generate site fails to generate links with anchors.
Enforce file size on Java inputs
Badges in the README are missing
Fix existing cases of `getFileContents()` usage
Cover pitest survivals with tests
doc: Clarified the description of SummaryJavadoc check
align xmx args
There is nothing in few column in Active tool
Resolve Pitest Suppression in Pitest-Javadoc Profile
Define violation messages for all violations
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
Create integration tests in CI to alarm on breaking compatibility
improve logging
Reminder bot for issues
check-performance-regression workflow does not check Javadoc grammar performance
Update RegexpHeaderCheckTest to use verifyWithInlineConfigParser method
Links for examples of CLI page
Copy to clipboard image button for all sources
Static html for syntax highlight in web site
Update all non java Inputs of SuppressWithNearbyTextFilter to have txt extension
test execution is failing on non EN locales
Update HeaderCheckTest to use verifyWithInlineConfigParser method
Nothing in remark table in additional checks
Use bom artifact for junit version management

v10.21.4

Compare Source

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

Compare Source

Checkstyle 10.21.3 - https://checkstyle.org/releasenotes.html#Release_10.21.3

Bug fixes:

#​16127 - The SarifLogger creates invalid JSON on Windows with unescaped paths
#​14787 - False Negative of ClassFanOutCheck with "new" Keyword
#​15683 - JavadocMethod: false positive on compact constructors for nested record classes
#​15967 - yield fails Indentation check in switch expressions

Other Changes:
Remove '//ok' comments from Input files
Clarification: no violation for preceding whitespaces for paragraph tag content
Cover pitest survivals with tests
Provide examples of commands and examples of output for most CLI parameters.
Link redirection is not working for VariableDeclarationUsageDistance
Define violation messages for all violations
update JavadocTokenTypes.java to new format of AST print
Resolve Pitest Suppression in Pitest-Javadoc Profile
AvoidSynchronizedStatement reported usage of synchronized
Enforce file size on Java inputs
Enable examples tests
Update doc for MissingSwitchDefault
Inprove website rendering
UI Overlap Issue in Checkstyle Documentation Sidebar
Source code syntax highlights in web pages
put validation for "(default)" in Inputs
Add support of filtered violation messages to BDD Inputs
Expand XPath IT Regression Testing
Workflow `regression-report.yml` should support of config bundles with extra configuration files (Header check)
FileTabCharacter: update doc to mention that only first violation is reported for default configuration

v10.21.2

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

Compare Source

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

v10.19.0

Compare Source

Checkstyle 10.19.0 - https://checkstyle.org/releasenotes.html#Release_10.19.0

New:

#​9540 - WhitespaceAround: new property allowEmptySwitchBlockStatements
#​15263 - UnnecessaryParenthesesCheck does not flag unnecessary parentheses in conditional expression

Bug fixes:

#​15664 - false-negative in google_checks.xml for not being able to detect requirement of K & R style for FINALLY
#​15769 - google_checks.xml: remove xpath suppression and false-positive indentation violations for block codes
#​15685 - JavadocParagraph does not work when paragraphs have their corresponding closing tag
#​15324 - Enforce preceding line break for opening braces of a case/default under switch in google_checks.xml
#​15733 - JavadocParagraph: report violation with column
#​15503 - JavadocParagraph: violate preceding P tag before block-level HTML tags
#​15716 - google_checks.xml: JavadocParagraph should have allowNewlineParagraph as false

Other Changes:
Enable examples tests
Add upwards compat for deprecated classes in maven-check…
Create README for Java grammar updates
Small font for first sentence of Check description
doc: update doc for EmptyBlock and extend example
Resolve Pitest Suppression in Pitest-Javadoc Profile
Review google style coverage table to remove links to closed issues
Define violation messages for all violations.
Expand XPath IT Regression Testing
New isOfType Method that Accepts List as its Parameter
Cover pitest survivals with tests
Fix all violations of JavadocParagrath check in checkstyle code base
Enhance Command Line documentation by organizing options in Tabular format
JavadocParagraph: update documentation
regression-report.yml should use yml files for list of projects
Create documentation of usage for regression-report.yml workflow
spelling: suppresion -`>` suppression
doc: Fix wording in SuppressionSingleFilter and SuppressionXpathSingleFilter
update JavadocParagraph's input files

v10.18.2

Compare Source

Checkstyle 10.18.2 - https://checkstyle.org/releasenotes.html#Release_10.18.2

Bug fixes:

#​15690 - JavadocParagraph: allowNewlineParagraph should allow '\n' after P tag and content start from new line
#​15642 - google_checks: Section 4.1.3 should not be covered by EmptyBlock and EmptyCatchBlock
#​15609 - google_checks SuppressionXpathSingleFilter for 'MethodName' check is too lenient in several ways
#​15434 - MissingJavadocMethod does not give warning for missing javadoc for protected methods in google_checks.xml
#​13553 - False positive in FallThroughCheck on last case
#​15233 - Suppression for long identifiers for 4.4 Column Limit: 100 rule of google java style guide
#​15414 - Google style: Javadoc is optional for "simple, obvious" members

Other Changes:
Expand XPath IT Regression Testing
Define violation messages for all violations.
Enable examples tests
Add new argument `--diffToolJarPath` to DiffTool command regression-report.yml
Investigate step `Setup local maven cache` in regression-report.yml
Incorporate the place for new_module_config.xml missing in regression-report.yml
Remove the existing comment option in regression-report.yml getting away with contribution repository
regression-report.yml should be independent of checkstyle/contribution and diff.groovy
What happens when an import matches two or more ImportOrder groups?
update JavadocTokenTypes.java to new format of AST print
RegexMultiline contains Example7 that is actually part of Example6
Rename Example4.py to Example.cpp and change content to be some C
Update XdocPagesTest to validate Google coverage table sections
Update ChekerTest.java to use ``@`TempDir` instead of java.io.File#createTempFile
regression-report.yml doesnot handle two configs for execution
Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files
regression-report.yml should generate label at handle_existing_config_bundle job
Document System Variables usage for Windows OS
InputEqualsHashCodeEqualsParameter.java has wrong location of violation comments
update TodoComment to show how to use ignore case in format property
regression-report.yml should generate label at handle_generated_config_bundle job
regression-report.yml: 'for configs in PR description' mode is not working
Remove cache cleanup in regression-report.yml
regression-report.yml should use label for report comment that took config from Input
create "InputFormattedXxxxxx" files for all Input files that are excluded from formatting
Add print logs and cleaning up cache in regression-report.yml
Language Feature Integration Document: JEPS
Minimize list of excludes in google-java-format.sh
Re-enable no-error-pmd build
Restoring the label feature in new workflow regression-report.yml

v10.18.1

Compare Source

Checkstyle 10.18.1 - https://checkstyle.org/releasenotes.html#Release_10.18.1

Bug fixes:

#​15556 - google_checks failing on 'MethodName' with @ParameterizedTest

Other Changes:
Failure in make_report of regression-report.yml does not make comment in PR
Handling the concurrency model in the new workflow
regression-report.yml workflow sending messages upon successful completition
create "InputFormattedXxxxxx" files for Indentation and other formatting Checks
Fix the error of the new workflow running for every comment not matching pattern
Updating regression-report.yml to allow running regression for input java file

v10.18.0

Compare Source

Checkstyle 10.18.0 - https://checkstyle.org/releasenotes.html#Release_10.18.0

Breaking backward compatibility:

#​15159 - RedundantModifer Should Violate Final Modifer on Unnamed Variables if jdkVersion GTE 22
#​14805 - Remove Support for String Template Syntax
#​15082 - LITERAL_WHEN and LAND tokens in switch statements should have EXPR child

New:

#​10798 - RedundantModifierCheck: New property 'jdkVersion' to violate strictfp as redundant modifier if version LTE 17
#​15062 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: SuppressWarnings
#​15027 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: WhitespaceAround
#​15025 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: WhitespaceAfter
#​14948 - Add Check Support for Java 21 Record Pattern : ParenPad
#​12542 - new Treewalker property to skip all nested Modules if there is parsing exception
#​14950 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: UnusedLocalVariable
#​14963 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: FinalParameter
#​14966 - Add Check Support for Java 21 Record Pattern : MethodParamPad
#​14970 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: PatternVariableName
#​15015 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: CatchParameterName
#​15014 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: LambdaParameterName
#​15016 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: IllegalIdentifierName
#​15012 - LocalFinalVariableName must include _
#​15053 - Define severity for google style config by variable
#​14946 - Add Check Support for Java 21 Record Pattern : IllegalType
#​14981 - False positive in FinalLocalVariable check on unnamed variables
#​14907 - Add support to check grouping of Constructors in google style guide implementation
#​15059 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: New Check UnusedLambdaParameterShouldBeUnnamed
#​15058 - Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: New Check UnusedCatchParameterShouldBeUnnamed
#​14975 - Add Check Support for Java 17 Sealed Classes: New Check SealedShouldHavePermitsList
#​14985 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: New Check WhenShouldBeUsed
#​14979 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: New Check MissingNullCaseInSwitch
#​6723 - new check: LeadingAsteriskAlignCheck

Bug fixes:

#​15504 - MissingSwitchDefault false positive on switch expressions when wrapped in return()
#​15445 - Update NPathComplexity Check to Account for when expression as a Possible Execution Path
#​15429 - Google style: method names should not allow to have '_' unless they are annotated by Test
#​15040 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: SimplifyBooleanReturn
#​15322 - NeedBraces Check Should violate Switch Expressions with Arrow Syntax That Directly Yields a Value
#​15047 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: NPathComplexity
#​15045 - Add Check Support for Java 21 Pattern Matching for Switch Syntax: CyclomaticComplexity
#​15029 - Update EmptyBlockCheck to Violate Empty Case Blocks with Arrow Syntax
#​15123 - MissingSwitchDefault : False positive when case null in switch labeled statement group
#​14688 - LocalVariableNameCheck incorrectly flags variables named _ (see JEP456)
#​14891 - Add Support for Java 21 Record Pattern : MissingSwitchDefault
#​14955 - Remove href from LineLength module property in google style config and update test cases
#​14689 - False positives when first sentence of Javadoc is on a separate line
#​13675 - MethodParamPad ignores explicit constructor invocation

Other Changes:
doc: update documentation for jdkVersion property in RedundantModifierCheck
create "InputFormattedXxxxxx" files for Indentation and other formatting Checks
Add supported Java Language Level to website
Minimize list of excludes in google-java-format.sh
doc: updated documentation for suppressionxpathfilter
Add Check Support for Java 17 Sealed Classes: ClassFanOutComplexitiy
CI job to keep some Inputs to be formatted by google-java-format
Update InlineConfigParser to enforce the presence of vio…
Add Check Support for Java 21 Pattern Matching for Switch Syntax: VariableDeclarationUsageDistance
Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files
Clarification of lambda coverage by in google style
Add Check Support for Java 21 Unnamed Variables `&` Patterns Syntax: NoWhitespaceAfter
Add Check Support for Java 21 Unnamed Variables `&` Patterns Syntax: AnnotationOnSameLineCheck
Google style coverage table should have all paragraphs
Remove '//ok' comments from Input files
Add Check Support for Java 17 Sealed Classes: Indentation
Add Check Support for Java 21 Unnamed Variables `&` Patterns Syntax: MultipleVariableDeclarations
grab setter types even if field exists for override
Migrate google style guide tests to follow whole config testing approach
Add Check Support for Java 21 Unnamed Variables `&` Patterns Syntax: WhitespaceAfter
Add Check Support for Java 21 Unnamed Variables `&` Patterns Syntax: WhitespaceAround
Remove from google style coverage table links to already merged issues
regression-report.yml workflow shall run only active PRs.
Format google IT tests' input files to follow all the rules of google java style guide
Finalize coverage table for google style on state on July 2024
Add Check Support for Java 21 Unnamed Variables `&` Patterns Syntax: MagicNumber
Add Check Support for Java 17 Sealed Classes: IllegalType
Add Check Support for Java 21 Pattern Matching for Switch Syntax: NoWhitespaceBeforeCaseDefaultColon
doc: Update releasenotes.xml to place correct name of property - ignoreAnnotatedBy
Add EmptyCatchBlock module usage for section 6.2 Caught exceptions: not ignored in google style coverage page
Add Check Support for Java 17 Sealed Classes: WhitespaceAround
Remove condition for triggering new workflow on active PR
Refactor new Github Workflow: regression-report.yml
Enable examples tests
New Github workflow that provide links to test-configs but reuse contribution repo for report generation
LocalFinalVariableName: false negative on pattern variable
Add Check Support for Java 21 Pattern Matching for Switch Syntax: NestedIfDepth
Add Check Support for Java 21 Pattern Matching for Switch Syntax: FallThrough
Add Check Support for Java 21 Pattern Matching for Switch Syntax: BooleanExpressionComplexity
Add Check Support for Java 17 Sealed Classes: InterfaceMemberImpliedModifier
Add Check Support for Java 21 Pattern Matching for Switch Syntax: UnnecessaryParentheses
Add Check Support for Java 21 Pattern Matching for Switch Syntax: NeedBraces
Add Check Support for Java 17 Sealed Classes: RedundantModifer
Add Check Support for Java 21 Unnamed Variables `&` Patterns Syntax: AnnotationLocation
doc: fixes for links
minor : Extend exclude list for openjdk projects
doc: improved grammar, spelling, and punctuation
Add Check Support for Java 21 Pattern Matching for Switch Syntax: SimplifyBooleanExpression
doc: remove Localization section from system properties web page
Add Check Support for Java 21 Record Pattern Syntax : UnnecessaryParenthesesCheck
Reduce performance threshold value
Rename LINKS_FROM_PR to DIFF_PROJECTS_LINK for diff-report.sh
XDoc conversion from Javadoc do not relativize links and break previous document version
Add Check Support for Java 21 Pattern Matching for Switch Syntax: ParenPad
Add Check Support for Java 21 Record Pattern Syntax : PatternVariableName
Migrate google style guide tests to follow chapter wise testing
Refactor SummaryJavadocCheck into SummaryJavadoc for configs
Add Check Support for Java 21 Record Pattern Syntax: IllegalIdentifierName
Add Check Support for Java 21 Record Pattern Syntax: Indentation
doc: fix releasenotes line length violation
Add Check Support for Java 21 Record Pattern Syntax: OperatorWrap
Update all Inputs that has inlined violations to avoid leading and trailing wildcard
Bdd violations messages should allow skip of leading and trailing '.*'
Enable checks from Error Prone Support
Add Check Support for Java 21 Pattern Matching for Switch Syntax: MagicNumber
Add Check Support for Java 21 Record Pattern Syntax : AbbreviationAsWordInName
Add support to check input file against whole google configuration for Google IT tests
Add Check Support for Java 21 Pattern Matching for Switch Syntax: Indentation
resolve PMD warning on config
update JavadocTokenTypes.java to new format of AST print
Add regexp module to checkstyle_checks.xml config to validate `since` version number
Issue #​14899: Updated google coverage page regarding section 7.1.2 Paragraphs
Add new section 4.8.5.4 Field Annotations in google style guide implementation
Add new section 4.8.5.3 Methods and Constructors Annotations in google style guide implementation
Wrong comment in documentation example
Google style IT test Inputs should have support of violation message
Add new section 4.8.5.2 Class Annotations to google style guide implementation
Google style 7.1.1 has reference to already closed issue
Remove JSNI message from google style coverage page and explain the reason behind it
Add Check Support for Java 21 Record Pattern : HiddenField
Add Check Support for Java 21 Record Pattern : EqualsAvoidNull
Google Style page isn't consistent in spacing with multiple checks
Rename section 4.8.4.3 of google style guide implementation
Rename section 4.1.1 of google style guide implementation and add new test cases for lambdas
Create and Document Check Update Procedure for New Language Features
Add Latest Version of Google Java Style Guide
spelling: added detailed message to spelling test script
doc: fixes release notes from release

v10.17.0

Compare Source

Checkstyle 10.17.0 - https://checkstyle.org/releasenotes.html#Release_10.17.0

Breaking backward compatibility:

#​13758 - ImportOrder: replace Pattern[] with String[] type for properties staticGroups and groups

New:

#​14726 - new Check: ConstructorsDeclarationGrouping to check the grouping of overloaded constructors

Bug fixes:

#​13012 - Checkstyle fails with "Path contains invalid character" if path to config file contains non-ascii characters
#​13167 - Null pointer Exception in UnusedLocalVariableCheck
#​14506 - False positive for UnusedLocalVariable
#​14825 - WhitespaceAround reports a violation when switch expression is passed as a method argument
#​13086 - InnerAssignmentCheck failed for one line code in Java 14 switch expression

Other Changes:
Drop ci jobs for unsupported java versions
test: shallowClone in checkstyle-tester with SHA checkout
--- updated-dependencies: - dependency-name: org.codehaus.mojo:exec-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor ...
--- updated-dependencies: - dependency-name: org.codehaus.mojo:build-helper-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor ...
doc: makes links relative for version documentation
doc: added link to video instructions
update JavadocTokenTy

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 requested a review from yuokada as a code owner August 7, 2025 08:50
@github-actions github-actions bot added the bug label Aug 7, 2025
@yuokada
Copy link
Owner

yuokada commented Aug 10, 2025

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Checkstyle dependency from version 6.19 to 11.0.0. This is a significant major version upgrade that introduces breaking changes. The most critical one is that Checkstyle 11.0.0 requires Java 17 or newer to run. Additionally, your project's Checkstyle configuration files use several properties that have been deprecated in newer versions (e.g., option should be policy). While the dependency update itself is straightforward, it's crucial to verify the build environment and update the configuration to ensure compatibility and prevent build failures.

build.gradle Outdated
@@ -58,7 +58,7 @@ embulkPlugin {

checkstyle {
configFile = file("${project.rootDir}/config/checkstyle/checkstyle.xml")
toolVersion = '6.19'
toolVersion = '11.0.0'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

This is a major version upgrade from 6.19 to 11.0.0. This new version of Checkstyle has several breaking changes and requires Java 17+ to run.

Your Checkstyle configuration files (checkstyle.xml and default.xml) use properties that are now deprecated. For example, the option property in many modules (like LeftCurly, RightCurly, EmptyBlock, ImportOrder) should be replaced with policy.

It is highly recommended to:

  1. Ensure your build environment uses JDK 17 or newer.
  2. Update your Checkstyle configuration files to address deprecated properties and avoid future build failures.
  3. Run Checkstyle with this new version and fix any new violations that are reported before merging this change.

@renovate renovate bot force-pushed the renovate/checkstyle-11.x branch from 257b3ba to a070a8a Compare August 12, 2025 01:32
@renovate renovate bot force-pushed the renovate/checkstyle-11.x branch from a070a8a to 5d5d63b Compare August 31, 2025 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant