Skip to content

Update dependency com.puppycrawl.tools:checkstyle to v14 - #20

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

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-checkstyle.version

Conversation

@renovate

@renovate renovate Bot commented Sep 27, 2023 •

Copy link
Copy Markdown
Contributor

ℹ️ 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.15 → 14.1.0 age confidence

Release Notes

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

v14.1.0

Checkstyle 14.1.0 - https://checkstyle.org/releasenotes.html#Release_14.1.0

New:

#​14872 - UnnecessaryParentheses: no violation if casting is present before expression.
#​21163 - SuppressWarnings: no support for module declarations.
#​21161 - NoLineWrap: no support for module declarations.
#​21162 - OpenjdkAnnotationLocation: no support for module declarations.
#​20692 - new Check: ExpressionOverBlockLambda.
#​21062 - New Check: InappropriateJavadocBlockTagsOnField.
#​19967 - New Check: ModuleImportOrder.
#​21063 - New Check: InappropriateJavadocBlockTagsOnPackage.
#​21088 - New Check: ModuleDirectiveOrder.
#​19968 - New Check: AvoidModuleImport.
#​20982 - New check: JavadocEndCommentDelimiter.
#​19885 - New Check: UnnecessaryFullyQualifiedTypeCheck.
#​12596 - Add UnusedPrivateField check for unused private fields.
#​19937 - New check: JavadocLinkFirstOccurrence.
#​20792 - New check: JavadocNoErrorInThrowsTag.
#​21061 - New Check: InappropriateJavadocBlockTagsOnType.
#​19938 - New check: JavadocLinkWellKnownApi.
#​19698 - New check: JavadocThrowsOrderCheck.
#​8990 - New check JavadocParamOrder: to validate method parameter order in javadoc to match parameter order in method.
#​20986 - new Check: PreferCodeOrSnippetJavadocInlineTag.

Bug fixes:

#​21199 - JavadocPackage: false positive "Missing package-info.java file" on module-info.java.
#​4454 - Fix wrong implementation of compareTo in LocalizedMessages.
#​19156 - VariableDeclarationUsageDistance: no violation on variable used in inner class.
#​3885 - FallThrough check doesn't handle infinite loops.
#​21343 - Update Documentation Comments Style Guide: add JavadocEndCommentDelimiter.
#​21331 - False Positive: IllegalInstantiationCheck does not recognize records shadowing java.lang.Boolean.
#​19948 - Update Documentation Comments Style Guide: param description separator.
#​20227 - ClassMemberImpliedModifierCheck: nested enum/interface missing implied static not flagged in compact source files (JEP 512).
#​21336 - Update Documentation Comments Style Guide: add JavadocNoErrorInThrowsTagCheck.
#​20978 - Extend OpenjdkAnnotationLocationCheck to allow Annotation on target line for all single line targets and add check in openjdk_checks.xml.
#​21320 - Update Documentation Comments Style Guide: add JavadocLinkWellKnownApi JavadocLinkFirstOccurrence.
#​21218 - Enable in Doc Comments style guide: JavadocParamOrder and JavadocThrowsOrderare.
#​20555 - WriteTagCheck: first top-level method's Javadoc tags not reported in compact source files (JEP 512).

Other Changes:
Unnecessary suppressions should be reported in ArchUnit tests.
Fix modules with incorrect example count in EXAMPLE_COUNT_SUPPRESSED_MODULES.
Improper indentation in `property_types.html` code snippets.
Naming convention of html pages should be kebab style.
Fix examples with duplicate violation behavior.
Fix violation message comments to use quoted text and remove associated suppressions.
MissingDeprecated: no support for module declarations.
`no-warning-imports-guava` silently fails due to unfound report.
`no-warning-imports-java-design-patterns` silently fails due to unfound report.
OpenCollective URLs returning 403 Forbidden in lychee link checker.
Site workflow comment should also show links to changed Javadoc pages.
Standardize S3 destination paths for uploaded reports.
Resolve all violation reported by PreferCodeOrSnippetJavadocInlineTag.
Add manually triggered workflow to deploy `master` website to AWS.
Update Documentation Comments Style Guide - unchecked exceptions.
Trailing comment examples should have violation hint comments to be not trailing.
Change recommendation from Splitter to String.split() with limit.
doc: document ANTLR report generation workflow.
Make TestInputConfiguration a record.
Renumber examples so default-config example is Example1.
ArrayIndexOutOfBoundsException in EmptyLineSeparatorCheck when comment immediately follows class definition.
Drop nexus-codehaus-snapshot plugin repository.
Move violation comments above of annotated methods.
Optimize lychee external link check to avoid multi-hour runs.
XmlMetaReaderTest avoid hadcoded values of module counts.
Enforce module-info/`<`case`>`/module-info.java folder structure for module-info test inputs.
Violation message escaping is inconsistent.
Fix modules suppressed from the default-config example test.
Investigate and fix broken JavadocTokenTypes.html anchor links in lychee suppressions.
Replace maven-linkcheck-plugin to lychee-maven-plugin for HTML link checking.
Fix missing checkstyle-openrewrite-recipes snapshot dependency.
Move `checkstyle-files-generator` project under the `checkstyle` organization.
Address followup review comments from #​21208 (InvalidJavadocPosition on module Javadoc).
Fix Issues with new landing page.

