Skip to content

Update dependency com.puppycrawl.tools:checkstyle to v13#61

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-checkstyle.version
Open

Update dependency com.puppycrawl.tools:checkstyle to v13#61
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-checkstyle.version

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 5, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
com.puppycrawl.tools:checkstyle (source) 8.45.113.2.0 age confidence

Release Notes

checkstyle/checkstyle (com.puppycrawl.tools:checkstyle)

v13.2.0

Checkstyle 13.2.0 - https://checkstyle.org/releasenotes.html#Release_13.2.0

New:

#​16678 - new Check: NumericalPrefixesInfixesSuffixesCharacterCaseCheck numerical prefixes, infixes, and suffixes should be lowercase, except for "L"

Bug fixes:

#​18653 - False-negative: HexLiteralCase does not throw violation on Hex float literals
#​18486 - False positive: JavadocParagraph reports violation when <`p`> is after tags

Other Changes:
Documentation examples for MultiFileRegexpHeader does not have any header
Update `JavadocCommentsTokenTypes.java` to new format of AST print
Redundant `tokens` property in `CustomImportOrder` of `google_checks.xml`
Resolve error-prone violations
Fix SpotBugs UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR warning in IndentationCheck
Split openrewrite-refaster-rules ci job into two jobs
Enable pitest EXPERIMENTAL_MEMBER_VARIABLE
Add validation for single commit in pull
Update all pitest profiles to have mutationThreshold=99
Resolve violations from spotbugs sb-contrib 7.6.0
Convert regressions that use maven-checkstyle-plugin to CLI based
Define violation messages for all violations
dependency: bump pmd.version from 7.20.0 to 7.21.0
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger

v13.1.0

Compare Source

Checkstyle 13.1.0 - https://checkstyle.org/releasenotes.html#Release_13.1.0

Breaking backward compatibility:

#​12556 - Remove deprecated method CheckstyleAntTask:createClasspath()

New:

#​18329 - ImportControl: add module attribute to allow/disallow module imports
#​18368 - New check: MissingOverrideOnRecordAccessor to require Override on record component accessor methods

Bug fixes:

#​16087 - false positive invalid tag JavadocType
#​18790 - IllegalTokenText reports false positives for Unicode whitespace characters without escape sequences
#​18118 - Inconsistent behaviour of Indentation check
#​13038 - VariableDeclarationUsageDistanceCheck doesn't handle method definition properly
#​11103 - Indentation: Lambda in Enum causes error loop
#​18644 - False-negative: SummaryJavadoc:forbiddenSummaryFragments for tab-formatted code
#​6807 - False-positive RightCurly in google_checks since 8.20
#​17561 - Google style: Override is required on explicitly declared accessor method for a record
#​18559 - Add missing checks to sun_checks.xml: DeclarationOrder, FallThrough, OneStatementPerLine