v14.0.0

Checkstyle 14.0.0 - https://checkstyle.org/releasenotes.html#Release_14.0.0

New:

#​8240 - Java Grammar: module-info.java support.

Bug fixes:

#​21112 - InvalidJavadocPosition: false positive on module-info.java Javadoc.
#​21110 - PackageDeclaration: false positive "Missing package declaration" on module-info.java.

Other Changes:
Resolve Commons Logging incompatibility with XWiki validation.
doc: mention 14.x in JRE matrix and Java 25 language support on index page.
Renumber examples so default-config example is Example1.
Fix modules with incorrect example count in EXAMPLE_COUNT_SUPPRESSED_MODULES.

v13.11.0

Compare Source

Checkstyle 13.11.0 - https://checkstyle.org/releasenotes.html#Release_13.11.0

Breaking backward compatibility:

#​21080 - WriteTag: remove tagSeverity property and make Check to work only for violation of tag absence.

New:

#​20984 - new Check: PreferLiteralJavadocInlineTag.

Bug fixes:

#​13426 - Xdoc file generation should be separate project that executes in maven build as just another phase; remove doxia dependency.
#​21222 - Add PreferLiteralJavadocInlineTag in openjdk_checks.xml.
#​21101 - google_checks.xml: LocalVariableName/LocalFinalVariableName false positive for identifier example "guava33_4_6" from Google Java Style Guide.
#​20973 - Javadoc parse error on quoted HTML attribute value containing '<'.
#​19913 - Documentation Comments Style Guide - Avoid Latin.
#​17728 - Google style: False negative missing spacing between type and variable.

Other Changes:
`testExampleCountMatchesPropertyCount` incorrectly counts examples that only configure `violateExecutionOnNonTightHtml`.
Improve the Checkstyle landing page.
Create some ability to execute metadata file generation before test phase.
Improve Input coverage for compact sources (JEP 512) for all Checks.
Fix broken Javadoc method links in *.xml.vm file due to Doxia anchor encoding.
Fix violation message comments to use quoted text and remove associated suppressions.
Enforce file size on Java inputs.
Improvements to site workflow.
Website table of contents doesn't show use cases.
Make testExampleCountMatchesPropertyCount enforce exact example count match.
Renumber examples so default-config example is Example1.
Fix examples with duplicate violation behavior.
doc: remove redundant `toc` Doxia macro.
Update grammar inputs for JDK20.
enforce that a module's default-config example is always Example1.
TocMacro: TOC entry title should always come from config description, not from a property.
deployment of website to Sourceforge is failed.
Fix modules suppressed from the default-config example test.
weird XpathRegressionTest.REGEXP_JAVADOC_CHECKS list.
Remove old method from pitest exclude config.
Test's violation-line comparison uses absolute file lines instead of lines relative to the visible xdoc section.
remove usage of JavadocTags class.

v13.10.0

Compare Source

Checkstyle 13.10.0 - https://checkstyle.org/releasenotes.html#Release_13.10.0

Breaking backward compatibility:

#​5744 - JavadocVariable MissingJavadocMethod MissingJavadocType: Expand Javadoc violation messages to include named context.

New:

#​21071 - WriteTag: new messages when violation is on method.
#​19991 - NonEmptyAtclauseDescription should to validate since tags.
#​17841 - New Check: GoogleMethodName to fix false-negative on method names with underscores.
#​21079 - New Check: IllegalBlockTag.
#​20987 - New check: JavadocRegexp.
#​18064 - New check: ArrayBracketWhitespace.
#​18420 - New Check: GoogleMethodNameCheck to enforce Google Java Style Guide method naming.

Bug fixes:

#​20995 - Add MultilineCommentLeadingAsteriskPresence check to google_checks.xml.
#​3469 - JavadocMethod: check for duplicate parameter block tags.
#​20972 - Javadoc parse error on HTML comment with a line ending in a hyphen.
#​19931 - Documentation Comments Style Guide - Contents of package.html source file.
#​18842 - google_checks.xml incorrectly marks return inlined tag as violation from SummaryJavadoc.
#​19925 - Documentation Comments Style Guide - Custom Tags and Annotations.
#​19919 - Documentation Comments Style Guide - @param.
#​19808 - Add checks for Documentation Comments Style Guide - Notes.

Other Changes:
Web site Table of content for each page as right side panel.
Fix examples with duplicate violation behavior.
Fix violation message comments to use quoted text and remove associated suppressions.
bump org.gaul:modernizer-maven-plugin to 3.5.0.
Add xdocs test enforcing at least one default-config example per module.
make examples of WhitespaceAround compact.
Uncaught TypeError in resetStyling() due to missing .xright element across multiple pages when inspecting or interacting with left panel links.
Update writingjavadocchecks.html to actual state.
Website search: remove release notes from index.
Add test to validate Examples produce unique violations by behavior.
Move violation comments out of Javadoc for all input files.
Enforce file size on Java inputs.
Move violation comments above of annotated methods.
Search: exclude Example [code] results from index; add visible hint for "s" shortcut.
Add client-side search functionality to Checkstyle documentation website.
Update Ant Task table to have links to each property.
Rename "Doc" to "Prop" for properties in Search Bar.
WriteTag not triggered when on severity=ignore and tagSeverity=warning.
Add test enforcing that Example/UseCase paragraphs have extractable descriptive text for TocMacro.
WriteTag Example4 is not clear.
Improvements to diff report generation.
antlr-report workflow scans fork's master instead of PR branch, also support target project as comment argument.
JavadocParagraph: inconsistent AST structure when unexpected closing tag is found.
Add validation for end of line at the end of file for resources.
Add CI validation job for checkstyle-openrewrite-recipes.
Define violation messages for all violations.
Filters need xdoc macros to support non java files for config load.
Documentation Comments Style Guide - `@`deprecated.
Documentation Comments Style Guide - `@`since.
Resolve warnings in pitest CI run.
Mention good-fifth-issue in CONTRIBUTING.md.
Update all workflows participate in CI on PR to auto-cancel.
Documentation Comments Style Guide - Method descriptions begin with a verb phrase, Class/interface/field descriptions can omit the subject and simply state the object.
Documentation Comments Style Guide - Ordering Multiple Tags.
Update `xdoc section` snippet marker from double hyphen to single hyphen.
Replace author email with GitHub username in release notes.
Documentation Comments Style Guide - Use "this" instead of "the", Add description beyond the API name, Be clear when using the term "field".
Documentation Comments Style Guide - Use `<`code`>` style for keywords and names.
Documentation Comments Style Guide - Documenting Unchecked Exceptions.
Documentation Comments Style Guide - Method and constructor parentheses, Phrases instead of sentences, Third-person descriptions.
Documentation Comments Style Guide - `@`version.
Documentation Comments Style Guide - `@`see, `@`serial, `@`serialField, `@`serialData, {`@`link}.
Documentation Comments Style Guide - Writing API Specifications.
Documentation Comments Style Guide - Writing Programming Guide Documentation.
doc: mention JDK 25 is good to build checkstyle.

v13.9.0

Checkstyle 13.9.0 - https://checkstyle.org/releasenotes.html#Release_13.9.0

Breaking backward compatibility:

#​20610 - Remove JavadocStyle check, use SummaryJavadoc Check instead.

New:

#​19146 - JavadocType: update Check to use AST of javadoc.
#​17554 - UnnecessaryParentheses not reported for array access, field access and method calls.
#​20822 - Javadoc new AST token LEADING_ASTERISKS.
#​19150 - update WriteTagCheck to use AST of javadoc.
#​17437 - NoLineWrap: new property skipAnnotations to avoid violations on target if there are annotations.
#​17695 - New check: MultilineCommentLeadingAsteriskPresence.
#​20209 - new Check: OpenjdkAnnotationLocation.
#​17715 - New Check: WhitespaceBeforeEmptyBody and enable it at goolge style config.
#​17393 - New check: TypeBodyPadding for blank line after type definitions.
#​15223 - New check UnnecessaryTypeArgumentsWithRecordPattern.
#​7176 - New check: AnnotatedDeclarationVisibility to demand all modifiers to be the same/consistent.

Bug fixes:

#​20958 - JavadocLeadingAsteriskAlign reports false positives.
#​19821 - Add checks for Documentation Comments Style Guide - Format of a Doc Comment.
#​20922 - LEADING_ASTERISK column position is not parsed correctly.
#​20563 - google_checks.xml: false negatives in type variable names.
#​19346 - JavaDoc parser does not support non-ASCII (Unicode) characters in @link class references.
#​17725 - Google style: multiple spaces around reserved words not detected.
#​20812 - Add checks for Sun Style 3.1.1 - Beginning Comments.
#​17878 - False-Negative: NoTrailingWhitespace misses spaces after * in multi-line comments (Google Style).
#​20901 - Google style: use AnnotationLocation ANNOTATION_DEF, ANNOTATION_FIELD_DEF, ENUM_CONSTANT_DEF, PACKAGE_DEF.
#​20553 - ClassFanOutComplexityCheck: fan-out of implicit class not measured in JEP 512 compact source files.
#​19930 - Documentation Comments Style Guide - Template for package.html source file.
#​3744 - File definition for suppressions should ignore path separator.
#​18619 - Wrong error message while using check NewlineAtEndOfFile.
#​15260 - Indentation: unexpected violation on last parentheses of chained methods.
#​19750 - PatternVariableAssignment fails when variable used inside an assignment target expression.
#​18614 - False positive: indentation inside of constructor parameters inside try block.
#​20660 - Add checks for Openjdk style - CopyRight Notice.
#​20346 - fill SarifLogger result templates in a single pass.
#​18615 - False positive: indentation of text block inside annotation array parameters.
#​19707 - TextBlockGoogleStyleFormatting: opening """ preceded by ? is not flagged as violation.
#​10015 - Unnecessary violation by Indentation check.
#​14716 - Indentation: Unexpected violation when class declaration is wrapped after public and before static.
#​20505 - GenericWhitespace false positive for parameterized record pattern.
#​11741 - Indentation: false positives when switch expression is invocation target.
#​19147 - update JavadocVariable to use AST of javadoc.
#​20339 - False positive: Indentation on file with tabs.
#​20522 - PatternSyntaxException in UniqueProperties when duplicated property key has dash inside brackets.
#​20521 - PatternSyntaxException in OrderedProperties when property key has dash inside brackets.
#​19923 - Documentation Comments Style Guide - @throws.
#​20700 - InnerTypeLastCheck: false negative on compact source files.
#​20749 - EmptyStatement: false negative on top-level empty declaration in compact source file.
#​19806 - JavadocType: violation message is confusing and requires quotes.
#​20336 - use quoteReplacement in fillTemplateWithStringsByRegexp.
#​20720 - TextBlockGoogleStyleFormatting rule produces NPE for text-blocks used in annotations of a record member.
#​20464 - Add checks for OpenJDK Wrapping Lines.
#​20562 - google_checks.xml: final local variables no violations for non lowerCamelCase.
#​16656 - JavadocTagContinuationIndentation Ignore indentation check when line breaks after the tag.
#​19920 - Documentation Comments Style Guide - @return.
#​19662 - Add checks for OpenJDK Style chapter - Lambda Expressions.
#​20669 - Add checks for openjdk style - Naming.