Other Changes:
Documentation examples for MultiFileRegexpHeader are not in valid regex form
Update `JavadocCommentsTokenTypes.java` to new format of AST print
Dedicate `rewrite` recipes
Define violation messages for all violations
CLI '-s' option does not match by data from '-t'
Split openrewrite-recipes in two groups to always run in CI in less that 15 minutes
Do not use cause excpetion message durging wrapping
Resolve violations from spotbugs sb-contrib 7.6.0
Convert regressions that use maven-checkstyle-plugin to CLI based
Resolve error-prone violations
Fix xdocs Examples AST Consistency Test (Reduce suppressions list)
Add missing property examples to XDocs for Checkstyle Checks
Heading anchor link icon does not copy section URL to clipboard
update JavadocTagContinuationIndentation Examples
Fix `prone` order
test to check indentation trailing comments are vertically aligned
Update doc to mention that XPath has direct connection to if comment aware checks are added or not
Recfactor classes to avoid CT_CONSTRUCTOR_THROW violation
recheck that CNC_COLLECTION_NAMING_CONFUSION is resolved.
Add `NullArgumentForNonNullParameter` #​17988 #​17985 #​18479
Updating properties in Input files to mention all default properties,
use new nio jdk api instead of all api
Enforce file size on Java inputs
Specify XPath version in documentation
Resolve Pitest Suppressions - filters
Fix wrong test scope for `PMD`
Resolve spotbugs suppression for UnusedLocalVariableCheck
Resolve Pitest Suppressions - coding-2
Add `CodeCleanup`
Add OpenJDK Java Style Guidelines coverage infrastructure
Update JRE compatibility table for 13.x and fix grammar on landing page
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
doc: add Example5 for IllegalTokenTextCheck custom message
Upgrade all scripts to groovy 3.0.17 or 5.x
Resolve Pitest Suppressions - ant
Add `UpgradeToJava21` #​18528 #​18531
Checker framework report violation on theoretcally possible cases but practiacally impossible
Resolve error-prone violations
Give more clarity on xdocs for AnnotationLocation
jdk21: activate WhenShouldBeUsed for checkstyle project
Resolve Pitest Suppressions - indentation
Add `rewrite` support for `errorprone.refasterrules`
pitest: increase mutation coverage for indentation profile to 100%
Resolve Pitest Suppressions - common
Add `EmptyNewlineAtEndOfFile`
Resolve Pitest Suppressions - imports
Cirrus should be used wisely to avoid credit limits
XdocsExamplesAstConsistencyTest should validate literal values match between examples
dependency: bump org.openrewrite.recipe:rewrite-migrate-java from 3.22.0 to 3.24.0

v13.0.0

Compare Source

Checkstyle 13.0.0 - https://checkstyle.org/releasenotes.html#Release_13.0.0

Breaking backward compatibility:

#​17430 - Use jdk21 as minimial required

Bug fixes:

#​18409 - Remove duplicate violations in WhitespaceAfter and WhitespaceAround in sun_checks.xml

Other Changes:
jdk21: activate MissingNullCaseInSwitch for checkstyle project
Resolve Pitest Suppressions - imports
Conversion to Enhance Switch for AnnotationUseStyle Check Causing Jacoco Coverage Issue
Convert eligible classes to records
pitest: increase mutation coverage for indentation profile to 100%
Resolve Pitest Suppressions - filters
Fix xdocs Examples AST Consistency Test (Reduce suppressions list)
EmptyLineSeparator ignores configured tokens: reports violations for unlisted tokens and skips listed ones
Enforce file size on Java inputs
Store SARIF schema locally to avoid external network dependency
Update `JavadocCommentsTokenTypes.java` to new format of AST print

v12.3.1

Compare Source

Checkstyle 12.3.1 - https://checkstyle.org/releasenotes.html#Release_12.3.1

Bug fixes:

#​17265 - Duplicate violations in WhitespaceAfter and WhitespaceAround in google config
#​17778 - Add support to properly follow Rule 7.1.1 General Form in Google Style Guide Implementation
#​18381 - NullPointerException in TextBlockGoogleStyleFormatting with text blocks in annotations
#​17727 - Need default config in google_checks.xml to forbid lowercase Javadoc beginnings

Other Changes:
Add missing property examples to XDocs for Checkstyle Checks
Resolve Pitest Suppressions - filters
Resolve Pitest Suppressions - api
Refine newly added reuse of metadata and xdoc to simplify Javadocs
Resolve Pitest Suppressions - tree-walker
Resolve Pitest Suppressions
NoClassDefFound Exception during compilation on jdk25
Resolve Pitest Suppressions - xpath
MissingOverride: update doc example to show method without inheritDoc
Update `JavadocCommentsTokenTypes.java` to new format of AST print
implement IDE agnostic configuration with `editorconfig.org`
Examples Validation: content is same in all for single Check
Enforce file size on Java inputs
Add `rewrite` support for `errorprone.refasterrules`
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
cleanup spotbugs suppression after next fb-contrib release
pitest: increase mutation coverage for indentation profile to 100%
Resolve error-prone violations
Remove CheckerFramework 'RegexChecker' annotation processor
XdocsExampleFileTest should catch fact that ExampleX.java is not referenced in respected Test class
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
Define violation messages for all violations
Intellij Idea setup: Add steps to change encoding of properties file to UTF-8.
Resolve Pitest Suppressions - ant
build failure in CI for project Configurate
Updating properties in Input files to mention all default properties,
Resolve Pitest Suppressions - common
Clarification needed for 5.2.5 Non-constant field names coverage in Google style
Resolve CheckerFramework violations
Convert eligible classes to records
resolve PMD warning during execution
Remove last example code block at at the bottom of examples for NoLineWrap

v12.3.0

Compare Source

Checkstyle 12.3.0 - https://checkstyle.org/releasenotes.html#Release_12.3.0

New:

#​18207 - IllegalImport: new property illegalModules to cover module imports
#​17223 - Google-style: New Check TextBlockGoogleStyleFormattingCheck

Bug fixes:

#​18283 - Google style checks should allow _ keyword for anonymous variables

Other Changes:
Update `JavadocCommentsTokenTypes.java` to new format of AST print
Clone `apache/kafka` once KAFKA-19809 is merged
Add Kakfa project into Checkstyle regression suite
use new nio jdk api instead of all api
Recfactor classes to avoid CT_CONSTRUCTOR_THROW violation
uncliear error message if basedir is Linux based but execution is on windows
test to check indentation trailing comments are vertically aligned
infra: Fixing ECJ's version to be pinned, rather than being dynamic to not break CI pipelines
Website Generation doesn't automatically reflect new changes to checks.xml and checks/`<`type`>`/index.xml
Define violation messages for all violations
checkstyle-12.2.0: fails 2 checks building from source code
Xdoc marco to put version in xdoc from 'since' javadoc tag on Check
CI: verify-no-exception-configs should actually check contribution PR to append the same Check
Resolve Pitest Suppressions - main
Resolve Pitest Suppressions - ant
doc: note UnusedImports limitation for module import declarations

v12.2.0

Compare Source

Checkstyle 12.2.0 - https://checkstyle.org/releasenotes.html#Release_12.2.0

New:

#​18088 - Include full check name alongside ID in XML violation reports
#​17919 - Java25's import-module support

Bug fixes:

#​18074 - JAR for 12.1.1 is missing org.slf4j package
#​18171 - RedundantImport does not work with module imports
#​18132 - PatternVariableAssignment gives error when assigning to field (using this.) with the same name as pattern variable
#​18104 - Drop support in checks for no-longer-compilable preview feature - Pattern matching for swtich

Other Changes:
doc: clarify behavior of NewlineAtEndOfFileCheck regarding extra blank lines
Resolve Pitest Suppressions - main
Improve wrapping in web site
resolve PMD warning during execution
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
Update `JavadocCommentsTokenTypes.java` to new format of AST print
doc: mention ANTLR regression report
Refine newly added reuse of metadata and xdoc to simplify Javadocs
Updating properties in Input files to mention all default properties,
Define violation messages for all violations
Convert eligible classes to records
doc: explain how to use CLI generated xpath
Update SuppressionSingleFilter examples to use all properties
Website Generation doesn't automatically reflect new changes to checks.xml and checks/`<`type`>`/index.xml
Java 22 test files that were marked as compilable but are not
Special color for property links
Inprove website rendering
Add check to prohibit Windows line endings
Complitaion jobs in CircleCI do not pick up all files
Run regression testing in CI over openjdk25
Add Java 25 compilation to CircleCI
Add `async` and/or `defer` attributes to site scripts
doc: Add extra section about 'Performance Regressions'

v12.1.2

Compare Source

Checkstyle 12.1.2 - https://checkstyle.org/releasenotes.html#Release_12.1.2