Other Changes:
Documentation Comments Style Guide - Naming of doc images in source tree.
Documentation Comments Style Guide - Avoid Latin.
Renumber remaining ExampleX files after UseCaseX migration.
Fix modules suppressed in XdocsExamplesAstConsistencyTest and create more examples.
add test for SuppressWithNearbyCommentFilter for problem with wrong group.
Enforce file size on Java inputs.
Update all xml file based suppression to use '/' instead of '[\\/]'.
Kill PIT survivals in FileContents and Javadoc tag classes.
Document Comment Style Guide: Add Severity and Suppression section and related modules to config.
VisibilityModifierCheck: docuement not handling top-level fields in compact source files (JEP 512).
InlineConfigParser does not fail when violation comments are missing quoted messages.
Move violation comments out of Javadoc for all input files.
Resolve WARNING from failsafe:3.5.6:integration-test.
move rule43onestatement Inputs to compiled folder.
udpate filters test to use getCheckMessage instead of hardcoded message.
Isolate invalid Javadoc snippets from excluded packages.
Javadoc generation emits 100 warnings.
PMD fails with XPathException but maven plugin execution still success.
Resolve compilation errors in Inputs.
Solve fb-contrib errors.
Improve Input coverage for compact sources (JEP 512) for all Checks.
Job spelling periodically fails due to some http problems.
Resolve design problem BooleanParameter at CheckUtil.
Refactor JavadocLeadingAsteriskAlign to use logging of violation on AST node.
Documentation Comments Style Guide - Use in-line links economically.
Documentation Comments Style Guide - Background on the Throws Clause.
Move violation comments above of annotated methods.
reevaluate tokens in checkstyle config for AnnotationLocation.
Resolve design problem BooleanParameter at LineWrappingHandler.
Resolve design problem BooleanParameter at RequireThisCheck.
CovariantEqualsCheck: covariant equals on top-level method not flagged in compact source files (JEP 512).
Simplify settersHaveSinceTag.
AbstractJavadocCheck: switch logging to DetailNode.
Improve examples of StaticVariableName.
Updating properties in Input files to mention all default properties.
UseCases does not have a link copy.
Documentation Comments Style Guide - Guidelines Which Exceptions to Document.
Validate that all Examples files that palced for Check are used in xdoc templace file.
Check-Performance-Regression is failing too frequently.
regression-report.yml fails at checkout_and_cache.
Missing violateExecutionOnNonTightHtml exclusion in testExampleCountMatchesPropertyCount.
UncommentedMainCheck: instance void main() not flagged in compact source files (JEP 512).
`XdocsExamplesAstConsistencyTest.testEveryPropertyHasAnExample` misses examples nested in subdirectories.
Add valid compilation comments to non-compilable test inputs.
Fix modules suppressed in XdocsExamplesAstConsistencyTest#EXAMPLE_PROPERTY_COVERAGE_SUPPRESSED_MODULES.
modernizer-maven-plugin of 3.4.0 have problem reliably detect not guarded Optional.get.
OpenJdk style: Add Severity and Suppression section and related modules to config.
Fix accessibility of methods violations caused by bump of spotbugs-maven-plugin from 4.9.8.5 to 4.10.2.0.
resolve TypeBodyPaddingCheck violations.
Fix abstraction failure in SiteUtil::getCheckMessageKeys.
`ClassMemberImpliedModifier` xdoc examples: ``<`property`>`` not nested inside self-closed module tag.
WhiteSpaceAroundCheck: update documentation for SLIST and LCURLY usage.
Update violation message in Inputs of DesignForExtension.
`testEveryPropertyHasAnExample` ignores non-`.java` example files, causing false "uncovered property" reports.
Replace author email with GitHub username in release notes.
Define violation messages for all violations.
Run doc-comments integration tests in CI.
Fix comment mismatches in xdocs examples currently suppressed in `XdocsExamplesAstConsistencyTest`.
Improve implmentation of AbstractItModuleTestSupport.verify to avoid collection mutation.
website still has a link to the old location of the "issue report" page.
Ensure compilability of inputs in compilable resources folders for tests.
Openjdk ITs should have InputXxxxxxxXxxxxxxDosAndDonts.java.
Issue: AST-match should catch when Javadoc presence differs between example files*.
dependency: bump org.gaul:modernizer-maven-plugin from 3.3.0 to 3.4.0.
Conver test from XpathFilterElementTest to SuppressionXpathSingleFilterTest to use inlined config in Input files.
Improve error wording for XdocsExamplesAstConsistencyTest.
CI job to validatate that inputs of javadoc Checks pass javadoc jdk tool.
Make ANTLR Regression Report triggerable by PR comment.
unexpected output to logs from XdocsExamplesAstConsistencyTest.

v13.8.0

Checkstyle 13.8.0 - https://checkstyle.org/releasenotes.html#Release_13.8.0

New:

#​20225 - MethodCountCheck: top-level methods not counted toward limits in compact source files (JEP 512).

Bug fixes:

#​20527 - Javadoc Ast: PARAMETER_TYPE has problems during parsing of generic methods.
#​20490 - UnusedLocalVariable: jdkVersion pre-22 should allow unused named pattern matched destructured variables via instanceof for pre-Java 22 code.
#​20641 - Add checks for Openjdk style chapter - Programming Practices.
#​19670 - Add checks for OpenJDK Style chapter - Braces.
#​20526 - Add checks for Openjdk style chapter - Horizontal WhiteSpace.
#​20588 - Add checks for openjdk style - Vertical WhiteSpace.
#​20622 - Add checks for openjdk style - Type Variables.
#​20523 - FinalClassCheck: NullPointerException on compact source files (JEP 512).
#​9806 - Javadoc summary not processed inside html tags.
#​20228 - OverloadMethodsDeclarationOrderCheck: split top-level overloads not flagged in compact source files (JEP 512).
#​20437 - Add checks for Openjdk style chapter - Wrapping Expressions.
#​20470 - False negative in UnnecessarySemicolonInEnumeration for multiple semicolons in enum body.
#​20597 - Add checks for Openjdk style chapter - Formatting.
#​20524 - AbbreviationAsWordInNameCheck: NullPointerException on compact source files (JEP 512).
#​20392 - Javadoc parse error while parsing reference.
#​20547 - UnusedImports: imported types inside Javadoc generic method-reference arguments are reported as unused.
#​20471 - Add checks for Openjdk style chapter - Variables.
#​20446 - Javadoc parse error on @link method reference containing generic parameter type.
#​20222 - HiddenFieldCheck: parameter shadowing top-level field not flagged in compact source files (JEP 512).
#​20330 - EmptyLineSeparator: false positive "',' should be separated from previous line" on multi-variable field declaration.

Other Changes:
Define violation messages for all violations.
JEP 512: compact source input coverage for all Checks.
unexpected output to logs from XdocsExamplesAstConsistencyTest.
Unexpected output in maven build from SearchIndexGenerator.
Use cases examples should not be named as Examples.
CI job to validatate that inputs of javadoc Checks pass javadoc jdk yool.
Validation of amount of Example that should be same by AST.
StackOverflowError in CI during execution over InputIndentationLongConcatenatedString.java.
Issues with bump maven-source-plugin from 3.2.1 to 3.3.0.
Improve XdocGenerator to generate file in temp folder and replace xdoc only on success.
review suppresions of org.openrewrite.staticanalysis.CodeCleanup.
jobs openrewrite-static-analysis is not working.
Organize openrewrite staticanalysis composite recipes by groups as it is done on openrewrite website.
CI execution to catch not latest dependency introduction in Pull.
Add test enforcing JEP 512 compact source input coverage for all Checks.
Resolve CheckerFramework violations.
investigate usage of jdeprscan tool in our CI.
Add checks for Openjdk style chapter - Javadoc.
Broken links in Checkstyle searchbar.
RedundantModifierCheck: redundant final on top-level method not flagged in compact source files (JEP 512).
Error in report generation by regression-report.
Prepare for Remove JavadocStyle as it fully covered by SummaryJavadoc.
Fix xdocs Examples AST Consistency Test (Reduce suppressions list).
Address review feedback on SearchIndexGenerator.
Conver test from XpathFilterElementTest to SuppressionXpathSingleFilterTest to use inlined config in Input files.
added spotbug bump induced violations to suppressions.
JavadocStyleCheck: Javadoc style rules not applied to top-level members in compact source files (JEP 512).
regression-report fails because required cache is not saved from issue_comment workflow.
Add It tests of openjdk and sun style sheets in pom.xml.
Anchor name "Fully_Qualified_Name" used more than once.
Buildkite is failing on `master`.

v13.7.0

Compare Source

Checkstyle 13.7.0 - https://checkstyle.org/releasenotes.html#Release_13.7.0

New:

#​20357 - UnusedLocalVariable: new property jdkVersion to allow unused named pattern matching variables for pre-Java 22 code.
#​19148 - update MissingJavadocMethodCheck to use AST of javadoc.
#​19144 - update JavadocMethod to use AST of javadoc.
#​19889 - OverloadMethodsDeclarationOrder: new property required to order overloaded methods according to increasing parameter count.

Bug fixes:

#​20395 - Javadoc parse error on @link label containing Java array initializer braces.
#​20452 - Add checks for OpenJDK style §4.6 - Constants.
#​20462 - Fix default property validation in InlineConfigParser.
#​20437 - Add checks for Openjdk style §3.8.3 - Wrapping Expressions.
#​19629 - Add checks for OpenJDK Style §3.5 - Modifiers.
#​20428 - Add checks for OpenJDK §3.4 - Class structure.
#​19623 - Add checks for OpenJDK Style §3.3 - Import statements.
#​20271 - UnnecessarySemicolonAfterTypeMemberDeclarationCheck: trailing semicolon after nested type not flagged in compact source files (JEP 512).
#​20223 - DeclarationOrderCheck: declaration order not enforced on top-level members in compact source files (JEP 512).
#​20219 - AnnotationLocationCheck: annotation on top-level variable not flagged in compact source files (JEP 512).
#​19805 - Add checks for OpenJDK Style §3.4.1 - Order of Constructors and Overloaded Methods.
#​20269 - UnnecessarySemicolonAfterOuterTypeDeclarationCheck reports false positive on JEP 512 compact source files.
#​20391 - Javadoc parse error while parsing formatted @value.
#​19915 - Documentation Comments Style Guide - Required Tags.
#​19972 - RequireThisCheck: NullPointerException on compact source files (JEP 512).
#​20385 - Add checks for OpenJDK Style §4.2 - Class, Interface and Enum Names.
#​20217 - InvalidJavadocPositionCheck: false positive on correctly-placed Javadoc in compact source files (JEP 512).
#​20093 - Add checks for OpenJDK Style §3.13 - Redundant Paranthesis.
#​20268 - OuterTypeNumberCheck reports false positive on JEP 512 compact source files.
#​20283 - Javadoc parse error for generic outer class inner-class link.
#​19835 - Documentation Comments Style Guide - First Sentence.

Other Changes:
Updating properties in Input files to mention all default properties.
Remove CirrusCI since it has shut down.
Move violation comments out of Javadoc for all input files.
Enforce file size on Java inputs.
Fix xdocs Examples AST Consistency Test (Reduce suppressions list).
Use violation message pattern 'first line'.
Xdocs examples should reject violation comments between annotations and declarations.
Add client-side search functionality to Checkstyle documentation website.
Move violation comments above of annotated methods.
Update XdocsPagesTest for sun_checks.xml to use chapterwise testing.
doc: removed contribution guidelines in CONTRIBUTING.md and fixed build instructions hyperlink in README.md.
Add 'first line' and 'last line' violation hint patterns to InlineConfigParser.
Organize openrewrite staticanalysis composite recipes by groups as it is done on openrewrite website.

v13.6.0

Compare Source

Checkstyle 13.6.0 - https://checkstyle.org/releasenotes.html#Release_13.6.0

New:

#​19813 - ConstructorsDeclarationGroupingCheck: new property required to order constructors according to increasing arity.
#​20109 - NoLineWrap: false negative for wrapped 'import module' (MODULE_IMPORT) declarations.

Bug fixes:

#​20216 - MagicNumberCheck: NullPointerException on compact source files when ignoreFieldDeclaration=true (JEP 512).
#​20292 - percent-encode double quote in SarifLogger file uri.
#​19623 - Add checks for OpenJDK Style §3.3 - Import statements.
#​19926 - Documentation Comments Style Guide - validate Default Constructors.
#​20206 - Javadoc parser error on openjdk source java/lang/Character.java.
#​20215 - EmptyLineSeparatorCheck: NullPointerException on compact source files with adjacent top-level members (JEP 512).
#​20273 - Javadoc parser problems.
#​19973 - FinalLocalVariableCheck: NullPointerException on compact source files (JEP 512).
#​20267 - ModifiedControlVariableCheck: NullPointerException on compact source files (JEP 512).
#​20303 - minor: escape file name in generated suppression files.
#​20212 - MissingOverrideCheck: NullPointerException on compact source files when javaFiveCompatibility=true (JEP 512).
#​20214 - MissingOverrideOnRecordAccessorCheck: NullPointerException on compact source files (JEP 512).
#​20210 - MethodNameCheck: NullPointerException on compact source files (JEP 512).
#​20213 - UnusedLocalVariableCheck: NullPointerException on compact source files with a top-level field (JEP 512).
#​19734 - Add checks for OpenJDK Style - Wildcard Imports.
#​19908 - PackageDeclarationCheck reports false positive on JEP 512 compact source files.
#​19909 - OuterTypeFilename reports false positive on JEP 512 compact source files.
#​20111 - EmptyLineSeparator: false negative for 'import module' (MODULE_IMPORT) followed by a type declaration.
#​15085 - Extend UnusedLocalVariable to support pattern variables.
#​20108 - Indentation: false negative for 'import module' (MODULE_IMPORT) declarations are never checked.
#​17810 - JDK 25, JEP 512: Compact Source Files and Instance Main Methods not supported.

Other Changes:
Documentation Comments Style Guide - Location of doc images in source tree.
Move violation comments out of Javadoc for all input files.
Fix xdocs Examples AST Consistency Test (Reduce suppressions list).
Document unsupported/missing ParenPad cases under Use Cases section.
XdocsExamplesAstConsistencyTest: false AST mismatch for superclass name in extends clause of ExampleN classes.
Add support for complete HTML violation report generation for target projects.
Require compilation comments in noncompilable test inputs.
Move violation comments above of annotated methods.
XdocsExamplesAstConsistencyTest`: false positive "Comments mismatch" in `extractComments`.
Infrastructure: CI failure in PRs due to Eclipse Static Analysis's compiler update (R-4.38).
`XdocsExamplesAstConsistencyTest` currently misses three classes of inconsistency between xdoc example files that share the same check configuration.
Example 2 in regexp page should have config.
remove all numbers from all names in openjdk style.
remove all numbers from all names in doc style style.
Documentation Comments Style Guide - Implementation Independence, Automatic re-use of method comments.
diff report generation workflow should use local repository style configs.
AbbreviationAsWordInName doc should have horizontal line after above example description.
Resolve warnign in markdow files.
Semaphore CI has periodic problems to download SDKMAN.

v13.5.0

Compare Source

Checkstyle 13.5.0 - https://checkstyle.org/releasenotes.html#Release_13.5.0

New:

#​19496 - AvoidStarImport: new property maxAllowedStarImports to allow atmost one star import in a file.
#​14782 - LITERAL_DEFAULT token support in RightCurlyCheck.
#​15484 - New Check UnusedTryResourceShouldBeUnnamed.

Bug fixes:

#​17697 - Google style: Disallow comments enclosed in boxes.
#​19641 - Add checks for OpenJDK Style §3.10 - Variable Declarations.
#​19640 - Add checks for OpenJDK Style §4.1 - Package Names.
#​18227 - Extend TextBlockGoogleStyleFormatting to check indentation of each line in the blocks.
#​19770 - JavadocTypeCheck incorrectly matches record component @param tags using prefix instead of exact match.
#​17052 - Add support for flexible constructor bodies (JEP 513) targeted for JDK25.
#​17464 - RequireThis false positive inside annotation definition.
#​19623 - Add checks for OpenJDK Style §3.3 - Import statements.
#​17203 - PatternVariableAssignment check false negative when pattern variable extends beyond the statement of introduction.
#​19716 - False Negative: SimplifyBooleanExpression does not report with paranthesized boolean literals in ternary operators.
#​19617 - Add checks for OpenJDK Style §2 - Java Source Files.
#​17253 - Google-style: Illegal to break the line before or after the lambda arrow.
#​19149 - update MissingJavadocTypeCheck to use AST of javadoc.
#​2629 - IndentationCheck: incorrect validation for class definition.
#​5685 - Indentation: false positive for try child on the same line.
#​11822 - RequireThisCheck giving multiple violation for classes nested in lambdas.
#​19622 - Add checks for OpenJDK Style §3.2 - Package declaration.

Other Changes:
Confused supression of Indentation in google_checks.
Remove chapter numbers from Doc Comments Coverage Page.
Fix xdocs Examples AST Consistency Test (Reduce suppressions list).
Move violation comments out of Javadoc for all input files.
`Regexp` check for unnecessary `// ok` comments is configured under `TreeWalker`.
google_style.xml: support multiple config links per rule entry in XdocsPagesTest.
missing description of blue-tick checks at google style coverage page.
False Negative: FinalLocalVariableCheck does not report for variables assigned in adjacent catches.
Cached page of Documentation style guide should be open in mobile browser in easy to read rendering.
Documentation Comments Style Guide - Images in HTML Destination.
Documentation Comments Style Guide - `@`author.
AbbreviationAsWordInName doc should have horizontal line after above example description.
Remove Chapter number from openjdk_checks.xml file.
resolve Qodana inspections in Javadoc and test utilities.
NoClassDefFound Exception during compilation on jdk25.
review suppresions of org.openrewrite.staticanalysis.CodeCleanup.
Website warnings in maven output: Anchor name used more than once.
Add Oracle Doc Comments Style Guide coverage infrastructure.
Improve design of PropertiesMacros.
inner lambdas right curly idented too much on left to much same ident as wrapper statement.
Move violation comments above of annotated methods.
Violate all inlined violations that are placed in between method singature and annoation or javadoc.
Resolve CheckerFramework violations.
Trigger linkcheck by Github comment.
Organize openrewrite staticanalysis composite recipes by groups as it is done on openrewrite website.
Test extension: Variables `&` Patterns Syntax: Indentation.
Error in bash method does not stop execution of whole command.
Parsing problem detected by CI at jdk25/test/jdk/jdk/jfr/event/tracing/TestConstructors.java.
Remove UnmodifiableCollectionUtil and use pitest funmodifiablecollection feature.

v13.4.2

Checkstyle 13.4.2 - https://checkstyle.org/releasenotes.html#Release_13.4.2

Bug fixes:

#​19709 - False-positive in Indentation check with yield switch statements.
#​19755 - Add checks for OpenJDK Style §4.3 - Method Names.
#​18438 - False positive: EmptyLineSeparator reports violation on method call.

Other Changes:
Vulnerability in org.codehaus.plexus:plexus-utils.
Move violation comments out of Javadoc for all input files.
OpenJDK style table: make Section 2 check listing consistent with Section 3.7 formatting.
activete no-error/no-exception jobs that were disabled due to some problems of past.
Find a way to make example message be fully shown without usage of regexp.
Violate all inlined violations that are placed not outside javadoc.
Activate Kafka no-error validation after fix for UnusedImport.
guide on how to specify violations in the input files.

v13.4.1

Checkstyle 13.4.1 - https://checkstyle.org/releasenotes.html#Release_13.4.1

Bug fixes:

#​5460 - ImportOrder: option=under; doesn't allow empty line between 'import' and 'import static'.
#​19641 - Add checks for OpenJDK Style §3.10 - Variable Declarations.
#​19620 - Add checks for OpenJDK Style §3.14 - Literals.
#​19619 - Add checks for OpenJDK Style §3.7 - Indentation.
#​19617 - Add checks for OpenJDK Style §2 - Java Source Files.
#​19662 - Add checks for OpenJDK Style §3.12 - Lambda Expressions.
[#​19559](https://redirect.github.com/checkstyle/checkstyle/issues/1

❗ Important

✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • 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.

@codecov

codecov Bot commented Sep 27, 2023 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 38.18%. Comparing base (53ef1fe) to head (5bb5b3a).

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #20   +/-   ##
=========================================
  Coverage     38.18%   38.18%           
  Complexity        4        4           
=========================================
  Files             5        5           
  Lines            55       55           
=========================================
  Hits             21       21           
  Misses           34       34           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 0cce40e to bb04ec9 Compare October 2, 2023 01:33
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from bb04ec9 to 01002d8 Compare November 14, 2023 14:09
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 01002d8 to 8fbf6f3 Compare December 7, 2023 07:52
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 8fbf6f3 to 88b6266 Compare December 31, 2023 15:32
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 88b6266 to 7f40cc4 Compare January 28, 2024 15:34
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 7f40cc4 to 021be94 Compare February 28, 2024 15:39
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch 2 times, most recently from 716a5b4 to 125499e Compare March 17, 2024 01:01
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 125499e to 82aca6e Compare April 1, 2024 04:57
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 82aca6e to 4ba23fe Compare April 28, 2024 18:01
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 4ba23fe to 62b16a9 Compare May 26, 2024 22:48
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch 2 times, most recently from 3c17671 to 7289114 Compare August 30, 2024 15:46
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 7289114 to cce2b17 Compare September 29, 2024 21:44
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch 2 times, most recently from 95070f9 to 804c22c Compare October 31, 2024 20:36
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 804c22c to 6297e93 Compare November 7, 2024 19:49
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 6297e93 to e64b484 Compare December 1, 2024 07:27
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from e64b484 to 87fe02e Compare December 12, 2024 19:58
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 87fe02e to 5931a4c Compare December 28, 2024 16:28
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 5931a4c to b14e85f Compare January 26, 2025 17:35
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from b14e85f to 90160e8 Compare February 23, 2025 17:37
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 90160e8 to d5a0b69 Compare March 4, 2025 11:09
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch 2 times, most recently from b026785 to c128f08 Compare April 2, 2025 14:36
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from c128f08 to fc9c220 Compare April 28, 2025 03:05
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from fc9c220 to 04bef8d Compare May 22, 2025 01:51
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 04bef8d to 0420b3c Compare May 31, 2025 17:38
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 0420b3c to 5a399ce Compare June 21, 2025 18:07
@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 5006bbd to fcbd89f Compare October 11, 2025 21:57
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from fcbd89f to e3e9f87 Compare October 19, 2025 16:37
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from e3e9f87 to 967331d Compare October 26, 2025 18:31
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 967331d to c729429 Compare November 11, 2025 23:31
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from c729429 to fa4a23e Compare November 30, 2025 17:51
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from fa4a23e to ea498c4 Compare December 13, 2025 16:39
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch 2 times, most recently from 5bb5b3a to 3319024 Compare January 5, 2026 01:35
@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 2 times, most recently from 3d78be9 to f264594 Compare February 5, 2026 22:15
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from f264594 to a6ed470 Compare February 28, 2026 20:49
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from a6ed470 to a04c2be Compare March 29, 2026 20:34
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch 2 times, most recently from bc63b7e to ecb5954 Compare May 2, 2026 04:36
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from ecb5954 to d94cec6 Compare May 30, 2026 21:33
@renovate renovate Bot changed the title Update dependency com.puppycrawl.tools:checkstyle to v13 Update checkstyle.version to v13 Jun 2, 2026
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from d94cec6 to 758c1db Compare June 15, 2026 06:47
@renovate renovate Bot changed the title Update checkstyle.version to v13 Update checkstyle.version (major) Jun 22, 2026
@renovate renovate Bot changed the title Update checkstyle.version (major) Update dependency com.puppycrawl.tools:checkstyle to v13 Jun 25, 2026
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 758c1db to 5335c1d Compare June 28, 2026 18:06
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 5335c1d to cb6435e Compare July 12, 2026 04:39
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from cb6435e to 8b51976 Compare July 27, 2026 06:09
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 8b51976 to a6c3baa Compare August 9, 2026 20:56
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch 2 times, most recently from 6c6e15d to 0adde11 Compare August 18, 2026 13:41
@renovate renovate Bot changed the title Update dependency com.puppycrawl.tools:checkstyle to v13 Update dependency com.puppycrawl.tools:checkstyle to v14 Aug 18, 2026
@renovate
renovate Bot force-pushed the renovate/major-checkstyle.version branch from 0adde11 to 17f8482 Compare August 30, 2026 17:12
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