Bug fixes:

#​18074 - JAR for 12.1.1 is missing org.slf4j package
#​8396 - Indent issue with multiline method call with array element

Other Changes:
UI Flickering on Checkstyle.org – Panel Resizes Erratically on Navigation
Enhancement: Add Smooth Scrolling to Anchor Links in Documentation
Broken link to Maven Snapshot repository in README
Inprove website rendering
Deploy configuration-1-3.xsd to the CheckStyle website
Website Generation doesn't automatically reflect new changes to checks.xml and checks/`<`type`>`/index.xml
Enforce file size on Java inputs
doc: archive release notes for 8.35-10.26
Add missing property examples to XDocs for Checkstyle Checks
links to old releases in web are damaged
Resolve Pitest Suppressions - packagenamesloader
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
GenericWhitespace when TAB is used instead of space
Webpage is blank of JDEPEND section
Code syntax highlighting javascript (code-prettify) is executed twice
Cover pitest survivals with tests
No space in command line checkstyle commands
Resolve Pitest Suppression in Pitest-Javadoc Profile
Add `rewrite` support for `errorprone.refasterrules`

v12.1.1

Compare Source

Checkstyle 12.1.1 - https://checkstyle.org/releasenotes.html#Release_12.1.1

Bug fixes:

#​17975 - Incorrect encoding in non-English properties files causing garbled characters in localized messages
#​17681 - Google style config and formatter differ on blank line separation
#​3110 - some messages are still hardcoded in english

Other Changes:
Update `JavadocCommentsTokenTypes.java` to new format of AST print
Add `rewrite` support for `errorprone.refasterrules`
avoid horizontal scrolling in atclauseorder.html
Wrong tagOrder in AtClauseOrder documentation.
Resolve error-prone violations
Enforce file size on Java inputs
Cover pitest survivals with tests
Define violation messages for all violations
SLF4J configuration warnings when running tests
JVM warnings when running tests

v12.1.0

Compare Source

Checkstyle 12.1.0 - https://checkstyle.org/releasenotes.html#Release_12.1.0

New:

#​16836 - New check: HexLiteralCase, Hexadecimal literals should use upper case letters A-F

Other Changes:
Add missing property examples to XDocs for Checkstyle Checks
Resolve error-prone violations
Update `JavadocCommentsTokenTypes.java` to new format of AST print
Convert eligible classes to records
test to check indentation trailing comments are vertically aligned
update JavadocTokenTypes.java to new format of AST print
CheckstyleAntTaskTest.testNoFileOrPathSpecified not executed because it's static
Resolving spotbugs violations
Remove ImportControlTest supressions
Deploy configuration-1-3.xsd to the CheckStyle website
Add `id` to `NeedBraces` declaration

v12.0.1

Compare Source

Checkstyle 12.0.1 - https://checkstyle.org/releasenotes.html#Release_12.0.1

Bug fixes:

#​17131 - SARIF report does not contain information about the failing rules

Other Changes:
Update `JavadocCommentsTokenTypes.java` to new format of AST print
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
Enforce file size on Java inputs
Use LexicographicalAnnotationListing for annotations

v12.0.0

Compare Source

Checkstyle 12.0.0 - https://checkstyle.org/releasenotes.html#Release_12.0.0

Breaking backward compatibility:

#​17514 - New ANTLR Grammar for Javadoc Comments

Other Changes:
doc: update writing javadoc checks page in the documentation
Update `JavadocCommentsTokenTypes.java` to new format of AST print
Fix PackageObjectFactoryTest before/after annotations
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
Define violation messages for all violations
test to check indentation trailing comments are vertically aligned
Resolve error-prone violations
Add missing property examples to XDocs for Checkstyle Checks

v11.1.0

Compare Source

Checkstyle 11.1.0 - https://checkstyle.org/releasenotes.html#Release_11.1.0

New:

#​17451 - false-negative: whitespace between type annotation and array declarator or ellipsis

Bug fixes:

#​17540 - Annotation location rule is not enforced in package-info.java file
#​17507 - Google style: Missing support for multipart versioning format using underscores in method names
#​17778 - Add support to properly follow Rule 7.1.1 General Form in Google Style Guide Implementation
#​17825 - --generate-checks-and-files-suppression option generates invalid XML
#​13048 - JavadocTagContinuationIndentation: missing support to arbitrary indentation in <pre> tags
#​11867 - LineLength gets triggered on multi-line strings for Google Checks

Other Changes:
update JavadocTokenTypes.java to new format of AST print
Fix wrong dtd scheme reference in CLI example
move examples of IllegalImport to compilable folder
LineLength coverage page: missing note about command line exemptions
Add `rewrite` support for `errorprone.refasterrules`
Reuse in metadata module scrapper all methods to get data from javadoc and reflection only
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
Add chechstyle-operewrite recipes to the project.
test to check indentation trailing comments are vertically aligned
Fix Javadoc Warnings: "use of default constructor, which does not provide a comment"
Upgrade all scripts to groovy 3.0.17 or 4.x
doc: make nrmancuso "former"
Convert eligible classes to records

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

Compare Source

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

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

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

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

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

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

v10.19.0

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

New:

[#​9540](https://redirect.githu


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 force-pushed the renovate/major-checkstyle.version branch 3 times, most recently from 8d95afb to 67cbd13 Compare February 5, 2025 16:03
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from 67cbd13 to 79cb5a8 Compare February 23, 2025 17:51
@github-actions github-actions bot mentioned this pull request Mar 1, 2025
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from 79cb5a8 to 6fc5ad7 Compare March 4, 2025 11:57
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch 2 times, most recently from 089f639 to d0d2894 Compare April 2, 2025 15:01
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from d0d2894 to e5a8446 Compare April 28, 2025 02:52
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from e5a8446 to 57f9a14 Compare May 22, 2025 04:01
@coderabbitai
Copy link

coderabbitai bot commented May 22, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from 57f9a14 to ecbf5b8 Compare May 31, 2025 17:06
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch 2 times, most recently from 5dba5ef to b759489 Compare June 24, 2025 16:26
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from b759489 to 19f5060 Compare June 29, 2025 20:32
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from 19f5060 to dcfbc40 Compare August 7, 2025 11:32
@renovate renovate bot changed the title Update dependency com.puppycrawl.tools:checkstyle to v10 Update dependency com.puppycrawl.tools:checkstyle to v11 Aug 7, 2025
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from dcfbc40 to 12abec4 Compare August 31, 2025 14:32
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from 12abec4 to 2255072 Compare September 28, 2025 14:01
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from 2255072 to 9562699 Compare October 9, 2025 17:49
@renovate renovate bot changed the title Update dependency com.puppycrawl.tools:checkstyle to v11 Update dependency com.puppycrawl.tools:checkstyle to v12 Oct 9, 2025
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from 9562699 to cede1ff Compare October 11, 2025 20:27
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from cede1ff to a377e6d Compare October 19, 2025 17:50
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from a377e6d to e436ce2 Compare October 26, 2025 17:51
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from e436ce2 to cd93baa Compare November 11, 2025 19:37
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from cd93baa to bf91e9a Compare November 30, 2025 14:28
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from bf91e9a to 54e8c8b Compare December 13, 2025 17:39
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch 2 times, most recently from a793a44 to 911d976 Compare January 5, 2026 03:03
@renovate renovate bot changed the title Update dependency com.puppycrawl.tools:checkstyle to v12 Update dependency com.puppycrawl.tools:checkstyle to v13 Jan 5, 2026
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from 911d976 to 7d1dd65 Compare January 31, 2026 20:36
@renovate renovate bot force-pushed the renovate/major-checkstyle.version branch from 7d1dd65 to f289066 Compare February 5, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants