Release 10.20.1

07.11.2024

Bug fixes:

  • google_checks: False positive on left curly brace in switch statement with lambda-like construct. Author: Roman Ivanov #15851

Notes:

  • Enable examples tests. Author: Amit Kumar Deohoria, Devarsh Mavani, akanksha #13345
  • update JavadocTokenTypes.java to new format of AST print. Author: Kushagra-sedwal #14631
  • IDEA inspection suppressions resulted from migration to v2022.3.3. Author: Mohanad #14625
  • update GSOC.md and CONTRIBUTING.md. Author: Roman Ivanov #15845
  • Define violation messages for all violations.. Author: Devarsh Mavani #15456
  • Resolve `TailRecursion` inspection violations by replacing tail recursive calls. Author: Mohit Attry #14814
  • JavadocParagraph documentation example s should be updated to same by structure . Author: akanksha #15760
  • doc: BEGINNING_DEVELOPMENT.md. Author: Nick Mancuso
  • doc: improve README.md add CONTRIBUTING.md add GSOC.md. Author: Nick Mancuso
  • Cover pitest survivals with tests. Author: Mohanad #14019

Release 10.20.0

31.10.2024

Breaking backward compatibility:

  • JavadocMethodCheck: removed unnecessary tokens from acceptable. Author: rnveach #15687

New:

  • HideUtilityClassConstructor - Add option to skip validation based on list of annotations. Author: Konstantinos Koutsilis #14424

Bug fixes:

  • google_checks.xml not allowing eol left curly for switch statement with lambda-like construct. Author: Mauryan Kansara #15831

Notes:

  • Resolve `TailRecursion` inspection violations by replacing tail recursive calls. Author: Mohit Attry #14814
  • Enable examples tests. Author: Amit Kumar Deohoria #13345
  • Missing test class for ConstructorsDeclarationGroupingCheck's documentation examples. Author: akanksha #15829
  • Expand XPath IT Regression Testing. Author: akanksha #6207
  • Define violation messages for all violations.. Author: Amit Kumar Deohoria #15456
  • update JavadocTokenTypes.java to new format of AST print. Author: Pakhi-7831 #14631

Release 10.19.0

26.10.2024

New:

  • WhitespaceAround: new property allowEmptySwitchBlockStatements. Author: mahfouz72 #9540
  • UnnecessaryParenthesesCheck does not flag unnecessary parentheses in conditional expression. Author: Mohanad #15263

Bug fixes:

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

Notes:

  • Enable examples tests. Author: ahmedyoussefg, Konstantinos Koutsilis, akanksha #13345
  • Add upwards compat for deprecated classes in maven-check…. Author: Michael Osipov #14954
  • Create README for Java grammar updates. Author: nick mancuso #10618
  • Small font for first sentence of Check description. Author: Roman Ivanov #15809
  • doc: update doc for EmptyBlock and extend example. Author: Roman Ivanov
  • Resolve Pitest Suppression in Pitest-Javadoc Profile. Author: Chris, Konstantinos Koutsilis #13999
  • Review google style coverage table to remove links to closed issues. Author: Mauryan Kansara #15797
  • Define violation messages for all violations.. Author: ahmedyoussefg, akanksha #15456
  • Expand XPath IT Regression Testing. Author: SteLeo1602, Konstantinos Koutsilis, akanksha #6207
  • New isOfType Method that Accepts List as its Parameter. Author: ahmedyoussefg #15541
  • Cover pitest survivals with tests. Author: Konstantinos Koutsilis #14019
  • Fix all violations of JavadocParagrath check in checkstyle code base. Author: Mauryan Kansara #15763
  • Enhance Command Line documentation by organizing options in Tabular format. Author: Konstantinos Koutsilis #14759
  • JavadocParagraph: update documentation. Author: Mauryan Kansara #15734
  • regression-report.yml should use yml files for list of projects. Author: piyush kumar sadangi #15743
  • Create documentation of usage for regression-report.yml workflow . Author: Roman Ivanov #15380
  • spelling: suppresion -> suppression. Author: Mark Chesney
  • doc: Fix wording in SuppressionSingleFilter and SuppressionXpathSingleFilter. Author: Martin VÁŇA
  • update JavadocParagraph's input files. Author: Mauryan Kansara #15713

Release 10.18.2

29.09.2024

Bug fixes:

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

Notes:

  • Expand XPath IT Regression Testing. Author: Chris, Mohanad #6207
  • Define violation messages for all violations.. Author: Andrei Yusupau, Chris, Mohanad, Pakhi-7831 #15456
  • Enable examples tests. Author: absolutely-sam, Chris, SteLeo1602, Mohanad, Roman Ivanov #13345
  • Add new argument `--diffToolJarPath` to DiffTool command regression-report.yml. Author: piyush kumar sadangi #15691
  • Investigate step `Setup local maven cache` in regression-report.yml. Author: piyush kumar sadangi #15634
  • Incorporate the place for new_module_config.xml missing in regression-report.yml. Author: piyush kumar sadangi #15669
  • Remove the existing comment option in regression-report.yml getting away with contribution repository. Author: piyush kumar sadangi #15675
  • regression-report.yml should be independent of checkstyle/contribution and diff.groovy. Author: piyush kumar sadangi #15665
  • What happens when an import matches two or more ImportOrder groups?. Author: Jay Bazuzi #15626
  • update JavadocTokenTypes.java to new format of AST print. Author: Chris #14631
  • RegexMultiline contains Example7 that is actually part of Example6. Author: Roman Ivanov #15172
  • Rename Example4.py to Example.cpp and change content to be some C. Author: Mohit Attry #15555
  • Update XdocPagesTest to validate Google coverage table sections. Author: Mauryan Kansara #14968
  • Update ChekerTest.java to use `@TempDir` instead of java.io.File#createTempFile. Author: Mark Chesney #15636
  • regression-report.yml doesnot handle two configs for execution . Author: piyush kumar sadangi #15648
  • Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: SteLeo1602, Roman Ivanov #11446
  • regression-report.yml should generate label at handle_existing_config_bundle job. Author: piyush kumar sadangi #15641
  • Document System Variables usage for Windows OS. Author: Roman Ivanov #15089
  • InputEqualsHashCodeEqualsParameter.java has wrong location of violation comments. Author: SteLeo1602 #15256
  • update TodoComment to show how to use ignore case in format property. Author: piyush kumar sadangi, Roman Ivanov #15605
  • regression-report.yml should generate label at handle_generated_config_bundle job. Author: piyush kumar sadangi #15639
  • regression-report.yml: 'for configs in PR description' mode is not working. Author: piyush kumar sadangi #15632
  • Remove cache cleanup in regression-report.yml. Author: piyush kumar sadangi #15614
  • regression-report.yml should use label for report comment that took config from Input. Author: piyush kumar sadangi #15619
  • create "InputFormattedXxxxxx" files for all Input files that are excluded from formatting. Author: Mauryan Kansara, Roman Ivanov #15340
  • Add print logs and cleaning up cache in regression-report.yml. Author: piyush kumar sadangi #15606
  • Language Feature Integration Document: JEPS. Author: mahfouz72 #14923
  • Minimize list of excludes in google-java-format.sh. Author: Mauryan Kansara #15449
  • Re-enable no-error-pmd build. Author: mahfouz72 #15475
  • Restoring the label feature in new workflow regression-report.yml. Author: piyush kumar sadangi #15596

Release 10.18.1

30.08.2024

Bug fixes:

  • google_checks failing on 'MethodName' with @ParameterizedTest. Author: Mauryan Kansara #15556

Notes:

  • Failure in make_report of regression-report.yml does not make comment in PR. Author: piyush kumar sadangi #15579
  • Handling the concurrency model in the new workflow. Author: piyush kumar sadangi #15573
  • regression-report.yml workflow sending messages upon successful completition. Author: piyush kumar sadangi #15567
  • create "InputFormattedXxxxxx" files for Indentation and other formatting Checks. Author: Mauryan Kansara #15340
  • Fix the error of the new workflow running for every comment not matching pattern. Author: piyush kumar sadangi #15565
  • Updating regression-report.yml to allow running regression for input java file. Author: piyush kumar sadangi #15518

Release 10.18.0

25.08.2024

Breaking backward compatibility:

  • RedundantModifer Should Violate Final Modifer on Unnamed Variables if jdkVersion GTE 22. Author: mahfouz72 #15159
  • Remove Support for String Template Syntax. Author: mahfouz72 #14805
  • LITERAL_WHEN and LAND tokens in switch statements should have EXPR child. Author: Nick Mancuso #15082

New:

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

Bug fixes:

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

Notes:

  • doc: update documentation for jdkVersion property in RedundantModifierCheck. Author: mahfouz72
  • create "InputFormattedXxxxxx" files for Indentation and other formatting Checks. Author: Mauryan Kansara #15340
  • Add supported Java Language Level to website. Author: mahfouz72 #13293
  • Minimize list of excludes in google-java-format.sh. Author: Mauryan Kansara #15449
  • doc: updated documentation for suppressionxpathfilter. Author: Mauryan Kansara
  • Add Check Support for Java 17 Sealed Classes: ClassFanOutComplexitiy. Author: mahfouz72 #15078
  • CI job to keep some Inputs to be formatted by google-java-format. Author: Roman Ivanov #15236
  • Update InlineConfigParser to enforce the presence of vio…. Author: mahfouz72 #15452
  • Add Check Support for Java 21 Pattern Matching for Switch Syntax: VariableDeclarationUsageDistance . Author: mahfouz72 #15043
  • Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: SteLeo1602 #11446
  • Clarification of lambda coverage by in google style. Author: Ruslan Diachenko, Roman Ivanov #4006
  • Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: NoWhitespaceAfter. Author: mahfouz72 #15224
  • Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: AnnotationOnSameLineCheck. Author: mahfouz72 #15061
  • Google style coverage table should have all paragraphs . Author: Mauryan Kansara #15217
  • Remove '//ok' comments from Input files . Author: Livinglaser3, Sushant Kumar Singh, SteLeo1602 #13213
  • Add Check Support for Java 17 Sealed Classes: Indentation. Author: mahfouz72 #15108
  • Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: MultipleVariableDeclarations. Author: mahfouz72 #15070
  • grab setter types even if field exists for override. Author: rnveach #15466
  • Migrate google style guide tests to follow whole config testing approach. Author: Mauryan Kansara #15214
  • Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: WhitespaceAfter. Author: mahfouz72 #15057
  • Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: WhitespaceAround. Author: mahfouz72 #15225
  • Remove from google style coverage table links to already merged issues . Author: Mauryan Kansara #15442
  • regression-report.yml workflow shall run only active PRs. . Author: piyush kumar sadangi, Roman Ivanov #15412
  • Format google IT tests' input files to follow all the rules of google java style guide. Author: Mauryan Kansara, Roman Ivanov #15218
  • Finalize coverage table for google style on state on July 2024. Author: Mauryan Kansara, Roman Ivanov #15329
  • Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: MagicNumber. Author: mahfouz72 #15069
  • Add Check Support for Java 17 Sealed Classes: IllegalType. Author: mahfouz72 #15010
  • Add Check Support for Java 21 Pattern Matching for Switch Syntax: NoWhitespaceBeforeCaseDefaultColon. Author: mahfouz72 #15048
  • doc: Update releasenotes.xml to place correct name of property - ignoreAnnotatedBy. Author: Roman Ivanov
  • Add EmptyCatchBlock module usage for section 6.2 Caught exceptions: not ignored in google style coverage page. Author: Mauryan Kansara #15252
  • Add Check Support for Java 17 Sealed Classes: WhitespaceAround. Author: mahfouz72 #15297
  • Remove condition for triggering new workflow on active PR. Author: piyush kumar sadangi #15400
  • Refactor new Github Workflow: regression-report.yml. Author: piyush kumar sadangi #15394
  • Enable examples tests. Author: mahfouz72, SteLeo1602 #13345
  • New Github workflow that provide links to test-configs but reuse contribution repo for report generation. Author: piyush kumar sadangi #15234
  • LocalFinalVariableName: false negative on pattern variable. Author: mahfouz72 #10971
  • Add Check Support for Java 21 Pattern Matching for Switch Syntax: NestedIfDepth . Author: mahfouz72 #15036
  • Add Check Support for Java 21 Pattern Matching for Switch Syntax: FallThrough . Author: mahfouz72 #15038
  • Add Check Support for Java 21 Pattern Matching for Switch Syntax: BooleanExpressionComplexity . Author: mahfouz72 #15044
  • Add Check Support for Java 17 Sealed Classes: InterfaceMemberImpliedModifier. Author: mahfouz72 #15079
  • Add Check Support for Java 21 Pattern Matching for Switch Syntax: UnnecessaryParentheses. Author: mahfouz72 #14972
  • Add Check Support for Java 21 Pattern Matching for Switch Syntax: NeedBraces. Author: mahfouz72 #15034
  • Add Check Support for Java 17 Sealed Classes: RedundantModifer. Author: mahfouz72 #15087
  • Add Check Support for Java 21 Unnamed Variables & Patterns Syntax: AnnotationLocation. Author: mahfouz72 #15060
  • doc: fixes for links. Author: Roman Ivanov
  • minor : Extend exclude list for openjdk projects. Author: mahfouz72
  • doc: improved grammar, spelling, and punctuation. Author: SteLeo1602
  • Add Check Support for Java 21 Pattern Matching for Switch Syntax: SimplifyBooleanExpression. Author: mahfouz72 #15039
  • doc: remove Localization section from system properties web page. Author: Roman Ivanov
  • Add Check Support for Java 21 Record Pattern Syntax : UnnecessaryParenthesesCheck. Author: mahfouz72 #15003
  • Reduce performance threshold value. Author: mahfouz72 #15241
  • Rename LINKS_FROM_PR to DIFF_PROJECTS_LINK for diff-report.sh. Author: piyush kumar sadangi #15261
  • XDoc conversion from Javadoc do not relativize links and break previous document version. Author: Roman Ivanov #14875
  • Add Check Support for Java 21 Pattern Matching for Switch Syntax: ParenPad. Author: mahfouz72 #14980
  • Add Check Support for Java 21 Record Pattern Syntax : PatternVariableName. Author: mahfouz72 #15005
  • Migrate google style guide tests to follow chapter wise testing. Author: Mauryan Kansara #14937
  • Refactor SummaryJavadocCheck into SummaryJavadoc for configs. Author: piyush kumar sadangi #15197
  • Add Check Support for Java 21 Record Pattern Syntax: IllegalIdentifierName. Author: mahfouz72 #15006
  • Add Check Support for Java 21 Record Pattern Syntax: Indentation. Author: mahfouz72 #15055
  • doc: fix releasenotes line length violation. Author: mahfouz72
  • Add Check Support for Java 21 Record Pattern Syntax: OperatorWrap . Author: mahfouz72 #15007
  • Update all Inputs that has inlined violations to avoid leading and trailing wildcard . Author: rnveach #15144
  • Bdd violations messages should allow skip of leading and trailing '.*'. Author: Roman Ivanov #15138
  • Enable checks from Error Prone Support. Author: Rick Ossendrijver #14137
  • Add Check Support for Java 21 Pattern Matching for Switch Syntax: MagicNumber. Author: mahfouz72 #15107
  • Add Check Support for Java 21 Record Pattern Syntax : AbbreviationAsWordInName. Author: mahfouz72 #15004
  • Add support to check input file against whole google configuration for Google IT tests. Author: Mauryan Kansara #15026
  • Add Check Support for Java 21 Pattern Matching for Switch Syntax: Indentation. Author: mahfouz72 #14971
  • resolve PMD warning on config. Author: mahfouz72 #14936
  • update JavadocTokenTypes.java to new format of AST print. Author: Rohanraj123 #14631
  • Add regexp module to checkstyle_checks.xml config to validate `since` version number. Author: mahfouz72 #12653
  • Issue #14899: Updated google coverage page regarding section 7.1.2 Paragraphs. Author: Mauryan Kansara #15022
  • Add new section 4.8.5.4 Field Annotations in google style guide implementation. Author: Mauryan Kansara #14914
  • Add new section 4.8.5.3 Methods and Constructors Annotations in google style guide implementation. Author: Mauryan Kansara #14911
  • Wrong comment in documentation example. Author: kshuryhin #14996
  • Google style IT test Inputs should have support of violation message. Author: Mauryan Kansara #14929
  • Add new section 4.8.5.2 Class Annotations to google style guide implementation. Author: Mauryan Kansara #14910
  • Google style 7.1.1 has reference to already closed issue . Author: Mauryan Kansara #14947
  • Remove JSNI message from google style coverage page and explain the reason behind it. Author: Mauryan Kansara #14938
  • Add Check Support for Java 21 Record Pattern : HiddenField. Author: mahfouz72 #14964
  • Add Check Support for Java 21 Record Pattern : EqualsAvoidNull. Author: mahfouz72 #14952
  • Google Style page isn't consistent in spacing with multiple checks. Author: Mauryan Kansara #14930
  • Rename section 4.8.4.3 of google style guide implementation. Author: Mauryan Kansara #14909
  • Rename section 4.1.1 of google style guide implementation and add new test cases for lambdas. Author: Mauryan Kansara #14908
  • Create and Document Check Update Procedure for New Language Features. Author: mahfouz72 #14889
  • Add Latest Version of Google Java Style Guide . Author: Mauryan Kansara #14899
  • spelling: added detailed message to spelling test script. Author: SteLeo1602
  • doc: fixes release notes from release. Author: rnveach

Release 10.17.0

26.05.2024

Breaking backward compatibility:

  • ImportOrder: replace Pattern[] with String[] type for properties staticGroups and groups. Author: Minghao Li #13758

New:

  • new Check: ConstructorsDeclarationGrouping to check the grouping of overloaded constructors. Author: Mauryan Kansara #14726

Bug fixes:

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

Notes:

  • Drop ci jobs for unsupported java versions. Author: Andrei Paikin #14877
  • test: shallowClone in checkstyle-tester with SHA checkout. Author: piyush kumar sadangi #14662
  • --- updated-dependencies: - dependency-name: org.codehaus.mojo:exec-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor .... Author: dependabot[bot]
  • --- updated-dependencies: - dependency-name: org.codehaus.mojo:build-helper-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor .... Author: dependabot[bot]
  • doc: makes links relative for version documentation. Author: rnveach
  • doc: added link to video instructions. Author: SteLeo1602
  • update JavadocTokenTypes.java to new format of AST print. Author: SteLeo1603, prathm3 #14631
  • doc: update issue template reference. Author: Emmanuel Ferdman
  • Fix performance test. Author: Minghao Li #14852
  • Optimize testing methods like verifyWithInlineConfigParser to run Check one time over file. Author: mahfouz72 #12586
  • Enable examples tests. Author: prathm3 #13345
  • build failure due to maven.plugin.json. Author: mahfouz72 #14853
  • Parsing performance regression testing. Author: Minghao Li #14599
  • doc: added additional explanation for clarification. Author: SteLeo1602
  • doc: Updated demonstrative images on intellij doc page. Author: SteLeo1602
  • Remove '//ok' comments from Input files . Author: prathm3 #13213

Release 10.16.0

28.04.2024

New:

  • LITERAL_CASE token support in RightCurlyCheck. Author: mahfouz72 #14620

Bug fixes:

  • OverloadMethodDeclarationOrder check ignores anything besides methods. Author: Mauryan Kansara #14765
  • MagicNumberCheck NPE when ignoring field declarations. Author: Minghao Li #14788
  • UnusedLocalVariable does not support local classes. Author: Minghao Li #14092
  • UnusedImports does not report unused static imports when the method is used as a method reference. Author: mahfouz72 #12923

Notes:

  • IDEA inspection suppressions resulted from migration to v2022.3.3. Author: MANISH-K-07 #14625
  • Remove '//ok' comments from Input files . Author: Acesif, prathm3, Tara #13213
  • Enforce new naming convention "InputXpath{Checkname}Xxxx.java" in IT area. Author: Minghao Li, MANISH-K-07 #14715
  • update version of IDEA inspection engine Version:2022.3.3. Author: MANISH-K-07 #14448
  • Enable examples tests. Author: Omar Shawky, Prathamesh-007 #13345
  • doc: updated cmdline docs to be more specific. Author: MANISH-K-07
  • update JavadocTokenTypes.java to new format of AST print. Author: Prathamesh-007 #14631

Release 10.15.0

01.04.2024

Breaking backward compatibility:

  • fix ordering of AST under STRING_TEMPLATE_BEGIN and remove empty STRING_TEMPLATE_CONTENT nodes. Author: Nick Mancuso #14615

New:

  • Add ignoreAnnotatedBy property to ParameterNumberCheck. Author: sktpy #11340

Bug fixes:

  • FallThrough check false positive with labelled break. Author: piyush kumar sadangi #11230
  • some messages are still hardcoded in english. Author: MANISH-K-07 #3110

Notes:

  • Enforce new naming convention "InputXpath{Checkname}Xxxx.java" in IT area. Author: Kexin2000, MANISH-K-07 #14715
  • Wrap `assertThrows` with `getExpectedThrowable` method.. Author: Kevin222004 #11343
  • Expand XPath IT Regression Testing. Author: Kexin2000 #6207
  • Enforce input naming convention in IT. Author: MANISH-K-07 #6981
  • Remove '//ok' comments from Input files . Author: Kexin2000, Acesif, 10zhu, Smit Joshi, lmgyuan #13213
  • Enable examples tests. Author: Kexin2000, Minghao Li #13345
  • Resolve Pitest Suppression in Pitest-Javadoc Profile. Author: mahfouz72 #13999
  • update JavadocTokenTypes.java to new format of AST print. Author: pinti0001 #14631
  • Resolve CheckerFramework violations. Author: Minghao Li #14084
  • Use module properties macro in all templates. Author: Roman Ivanov #13693

Release 10.14.2

16.03.2024

Bug fixes:

  • Transitive dependency rejection after Guava upgrade to 32.1.3-jre. Author: lukasgraef #14123
  • GenericWhitespaceCheck: Handling of whitespace between generic and record header. Author: sktpy #14502
  • JavadocStyle doesn't work with inline `@return`. Author: Omar Bakry #12600

Notes:

  • Refactor AbstractModuleTestSupport and InlineConfigParser to support XML configs in Input files without extra detalization on modules. Author: Minghao Li #14653
  • Enable examples tests. Author: Minghao Li #13345
  • Expand XPath IT Regression Testing. Author: Minghao Li #6207
  • Resolve Pitest Suppression in Pitest-Javadoc Profile. Author: Tanay #13999
  • update JavadocTokenTypes.java to new format of AST print. Author: SteLeo1602, MANISH-K-07 #14631
  • spelling: Some traditional Chinese characters were changed to simplified Chinese. Author: zhen6.gao
  • Cover pitest survivals with tests. Author: Mauryan Kansara #14019

Release 10.14.1

11.03.2024

Bug fixes:

  • Performance regression from 10.12.4 to 10.13.0. Author: Nick Mancuso #14566
  • False positive in RightCurly with 'alone_or_singleline' RightCurlyOption in try/catch. Author: mahfouz72 #12020
  • some messages are still hardcoded in english. Author: MANISH-K-07 #3110
  • False positive error from JavadocType with record. Author: sktpy #13309
  • VariableDeclarationUsageDistance: no violation to move variables closer to block. Author: mahfouz72 #3502

Notes:

  • Enable examples tests. Author: Minghao Li, MANISH-K-07 #13345
  • Expand XPath IT Regression Testing. Author: Minghao Li, MANISH-K-07 #6207
  • Remove '//ok' comments from Input files . Author: Minghao Li, DevangJagdale, pinti0001, Omar Shawky, 555vedant, Raja Raghu Ram Pydi #13213
  • Rename Java Input files and test methods to specify Test functionality. Author: pinti0001, Abhishek Maity, MANISH-K-07, CubeTures #14436
  • update JavadocTokenTypes.java to new format of AST print. Author: MANISH-K-07 #14631
  • doc: Updated description and docs of TextBlock. Author: MANISH-K-07
  • inconsistent documentation for TEXT_BLOCK_abc token types. Author: MANISH-K-07 #12491
  • Excludes for createTempFile forbidden method . Author: piyush kumar sadangi #14465
  • doc: Update TokenTypes link to be more specific. Author: MANISH-K-07
  • update TokenTypes.java to new format of AST print. Author: SteLeo1602, MANISH-K-07 #14516
  • Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: MANISH-K-07 #11446
  • AbstractXpathTestSupport does not support generating multiple xpath suppressions. Author: Tanay #14435
  • move AllBlockCommentTest and AllSinglelineCommentsTest to AST Tests. Author: mahfouz72 #14518
  • doc: fix line length violation in releasenotes.xml. Author: mahfouz72

Release 10.14.0

28.02.2024

New:

  • Checkstyle fails to parse unnamed variable. Author: Nick Mancuso #13988

Bug fixes:

  • GenericWhitespace Check ignores exception to the ">" rule for succeeding whitespaces. Author: sktpy #14344

Notes:

  • Remove '//ok' comments from Input files . Author: Aye Nyein San, biplavoraon, mahfouz72, Abhishek Maity, SteLeo1602, akanksha, MANISH-K-07, Tahanima Chowdhury, CubeTures #13213
  • Update Codenarc to highest compatible release - v2.2.0. Author: MANISH-K-07 #14556
  • Remove UnmodifiableCollectionUtil and use pitest funmodifiablecollection feature. Author: Kevin222004 #14482
  • Enable checks from Error Prone Support. Author: Rick Ossendrijver #14137
  • Cover pitest survivals with tests. Author: mahfouz72 #14019
  • improve text block grammar. Author: Nick Mancuso #14503
  • checker-framework.yml should be able to fail execution if report generation is failed. Author: piyush kumar sadangi #14396
  • upadat example in javadoc for EMBEDDED_EXPRESSION* tokens. Author: mahfouz72 #14317
  • doc: mention text block suppression. Author: Nick Mancuso
  • Rename Java Input files and test methods to specify Test functionality. Author: MANISH-K-07 #14436
  • infra: should use release 11 for compilation. Author: Michael Keppler #14485
  • Resolve Pitest Suppression in Pitest-Javadoc Profile. Author: Coding-Aliens, sktpy, mahfouz72 #13999
  • Enable examples tests. Author: mahfouz72, MANISH-K-07, ChristianCecili #13345
  • Execute all checkstyle samples in each PR execution. Author: Nick Mancuso #12558
  • Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: mahfouz72, piyush bakde, MANISH-K-07 #11446
  • Expand XPath IT Regression Testing. Author: mahfouz72, Tanay #6207
  • Forbid Files.createTempDirectory in Checkstyle and replace with @TempDir. Author: piyush kumar sadangi #14220
  • Enforce file size on Java inputs. Author: mahfouz72, MANISH-K-07 #11163
  • Resolve CheckerFramework violations. Author: Rohanraj123 #14084
  • Expanding maxmem to resolve OOM Exception (Checker checks). Author: Nick Mancuso #14346
  • doc: fix releasenotes.xml line length violation. Author: Nick Mancuso

Release 10.13.0

28.01.2024

New:

  • IllegalTokenText support for STRING_TEMPLATE_CONTENT. Author: Nick Mancuso #14289
  • Support Java 21 string template syntax. Author: Nick Mancuso #13830

Bug fixes:

  • "Unable to persist cache file" if target directory is a symlink. Author: piyush kumar sadangi #12238

Notes:

  • Enforce file size on Java inputs. Author: sktpy, mahfouz72, MANISH-K-07 #11163
  • Enable checks from Error Prone Support. Author: Rick Ossendrijver #14137
  • Enable examples tests. Author: Gahlot Kapil, Coding-Aliens, sktpy, Mauryan Kansara, Rohanraj123, Charisma Kausar #13345
  • Remove '//ok' comments from Input files . Author: Coding-Aliens, mahfouz72, sktpy, Charisma Kausar, MANISH-K-07, ChristianCecili, Tahanima Chowdhury #13213
  • Expand XPath IT Regression Testing. Author: Coding-Aliens, sktpy, Tanay, Mauryan Kansara #6207
  • Resolve Pitest Suppression in Pitest-Javadoc Profile. Author: Suniti, Mauryan Kansara #13999
  • CustomImportOrder property 'customImportOrderRules' should be String[]. Author: Nick Mancuso #14216
  • PropertyCacheFileTest Failing: 3 Test Methods Failing Along With testSymbolicLinkResolution() Causing Issue. Author: dependabot[bot] #14219
  • Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: Tanay Morakhia, Rohanraj123 #11446
  • Use module properties macro in all templates. Author: Roman Ivanov #13693
  • Make Checkstyle an (automatic) module. Author: Frank Ulbricht #14120

Release 10.12.7

31.12.2023

Bug fixes:

  • False positive in MissingSwitchDefault for switch statement where null label is present. Author: Aayush #14068
  • HiddenField false positive on inner records. Author: Kevin222004 #14028
  • Indentation: split line new array not checked. Author: plan3d #3132

Notes:

  • Use module properties macro in all templates. Author: Roman Ivanov #13693
  • Resolve Pitest Suppression in Pitest-Javadoc Profile. Author: Suniti #13999
  • Enable checks from Error Prone Support. Author: Rick Ossendrijver #14137
  • Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: Suniti, piyush bakde, Rohanraj123 #11446
  • Add support to our Inputs for lines with multiple violations. Author: Roman Ivanov #13307
  • Enable examples tests. Author: Tarun Alapati #13345
  • Enforce file size on Java inputs. Author: Mauryan Kansara #11163
  • Transitive dependency rejection after Guava upgrade to 32.1.3-jre. Author: Christopher Lambert #14123
  • Remove '//ok' comments from Input files . Author: mahfouz72, Andrei Yusupau, Tarun Alapati, Mauryan Kansara #13213
  • Cover pitest survivals with tests. Author: Suniti #14019
  • Expand XPath IT Regression Testing. Author: Aayush #6207
  • File name too long error. Author: Rick Ossendrijver #14129
  • Update CI to have Maven Version 3.8.8, update min required maven version in pom to 3.6.3 . Author: piyush kumar sadangi #13970

Release 10.12.6

07.12.2023

Bug fixes:

  • Regexp: violation pointing to line 0 while other Checks count first line as 1. Author: Suniti #14064

Notes:

  • Resolve CheckerFramework violations. Author: Roman Ivanov #14084
  • Resolve Pitest Suppression in Pitest-Javadoc Profile. Author: Suniti #13999
  • Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: Suniti #11446
  • Test inputs should be completely standalone.. Author: piyush bakde, Pubudu Fernando #4845
  • Expand XPath IT Regression Testing. Author: Rohanraj123 #6207
  • Update CI to have Maven Version 3.8.8, update min required maven version in pom to 3.5.4 . Author: piyush kumar sadangi #13970
  • Fix typo in Indentation check for word 'initialisation'. Author: Redeem-Grimm-Satoshi #13783
  • Remove ArchUnit FreezingArchRule as it unstable to skip line numbers and any other extra changes . Author: Roman Ivanov #14053
  • Enable examples tests. Author: rishivardhanm, Yukai Xiao #13345
  • use valid SPDX license identifier. Author: Michael Keppler #13889
  • Cover pitest survivals with tests. Author: Suniti #14019
  • Re-enable ArchUnit Testing. Author: Roman Ivanov #13544
  • Surefire test exclusion can cause NoClassDefFoundError on case-insensitive file system. Author: Stephan Schroevers #14042
  • migrate SuppressWarningsHolder to use property macro. Author: piyush kumar sadangi, Roman Ivanov #13839
  • Use module properties macro in all templates. Author: Roman Ivanov #13693
  • doc: add direct link to check. Author: Nick Mancuso
  • Resolve pitest survivals in modules - 4. Author: Kevin222004 #13672
  • Migrate magicnumber.xml.template to use properties template. Author: piyush kumar sadangi #13930

Release 10.12.5

14.11.2023

Bug fixes:

  • Indentation: Switch expression doesn't pass with LeftCurlies on newlines. Author: Markus Jung #14014

Notes:

  • Resolve pitest survivals in modules - 5. Author: Kevin222004, Nick Mancuso, Roman Ivanov #13809
  • Resolve pitest survivals in modules - 2. Author: Kevin222004, Roman Ivanov #13321
  • Since version is determined incorrectly by property macros at returncount.xml.template. Author: Rohanraj123 #13934
  • Resolve Pitest Suppression in Pitest-Javadoc Profile. Author: Suniti #13999
  • Enable examples tests. Author: piyush kumar sadangi, Tanay Morakhia, Suniti, Tanay, piyush bakde, Rohanraj123, Aayush #13345
  • Expand XPath IT Regression Testing. Author: Suniti #6207
  • doc: Added reference to the Checkstyle extension for bld. Author: Erik C. Thauvin
  • Migrate illegaltype.xml.template to use properties template. Author: Suniti, Aayush #13893
  • Specify violation messages in input files. Author: Suniti, sushant1987 #11214
  • Migrate multiplestringliterals.xml.template to use properties template. Author: piyush kumar sadangi #13933
  • Run regression testing in CI over openjdk21. Author: Nick Mancuso #13982
  • Remove call to Lexer#removeErrorListeners. Author: Nick Mancuso #12186
  • Migrate DescendantToken to properties macros. Author: piyush kumar sadangi #13885
  • Test inputs should be completely standalone.. Author: Tanay Morakhia, Suniti, Guneetsinghtuli, Rohanraj123 #4845
  • Update Javadoc checks to avoid // violation in Javadoc comments. Author: Suniti #13969
  • Targeted Pitest Mutation in July 2023. Author: Kevin222004 #13328
  • create validation of git status on Windows environments. Author: Kumar Kalpadiptya Roy #11816
  • Improve XdocGenerator to generate file in temp folder and replace xdoc only on success. Author: Aayush #13869
  • Enforce Linux Style End-of-Line (LF instead of CRLF) in all XML files for windows environment.. Author: Kumar Kalpadiptya Roy #13770
  • migrate FinalLocalVariable xdoc to use property macro. Author: Aayush #13853
  • Use module properties macro in all templates. Author: Roman Ivanov #13693
  • SpotBugs: checks a map with containsKey(), before using get(). Author: Aayush #13877
  • migrate IllegalToken to properties macros. Author: piyush kumar sadangi #13860
  • Fix typo in Indentation check for word 'initialization'. Author: Suniti #13783
  • infra: do not allow in-progress site action to be cancelled by skipped run. Author: Nick Mancuso #13863
  • Resolve pitest for FinalLocalVariableCheck. Author: Ruslan Diachenko #12671
  • MacroExecutionException: TypecastParenPadCheck: Failed to find setter javadoc for property 'option'. Author: piyush kumar sadangi #13867
  • Remove '//ok' comments from Input files . Author: Suniti, Rohanraj123 #13213
  • migrate to property macros IllegalTokenText . Author: piyush kumar sadangi #13859
  • Enforce file size on Java inputs. Author: Rohanraj123 #11163
  • False Positive and Negative in SummaryJavaDocCheck. Author: Aayush #13347
  • infra: actionlint bad yaml. Author: Aayush #13765
  • Infra: enable dependabot for github actions. Author: Aayush #12984
  • 'javadoc.unclosedHtml' message is not present in documentation for most Javadoc Checks. Author: piyush kumar sadangi #13775
  • Use violation messages macro in all templates. Author: piyush kumar sadangi, Roman Ivanov #13627
  • .vscode folder must be added to .gitignore to avoid getting tracked by git.. Author: Aayush #13834
  • Convert Parent Modules to Macro. Author: Roman Ivanov #13829
  • Resolve pitest survivals in modules - 4. Author: Kevin222004, Roman Ivanov #13672
  • Node.js 12 actions are deprecated.. Author: Aayush #13045
  • Document ability to use whitespace in array configuration properties. Author: Redeem-Grimm-Satoshi #13650
  • Create a Checkstyle module to enforce comment formatting in input files. Author: piyush kumar sadangi #13797

Release 10.12.4

02.10.2023

Bug fixes:

  • MissingDeprecated shows unclear message on not closed html tag. Author: piyush kumar sadangi #13745

Notes:

  • Resolve pitest survivals in modules - 5. Author: Kevin222004 #13809
  • Resolve pitest survivals in modules - 4. Author: Vyom-Yadav, Kevin222004 #13672
  • Assert that properties are ordered alphabetically in xdoc. Author: Stoyan Kostadinov, Roman Ivanov #13666
  • Enable examples tests. Author: piyush kumar sadangi, Guneetsinghtuli, Rohanraj123, Nick Mancuso #13345
  • Test inputs should be completely standalone.. Author: Guneetsinghtuli #4845
  • Remove '//ok' comments from Input files . Author: piyush kumar sadangi, Rohanraj123, Nick Mancuso #13213
  • Surviving pitest mutations for conditions reducing time complexity at PackageObjectFactory. Author: Ruslan Diachenko #11902
  • Extend `generate-extra-site-links.sh` to not include deleted pages in comments. Author: Nick Mancuso #13175
  • Order properties alphabetically in xdocs and javadocs. Author: Stoyan Kostadinov, Roman Ivanov #13668
  • Add Examples Macro Support to All Checks. Author: piyush kumar sadangi #13732
  • Typo. Author: Clint-Mathews #13735
  • Fix Pitest script to recognize unstable mutations. Author: Vyom-Yadav #13492
  • Resolve pitest survivals in modules - 3. Author: Kevin222004 #13501
  • Targeted Pitest Mutation in July 2023. Author: Ruslan Diachenko #13328
  • Create checks to place violations on missing macros in templates. Author: Nick Mancuso #13682
  • Use module properties macro in all templates. Author: Roman Ivanov #13693
  • Update Violation Message in Input files for FallThroughCheck. Author: Kumar Kalpadiptya Roy #13552
  • Simplify requirement for what we consider a setter method in ClassAndPropertiesSettersJavadocScraper. Author: Stoyan Kostadinov #13680
  • NonEmptyAtclauseDescription examples are cut in website. Author: Roman Ivanov #13660
  • Move CheckUtil#isGetterMethod and CheckUtil#isSetterMethod to MissingJavadocMethodCheck. Author: piyush kumar sadangi #13596
  • Implement module properties macro. Author: Stoyan Kostadinov #13399
  • Get rid of module javadoc examples. Author: Stoyan Kostadinov #13429
  • Fix existing cases of `getFileContents()` usage. Author: Kevin222004 #11166
  • Create tests from xdoc examples. Author: Stoyan Kostadinov #13100

Release 10.12.3

28.08.2023

Bug fixes:

  • UnnecessarySemicolonAfterTypeMemberDeclaration throws Exception on on Local Class. Author: piyush kumar sadangi #13411
  • Record pattern causes checkstyle to fail in JDK 20 (preview). Author: Nick Mancuso #13279

Notes:

  • Ensure only forward slashes are in relative link to parent module. Author: Stoyan Kostadinov #13656
  • Resolve pitest survivals in modules - 3. Author: Kevin222004 #13501
  • Use violation messages macro in all templates. Author: Stoyan Kostadinov #13627
  • Use parent module macro in all templates. Author: Stoyan Kostadinov #13610
  • Create tests from xdoc examples. Author: Stoyan Kostadinov, stoyanK7 #13100
  • Resolve pitest survivals in modules - 2. Author: Kevin222004 #13321
  • setup UnnecessaryOkComment module and suppressions (related to…. Author: Nick Mancuso #13556
  • CircleCI periodically failing with yml violations on site.yml. Author: Roman Ivanov #13567
  • Enable examples tests. Author: Nick Mancuso #13345
  • Update doc of FallThroughCheck to use same java snippet example . Author: Kumar Kalpadiptya Roy #12974
  • Create templates from xdocs. Author: Stoyan Kostadinov #13498
  • Exclude xdocs from line length validation and validate templates instead. Author: Stoyan Kostadinov #13499
  • Remove from EmptyLineSeparator documentation attention note about no xpath suppression support . Author: piyush kumar sadangi #13506
  • Implement parent module macro. Author: Stoyan Kostadinov #13434
  • Add a test to ensure examples have a paragraph with an id before them. Author: Stoyan Kostadinov #13428
  • Restore usage of TreeSet. Author: Stoyan Kostadinov #13505
  • Implement module violation messages macro. Author: Stoyan Kostadinov #13422
  • Targeted Pitest Mutation in July 2023. Author: Kevin222004 #13328
  • Move all example tests to extend `AbstractExamplesModuleTestSupport`. Author: Stoyan Kostadinov #13496
  • Add `@since` in javadoc of each property setter. Author: Stoyan Kostadinov #13421
  • Add links to examples paragraphs. Author: Stoyan Kostadinov #13205
  • Fix package/resource location in example tests. Author: Stoyan Kostadinov #13484

Release 10.12.2

30.07.2023

Bug fixes:

  • FinalClassCheck should report private classes without constructor. Author: Kevin222004 #11338

Notes:

  • Resolve pitest survivals in modules - 2. Author: Kevin222004 #13321
  • Create tests from xdoc examples. Author: Stoyan Kostadinov, stoyanK7 #13100
  • Add `@since` in javadoc of each property setter. Author: Stoyan Kostadinov #13421
  • Implement examples macro and xdoc template parser. Author: Stoyan Kostadinov #13134
  • Update doc of FallThroughCheck to use same java snippet example . Author: Kumar Kalpadiptya Roy #12974
  • update link check to only check internal links in PRs. Author: Nick Mancuso #13397
  • Run regression testing in CI over openjdk20. Author: Nick Mancuso #13402
  • Specify violation messages in input files. Author: Kumar Kalpadiptya Roy, sd9616 #11214
  • Restore xdoc-javadoc validation. Author: stoyanK7 #13362
  • Extend `getXdocsFilePaths` to gather `.xml.vm` files and get rid of `getAllXdocFilePaths`. Author: Stoyan Kostadinov #13389
  • Move section comments to include whole examples and shorten xml configs length. Author: Stoyan Kostadinov #13394
  • Test inputs should be completely standalone.. Author: sd9616 #4845
  • Targeted Pitest Mutation in July 2023. Author: Kevin222004 #13328
  • doc: update VisibilityModifier examples to match tests. Author: stoyanK7
  • Resolve pitest survivals in modules. Author: Kevin222004 #13109
  • maven site plugin is failing to execute site goal with compiler plugin 3.11.0. Author: dependabot[bot] #12784
  • Write a test to ensure checks are present in menu. Author: stoyanK7 #13301
  • Resolves Pitest for VariableDeclarationUsageDistanceCheck. Author: Kevin222004 #13095
  • Rendering issues with website. Author: stoyanK7 #13304
  • BDD configuration comments should be in XML. Author: stoyanK7 #12155
  • Update issue template after split of website to use individual page for module. Author: stoyanK7 #13310

Release 10.12.1

25.06.2023

Bug fixes:

  • SimplifyBooleanExpressionCheck throw NullPointerException while checking ternary operator. Author: Sebastien #13140

Notes:

  • Move Filters and File Filters to be a sibling of Checks in site menu. Author: stoyanK7 #13283
  • Create tests from xdoc examples. Author: stoyanK7 #13100
  • Remove redundant check name in anchor. Author: stoyanK7 #13288
  • Resolve pitest survivals in modules. Author: Kevin222004 #13109
  • Extend checkstyle-examples-checks. Author: stoyanK7 #13244
  • Split modules' xdoc into separate pages. Author: stoyanK7 #13097
  • Create separate ant-phase-verify execution for xdocs-examples. Author: stoyanK7 #13116
  • Mobile page rendering requires extra font difference for properties . Author: stoyanK7 #13195
  • Ensure category index page tables are in sync with checks.xml page table. Author: stoyanK7 #13285
  • Fail linkcheck on internal broken site link. Author: stoyanK7 #13176
  • Fix broken anchors in subdirectories/subpages. Author: stoyanK7 #13190
  • doc: update AbstractClassName examples to match tests. Author: stoyanK7
  • Resolve pitest for FinalLocalVariableCheck. Author: Kevin222004 #12671
  • Resolves Pitest for VariableDeclarationUsageDistanceCheck. Author: Kevin222004 #13095
  • doc: update ConstantName examples to match tests. Author: stoyanK7
  • Resolves Pitest for DeclarationOrderCheck. Author: Kevin222004 #13102
  • Resolves Pitest for AbstractSuperCheck. Author: Kevin222004 #13108
  • Create initial xdocs-test folder structure. Author: stoyanK7 #13105

Release 10.12.0

27.05.2023

New:

  • Support record patterns (preview-feature in Java 19) as described by JEP 405. Author: Nick Mancuso #12507

Notes:

  • Improve code coverage for GUI classes. Author: Dami Lee, alimhtsai, “MrPatchz” #11514
  • Broken Link: Github search links are broken in documentation. Author: shamith2 #13059
  • LineLength check documentation incorrectly shows how to work with tabWidth property . Author: shamith2 #13005
  • Update doc for UnusedImports. Author: Tanay #13007
  • Specify violation messages in input files. Author: “MrPatchz” #11214
  • .ci/pitest.sh --list doesn't show all pitest profiles on Mac. Author: Ruslan Diachenko #13063
  • doc: new release cycle. Author: Roman Ivanov
  • Site Action generate bad link to index page. Author: stoyanK7 #13054

Release 10.11.0

10.05.2023

New:

  • False Negative: UnnecessaryParenthesesCheck. Author: Kevin222004 #11109

Bug fixes:

  • VariableDeclarationUsageDistance not able to handle try with resources properly. Author: jxr98 #11968
  • Not last return javadoc tag cause parse error. Author: Omar Bakry #12864

Notes:

  • Kill survivng mutation in DefaultComesLastCheck.java. Author: jxr98 #12889
  • make_report has warning on deprecation . Author: Omar Bakry #13031

Release 10.10.0

26.04.2023

New:

  • New filter: SuppressWithNearbyTextFilter to suppress checks with inline comments in any file type. Author: stoyanK7 #11939

Notes:

  • Enforce file size on Java inputs. Author: Omar Bakry, sd9616 #11163
  • Specify violation messages in input files. Author: shivam, sd9616, Sloent #11214
  • Improvements to diff report generation. Author: Nick Mancuso #12991
  • Resolve pitest for FinalLocalVariableCheck. Author: coderdeadpool #12671
  • Resolve pitest suppression for FinalLocalVariableCheck. Author: coderdeadpool #12997
  • Add more unit test cases for VariableDeclarationUsageDistanceCheck. Author: Xinrui Jiang #12976
  • check_issues job have warning on deprecation. Author: Omar Bakry #12978
  • Fix windows line endings in GitHub event text. Author: Nick Mancuso #12995
  • doc: remove extra space. Author: 7h3-3mp7y-m4n
  • Resolve pitest suppression for FallThroughCheck. Author: shivam #12943
  • Resolve pitest suppression for AbstractViolationReporter. Author: Shubh Srivastava #12876
  • Use Environment Files instead of `set-output` in GitHub Actions.. Author: stoyanK7 #12696
  • Expand XPath IT Regression Testing. Author: Omar Bakry, sd9616 #6207
  • Create script for appending text to $GITHUB_OUTPUT. Author: stoyanK7 #12954
  • Github CI does not run upon `Github, rebase` action. Author: stoyanK7 #11134
  • Grammar error in documentation of AbstractClassNameCheck.xml . Author: bhganesh #12932
  • Diff-Report action does not post link to report in GitHub comment. Author: stoyanK7 #12794
  • Re-enable action lint. Author: stoyanK7 #12678
  • Update doc for VisibilityModifier. Author: Omar Bakry #7616
  • Add 3 to earliest change variable to compensate for diff context. Author: stoyanK7 #12940
  • Fix concurrency group for site action. Author: stoyanK7 #12942
  • Generate site workflow should provide more specific links. Author: stoyanK7 #12853
  • Update doc for DesignForExtension. Author: ziweiwang98 #7608
  • Update doc for DescendantToken. Author: shivam #7587
  • Update doc for Translation. Author: shivam #7593

Release 10.9.3

25.03.2023

Bug fixes:

  • False positive about MagicNumber. Author: Kevin222004 #12687

Notes:

  • Fail set-milestone if no milestone is found. Author: stoyanK7 #12909
  • Add repository owner environment variable in release process. Author: stoyanK7 #12840
  • doc: describe in cli doc that folder can be used. Author: Roman Ivanov
  • Keep spacing between job steps consistent. Author: stoyanK7 #12851
  • Resolve pitest suppression for BeforeExecutionFileFilterSet. Author: Shubh Srivastava #12878
  • Typo in Documentation of VariableDeclarationUsageDistance. Author: jxr98 #12898
  • Kill surviving mutation in FilterSet.java. Author: Shubh Srivastava #12887
  • Deprecate com.puppycrawl.tools.checkstyle.api.AutomaticBean. Author: stoyanK7 #5337
  • Expand XPath IT Regression Testing. Author: zyrate #6207
  • Resolve pitest suppression for FilterSet. Author: Shubh Srivastava #12879
  • Update doc for SuppressionCommentFilter. Author: Shubh Srivastava #12827
  • Use Shellcheck to resolve violations code in Shell Script. Author: shubh220922 #11637
  • Update doc for NonEmptyAtclauseDescription. Author: shivam #7604
  • Ensure new-milestone-and-issues-in-other-repos always pulls latest commit. Author: stoyanK7 #12866

Release 10.9.2

18.03.2023

Bug fixes:

  • Improve performance of lambda processing. Author: Nick Mancuso #12809

Notes:

  • Make twitter-releasenotes job depend on update-github-page. Author: stoyanK7 #12857
  • Restore curl --fail-with-body. Author: stoyanK7 #12451
  • Specify violation messages in input files. Author: jxr98 #11214

Release 10.9.1

16.03.2023

Bug fixes:

  • A false negative about the rule ClassMemberImpliedModifier. Author: Andrei Paikin #11569

Release 10.9.0

16.03.2023

New:

  • LITERAL_SWITCH token support in RightCurlyCheck. Author: Kevin222004 #9994

Notes:

  • Give better names to release actions and files. Author: stoyanK7 #12807
  • Use Shellcheck to resolve violations code in Shell Script. Author: shubh220922 #11637
  • Expand XPath IT Regression Testing. Author: zyrate #6207
  • emphasize mutability of collectors. Author: Rick Ossendrijver #12777
  • Add conditional to run on:push workflows only in checkstyle repository. Author: stoyanK7 #12824
  • Make grep always return exit code 0 in set-milestone. Author: stoyanK7 #12821
  • Specify violation messages in input files. Author: zyrate #11214
  • update doc for SuppressWarnings. Author: zyrate #7575
  • Update doc for JavadocMethod. Author: Aritra Sinha #7598

Release 10.8.1

09.03.2023

Bug fixes:

  • LocalizedMessage should use ModuleName in compareTo method. Author: rnveach #4930

Notes:

  • Fix 'set-milestone-on-referenced-issue'. Author: stoyanK7 #12801
  • Specify violation messages in input files. Author: Naoto Kuwayama #11214
  • Update documentation for AnnotationUseStyle. Author: Naoto Kuwayama #7571
  • Execute upload of -all jar separately. Author: stoyanK7 #12792
  • Switch to PAT secret in set-milestone workflow. Author: stoyanK7 #12799
  • Remove execution of upload -all jar from new-milestone-and-issue-in-other-repo. Author: stoyanK7 #12793
  • Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: jxr98 #11446
  • Add forgotten secret inherit in release. Author: stoyanK7 #12797
  • Create GitHub action to put current milestone on issue of closed PR. Author: stoyanK7 #12497
  • Use dynamic names for release workflow runs. Author: stoyanK7 #12785
  • Make action to trigger all release steps. Author: stoyanK7 #12720
  • CommitValidationTest fails on revert commits. Author: stoyanK7 #12766
  • Keep workflow input descriptions consistent. Author: stoyanK7 #12776

Release 10.8.0

26.02.2023

Breaking backward compatibility:

  • Remove Serializable interface from Violation class and EventObject extension from AuditEvent. Author: rnveach #12681

Notes:

  • Specify violation messages in input files.. Author: jxr98 #11214
  • Make action to trigger all release steps. Author: stoyanK7 #12720
  • Make scripts and configurations filenames consistent. Author: stoyanK7 #12716
  • CommitValidationTest should ignore the release process. Author: stoyanK7 #12765
  • Use Shellcheck to resolve violations code in Shell Script. Author: shubh220922, Kevin222004 #11637
  • Update doc for JavadocType. Author: hcy #7601
  • Release perform action is failing. Author: stoyanK7 #12762
  • Replace all usages of xmlstarlet with getCheckstylePomVersion from util.sh. Author: stoyanK7 #12726
  • confg: cancel 10.8.0 release, see details in #12762. Author: Roman Ivanov
  • End of free builds for CloudBees CodeShip. Author: Roman Ivanov #12758
  • Define variable for non-main-files-suppressions file. Author: stoyanK7 #12761
  • Fix RegexpOnFileNameCheck message keys. Author: stoyanK7 #12748
  • pitest: groovy does not run when profile fails. Author: Vyom-Yadav #12647
  • Resolve surviving annotation mutations for pitest. Author: rnveach #12591
  • Checker: false violation removals on other failures. Author: Roman Ivanov #12379
  • Validation for next version in GitHub action . Author: stoyanK7 #12608
  • pitest-survival-check-xml.groovy: prints nothing when there are no differences. Author: Vyom-Yadav #12153
  • `pitest-survival-check-xml.groovy` should automatically update list of suppressions. Author: Vyom-Yadav #12613
  • Remove admins from white list on commit validation . Author: stoyanK7 #12717
  • Github action "Release perform". Author: stoyanK7 #12079
  • pitest: validate wildcards on target classes. Author: Nick Mancuso #12625
  • Issue 12705: remove .m2 for codenarc execution to make it more stable on download. Author: Roman Ivanov
  • Github action to copy to sourceforge does not work. Author: stoyanK7 #12574
  • update all release action to have 'Setup local maven cache' step to optimize download of artifacts. Author: stoyanK7 #12571
  • Push 'all' jar action is not working and not failing execution. Author: stoyanK7 #12694

Release 10.7.0

31.01.2023

Breaking backward compatibility:

  • Remove CheckstyleAntTask's classpath parameter. Author: rnveach #12338

New:

  • Support latest pattern matching syntax in switch labels. Author: Nick Mancuso #12515

Bug fixes:

  • UnnecessaryParentheses: false negative on unnecessary parenthesis. Author: Kevin222004 #11643

Notes:

  • action 'R: Close/Create Milestone' is not working. Author: stoyanK7, Roman Ivanov #12570
  • Resolve surviving pitest-design-check mutations for pitest. Author: rnveach #12641
  • Resolve surviving pitest-coding-require-this-check mutations for pitest. Author: rnveach #12626
  • linkcheck report full of error on damaged links to javadoc. Author: rnveach #11572
  • Resolve violation from ResultOfMethodCallIgnored inspection. Author: rnveach #11589
  • All Github CI workflows should have concurrency of 1. Author: Nick Mancuso #12645
  • Picocli's coloring interfering with tests. Author: rnveach #12667
  • Remove Apex project from usage in testing . Author: rnveach #7815
  • Resolve surviving pitest-metrics-check mutations for pitest. Author: rnveach #12637
  • Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: Shubh Srivastava #11446
  • Resolve Pitest for profile coding-2. Author: Kevin222004 #12331
  • Resolve surviving pitest-blocks mutations for pitest. Author: rnveach #12615
  • doc: explanation on versioning of checkstyle. Author: Roman Ivanov
  • Corrects classes scanned for pitest to include sub-classes. Author: rnveach #12622
  • Resolve surviving pitest-whitespace mutations for pitest. Author: rnveach #12601
  • Resolve surviving sizes mutations for pitest. Author: rnveach #12592
  • Empty ErrorStream in `checker-framework.groovy` to prevent buffer exhaustion and external processes from blocking. Author: Vyom-Yadav #12522
  • Resolve surviving pitest-java-ast-visitor mutations for pitest. Author: rnveach #12594
  • Specify violation messages in input files.. Author: Shubh Srivastava #11214
  • Resolve surviving modifier mutations for pitest. Author: rnveach #12587
  • Resolve surviving naming mutations for pitest. Author: rnveach #12589
  • Restore pitest.sh to ease operation on local. Author: Roman Ivanov #12557
  • Lint GitHub Actions workflows executed twice. Author: Nick Mancuso #12568
  • `bump_license_year.yml` not adding year to commit message.. Author: Vyom-Yadav #12572

Release 10.6.0

31.12.2022

Breaking backward compatibility:

  • Simplify JavadocStyleCheck: remove functionality for missing package-info Javadoc. Author: rnveach #12520

Bug fixes:

  • Inconsistent allowedAbbreviations when a method contains an underscore. Author: Arin Modi #12409
  • NoWhitespaceAfter false positive on synchronized method. Author: Nick Mancuso #12486
  • Null pointer exception with records in RequireThisCheck. Author: rnveach #11807

Notes:

  • Resolve pitest for profile metrics. Author: Kevin222004 #12333
  • Review usages of `BeforeAll` in tests. Author: Vyom-Yadav #12100
  • Create CI task to lint github actions. Author: Nick Mancuso #12501
  • Run regression testing in CI over openjdk19. Author: Nick Mancuso #12519
  • Replace backward slash with forward slash while creating `CheckerFrameworkError` object in `checker-framework.groovy`. Author: Vyom-Yadav #12524
  • Convert sevntu-checkstyle-check to ant run. Author: rnveach #5385
  • doc: remove 'pre' tags from description. Author: Nick Mancuso
  • Create YAML linting CI task. Author: Nick Mancuso #12435
  • Use Shellcheck to resolve violations code in Shell Script. Author: Arin Modi #11637
  • All scripts that print example of execution should not have hardcoded name in message . Author: stoyanK7 #12496
  • 'R: Push Release Notes' makes xml section version as snapshot . Author: stoyanK7 #12488
  • 'R: Push Release Notes' failing on push. Author: stoyanK7 #12479
  • Remove 'releasenotes.xml after commit:'. Author: Roman Ivanov #12468
  • 'R: Push Release Notes' failing. Author: stoyanK7 #12464
  • Create CI task to enforce '.ci' directory contains only script files. Author: rnveach #12463

Release 10.5.0

27.11.2022

New:

  • Allow 3rd party Check providers to group modules under custom parent module. Author: rnveach #11644

Bug fixes:

  • checkstyle 10.3.3 and newer throws NullPointerException on annotated generic types from IllegalType rule. Author: Nick Mancuso #12443
  • False positive in NoWhiteSpaceAfter. Author: Andrei Paikin #12345
  • EmptyForInitializerPad: ArrayIndexOutOfBoundsException. Author: Andrei Paikin #12291

Notes:

  • Resolve Pitest suppression for RightCurlyCheck. Author: Arin Modi #12441
  • Remove new curl parameter from all GitHub actions for release . Author: stoyanK7 #12456
  • Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: Arin Modi, Shubh Srivastava #11446
  • Github action "Copy site to sourceforge". Author: stoyanK7 #12081
  • Issue #11604: separates detail ast from xpath. Author: rnveach #11617
  • PMD warning in execution logs. Author: rnveach #12448
  • failure of update github.io to clone checkstyle.github.io. Author: stoyanK7 #12168
  • Enforce file size on Java inputs. Author: Arin Modi #11163
  • failure to publish github release notes ' R: Publish GitHub Page'. Author: stoyanK7 #12169
  • Resolve Pitest suppression for AccessModifierOption. Author: Shubh Srivastava #12326
  • Resolve Pitest suppression for SeparatorWrapCheck. Author: Arin Modi #12430
  • Re-enable sonar . Author: Nick Mancuso #12431
  • Investigate why GITHUB token has no access to issues . Author: stoyanK7 #12182
  • Update doc for MutableException. Author: Arin Modi #7613
  • Update Test Configuration To Support Adding TreeWalker Property. Author: Arin Modi #12395
  • Missing Link found on Checkstyle docs. Author: anchitbhuhan #12393
  • doc: archive release notes for 8.0-8.34. Author: Nick Mancuso
  • add release number validation. Author: stoyanK7 #12316
  • Create instance of regexp check to enforce usage of 'fail-with-body' in curl commands. Author: rnveach #12389
  • Action 'Bump version/Update Milestone' is failing to update milestones. Author: stoyanK7 #12351
  • Specify violation messages in input files.. Author: Arin Modi, Shaman20 #11214
  • 'R: Publish GitHub Page' failing at perform curl command but action status is succcess. Author: stoyanK7 #12181
  • Debug documentation is not clear. Author: NitishKumar06 #12207
  • Improper text in NewLineAtEndOfFileCheck documentation. Author: NitishKumar06 #12370
  • doc: expanded documentation on severities. Author: rnveach
  • Resolve Pitest for Block Profile-2. Author: Kevin222004 #12330

Release 10.4

30.10.2022

Breaking backward compatibility:

  • Checker.localeLanguage property work strange with system property user.language. Author: rnveach #12101
  • Remove custom cache in Violation.java. It was extra cache for resource bundle cache for messages.. Author: rnveach #12102

Bug fixes:

  • False Positive: UnusedLocalVariableCheck. Author: Kirill Zuev #11920

Notes:

  • Overview Section is quite confusing. Author: NitishKumar06 #12228
  • Move codenarc to non GitHub CI. Author: Vyom-Yadav #11747
  • CI: validate PR number when commit is for PR. Author: Nick Mancuso #12319
  • Create CI task to fail PR if merge commit exists. Author: Nick Mancuso #12259
  • checker-framework.groovy depends too much on name of repo. Author: Nick Mancuso #12311
  • Resolve Switch case mutation for ParenPad. Author: Kevin222004 #12327
  • Rename all 'Checker-Framework / checker-..' actions . Author: Roman Ivanov #12229
  • Resolve Pitest suppression for ParenPad. Author: Kevin222004 #12282
  • Resolve Pitest suppression for Javadoc profile. Author: Kevin222004 #12315
  • Resolve Pitest suppression for misc profile. Author: Kevin222004 #12314
  • dependency: bump mockito-inline from 4.8.0 to 4.8.1. Author: Vyom-Yadav #12312
  • UnusedImports doc: add limitation regarding same-name imports. Author: stoyanK7 #12224
  • Update doc for EmptyLineSeparator. Author: shubh #7619
  • Update verify-no-exception-configs validation. Author: rnveach #9984
  • Pitest/Checker: Drop New/Unnecessary Displays And Switch to Git Diff. Author: Roman Ivanov #12243
  • Add example of custom jars to Ant Documentation. Author: Navjyoth NA Thakur #5389
  • Resolve Pitest suppression for block profile. Author: Kevin222004 #12296
  • Resolve Pitest suppression for EmptyForInitializerPad-2. Author: Kevin222004 #12275
  • doc: Update SuppressionXpathSingleFilter example (related to #3095). Author: Piotr Findeisen
  • doc: remove teamcity badge but keep links in case we will restore it. Author: Roman Ivanov
  • Create IDEA Inspections Docker image for CircleCI. Author: Nick Mancuso #12087
  • Specify violation messages in input files.. Author: shubh #11214
  • Resolve Pitest suppression for SeperatorWrapCheck. Author: Kevin222004 #12267
  • Resolve Pitest suppression for EmptyForInitializerPadCheck. Author: Kevin222004 #12265
  • Resolve Pitest suppression for MethodParamPadCheck . Author: Kevin222004 #12264
  • Resolve Pitest suppression for OperatorWrapCheck. Author: Kevin222004 #12266
  • Resolve Pitest suppression for AbstractParenPadCheck - 2. Author: Kevin222004 #12260
  • Resolve Pitest suppression for EmptyForIteratorPadCheck. Author: Kevin222004 #12261
  • Resolve Pitest suppression for AbstractParenPadCheck. Author: Kevin #12251
  • Remove changes needed for PMD Accessor violations from Java 11 improvements. Author: rnveach #12241
  • Minor word missing in checkstyle docs. Author: NitishKumar06 #12203
  • doc: fix formatting mistake. Author: stoyanK7

Release 10.3.4

25.09.2022

Bug fixes:

  • ImportOrder: tokens property should be not customizable, move STATIC_IMPORT to required tokens Author: rnveach #12145
  • IllegalInstantiation: make all tokens should be required, so no need to use custom values in tokens property. Author: rnveach #3955
  • VariableDeclarationUsageDistance throws NPE on empty switch statements. Author: stoyanK7 #11973

Notes:

  • Expand ArchUnit Testing. Author: Vyom-Yadav #12099
  • Enable Checker Framework. Author: Vyom-Yadav #12164
  • pitest-survival-check-xml.groovy: ArrayIndexOutOfBoundsException. Author: Vyom-Yadav #12132
  • Add method to ignore unstable checker framework violations. Author: Vyom-Yadav #12210
  • Add badges for new GitHub actions. Author: Vyom-Yadav #12218
  • Checkstyle should use `dependencyConvergence` maven-enforcer rule. Author: Nick Mancuso #12195
  • failure to publish github release notes ' R: Publish GitHub Page'. Author: Roman Ivanov, Rahul Khinchi #12169
  • Disable execution of GitHub actions with cron in fork repositories. Author: Rahul Khinchi #12175
  • Use OS specific command and correct errorExtractingPattern. Author: Vyom-Yadav #12154
  • updates in Github actions. Author: Rahul Khinchi #12165
  • execution of 'R: Update github.io' with '10.3.3' faililng. Author: Rahul Khinchi #12160
  • Disable test execution during release. Author: Roman Ivanov #11912
  • no-error-pmd execution is failing if version in not changed to 10.4. Author: Roman Ivanov #12129
  • doc: add 'I have read check documentation...' to feature_request.md. Author: Nick Mancuso
  • pitest-survival-check-xml.groovy: IllegalArgumentException: character to be escaped is missing. Author: Vyom-Yadav #12133
  • Github action "GitHub Milestone and Upload Jar" should do all github actionvities from release.sh. Author: Rahul Khinchi #12113
  • Github Action "Update github.io". Author: Rahul Khinchi #12115
  • update publish Twit action to use secrets. Author: Rahul Khinchi #12116
  • Minor changes in in shell scripts. Author: Rahul Khinchi #12124
  • Upgrade Maven required Version for Contributors. Author: rnveach #12111
  • Github action "Release prepare" should validate presence of xml release notes. Author: Rahul Khinchi #12126
  • rename update-sources.sh . Author: Rahul Khinchi #12120

Release 10.3.3

28.08.2022

Bug fixes:

  • Translate messages to Russian. Author: zuev kirill #12039
  • RequireThisCheck not able to handle try-with-resources. Author: stoyanK7 #11821
  • Sarif support is not extended onto the Ant task defined. Author: jknair0 #11985
  • InvalidJavadocPosition: false positive for the generic constructor without access modifier. Author: stoyanK7 #11605

Notes:

  • Github action "Publish release notes outside". Author: Rahul Khinchi #12082
  • Github action to update sources with release notes. Author: Rahul Khinchi #12077
  • Github action "Update Github". Author: Rahul Khinchi #12080
  • Github action "Release prepare". Author: Rahul Khinchi #12078
  • Use Error Prone tool to detect issues with code during compile time. Author: Vyom-Yadav #2160
  • Reuse Plain text release notes from releasenotes-builder in Github release page. Author: Rahul Khinchi #11901
  • update all shell scripts for release automation to check that parameter is definied. Author: Rahul Khinchi #12083
  • Pitest: Kill all surviving mutations. Author: Vyom-Yadav #11720
  • tweet-releasenotes.sh should be able to generate release notes for any release of past . Author: Rahul Khinchi #12011
  • Enhancements for bump version action. Author: Rahul Khinchi #12058
  • Resolve IDEA violations from Teamcity 2022.04 (Bundled IntelliJ IDEA 2022.1.3). Author: Vyom-Yadav #11865
  • Kill surviving mutations in pitest-annotation. Author: Vyom-Yadav #12036
  • create Github action that does version bump and update of milestone. Author: Rahulkhinchi03 #11900
  • doc: remove Travis as main CI. Author: Roman Ivanov
  • TeamCity change in 'Open-source projects / Checkstyle / Checkstyle' project: Versioned settings configuration updated. Author: nmancus1
  • Kill surviving mutations in pitest-api. Author: Vyom-Yadav #12017
  • Use Shellcheck to resolve violations code in Shell Script. Author: stoyanK7 #11637
  • Adding CheckForVariable function to util.sh. Author: Rahul Khinchi #11758
  • Solve fb-contrib errors. Author: rnveach #11140
  • update code base to have javadoc tag to explain noinspection tag content. Author: Nick Mancuso #11277

Release 10.3.2

31.07.2022

Bug fixes:

  • MissingJavadocType: Support qualified annotation names. Author: stoyanK7 #11736
  • Update google_checks.xml to have the SuppressionCommentFilter and SuppressWarningsHolder modules in the config by default (and by extension, SuppressWarningsFilter). Author: Daniel del Castillo #11655

Notes:

  • Update releasenotes to use GitHub Pages execution. Author: Rahul Khinchi #12010
  • Allow SuppressWarningHolder to suppress the violation with NameCheck. Author: stoyanK7 #11885
  • Pitest: Kill all surviving mutations. Author: Vyom-Yadav, Nick Mancuso #11720
  • Pitest: Activate "ALL" mutator group. Author: Vyom-Yadav #11719
  • Use Shellcheck to resolve violations code in Shell Script. Author: stoyanK7 #11637
  • pitest: increase mutation coverage for pitest-imports profile to 100% . Author: Vyom-Yadav #6658
  • Update GitHub Action for bump-license-year.sh. Author: Rahulkhinchi03 #11970
  • Solve fb-contrib errors. Author: pbludov, stoyanK7 #11140
  • Remove pitest mutation checking HTML model. Author: Vyom-Yadav #11904
  • automate execution by Github action bump-license-year.sh on first day of month. Author: Rahul Khinchi #11744
  • update code base to have javadoc tag to explain noinspection tag content. Author: Nick Mancuso #11277
  • doc: put example of enableExternalDtdLoad to xdoc. Author: Roman Ivanov
  • update doc for SuppressWarningsHolder. Author: Kevin222004 #7576
  • releasenotes script generated empty commit. Author: Rahulkhinchi03 #11782
  • Include CDG Accelerator Plugin to boost pitest performance. Author: Vyom-Yadav #11727
  • Enforce file size on Java inputs. Author: stoyanK7 #11163
  • Expand XPath IT Regression Testing. Author: stoyanK7 #6207
  • There are semantic problems in the Chinese error message of keyword 'design.forExtension' .. Author: ssquan #11649
  • prepare-settings.sh fails to create settings.xml. Author: Rahulkhinchi03 #11783
  • Use groovy version provided by `apt` in pitest.yml. Author: Vyom-Yadav #11823
  • tweet-releasenotes.sh does not check env variables. Author: Roman Ivanov #11784
  • download of m2 cache from sourceforge.io is slow. Author: Roman Ivanov #11817
  • infra: turns off create dependency reduced pom for shade plugin. Author: rnveach #11806
  • Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: stoyanK7 #11446
  • Specify violation messages in input files.. Author: stoyanK7 #11214
  • pitest: increase mutation coverage for javadoc profile to 100%. Author: Vyom-Yadav #6295

Release 10.3.1

27.06.2022

Bug fixes:

  • FallThrough should recognize yield also. Author: Hyeonmin Park #11712
  • FinalClassCheck: False positive with anonymous classes. Author: Vyom-Yadav #11365

Notes:

  • Automate creation of settings.xml file for release. Author: Rahul Khinchi #11726
  • Automate update of releasenotes.xml by content for new release. Author: Rahul Khinchi #11729
  • Automate twitter posts to use single shell command. Author: Rahul Khinchi #11725
  • Resolve Pitest Issues. Author: Vyom-Yadav #7797
  • dependency: bump pitest-maven from 1.8.1 to 1.9.0. Author: rnveach #11761
  • Disable IDEA Inspection for `AnnotationClass` . Author: Nick Mancuso #11710
  • Update doc for LeftCurly. Author: Perin-Mangukiya #7582
  • Missed limitation: Checkstyle can't parse UTF8 Java File with UTF8 BOM. Author: rnveach #11698
  • Specify violation messages in input files.. Author: stoyanK7 #11214
  • Resolve IDEA violations from Teamcity 2022.04 (Bundled IntelliJ IDEA 2021.2.3). Author: Roman Ivanov #11566
  • Pitest: Create robust method of surviving mutation suppression. Author: Vyom-Yadav #11665
  • update code base to have javadoc tag to explain noinspection tag content. Author: Nick Mancuso #11277
  • Update doc for TrailingComment. Author: stoyanK7 #7592
  • Add codenarc to CI for groovy files . Author: Vyom-Yadav #11734
  • Move Backport section on index page to be update JRE_and_JDK . Author: Roman Ivanov #11735
  • .ci/pitest.sh --list doesn't show all pitest profiles. Author: Vyom-Yadav #11730
  • Split pitest-coding execution into 3 executions and investigate instability. Author: Vyom-Yadav #11528
  • Use Shellcheck to resolve violations code in Shell Script. Author: Rahul Khinchi #11637
  • Add 'git diff' validation after execution of verify phase to Azure. Author: Rahul Khinchi #11554
  • Solve fb-contrib errors. Author: pbludov #11140
  • Checkstyle doesn't publish test source code. Author: rnveach #11681

Release 10.3

29.05.2022

New:

  • WhitespaceAfter should support LITERAL_CASE token. Author: as23415672 #11666
  • WhitespaceAfter should support LITERAL_YIELD token. Author: Binita Kumari #11508

Bug fixes:

  • SuppressionXpathSingleFilter suppresses all violations when used with the default configuration. Author: as23415672 #11460
  • SuppressWarnings: support not working on local variables. Author: Ignem #10043

Notes:

  • Wercker service will be shutdown on October 31st, 2022. Author: Rahul Khinchi #11564
  • Use Shellcheck to resolve violations code in Shell Script. Author: Rahul Khinchi #11637
  • NoSuchFileException during maven-compiler-plugin:3.10.1:testCompile. Author: Vyom-Yadav #11662
  • Extend IT tests to able to load few modules from configs. Author: rnveach #7546
  • use linter for bash scripts. Author: Rahul Khinchi #5826
  • Remove some hardcoding of specifics so Checkstyle can be more Extensible. Author: rnveach #11604
  • Update doc for NoWhitespaceAfter. Author: Shaman20 #7624
  • Update Checkstyle's Copyright. Author: Rahul Khinchi #11596
  • Update doc for EmptyForInitializerPad. Author: shubhamxshah #7617
  • Specify violation messages in input files.. Author: rnveach, shubhamxshah, Binita Kumari, Abhinav #11214
  • Split pitest-coding execution into two executions and investigate instability. Author: Vyom-Yadav #11528
  • Solve fb-contrib errors. Author: pbludov #11140
  • Resolve SimplifiableIfStatement inspection violations . Author: Nick Mancuso #11588
  • Resolve IDEA violations from Teamcity 2022.04 (Bundled IntelliJ IDEA 2021.2.3). Author: pbludov, Roman Ivanov #11566
  • Update doc for MethodParamPad. Author: Shaman20 #7622
  • Update Xpath unit tests to have at least two test methods. Author: Rahul Khinchi #8151
  • Fix methods for package-info file check. Author: as23415672 #11531

Release 10.2

24.04.2022

New:

  • Add new AbstractCheck#getFilePath method in api. Author: Andrei Paikin #11507
  • WhitespaceAfter should support LITERAL_RETURN token. Author: Rahul Khinchi #11536
  • WhitespaceAfter should support LITERAL_SYNCHRONIZED token. Author: Kevin222004 #11494
  • WhitespaceAfter should support LITERAL_CATCH token. Author: Binita Kumari #11498
  • WhitespaceAfter should support LITERAL_FINALLY token. Author: Rahul Khinchi #11493
  • WhitespaceAfter should support LITERAL_TRY token. Author: Rahul Khinchi #11489

Bug fixes:

  • GUI can not find node by simple xpath. Author: Nick Mancuso #9004

Notes:

  • Test inputs should be completely standalone.. Author: pbludov #4845
  • Split pitest-coding execution into two executions and investigate instability. Author: Vyom-Yadav #11528
  • Solve fb-contrib errors. Author: rnveach #11140
  • Specify violation messages in input files. Author: ricardovogel, SarveshLimaye, Binita Kumari, Kaung Myat Htet, Abhinav, Kevin222004 #11214
  • minor: remove testLocaleIsSupported tests. Author: pbludov #11544
  • Update doc for MethodLength. Author: Kaung Myat Htet #11474
  • Update Xpath unit tests to have at least two test methods. Author: Rahul Khinchi #8151
  • Expand XPath IT Regression Testing. Author: Kevin222004, Abhinav #6207
  • 'checkstyle_checks.xml' should not allow single letter variable names in for loops. Author: Nick Mancuso #11522
  • minor: move xml-maven-plugin to config directory outside of ci. Author: rnveach #11530
  • Large overhead from using streams in TokenUtil.isOfType. Author: Sander Gielisse #11370
  • doc: Improve grammar in writingchecks.xml. Author: Otto Kaaij
  • AbbreviationAsWordInName documentation need to extended. Author: MUzairS15 #10889
  • Update Tests to use new 'verifyXxxxxx' method or 'execute' that use inlined config in Input files. Author: Rahul Khinchi #11446
  • Unit tests for Checkstyle GUI components. Author: pbludov #11475
  • Check no closed issue references workflow is not triggered on pull requests. Author: Vyom-Yadav #11442
  • Enforce file size on Java inputs. Author: Rahul Khinchi #11163
  • Fix existing cases of 'getFileContents()' usage. Author: Andrei Paikin #11166

Release 10.1

27.03.2022

Breaking backward compatibility:

  • LineLengthCheck ignores length of import and package statements. Author: Vyom-Yadav #10907

New:

  • RedundantModifier should include RECORD_DEF in acceptable tokens. Author: Vyom-Yadav #11259

Bug fixes:

  • All checks that use 'AbstractCheck#getLine()' should check code points instead of characters for spacing. Author: MUzairS15 #10924
  • False positive: SummaryJavadocCheck. Author: Vyom-Yadav #11213
  • Inline @return tag does not pass SummaryJavadocCheck. Author: Octavia Togami #10776
  • UnnecessaryParentheses reports incorrect violation message for return value in lambdas. Author: Otto Kaaij #11357
  • Enhance logging approach of SummaryJavadocCheck and use AST-based approach to get content of inline tag. Author: Vyom-Yadav #11030

Notes:

  • Expand XPath IT Regression Testing. Author: Binita Kumari, Kevin222004, Rahul Khinchi #6207
  • Update Tests to use new verify method that use inlined config in Input files. Author: Kevin222004, Nick Mancuso #11446
  • Conver test for SuppressionXpathSingleFilterTest to use inlined config in Input files. Author: Vyom-Yadav #11439
  • Conver test for SuppressionXpathFilterTest to use inlined config in Input files. Author: Vyom-Yadav #11438
  • Specify violation messages in input files. Author: FaraazB, AmrDeveloper, Kevin222004, Rahul Khinchi #11214
  • Update doc for MultipleStringLiterals. Author: ExApricity #7650
  • Move methods common in UnusedLocalVariableCheck and FinalClassCheck to util. Author: Vyom-Yadav #11201
  • Remove suppressions for original verify method or explain in comment. Author: Roman Ivanov #10390
  • Migrate to Inline Config Parser for filters. Author: Vyom-Yadav #10737
  • Test inputs should be completely standalone. Author: rnveach #4845
  • spelling: Fix double word in TreeWalker. Author: Ricardo Vogel
  • Checkstyle should force logging of AST in checks that require it. Author: Nick Mancuso #10933
  • refactor check for override annotation - add util method. Author: Andrei Paikin #11333
  • Fix existing cases of 'getFileContents()' usage. Author: Andrei Paikin #11166
  • JavadocMetadataScraper fails silently if it can't write the XML files. Author: Vyom-Yadav #10747
  • AvoidStarImport: update documentation with example for mix of properties. Author: AmrDeveloper #11352
  • doc: mention that excludes can be class names. Author: Tobias Nießen

Release 10.0

27.02.2022

Breaking backward compatibility:

  • upgrade minimal required jdk version to 11. Author: rnveach, pbludov #9146

New:

  • WhitespaceAfter does not work on 'switch' and lambda statements. Author: Vyom-Yadav #11298
  • WhitespaceAfter should support `ELLIPSIS` token. Author: Vyom-Yadav #11116

Bug fixes:

  • FinalClass should exempt private-only constructor classes that are extended by another class in the same compilation unit. Author: pbludov #10859
  • False Negative: RedundantModifierCheck. Author: Vyom-Yadav #11268
  • EmptyLineSeparator: false negative in Enum and interface fields. Author: Andrei Paikin #11241
  • NPE in gui.MainFrameModel#getLastDirectory. Author: pbludov #11294

Notes:

  • Pitest: add new mutator REMOVE_CONDITIONALS. Author: rnveach #6320
  • Update doc for FinalParameters. Author: Taniya #7588
  • Expand XPath IT Regression Testing. Author: Binita Kumari #6207
  • Replace usages of deprecated method AccessibleObject.isAccessible. Author: Nick Mancuso #11309
  • Update doc for ReturnCount. Author: Binita Kumari #7657
  • Add icon to the GUI window. Author: pbludov #11292
  • Add 'since' property to '@Deprecated' annotation. Author: pbludov #11289
  • doc: update requirements to jdk 11. Author: pbludov
  • remove extra checkstyle build in no-exception-test.sh. Author: Vyom-Yadav #11281

Release 9.3

30.01.2022

New:

  • Support patterns in switch (preview-feature in Java 17) as described by JEP 406. Author: Nick Mancuso #10848
  • New Check: UnusedVariable. Author: Vyom-Yadav #7504

Bug fixes:

  • OutOfMemory following CheckStyle 9.X upgrade. Author: Nick Mancuso #10934
  • False positive in `MissingSwitchDefault` with pattern in switch label. Author: Nick Mancuso #11220
  • `OperatorWrapCheck` throws NPE on guarded patterns. Author: Nick Mancuso #11187
  • UnnecessaryParentheses: false negative. Author: Vyom-Yadav #11061
  • All checks that use `AbstractCheck#getLine()` should check code points instead of characters for spacing. Author: MUzairS15 #10924
  • Stackoverflow error on deeply concatenated strings. Author: Timur Tibeyev #9267
  • StringLiteralEquality FN about String literal expression. Author: Vyom-Yadav #11031

Notes:

  • Fail test execution if Input file does nor have message on violation line and Check has not signle message. Author: Vyom-Yadav #11091
  • Pitest: add new mutator REMOVE_CONDITIONALS. Author: rnveach, Vyom-Yadav #6320
  • Run regression testing in CI over openjdk17. Author: Nick Mancuso #11185
  • Let 'site' Github action to generate javadoc. Author: Nick Mancuso #11228
  • Improve Japanese message translation. Author: SATO Yusuke #11200
  • add file filters for non-compilable files in openjdk16. Author: Vyom-Yadav #11215
  • Update `bump-license-year.sh` to use `g4` file extension.. Author: Nick Mancuso #11203
  • Replace System.exit with Runtime.exit. Author: pbludov #11172
  • Solve fb-contrib errors. Author: rnveach #11140
  • Add github action to bump year in license. Author: Vyom-Yadav #11194
  • Enforce file size on Java inputs. Author: Vyom-Yadav #11163
  • Prevent usage of 'getFileContents()' method in code. Author: haanhvu #9889
  • Infra: migrate to Truth in tests. Author: rnveach, Roman Ivanov #9142
  • Update existing Input files to follow 100 line limit . Author: Abhinav Rajput #10625
  • Resolve Reflection Suppressions and Import Control. Author: rnveach #11113
  • Add sb-contrib plugin to spotbugs configuration. Author: pbludov #11120
  • Refactor XdocsPagesTest to use some annotation to specify the property type. Author: pbludov #10744
  • Replace assertions guarded by 'if' with assumeXXX methods in tests. Author: pbludov #11131
  • Remove checkConstructorIsPrivate from TestUtil#isUtilsClassHasPrivateConstructor. Author: pbludov #11107

Release 9.2.1

26.12.2021

Bug fixes:

  • SimplifyBooleanExpression: A false negative about ternary operator. Author: Vyom-Yadav #11015
  • ParameterAssignment does not detect problem for Lambda parameters. Author: Vyom-Yadav #11038
  • NPE in IllegalTypeCheck when checking a record (Java 14). Author: Rahul Khinchi #10817
  • Version 9.x Reports Whitespace Before Paren After String with Emojis. Author: Nick Mancuso #11001
  • TrailingCommentsCheck ignores first comment character. Author: Nick Mancuso #10997

Notes:

  • Update existing Input files to follow 100 line limit . Author: Abhinav Rajput #10625
  • doc: extend beginning development with step to build in terminal before IDE. Author: Roman Ivanov
  • Infra: migrate to Truth in tests. Author: rnveach, Roman Ivanov #9142
  • adds section for list of supported JREs. Author: rnveach #10891
  • Rebase Github action is failing due to missed permission. Author: Roman Ivanov #11052
  • Setup JDK17 build. Author: pbludov #10905
  • Migrate to Inline Config Parser for filters. Author: Shashwat Jaiswal #10737
  • Make powermock tests compatible with JDK17+. Author: rnveach #7368
  • Remove `illegal-access=warn` workaround for JDK16. Author: Nick Mancuso #11067
  • Update Xpath unit tests to have at least two test methods. Author: rnveach #8151
  • Pitest2 job fails when image is upgraded to ubuntu-2004:202010-01. Author: rnveach #9351
  • RightCurlyCheck.isBlockAloneOnSingleLine might throw NPE . Author: rnveach #11054
  • Remove dependency on Powermock from tests. Author: pbludov #10932
  • Fix links to maven web site - maven.apache.org. Author: Aditya Vishwakkarma, Roman Ivanov #11003
  • update doc for RedundantImport. Author: Binita Kumari #7688
  • Group Shell Scripts by Activity and not CI. Author: Roman Ivanov #11029
  • All scripts in Travis should be single line to return exit code to Travis. Author: Roman Ivanov #11027
  • create example of AST for TokenTypes.ELIST. Author: Binita Kumari #9420
  • Add support for violation N lines above/below in Inline Config Parser. Author: Vyom-Yadav #10752
  • update example of AST for TokenTypes.INSTANCE_INIT. Author: Abhinav Rajput #9455
  • update example of AST for TokenTypes.ANNOTATION. Author: Abhinav Rajput #9387
  • create example of AST for TokenTypes.EMPTY_STAT. Author: Binita Kumari #9422
  • update example of AST for TokenTypes.BLOCK_COMMENT_END. Author: Abhinav Rajput #9400

Release 9.2

28.11.2021

Breaking backward compatibility:

  • Record inside interface is treated as method. Author: Nick Mancuso #10978

Bug fixes:

  • OperatorWrap with token ASSIGN too strict for annotations. Author: Andrei Paikin #10945
  • NPE in EqualsAvoidNull check when accessing string from base class with 'this' qualifier. Author: Andrei Paikin #10962
  • ClassFanOutComplexity fails to count all classes in multicatch and implements clause. Author: Andrei Paikin #10144
  • Version 9.x reports NoWhitespaceBefore error on semicolon or comma after string with emoji. Author: Nick Mancuso #10920
  • JavadocMethod accessModifiers incorrectly interpreted for interface class. Author: Vyom-Yadav #10835

Notes:

  • update example of AST for TokenTypes.CTOR_CALL. Author: Abhinav Rajput #9412
  • update example of AST for TokenTypes.IDENT. Author: Binita Kumari #9450
  • Message validation in our Inputs should not have trailing and leading '.*'. Author: Vyom-Yadav #10943
  • update example of AST for TokenTypes.LITERAL_BOOLEAN. Author: Venkatesh-24 #9463
  • update example of AST for TokenTypes.LITERAL_BREAK. Author: Abhinav Rajput #9464
  • Checkstyle's special system properties about localisation does not work. Author: Andrei Paikin #9072
  • Add example of AST for TokenTypes.ANNOTATION_MEMBER_VALUE_PAIR. Author: Abhinav Rajput #9372
  • create example of AST for TokenTypes.ELLIPSIS. Author: MUzairS15 #9421
  • Travis - arch ppc64le: execution of some unexpected command. Author: Roman Ivanov #10959
  • update example of AST for TokenTypes.LITERAL_NATIVE. Author: Abhinav Rajput #9485
  • Travis Build Failures: not enough credits. Author: Roman Ivanov #10778
  • MetadataGeneratorUtil should take the module folders as inputs. Author: MUzairS15 #10749
  • Inline Config Parser throws complex exception without config in input file. Author: Shashwat Jaiswal #10764
  • update example of AST for TokenTypes.PARAMETERS. Author: Venkatesh-24 #9551
  • update example of AST for TokenTypes.LAMBDA. Author: Rahul Khinchi #9458
  • Make powermock tests compatible with JDK17+. Author: pbludov #7368
  • Migrate to Inline Config Parser for filters. Author: Shashwat Jaiswal #10737
  • Remove curly braces usage for javadoc tags in translations. Author: Vyom-Yadav #10910
  • doc: new translations for various properties by crowdin. Author: rnveach
  • doc: new translations for various properties. Author: rnveach

Release 9.1

31.10.2021

Breaking backward compatibility:

  • Change type "Regular Expression" to "Pattern" in docs. Author: pbludov #10842

Bug fixes:

  • False positive for switch expressions in MissingSwitchDefault. Author: Hyeonmin Park #10866
  • UnusedImports error if there are only array references to a given class. Author: Andrei Paikin #10855
  • StackOverflow Error in IndentationCheck on deeply concatenated strings. Author: Vyom-Yadav #10810
  • RedundantModifierCheck only reports first instance of redundant modifier. Author: Akash Mondal #10806
  • WhitespaceAround misrecognizes white spaces after emojis. Author: Nick Mancuso #10837

Notes:

  • create example of AST for TokenTypes.DOUBLE_COLON. Author: Rahul Khinchi #9419
  • doc: fix broken scm manager install link. Author: Anirvan Sarkar
  • Make violations diff readable. Author: pbludov #10872
  • Update org.reflections:reflections dependency to new version 0.10.X. Author: Vyom-Yadav #10901
  • JavadocMetadataScraper fails silently if it can't write the XML files. Author: Vyom-Yadav #10747
  • create example of AST for TokenTypes.ENUM. Author: Ayushman Sachan #9423
  • update example of AST for TokenTypes.GENERIC_START. Author: Ayushman Sachan #9448
  • update example of AST for TokenTypes.GENERIC_END. Author: Ayushman Sachan #9447
  • update example of AST for TokenTypes.ENUM_DEF. Author: Rahul Khinchi #9425
  • update example of AST for TokenTypes.GE. Author: Rahul Khinchi #9446
  • update example of AST for TokenTypes.LITERAL_THROW. Author: Ayushman Sachan #9499
  • Fix PMD violation CognitiveComplexity. Author: Vyom-Yadav #10064
  • update example of AST for TokenTypes.LITERAL_ASSERT. Author: Rahul Khinchi #9462
  • update example of AST for TokenTypes.ENUM_CONSTANT_DEF. Author: Rahul Khinchi #9424
  • Add maven modernizer plugin. Author: Andrei Paikin #10760
  • Fix sarif validation schema link and no-validations profile. Author: Andrei Paikin #10863
  • UT output should be silent. Author: Amar Prakash Pandey #10844
  • update example of AST for TokenTypes.SUPER_CTOR_CALL. Author: Shubhojeet Banerjee #9579
  • spelling: fix mistypes in SuppressWithNearbyCommentFilter. Author: pbludov
  • investigate localization service crowdin.com. Author: Andrei Paikin #6191

Release 9.0.1

03.10.2021

Bug fixes:

  • Fix up messages - mojibake, lone apostrophes and accidental apostrophes substitutes. Author: Victor Williams Stafusa da Silva #10828

Notes:

  • Add example of AST for TokenTypes.AT. Author: vinayak-gaikwad #9396
  • Add links to projects with additional checkstyle checks to site. Author: Andrei Paikin #10057
  • JavadocMetadataScrapperTest and InlineConfigParser fixes. Author: rnveach #10827
  • XmlMetaReader fails if package given to it has no expected resource files listed. Author: rnveach #10773
  • Expand XPath IT Regression Testing. Author: Joshua Kuan, kthirano #6207
  • Javadoc everything. Author: pbludov #10818
  • The build shoul fail on Javadoc linter warnings. Author: pbludov #10815
  • minor: fix drone build by excluding archives from line length check. Author: Roman Ivanov #10800
  • provide javadocs for Support clases in tests. Author: Devansu-Yadav #6336
  • doc: splits up the release notes more and moves off older items. Author: rnveach
  • config: bump spotbugs to new version. Author: pbludov #10781
  • Travis Build Failures. Author: rnveach #10778
  • Use cache for maven dependencies to speed up drone io builds. Author: Vadym #10065
  • JavadocMetadataScraper doesn't identify "CheckstyleTestMakeupCheck" name correctly. Author: Vyom-Yadav #10756
  • Update Doc of CommentIndentation. Author: Abhinav #9935
  • survived line in pitest.sh pitest-java-ast-visitor. Author: Nick Mancuso #10755
  • Migrate to Inline Config Parser for filters. Author: Shashwat Jaiswal #10737

Release 9.0

31.08.2021

Breaking backward compatibility:

  • Add COMPILATION_UNIT token in Ast Tree, remove EOF token. Author: Nick Mancuso #3095
  • Upgrade Java Grammar from ANTLR2 to ANTLR4. Author: Nick Mancuso #10272

Bug fixes:

  • Checkstyle fails with unusual annotations. Author: Nick Mancuso #8652
  • annotation array initialization indentation issue. Author: Abhishek-kumar09 #10020
  • Checkstyle fails on nested type parameters. Author: Nick Mancuso #8945

Notes:

  • Refactor Inline Parsing and add support for inputs with multiple modules. Author: Shashwat Jaiswal #10745
  • Add ability to suppress forbidden API by annotation. Author: Roman Ivanov #10751
  • Migrate to Inline Config Parser for tests using MemberNameCheck. Author: Shashwat Jaiswal #10736
  • Inlined config for Filters Inputs. Author: Shashwat Jaiswal #10653
  • Migrate to new verify method for inlined configs . Author: Shashwat Jaiswal #10390
  • Add support for file path in Inline Config Parser. Author: Shashwat Jaiswal #10725
  • Migrate to Inline Config Parser in Regexp Check Tests. Author: Shashwat Jaiswal #10720
  • Migrate to Inline Config Parser in Whitespace Check Tests. Author: Shashwat Jaiswal #10689
  • Migrate to Inline Config Parser in Miscellaneous Check Tests. Author: Shashwat Jaiswal #10693
  • Migrate to Inline Config Parser in Javadoc Check Tests. Author: Shashwat Jaiswal #10692
  • Migrate to Inline Config Parser in Coding Check Tests. Author: Shashwat Jaiswal #10548
  • Unit tests that involve `StackOverflow` should use limited stack size. Author: Nick Mancuso #10605
  • Migrate to Inline Config Parser in Sizes Check Tests. Author: Shashwat Jaiswal #10676
  • Github actions for pitest does not safe artifacts in master builds for all executions. Author: AkMo3 #10684
  • Migrate to Inline Config Parser in Naming Check Tests. Author: Shashwat Jaiswal #10688
  • Migrate to Inline Config Parser in Imports Check Tests. Author: Shashwat Jaiswal #10671
  • Migrate to Inline Config Parser in Modifier Check Tests. Author: Shashwat Jaiswal #10675
  • Migrate to Inline Config Parser in Block Check Tests. Author: Shashwat Jaiswal #10659
  • Migrate to Inline Config Parser in Metric Check Tests. Author: Shashwat Jaiswal #10672
  • Migrate to Inline Config Parser in Design Check Tests. Author: Shashwat Jaiswal #10667
  • Add support for multiple violations on adjacent lines in Input Parser. Author: Shashwat Jaiswal #10665
  • Permanent suppression section at checkstyle_input_suppressions.xml. Author: Shashwat Jaiswal #10652
  • Migrate to Inline Config Parser in Annotation Check Tests. Author: Shashwat Jaiswal #10649
  • Add support for messages in inlined config. Author: Shashwat Jaiswal #10545
  • doc: update jooq link. Author: Nick Mancuso
  • How to define null in inlined config. Author: Shashwat Jaiswal #10527
  • doc: fix writingchecks.xml docs. Author: Nick Mancuso
  • Add support for multiple violations on same line in Input Parser. Author: Shashwat Jaiswal #10190
  • Some Inputs can not have comment on line with violation. Author: Shashwat Jaiswal #10378
  • Enforce line limit 100 on all Input files.. Author: Shashwat Jaiswal #10624
  • support non-ASCII characters in identifiers. Author: Nick Mancuso #8050
  • Checkstyle freezes on deeply nested lambdas. Author: Nick Mancuso #8291
  • Checkstyle fails to parse local enum and interface declarations. Author: Nick Mancuso #10464
  • Checkstyle fails to parse local record with `final` modifier. Author: Nick Mancuso #10516
  • Checkstyle fails to parse single comma in annotation array initialization. Author: Nick Mancuso #10515
  • Checkstyle fails to parse qualified constructor parameter. Author: Nick Mancuso #10424
  • Consider moving pitest from CircleCI to another CI. Author: AkMo3 #10188
  • doc: fix broken scm manager install link. Author: Nick Mancuso
  • Migrate to Inline Config Parser in Tests. Author: Shashwat Jaiswal #10548

Release 8.45.1

08.08.2021

Bug fixes:

  • MissingJavadocMethod misses inner classes of interfaces. Author: pbludov #9876
  • Indentation: Java14 switch expressions[JEP-361] fails indentation checks when lineWrappingIndentation property of Indentation module is a non-default value. Author: Vadym #8929

Notes:

  • Migrate to Inline Config Parser in Tests. Author: Shashwat Jaiswal #10548
  • Refactor input files in check tests. 39 Check tests were updated. Author: Shashwat Jaiswal #10080
  • upgrade appveyor to 3.8.1 maven and use option to now show download process. Author: AkMo3 #10513
  • JavadocTagContinuationIndentation does not check text inside HTML elements. Author: Shashwat Jaiswal #9315
  • Run regression testing in CI over openjdk16. Author: Nick Mancuso #10431
  • Violate original verify method and suppress errors. Author: Roman Ivanov #10391
  • update example of AST for TokenTypes.LCURLY. Author: Hreshi #9460
  • update example of AST for TokenTypes.COMMENT_CONTENT. Author: vinayak-gaikwad #9411
  • update example of AST for TokenTypes.LITERAL_CASE. Author: vinayak-gaikwad #9466
  • update example of AST for TokenTypes.LITERAL_YIELD. Author: Shubhojeet Banerjee #9507

Release 8.45

31.07.2021

Breaking backward compatibility:

  • Incorrect catch parameter line/ column number reported. Author: Nick Mancuso #10134
  • Inconsistent `TYPE_ARGUMENT` AST. Author: Nick Mancuso #10121

New:

  • new Check: NoWhitespaceBeforeCaseDefaultColon. Author: Akash Mondal #8186

Bug fixes:

  • MatchXpath: should support comments. Author: AkMo3 #10107
  • Javadoc parser/grammar doesn't report the correct lines in Javadoc AST. Author: Nick Mancuso #10208
  • Violations from TrailingComment should possible to suppress by xpath by content of comment. Author: AkMo3 #9009
  • ArrayTypeStyle false positives in nested generics. Author: Nick Mancuso #10215

Notes:

  • Refactor input files in check tests. 102 Check tests were updated. Author: Shashwat Jaiswal #10080
  • Add Configuration.getPropertyNames and Configuration.getProperty and deprecate getAttributeNames getAttribute methods. Author: Shashwat Jaiswal #10164
  • create example of AST for TokenTypes.COLON. Author: vinayak-gaikwad #9409
  • Loggers should use class for printing to output that does only localization. Author: AkMo3 #9794
  • Resolve Pitest Issues - AbstractJavadocCheck. Author: Shashwat Jaiswal #10126
  • doc: add example to ImportOrder about other groups. Author: Ritik2604 #5982
  • Google test uses check input for OneStatementPerLineTest. Author: Shashwat Jaiswal #10277
  • Add support for violation message. Author: Shashwat Jaiswal #10079
  • move all "No Error" execution from wercker.yml to travis.yml. Author: Nick Mancuso #10178
  • Parse and extract violations. Author: Shashwat Jaiswal #10078

Release 8.44

27.06.2021

Breaking backward compatibility:

  • Java Grammar: improper method def line and column position for methods with ARRAY_DECLARATOR. Author: Nick Mancuso #3145

Bug fixes:

  • AvoidEscapedUnicodeCharacters should support trailing '\' escape symbol. Author: Shashwat Jaiswal #9143
  • Extract parameter type from nested array declarator brackets. Author: Nick Mancuso #10100
  • AtclauseOrder: Falsely ignores method with annotation. Author: Vyom-Yadav #9941
  • False Positive Comments Indentaion method end, multiline comments. Author: Soumyadeep Ganguly #9105

Notes:

  • Infra: migrate to Truth in tests. Author: Shashwat Jaiswal #9142
  • Update inputs for AnnotationLocationCheckTest. Author: Shashwat Jaiswal #10174
  • Update inputs for ArrayTypeStyleCheckTest. Author: Shashwat Jaiswal #10175
  • Parse and extract check properties from input file. Author: Shashwat Jaiswal #10141
  • Update inputs for NeedBracesCheckTest. Author: Shashwat Jaiswal #10160
  • Support line wrap for config values in input files. Author: Shashwat Jaiswal #10163
  • Update inputs for AvoidNestedBlocksCheckTest. Author: Shashwat Jaiswal #10155
  • Update inputs for ParameterNameCheckTest . Author: Shashwat Jaiswal #10145
  • Update inputs for MissingJavadocMethodCheckTest. Author: Shashwat Jaiswal #10147
  • Update inputs for IllegalImportCheckTest. Author: Shashwat Jaiswal #10148
  • Semaphore: Invalid or corrupt jarfile .m2/repository/R-4.17-202009021800/ecj-4.17.jar. Author: Roman Ivanov #10138
  • Cover it folder by import control. Author: Shashwat Jaiswal #10074
  • spelling: fix mistype in wercker.sh. Author: pbludov
  • Parse and extract check name and check properties from input file. Author: Shashwat Jaiswal #10077
  • Update inputs for AnnotationUseStyleCheckTest. Author: Shashwat Jaiswal #10112
  • Update inputs for PackageAnnotationCheckTest. Author: Shashwat Jaiswal #10114
  • Update inputs for MissingDeprecatedCheckTest. Author: Shashwat Jaiswal #10113
  • update ArrayTypeStyleCheckTest to use unique Input file in each test method. Author: haanhvu #9880
  • update example of AST for TokenTypes.TEXT_BLOCK_LITERAL_BEGIN. Author: rahulkhinchirk7@gmail.com #9582
  • update example of AST for TokenTypes.CASE_GROUP. Author: rahulkhinchirk7@gmail.com #9406
  • update example of AST for TokenTypes.LITERAL_BYTE. Author: hreshi #9465
  • Update inputs for AnnotationOnSameLineCheckTest. Author: Shashwat Jaiswal #10083
  • Resolve Pitest Issues - pitest-imports (1). Author: Shashwat Jaiswal #10072
  • Update inputs for MissingOverrideCheckTest. Author: Shashwat Jaiswal #10082
  • update example of AST for TokenTypes.ANNOTATION_FIELD_DEF. Author: rahulkhinchirk7@gmail.com #9392
  • Refactor check for config comment in inputs. Author: Shashwat Jaiswal #10094
  • update IllegalTypeCheckTest to use unique input file for each test method. Author: Devansu-Yadav #9921
  • Restrict usage of org.junit.jupiter.api.Assertions package in tests. Author: Shashwat Jaiswal #10051
  • Replace ANTLR2 dependencies in unit test inputs. Author: Nick Mancuso #10059

Release 8.43

30.05.2021

New:

  • Add support summary Javadoc tag in SummaryJavadoc. Author: AkMo3 #7202
  • Add SARIF as a supported output format. Author: Chao Zhang #8905

Bug fixes:

  • UnnecessaryParentheses false positives in 8.42. Author: Vyom-Yadav #9957
  • Unresolvable indentation violation for method definition parenthesis. Author: Soumyadeep Ganguly #9269
  • JDK16: final after instanceof. Author: Nick Mancuso #9897

Notes:

  • update example of AST for TokenTypes.INC. Author: Aastha Chauhan #9453
  • update example of AST for TokenTypes.ANNOTATION_DEF. Author: rahulkhinchirk7@gmail.com #9391
  • update example of AST for TokenTypes.LITERAL_NEW. Author: Rahulkhinchi03 #9486
  • Validate sure that all Regexp modules has id property. Author: Shashwat Jaiswal #8886
  • update AbstractJavadocCheckTest to use unique Input file in each test method. Author: Shashwat Jaiswal #9534
  • Infra: migrate to Truth in tests. Author: Shashwat Jaiswal #9142
  • update example of AST for TokenTypes.LAND. Author: angeljiang0927@gmail.com #9459
  • doc: fix typo in writingchecks.xml. Author: Joshua Kuan
  • Expand XPath IT Regression Testing. Author: haanhvu #6207
  • ExecutableStatementCount should allow LAMBDA token. Author: Shashwat Jaiswal #8971
  • Linkcheck plugin detected several problems with links. Author: Devansu-Yadav #9930
  • update NoWhitespaceAfterCheckTest to use unique input file for each test method. Author: Devansu-Yadav #9888
  • Travis is failing on xwiki-platform validation. Author: Shashwat Jaiswal, Roman Ivanov #9967
  • Migrate shippable CI jobs to other place(s). Author: Roman Ivanov #9266
  • update example of AST for TokenTypes.LITERAL_CATCH. Author: Saransh Kumar #9467
  • update example of AST for TokenTypes.LITERAL_CHAR. Author: Saransh Kumar #9468
  • update example of AST for TokenTypes.LITERAL_DO. Author: Saransh Kumar #9472
  • Set up JDK 16 build in CI. Author: pbludov #9907
  • update IllegalThrowsCheckTest to use unique input file for each test method. Author: Devansu-Yadav #9920
  • Replace branch name with commit sha in site generation action. Author: AkMo3 #9954
  • Deprecate DetailAST.branchContains method. Author: Nick Mancuso #9936
  • update example of AST for TokenTypes.LITERAL_ELSE. Author: Saransh Kumar #9474
  • update example of AST for TokenTypes.LITERAL_FALSE. Author: Saransh Kumar #9475

Release 8.42

25.04.2021

Breaking backward compatibility:

  • Rename LocalizedMessage to Violation. Author: AkMo3 #4465
  • JavadocMethodCheck: swap scope to access modifiers. Author: Nick Mancuso #7417

New:

  • Checkstyle 8.37 parser crashes processing sealed classes or interfaces. Author: Nick Mancuso #8989
  • UnnecessaryParentheses: no violation on parenthesis in if statement between || and &&. Author: VyomYadav #5779

Bug fixes:

  • EmptyLineSeparator: fix message and documentation. Author: Aryaniiit002 #9803
  • ModiferOrderCheck should support 'sealed' and 'non-sealed'. Author: Nick Mancuso #9854
  • WhitespaceAround ignores empty constructor whitespaces. Author: VyomYadav #8237
  • Java: CommentsIndentation false positive for comments in multiline arguments. Author: AkMo3 #8010
  • EmptyLineSeparator skips single line comments under package. Author: AkMo3 #7297
  • IllegalIdentifierName doesn't check single no-parentheses lambda parameter. Author: Nick Mancuso #9756
  • EmptyLineSeparator: Inability to use xpath for violation on empty line. Author: AkMo3 #8179

Notes:

  • update example of AST for TokenTypes.LITERAL_CLASS. Author: Mitrajit Chandra Chandra, Saransh #9469
  • update example of AST for TokenTypes.LITERAL_SWITCH. Author: Saransh #9496
  • update example of AST for TokenTypes.LITERAL_THIS. Author: Saransh #9498
  • update NeedBracesCheckTest to use unique input file for each test method. Author: Devansu-Yadav #9887
  • update IllegalImportCheckTest to use unique input file for each test method. Author: Saransh #9896
  • update example of AST for TokenTypes.RPAREN. Author: Mitrajit Chandra Chandra #9566
  • update example of AST for TokenTypes.LITERAL_FINALLY. Author: Devansu-Yadav #9476
  • update MagicNumberCheckTest to use unique Input file in each test method. Author: Soumyadeep Ganguly #9796
  • update example of AST for TokenTypes.MOD. Author: Devansu-Yadav #9517
  • update example of AST for TokenTypes.LITERAL_THROWS. Author: Saransh #9500
  • update RightCurlyCheckTest to use unique Input file in each test method. Author: Devansu-Yadav #9768
  • update example of AST for TokenTypes.LITERAL_RETURN. Author: Devansu-Yadav #9492
  • update example of AST for TokenTypes.LITERAL_TRY. Author: Devansu-Yadav #9503
  • update JavadocVariableCheckTest to use unique Input file in each test method. Author: theexplorist #9530
  • update EmptyBlockCheckTest.java to use unique input file in each test method. Author: Ayushman Sachan #9816
  • update coding/VariableDeclarationUsageDistanceCheckTest to use unique input file for each test method. Author: Amr Bumadian #9864
  • update example of AST for TokenTypes.INDEX_OP. Author: Saransh #9454
  • update example of AST for TokenTypes.UNARY_MINUS. Author: Saransh #9593
  • CI Check links step fails. Author: AkMo3 #9873
  • update example of AST for TokenTypes.LITERAL_DOUBLE. Author: Devansu-Yadav #9473
  • update example of AST for TokenTypes.LABELED_STAT. Author: Saransh #9457
  • update example of AST for TokenTypes.EXPR. Author: Saransh #9428
  • update example of AST for TokenTypes.RESOURCE_SPECIFICATION. Author: haanhvu #9564
  • update AnnotationUseStyleCheckTest to use unique Input file in each test method. Author: haanhvu #9520
  • update example of AST for TokenTypes.CLASS_DEF. Author: Saransh #9408
  • update example of AST for TokenTypes.EXTENDS_CLAUSE. Author: Saransh #9429
  • update example of AST for TokenTypes.LITERAL_VOLATILE. Author: Amr Bumadian #9505
  • update example of AST for TokenTypes.LITERAL_INSTANCEOF. Author: Amr Bumadian #9481
  • update AnnotationLocationCheckTest to use unique Input file in each test method. Author: Soumyadeep Ganguly #9437
  • doc: removes unknown docs folder for sun config. Author: rnveach
  • update example of AST for TokenTypes.QUESTION. Author: Ruchi Sahu #9557
  • update example of AST for TokenTypes.FOR_ITERATOR. Author: Saransh #9445
  • update example of AST for TokenTypes.LITERAL_FOR. Author: Saransh #9479
  • update example of AST for TokenTypes.FOR_INIT. Author: Saransh #9444
  • update example of AST for TokenTypes.LITERAL_SUPER. Author: Soist #9495
  • update example of AST for TokenTypes.FOR_CONDITION. Author: Saransh #9442
  • update example of AST for TokenTypes.LPAREN. Author: stonefix #9510
  • update ParameterNameCheckTest.java to use unique input file in each test method . Author: Soumyadeep Ganguly #9824
  • update JavadocStyleCheckTest to use unique Input file in each test method. Author: Saransh #9525
  • update JavadocTypeCheckTest to use unique Input file in each test method. Author: Soumyadeep Ganguly #9526
  • update example of AST for TokenTypes.TYPE_ARGUMENT. Author: haanhvu #9585
  • update example of AST for TokenTypes.MODIFIERS. Author: theanmolsharma #9519
  • update example of AST for TokenTypes.IMPLEMENTS_CLAUSE. Author: theanmolsharma #9451
  • update example of AST for TokenTypes.LITERAL_NULL. Author: theanmolsharma #9487
  • update example of AST for TokenTypes.FINAL. Author: theanmolsharma #9441
  • update example of AST for TokenTypes.LE. Author: Abhijeet Sinha #9461
  • update example of AST for TokenTypes.PARAMETER_DEF. Author: Amr Bumadian #9550
  • update example of AST for TokenTypes.WILDCARD_TYPE. Author: Mehmet #9596
  • update example of AST for TokenTypes.LITERAL_TRANSIENT. Author: Saransh #9501
  • update example of AST for TokenTypes.LNOT. Author: Ansuman Behera #9508
  • update LeftCurlyCheckTest to use unique Input file in each test method. Author: Devansu-Yadav #9767
  • update example of AST for TokenTypes.RBRACK. Author: Soumyadeep Ganguly #9558
  • update example of AST for TokenTypes.LITERAL_DEFAULT. Author: Ritik2604 #9471
  • update example of AST for TokenTypes.LOR. Author: Ansuman Behera #9509
  • update example of AST for TokenTypes.LT. Author: Saransh #9511
  • update MethodLengthCheckTest.java to use unique Input file in each test method. Author: MahmoudAbdelazim #9749
  • update example of AST for TokenTypes.GT. Author: Ansuman Behera #9449
  • Update documentation for BeforeExecutionExclusionFileFilter. Author: Ritik2604 #8269
  • update DeclarationOrderCheckTest.java to use unique Input file in each test method. Author: MahmoudAbdelazim #9773
  • update TypecastParenPadCheckTest.java to use unique input file in each test method. Author: MahmoudAbdelazim #9814
  • update example of AST for TokenTypes.METHOD_REF. Author: Saransh #9514
  • update example of AST for TokenTypes.ANNOTATION_ARRAY_INIT. Author: Saransh #9390
  • update AbstractClassNameCheckTest.java to use unique Input file in each test method. Author: Ritik2604 #9746
  • update ImportOrderCheckTest.java to use unique input file in each test method. Author: Saransh #9780
  • update example of AST for TokenTypes.RCURLY. Author: Devansu-Yadav #9559
  • update example of AST for TokenTypes.RESOURCES. Author: Saransh #9565
  • update example of AST for TokenTypes.LITERAL_PRIVATE. Author: theanmolsharma #9488
  • update example of AST for TokenTypes.LITERAL_TRUE. Author: MahmoudAbdelazim #9502
  • update example of AST for TokenTypes.TYPE_ARGUMENTS. Author: djzenma #9586
  • update example of AST for TokenTypes.LITERAL_RECORD. Author: theanmolsharma #9491
  • Prefer Method Reference above lambda expressions. Author: AkMo3 #9784
  • update example of AST for TokenTypes.LITERAL_CONTINUE. Author: MahmoudAbdelazim #9470
  • update example of AST for TokenTypes.LITERAL_STATIC. Author: Devansu-Yadav #9494
  • update example of AST for TokenTypes.LITERAL_FLOAT. Author: theanmolsharma #9477
  • update example of AST for TokenTypes.LITERAL_SHORT. Author: theanmolsharma #9493
  • update example of AST for TokenTypes.PLUS. Author: Shashwat Jaiswal #9553
  • update WriteTagCheckTest to use unique Input file in each test method. Author: AkMo3 #9531
  • update example of AST for TokenTypes.LITERAL_PROTECTED. Author: Ritik2604 #9489
  • update MissingJavadocTypeCheckTest to use unique Input file in each test method. Author: Saransh #9527
  • update ExecutableStatementCountCheckTest to use unique Input file in each test method. Author: Shashwat Jaiswal #9736
  • update example of AST for TokenTypes.SWITCH_RULE. Author: jz20 #9580
  • update example of AST for TokenTypes.PATTERN_VARIABLE_DEF. Author: jz20 #9552
  • update AnnotationOnSameLineCheckTest to use unique Input file in each test method. Author: Ayushman Sachan #9522
  • update JavadocPackageCheckTest to use unique Input file in each test method. Author: Ayushman Sachan #9528
  • update example of AST for TokenTypes.RESOURCE. Author: MahmoudAbdelazim #9563
  • update example of AST for TokenTypes.LITERAL_LONG. Author: theanmolsharma #9484
  • update example of AST for TokenTypes.CTOR_DEF. Author: AkMo3 #9413
  • update example of AST for TokenTypes.LITERAL_INT. Author: theanmolsharma #9482
  • update AvoidStarImportCheckTest to use unique Input file in each test method. Author: jz20 #9741
  • update MissingJavadocMethodCheckTest to use unique Input file in each test method. Author: Ayushman Sachan #9524
  • update example of AST for TokenTypes.LITERAL_VOID. Author: Devansu-Yadav #9504

Release 8.41.1

28.03.2021

Bug fixes:

  • reevaluate tokens in google config for OperatorWrapCheck. Author: Ayushman Sachan #4122
  • FinalClass should exempt private-only constructor classes that also have nested subclasses. Author: VyomYadav #9357
  • Problem to match content of textblock by xpath to suppress violation. Author: AkMo3 #9359
  • Checkstyle 8.41 introduces regression on indentation rules when the line starts with new after try {. Author: Abhishek-kumar09 #9341
  • TrailingComment report violation on comment at the begining of line. Author: AkMo3 #9010
  • False negative with validateThrows in JavadocMethod. Author: wltan #8117
  • Generated xpath suppressions should escape xml symbols. Author: Akash Mondal #6893
  • SingleLineJavadoc update for new requirements what tags are allowed in singleline javadoc. Author: Himanshu Rijal #4052
  • Fix escaped char pattern in AvoidEscapedUnicodeCharactersCheck. Author: Andrei Paikin #9314

Notes:

  • update MissingOverrideCheckTest to use unique Input file in each test method. Author: Ayushman Sachan #9523
  • update example of AST for TokenTypes.LITERAL_INTERFACE. Author: theanmolsharma #9483
  • update example of AST for TokenTypes.INTERFACE_DEF. Author: theanmolsharma #9456
  • update example of AST for TokenTypes.SINGLE_LINE_COMMENT. Author: MahmoudAbdelazim #9568
  • update example of AST for TokenTypes.OBJBLOCK. Author: Saransh #9548
  • update example of AST for TokenTypes.FOR_EACH_CLAUSE. Author: theanmolsharma #9443
  • update example of AST for TokenTypes.LITERAL_PUBLIC. Author: theanmolsharma #9490
  • create example of AST for TokenTypes.COMMA. Author: jz20 #9410
  • update example of AST for TokenTypes.LITERAL_WHILE. Author: theanmolsharma #9506
  • update example of AST for TokenTypes.STATIC_INIT. Author: Ayushman Sachan #9576
  • update example of AST for TokenTypes.VARIABLE_DEF. Author: Ayushman Sachan #9595
  • update example of AST for TokenTypes.MINUS. Author: shubham11941140 #9515
  • update example of AST for TokenTypes.BLOCK_COMMENT_BEGIN. Author: Devansu-Yadav #9399
  • update SingleLineJavadocCheckTest to use unique Input file in each test method. Author: Shashwat Jaiswal #9532
  • update example of AST for TokenTypes.SLIST. Author: Soumyadeep Ganguly #9570
  • update example of AST for TokenTypes.SEMI. Author: Soumyadeep Ganguly #9567
  • create example of AST for TokenTypes.DOT. Author: theexplorist #9418
  • update example of AST for TokenTypes.STATIC_IMPORT. Author: Ayushman Sachan #9575
  • update example of AST for TokenTypes.TEXT_BLOCK_CONTENT. Author: VyomYadav #9581
  • Resolve Pitest Issue - AbstractJavadocCheck. Author: AkMo3 #9722
  • update example of AST for TokenTypes.RECORD_DEF. Author: theanmolsharma #9562
  • update example of AST for TokenTypes.LITERAL_IF. Author: theanmolsharma #9480
  • update example of AST for TokenTypes.RECORD_COMPONENT_DEF. Author: theanmolsharma #9560
  • update example of AST for TokenTypes.TYPE_PARAMETER. Author: theanmolsharma #9589
  • Update doc for EmptyForIteratorPad. Author: Soumyadeep Ganguly #7618
  • update JavadocMethodCheckTest to use unique Input file in each test method. Author: AkMo3 #9529
  • create example of AST for TokenTypes.DO_WHILE. Author: theexplorist #9417
  • create example of AST for TokenTypes.CHAR_LITERAL. Author: theexplorist #9407
  • update example of AST for TokenTypes.TYPE_PARAMETERS. Author: theanmolsharma #9590
  • update example of AST for TokenTypes.RECORD_COMPONENTS. Author: theanmolsharma #9561
  • create example of AST for TokenTypes.BSR. Author: theexplorist #9404
  • Create MatchXPath instance to forbid usage of "@Issue" annotation. Author: Ayushman Sachan #9138
  • update doc for MissingDeprecated. Author: Soumyadeep Ganguly #7572
  • update example of AST for TokenTypes.TYPE. Author: Soumyadeep Ganguly #9584
  • update example of AST for TokenTypes.TYPE_EXTENSION_AND. Author: Saransh #9587
  • update example of AST for TokenTypes.IMPORT. Author: theanmolsharma #9452
  • update example of AST for TokenTypes.LITERAL_SYNCHRONIZED. Author: theanmolsharma #9497
  • after mport projec to IDEA there is build problem at InputIllegalImportDefault.java. Author: Roman Ivanov #9678
  • update example of AST for TokenTypes.NOT_EQUAL. Author: theexplorist #9543
  • create example of AST for TokenTypes.EQUAL. Author: theexplorist #9427
  • update example of AST for TokenTypes.TEXT_BLOCK_LITERAL_END. Author: theanmolsharma #9583
  • update example of AST for TokenTypes.PACKAGE_DEF. Author: theanmolsharma #9549
  • Update doc for JavadocVariable. Author: Saransh #7602
  • TrailingComment: correction for description in documentation. Author: Roman Ivanov #9643
  • update AtclauseOrderCheckTest to use unique Input file in each test method. Author: Nick Mancuso #9533
  • update example of AST for TokenTypes.UNARY_PLUS. Author: hiron1999 #9594
  • update JavadocParagraphCheckTest to use unique Input file in each test method. Author: Aryaniiit002 #9535
  • Add example of AST for TokenTypes.ABSTRACT. Author: 20001LastOrder #9371
  • update example of AST for TokenTypes.METHOD_DEF. Author: AkMo3 #9513
  • update example of AST for TokenTypes.STAR. Author: edwardlee #9573
  • update example of AST for TokenTypes.POST_INC. Author: Shashwat Jaiswal #9556
  • update example of AST for TokenTypes.METHOD_CALL. Author: Saransh #9512
  • update example of AST for TokenTypes.TYPECAST. Author: Nick Mancuso #9592
  • update example of AST for TokenTypes.ARRAY_DECLARATOR. Author: vivek286 #9394
  • update example of AST for TokenTypes.MOD_ASSIGN. Author: Saransh #9518
  • update example of AST for TokenTypes.TYPE_LOWER_BOUNDS. Author: Saransh #9588
  • update example of AST for TokenTypes.POST_DEC. Author: Shashwat Jaiswal #9554
  • update example of AST for TokenTypes.NUM_LONG. Author: Shashwat Jaiswal #9547
  • update example of AST for TokenTypes.NUM_INT. Author: Shashwat Jaiswal #9546
  • update example of AST for TokenTypes.NUM_FLOAT. Author: Shashwat Jaiswal #9545
  • update example of AST for TokenTypes.MINUS_ASSIGN. Author: Shashwat Jaiswal #9516
  • update example of AST for TokenTypes.STAR_ASSIGN. Author: Shashwat Jaiswal #9574
  • update example of AST for TokenTypes.SR. Author: Shashwat Jaiswal #9571
  • update example of AST for TokenTypes.SL. Author: Shashwat Jaiswal #9569
  • Add example of AST for TokenTypes.BAND_ASSIGN. Author: Shashwat Jaiswal #9398
  • create example of AST for TokenTypes.BSR_ASSIGN. Author: Shashwat Jaiswal #9405
  • create example of AST for TokenTypes.DIV_ASSIGN. Author: Shashwat Jaiswal #9416
  • update example of AST for TokenTypes.PLUS_ASSIGN. Author: Shashwat Jaiswal #9555
  • update example of AST for TokenTypes.STRING_LITERAL. Author: Saransh #9578
  • update example of AST for TokenTypes.NUM_DOUBLE. Author: Shashwat Jaiswal #9544
  • update example of AST for TokenTypes.SR_ASSIGN. Author: Shashwat Jaiswal #9572
  • update example of AST for TokenTypes.STRICTFP. Author: Saransh #9577
  • update example of AST for TokenTypes.TYPE_UPPER_BOUNDS. Author: Saransh #9591
  • Update doc for ModifiedControlVariable. Author: Soumyadeep Ganguly #7649
  • Add default config and code examples for EmptyCatchBlock. Author: Soumyadeep Ganguly #7581
  • create example of AST for TokenTypes.DEC. Author: theexplorist #9414
  • Add example of AST for TokenTypes.ASSIGN. Author: Anshuman Singh #9373
  • create example of AST for TokenTypes.BOR. Author: Shashwat Jaiswal #9402
  • create example of AST for TokenTypes.DIV. Author: theexplorist #9415
  • create example of AST for TokenTypes.BNOT. Author: Shashwat Jaiswal #9401
  • create example of AST for TokenTypes.BOR_ASSIGN. Author: Shashwat Jaiswal #9403
  • Sonar violation: "Character classes should be preferred over reluctant quantifiers in regular expressions". Author: martin-mfg #8548
  • Add example of AST for TokenTypes.BAND. Author: Anshuman Singh #9397
  • Add new prefix "supplemental:" to commit validation. Author: AkMo3 #8928
  • update example of AST for TokenTypes.ARRAY_INIT. Author: Anshuman Singh #9395
  • Extract common bash CI functions into util.sh. Author: Aryaniiit002 #9348
  • Generated link is incorrect if fork branch name has hash sign. Author: Andrei Paikin #9323
  • Sonar violation: Disable access to external entities in XML parsing.. Author: Andrei Paikin #9342
  • Update doc for SingleLineJavadoc. Author: the-first-avenger #7605
  • Add Method Name to Logger outputs for MethodLengthCheck. Author: Butch Howard #9353
  • Remove DetailAstImpl usages from main code. Author: AkMo3 #9271
  • update CI executions to not fails if testing sources already cloned. Author: rnveach #9268
  • Remove downlaod progress from maven executions. Author: Andrei Paikin #9343

Release 8.41

28.02.2021

New:

  • Checkstyle should support "classpath:" protocol. Author: Nick Mancuso #9170

Bug fixes:

  • ImportOrder and CustomImportOrder report only first "Extra separation" violation, inconsistent order. Author: rnveach #9251
  • Record implementing interfaces, indentation faulty. Author: Nick Mancuso #9152
  • JavadocTagContinuationIndentation: no violation with block tag starting the line. Author: wltan #5711
  • Correct NoEnumTrailingCheck and UnnessaryEnumSemicolonCheck to handle empty enums. Author: Andrei Paikin #9230
  • Regression in IndentationCheck 8.40 regarding the white spaces needed in a second line of a try/resource declaration. Author: Abhishek-kumar09 #9236
  • Checkstyle fails on empty enum with only comma in it. Author: Andrei Paikin #8653
  • SuppressWarningsHolder fails on @SuppressWarnings in annotation array initialization. Author: Andrei Paikin #9260
  • Record definition elements "record component list" and "implements clause" out of order in AST. Author: Nick Mancuso #9221

Notes:

  • Create parser util class that will host util methods for parser that creates AST. Author: Nick Mancuso #9272
  • Update doc for ParameterAssignment. Author: AkMo3 #7655
  • Resolve Pitest Issues - RegexpHeader. Author: Aryaniiit002 #9317
  • Resolve Pitest Issues - HeaderCheck (1). Author: Aryaniiit002 #9304
  • test inputs should be compilable with javac11. Author: pbludov #9310
  • Resolve Pitest Issues - ImportOrderCheck (6). Author: Ayushman Sachan #7877
  • Solve Spotbugs violations reported for Java 11. Author: pbludov #9297
  • doc: fix checkstyle jar version in issue templates. Author: Andrei Paikin
  • Extend closed issues job to check issues in other repos. Author: Andrei Paikin #9298
  • Disable markdownlint rule MD041. Author: pbludov #9292
  • Add one more closed to do issue pattern and fix violations. Author: Andrei Paikin #9276
  • update doc for AvoidEscapedUnicodeCharacters. Author: Vyom-Yadav #9131
  • Update doc for UniqueProperties. Author: Divesh2201 #7595
  • Update doc for NeedBraces. Author: Vyom Yadav #7583
  • update CircleCi to try one more time execution of mvn dependency:go-offline. Author: Roman Ivanov #9115
  • update doc for CustomImportOrder. Author: Soumyadeep Ganguly #7686
  • Update doc for RequireThis. Author: Ayushman Sachan #7656
  • Add job to scan sources for closed issue references. Author: Andrei Paikin #9256
  • update doc for RegexpMultiline. Author: stryder2000 #7695
  • Update doc for HiddenField. Author: Aryaniiit002 #7641
  • IllegalType: update examples to show how to target Check to fields only. Author: Aryaniiit002 #8930
  • Resolve Pitest Issues - ImportOrderCheck (7). Author: Aryaniiit002 #7878
  • Build also xwiki-rendering and xwiki-platform in the no regression travis job. Author: Thomas Mortagne #9242
  • Minimize the stack size used for unit tests. Author: pbludov #9163
  • diff report generation should have default projects file. Author: Andrei Paikin #9255
  • doc: remove outdated limitation from google style doc. Author: Andrei Paikin
  • Improve metadata code and coverage. Author: Andrei Paikin #9231
  • Update doc for DeclarationOrder. Author: Ayushman Sachan #7635
  • documentation of VariableDeclarationUsageDistance has stange note of default distance. Author: Ayushman Sachan #9219
  • Update doc for IllegalInstantiation. Author: Himanshu Rijal #7643
  • Sonar Dashboard link doesn't work in Generated Reports. Author: Akash Mondal #9217
  • Checkstyle should support property expansion within property definitions (property chaining). Author: Nick Mancuso #9173

Release 8.40

31.01.2021

New:

  • Create new check RecordComponentName. Author: Andrei Paikin #8765
  • DesignForExtension: Special comment. Author: Nick Mancuso #4358
  • AvoidEscapedUnicodeCharacters should support '\s' escape symbol. Author: Nick Mancuso #9133

Bug fixes:

  • Metadata generation fails on line wrapped type description. Author: Andrei Paikin #9204
  • Exception message for invalid token is unclear . Author: Andrei Paikin #8932
  • Indentation check gives false positive: 'array initialization rcurly' has incorrect indentation. Author: Abhishek-kumar09 #8979
  • UnusedImports doesn't recognize imports shadowed by inner interfaces. Author: pbludov #4219
  • Unresolvable 'new' Indentation Rule conflict introduced in 8.38. Author: Abhishek-kumar09 #9071
  • ForceStrictCondition should not affect individual array elements.. Author: Abhishek-kumar09 #9086
  • AvoidEscapedUnicodeCharactersCheck: False positive on text blocks with a line separation. Author: Nick Mancuso #9159

Notes:

  • doc: udpate BeforeExecutionExclusionFileFilter to show example of negative lookahead. Author: Roman Ivanov
  • fix TOKEN_TEXT_PATTERN in JavadocMetadataScraper. Author: Roman Ivanov #9140
  • Update doc for VariableDeclarationUsageDistance. Author: Ayushman Sachan #7663
  • update doc for ImportOrder. Author: Aryan Bindal #7687
  • Github action CodeQL should use maven cache. Author: Shashwat Jaiswal #9203
  • update ISSUE_TEMPLATE/feature_request.md to make demand to show current beharior by CLI. Author: Abhishek-kumar09 #9114
  • Update doc for FileTabCharacter. Author: Ayushman Sachan #7620
  • Update doc for AvoidNestedBlocks. Author: Ayushman Sachan #7579
  • Add optional label/title to diff report message. Author: Andrei Paikin #9177
  • Github actions should react with thump up (+1) emoj on message if triggered. Author: Akash Mondal #9187
  • minor: fix anchors for generated pages. Author: Andrei Paikin #9185
  • nondex tool found issue in token ordering at Indentation. Author: Nick Mancuso #9003
  • Create MatchXpath instance to forbig usage of 'expected' element in Test annotation of junit. Author: Nick Mancuso #9137
  • Use diff.groovy in openjdk14-with-checks-nonjavadoc-error semaphore job. Author: Nick Mancuso #8960
  • To top button - different behavior and text on different pages. Author: Andrei Paikin #9001
  • no-error-pgjdbc is failing on master build. Author: Abhishek-kumar09 #9176
  • Checkstyle: Javadoc not required on private method. Author: Andrei Paikin #8710

Release 8.39

31.12.2020

New:

  • New module: MatchXpath. Author: Timur Tibeyev #6481

Bug fixes:

  • OperatorWrapCheck no violation if single line comment after operator. Author: pbludov #8018
  • Xpath suppression matching prone to stack overflow. Author: pbludov #5820
  • Checkstyle fails on escape '\s' character. Author: Nick Mancuso #8651
  • Incorrect warning for array initializer indentation inside annotations when using google_checks.xml. Author: Abhishek-kumar09 #5951
  • Update AbstractChecks to log DetailAST - TrailingComment. Author: Roman Ivanov #7763
  • IndentationCheck throws NPE on switch expresion with `->` on new line. Author: Nick Mancuso #9037

Notes:

  • Lack of space: that@SuppressWarnings. Author: Roman Ivanov #9130
  • Mark sonar violation 'Regular expressions should not overflow the stack' as false positive over AvoidEscapedUnicodeCharactersCheck. Author: Roman Ivanov #9129
  • Github actions should reuse maven cache. Author: Andrei Paikin #9116
  • update trigering of web site generation in github actions by 'website'. Author: Andrei Paikin #9117
  • pitest: increase mutation coverage for javadoc profile to 100%. Author: Andrei Paikin #6295
  • Resolve Pitest Issues - ImportOrderCheck (4). Author: Andrei Paikin #7875
  • Do clean in all Travis maven commands. Author: Shashwat Jaiswal #8908
  • Update wording of verify-no-exception-configs validation to mention what is expected. Author: Shashwat Jaiswal #9066
  • Update doc for NestedIfDepth. Author: Vyom-Yadav #7652
  • Semaphore CI failing on josm project build as local artifact is not found. Author: pbludov #9021
  • Add default config example for ConstantName. Author: Vyom-Yadav #7564
  • Add default config example for MethodName. Author: Roman Ivanov #7567
  • IllegalType: inability to set default value for property memberModifiers. Author: Andrei Paikin #8933

Release 8.38

29.11.2020

New:

  • new check: JavadocMissingLeadingAsteriskCheck. Author: Gaurav Punjabi #6722

Bug fixes:

  • InnerAssignment: false positives on for and do-while loops. Author: Roman Ivanov #6915
  • RequireThis: Incorrectly triggers for record fields in compact constructor. Author: Anh Minh Tran #8873
  • IndentationCheck: problem with content of anonymous class. Author: abhishek-kumar09 #5362
  • EmptyLineSeparator flags commas for multiple single type variables on line. Author: Andrei Paikin #8957
  • FinalLocalVariable throws a NPE on Switch expression in assignment. Author: Anh Minh Tran #8934

Notes:

  • Use azure CI for some validation tasks. Author: Roman Ivanov #7045
  • Travis is failing with error to install mdl package. Author: pbludov #9046
  • Isuse #7045: azure to use matrix. Author: Roman Ivanov
  • Create jdk15 Input files compilation job in Travis. Author: Roman Ivanov #9007
  • Test more project on drone.io. Author: Roman Ivanov #2460
  • Docker limits is reached in wercker . Author: Roman Ivanov #9019
  • Update doc for FinalClass. Author: Ehtesham #7609
  • google_checks.xml: Public class and interface javadoc is not checked. Author: Nick Mancuso #5148
  • Exclude Stream, Optional, and additional collection types from ClassFanOutComplexityCheck. Author: Andrei Paikin, Roman Ivanov #8537
  • Default values in meta files for wrapped list of values are incorrect. Author: Andrei Paikin #8941
  • Update doc for MultipleVariableDeclarations. Author: Akash Mondal #7669
  • doc: Update doc LeftCurly to have more examples. Author: Roman Ivanov
  • doc: add default example for NonEmptyAtclauseDescription. Author: Roman Ivanov
  • Update doc for EmptyBlock. Author: Roman Ivanov #7580
  • doc: Update AtclauseOrderCheck for default config example. Author: Roman Ivanov
  • doc: add example for default config for AnnotationUseStyle. Author: Roman Ivanov
  • Update doc for WriteTag. Author: Roman Ivanov #7606
  • MethodParamPad: add examples. Author: Roman Ivanov #3601
  • Relaxing the stated limitation about UTF-8 in documentation. Author: Olivier Cailloux #8551
  • Nondeterministic order of error messages in Translation check. Author: Rashmi Mudduluru #8963
  • Disable "checkstyle-cli-run-openjdk14" job in travis.sh. Author: Nick Mancuso #8921
  • change all "at-clause" terms to "block tag" from source code and documentation. Author: Roman Ivanov #8552
  • Run regression testing in CI over openjdk14 or newer codebase. Author: Nick Mancuso #8901
  • Remove Buddy CI config . Author: pbludov #8951
  • doc: add security policy page. Author: Roman Ivanov
  • Keep user comment in env variable of git workflow. Author: Roman Ivanov #8938

Release 8.37

31.10.2020

New:

  • New check: LambdaBodyLength . Author: Andrei Paikin #8341

Bug fixes:

  • ClassFanOutComplexity: false positive on var. Author: Andrei Paikin #6346
  • Value 'empty' in metadata files for 'tokens' property cause problems in plugins. Author: Roman Ivanov #8916
  • FinalLocalVariable: NPE in records. Author: Anh Minh Tran #8895
  • Indentation: if with no curlies is not checked. Author: Abhishek-kumar09 #3135
  • LocalFinalVariableName false-positive. Author: Andrei Paikin #8879
  • NonEmptyAtclauseDescription does not work for @return. Author: Andrei Paikin #8889
  • NoWhitespaceBeforeCheck: String index out of range (with Java 15 Text Block) when tabs are used. Author: Nick Mancuso #8849
  • Local records fail to parse when annotated. Author: Nick Mancuso #8856
  • Indentation: google-java-format and Checkstyle disagree about switch block indentation. Author: Abhishek-kumar09 #3899

Notes:

  • doc: Add Mega-Linter to active tools list. Author: Nicolas Vuillamy
  • Anchor links for active and inactive tools on front page are broken. Author: Andrei Paikin #8925
  • update Cirrus CI to not print download progress in logs. Author: Shashwat Jaiswal #8918
  • Add default config example for ClassTypeParameterName. Author: AmrDeveloper #7562
  • Create Github action to generate web site . Author: Andrei Paikin #8876
  • Resolve Pitest Issues - RegexpCheck (2). Author: Anh Minh Tran #7983
  • Update doc for EqualsAvoidNull. Author: AmrDeveloper #7637
  • All Regexp Checks that has few instances should have id property. Author: Shashwat Jaiswal #8790
  • add spring-cloud-gcp project to CIs no errror regresson testing. Author: Roman Ivanov #6209
  • Add SpongePowered/Configurate Checkstyle run to CI to improve coverage of Java14 syntax. Author: Nick Mancuso #8859
  • update doc for AvoidStaticImport. Author: AmrDeveloper #7685
  • Update doc for EmptyStatement. Author: Anh Minh Tran #7665
  • Update doc for FallThrough. Author: Timur Tibeyev #7640
  • pitest: increase mutation coverage for pitest-imports profile to 100% . Author: Hem Bhagat #6658
  • Use .ci/validation.cmd in appveyor ci. Author: pbludov #8864
  • Set up Cirrus CI. Author: pbludov #8855
  • Add markdown lint validation for .md files to CI. Author: pbludov #8909

Release 8.36.2

27.09.2020

Bug fixes:

  • Indentation: lambda don't respect lineWrappingIndentation when forceStrictCondition is false. Author: Abhishek-kumar09 #3342
  • Java interface constants treated as non-public by ConstantName check. Author: Andrei Paikin #8569
  • JavadocTypeCheck: false positive with JavaDoc @param tags for Records (Java 14 + Java 15). Author: Nick Mancuso #8808

Notes:

  • Load Semaphore CI with more work. Author: pbludov #8805
  • add spring-cloud-gcp project to CIs no errror regresson testing. Author: Gaurav Punjabi #6209
  • Add a job to automatically rebase PRs. Author: Andrei Paikin #8842
  • Update eclipse compiler to R17. Author: pbludov #8839
  • bump Saxon-HE from 9.9.1-7 to 10.2. Author: Timur Tibeyev #8797
  • pitest: increase mutation coverage for pitest-imports profile to 100% . Author: hembhagat #6658
  • Diff Report should be generated against main checkstyle's master branch. Author: Abhishek-kumar09 #8827
  • doc: add checkstyle github action to related tools. Author: Abhishek-kumar09
  • Comments in indentation is failing ci/phase-verification/unit-tests. Author: Abhishek-kumar09 #8725
  • All Regexp Checks that has few instances should have id property. Author: Roman Ivanov #8790
  • Sonar issue: A "NullPointerException" could be thrown; "getParent()" can return null.. Author: Roman Ivanov #8823

Release 8.36.1

12.09.2020

Bug fixes:

  • DesignForExtension check crashes CheckStyle if an undocumented non-final method is present in a record (Java 14 + Java 15). Author: Nick Mancuso #8810
  • FinalClass check crashes CheckStyle if there are multiple constructors in a record (Java 14 + Java 15) . Author: Nick Mancuso #8811
  • IndentationCheck: false positive with nested records' methods (Java 14 + Java 15). Author: Nick Mancuso #8806
  • Support for all Token Types as a Property Type for Module Metadata. Author: Gaurab Dasgupta #8801
  • MissingSwitchDefault to exclude Java 14 switch expressions. Author: Nick Mancuso #8779
  • Set tokenTypesSet as validationType for non base token properties. Author: Gaurab Dasgupta #8785
  • Google style has improper enforcement of horizontal whitespace. Author: Shashwat Jaiswal #8122

Notes:

  • Update doc for NestedForDepth. Author: Roman Ivanov #7651
  • Improve code coverage for metadata generator classes. Author: Gaurab Dasgupta #8771
  • Update doc for IllegalThrows. Author: zy #7644
  • Update doc for ExplicitInitialization. Author: Demezhan Marikov #7639
  • Resolve Pitest Issues - ImportOrderCheck (1). Author: Shashwat Jaiswal #7872
  • doc: Add stickler-ci to the active tool list. Author: Mark Story

Release 8.36

28.08.2020

New:

  • Create new check IllegalIdentifierName. Author: Nick Mancuso #8764
  • Create New Check RecordComponentNumberCheck. Author: Nick Mancuso #8748
  • new Check: RequireEmptyLineBeforeBlockTagGroup to complain about missing blank line before at-clauses Author: Joseph Mate #6192
  • New check RecordTypeParameterNameCheck. Author: Nick Mancuso #8513
  • Java14 Full Records Support Check Validation: JavaNCSSCheck. Author: Nick Mancuso #8505
  • Support for Java 14 switch/yield expression. Author: Nick Mancuso #6615
  • java 13 text blocks syntax is not supported. Author: Nick Mancuso #7103
  • Java14 Full Records Support Check Validation: MethodParamPadCheck. Author: Nick Mancuso #8525
  • Java14 Full Records Support Check Validation: AbbreviationAsWordInNameCheck. Author: Nick Mancuso #8511
  • Implement full records support. Author: Nick Mancuso #8267
  • new Check: PatternVariableName. Author: Nick Mancuso #8407

Bug fixes:

  • Java 14 Text Blocks Checks Support validation: SuppressWarningsHolder. Author: Nick Mancuso #8619
  • Java14 Full Records Support Check Validation: OverloadMethodsDeclarationOrderCheck. Author: Nick Mancuso #8471
  • Java 14 SwitchExpression Check Support validation: Indentation. Author: Nick Mancuso #8691
  • Java14 Full Records Support Check Validation: SuppressWarningsCheck. Author: Nick Mancuso #8456
  • Java14 Full Records Support Check Validation: AtclauseOrderCheck. Author: Nick Mancuso #8490
  • Java14 Full Records Support Check Validation: AnnotationLocationCheck. Author: Nick Mancuso #8454
  • Java14 Full Records Support Check Validation: AnnotationOnSameLineCheck. Author: Nick Mancuso #8455
  • Java14 Full Records Support Check Validation: WriteTagCheck. Author: Nick Mancuso #8499
  • Java14 Full Records Support Check Validation: UnnecessarySemicolonAfterTypeMemberDeclarationCheck. Author: Nick Mancuso #8476
  • Java14 Full Records Support Check Validation: UnnecessarySemicolonAfterOuterTypeDeclarationCheck. Author: Nick Mancuso #8475
  • Java14 Full Records Support Check Validation: InnerTypeLastCheck. Author: Nick Mancuso #8482
  • Java14 Full Records Support Check Validation: IllegalTypeCheck. Author: Nick Mancuso #8468
  • Java14 Full Records Support Check Validation: OneTopLevelClassCheck. Author: Nick Mancuso #8485
  • Java14 Full Records Support Check Validation: TypeNameCheck. Author: Nick Mancuso #8515
  • Compact Constructor AST is missing annotations. Author: Nick Mancuso #8734
  • Java14 Full Records Support Check Validation: HiddenFieldCheck. Author: Nick Mancuso #8466
  • Java14 Full Records Support Check Validation: ClassDataAbstractionCouplingCheck. Author: Nick Mancuso #8502
  • Java14 Full Records Support Check Validation: CommentsIndentationCheck. Author: Nick Mancuso #8489
  • Java14 Full Records Support Check Validation: JavadocMethodCheck. Author: Nick Mancuso #8492
  • Java14 Full Records Support Check Validation: JavadocTypeCheck. Author: Nick Mancuso #8494
  • Java14 Full Records Support Check Validation: MissingJavadocMethodCheck. Author: Nick Mancuso #8497
  • Java14 Full Records Support Check Validation: MissingJavadocTypeCheck. Author: Nick Mancuso #8498
  • Java14 Full Records Support Check Validation: JavadocStyleCheck. Author: Nick Mancuso #8493
  • Java14 Full Records Support Check Validation: DeclarationOrderCheck. Author: Nick Mancuso #8463
  • Java14 Full Records Support Check Validation: LeftCurlyCheck. Author: Nick Mancuso #8457
  • Java14 Full Records Support Check Validation: RightCurlyCheck. Author: Nick Mancuso #8460
  • Java 14 Text Blocks Checks Support validation: MultipleStringLiteralsCheck. Author: Nick Mancuso #8616
  • LambdaParameterNameCheck throws NPE when parsing switch expressions. Author: Nick Mancuso #8683
  • Java14 Full Records Support Check Validation: ClassFanOutComplexityCheck. Author: Nick Mancuso #8503
  • Java 14 SwitchExpression Check Support validation: FinalLocalVariableCheck. Author: Nick Mancuso #8668
  • Java 14 SwitchExpression Check Support validation: EmptyBlock. Author: Nick Mancuso #8662
  • VariableDeclarationUsageDistanceCheck throws a NPE on switch expression syntax. Author: Nick Mancuso #8676
  • Java 14 Text Blocks Checks Support validation: UnnecessaryParenthesesCheck. Author: Nick Mancuso #8618
  • Java14 Full Records Support Check Validation: ClassMemberImpliedModifierCheck. Author: Nick Mancuso #8577
  • Java 14 Text Blocks Checks Support validation: AvoidEscapedUnicodeCharacters. Author: Nick Mancuso #8613
  • Java 14 Text Blocks Checks Support validation: StringLiteralEqualityCheck. Author: Nick Mancuso #8617
  • Java 14 Text Blocks Support Check validation: IllegalTokenText. Author: Nick Mancuso #8576
  • Java 14 Text Blocks Checks Support validation: EqualsAvoidNullCheck. Author: Nick Mancuso #8614
  • Java 14 SwitchExpression Check Support validation: MissingSwitchDefaultCheck. Author: Nick Mancuso #8672
  • Java 14 SwitchExpression Check Support validation: LeftCurlyCheck. Author: Nick Mancuso #8663
  • NeedBracesCheck throws a NPE when parsing switch expression syntax. Author: Nick Mancuso #8664
  • IndentationCheck throws a NPE on switch expression syntax. Author: Nick Mancuso #8661
  • Java 14 SwitchExpression Check Support validation: DefaultComesLastCheck. Author: Nick Mancuso #8665
  • Java 14 SwitchExpression Check Support validation: NPathComplexityCheck. Author: Nick Mancuso #8681
  • HiddenFieldCheck throws a NPE on switch expression syntax. Author: Nick Mancuso #8659
  • UnnecessaryParenthesesCheck throws a NPE on switch expression syntax. Author: Nick Mancuso #8660
  • Change google_checks.xml to disallow abbreviations in identifiers names in accordance with Google Style Guide. Author: Shashwat Jaiswal #3812
  • Java14 Full Records Support Check Validation: EmptyLineSeparatorCheck. Author: Nick Mancuso #8523
  • Java14 Full Records Support Check Validation: MethodLengthCheck. Author: Nick Mancuso #8519
  • Java14 Full Records Support Check Validation: NoLineWrapCheck. Author: Nick Mancuso #8526
  • Java14 Full Records Support Check Validation: BooleanExpressionComplexityCheck. Author: Nick Mancuso #8501
  • Java14 Full Records Support Check Validation: CyclomaticComplexityCheck. Author: Nick Mancuso #8504
  • Java14 Full Records Support Check Validation: ExecutableStatementCountCheck . Author: Nick Mancuso #8517
  • Java14 Full Records Support Check Validation: MethodCountCheck. Author: Nick Mancuso #8518
  • Java14 Full Records Support Check Validation: OuterTypeNumberCheck. Author: Nick Mancuso #8520
  • OuterTypeFileName throws NPE on record definition in method. Author: Nick Mancuso #8598
  • Java14 Full Records Support Check Validation: ParenPadCheck. Author: Nick Mancuso #8527
  • Java14 Full Records Support Check Validation: UncommentedMainCheck. Author: Nick Mancuso #8522
  • Java14 Full Records Support Check Validation: EqualsAvoidNullCheck. Author: Nick Mancuso #8464
  • Java14 Full Records Support Check Validation: OuterTypeFilenameCheck. Author: Nick Mancuso #8516
  • Java14 Full Records Support Check Validation: RequireThisCheck. Author: Nick Mancuso #8473
  • Java14 Full Records Support Check Validation: MagicNumberCheck. Author: Nick Mancuso #8469
  • Java14 Full Records Support Check Validation: UnusedImportsCheck. Author: Nick Mancuso #8488
  • Java14 Full Records Support Check Validation: NPathComplexityCheck. Author: Nick Mancuso #8506

Notes:

  • spelling: Correct French translations. Author: olivier-maury
  • Move metadata generation code to main from test folder. Author: Gaurab Dasgupta #8761
  • Introduction of modules metadata files generator. Author: Gaurab Dasgupta #8742
  • PMD shows WARN during build . Author: Nick Mancuso #8754
  • Remove BlockCommentPosition test input files from checkstyle_input_suppressions.xml. Author: Nick Mancuso #8738
  • doc: rectify RequireEmptyLineBeforeBlockTagGroupCheck javadoc. Author: Gaurab Dasgupta
  • Removal of examples from property description. Author: Gaurab Dasgupta #8732
  • Mofication of module property default values to reflect actual working data. Author: Gaurab Dasgupta #8726
  • doc: Modify PatternVariableNameCheck and RecordTypeParameterNameCheck to adhere to new template for metadata scraping. Author: Gaurab Dasgupta
  • Extend Checkstyle GUI tool to work with Xpath. Author: hembhagat #4944
  • Modification of javadoc example markers to support metadata generation. Author: Gaurab Dasgupta #8657
  • Proof of Java 14 syntax by new CI build item. Author: Nick Mancuso #8631
  • JavadocMethod: unclear message for incomplete tag. Author: Shashwat Jaiswal #2408
  • Extract logic for token type checking to separate method. Author: Shashwat Jaiswal #8048
  • LineLengthCheck.fileExtensions default value and similar usages should be changed to empty string. Author: Gaurab Dasgupta #8633
  • Array default value should have no curly braces in Check javadoc documentation. Author: Gaurab Dasgupta #8630
  • master build failure due to leaked pitest coverage. Author: Nick Mancuso #8604
  • xml-maven-plugin validation should not validate '.ci-temp' folder . Author: Roman Ivanov #8606
  • ci: disable spring integration project validation due to build problem. Author: Roman Ivanov
  • Tests fail with German locale on Windows with default encoding. Author: TB #6560
  • Java14 Full Records Support Check Validation: CovariantEqualsCheck. Author: Nick Mancuso #8462
  • Java14 Full Records Support Check Validation: WhitespaceAroundCheck. Author: Nick Mancuso #8528
  • Format xml sources. Author: pbludov #8544

Release 8.35

26.07.2020

New:

  • Java14 enhanced instanceof check validation: IllegalTypeCheck . Author: Nick Mancuso #8365
  • Java14 enhanced instanceof check validation: HiddenFieldCheck. Author: Nick Mancuso #8364
  • Java14 enhanced instanceof check validation: EqualsAvoidNullCheck. Author: Nick Mancuso #8362
  • Java14 enhanced instanceof check validation: AbbreviationAsWordInNameCheck. Author: Nick Mancuso #8387
  • Allow unsupported syntax, like record classes. Author: Nick Mancuso #8023
  • Add support for enhanced instanceof. Author: Nick Mancuso #7290

Bug fixes:

  • InnerTypeLast should handle ctors and static init blocks. Author: Andrei Paikin #8394
  • super::clone breaks SuperCloneCheck. Author: Andrei Paikin #8399
  • RedundantModifierCheck throws NullPointerException. Author: Andrei Paikin #8299

Notes:

  • Format xml sources. Author: pbludov #8544
  • Check that all xml sources are well formed. Author: pbludov #8543
  • Change diff report generation pipeline logic to trigger to single comment. Author: Andrei Paikin #8539
  • To Top Button on website. Author: JohannesTeklote #8533
  • Add TokenUtil.isTypeDeclaration method. Author: Nick Mancuso #8345
  • Enhance diff generation pipeline to create report for different configs for branches. Author: kate2513 #8448
  • Add comment to notify user about failure in diff report generation pipeline. Author: kate2513 #8496
  • Enhance diff generation pipeline to create report for new check. Author: OvchinnikovNV #8447
  • Add trigger to diff generation pipeline for comment editing. Author: kate2513 #8495
  • Remove pull request trigger from diff report generation action. Author: kate2513 #8459
  • Change comment action for report generation pipeline. Author: kate2513 #8446
  • Generation and publishing regression diff report base on config in PR description. Author: kate2513 #7498
  • Javadoc Modification for Metadata Generation Support. Author: Gaurab Dasgupta #8306
  • Extend Checkstyle GUI tool to work with Xpath. Author: hembhagat #4944
  • Ability to keep mobile mode when mobie phone is vertical position. Author: Roman Ivanov #8397
  • Change name of checkstyle types to match real java types. Author: Gaurab Dasgupta #8328
  • Revert "doc: add example of how to run GUI from snapshot jar". Author: Roman Ivanov
  • Increase font size for website. Author: JohannesTeklote #8264
  • doc: change "nmancus1" to "Nick Mancuso" in release notes. Author: Nick Mancuso
  • Resolve Sonar violation 'This branch's code block is the same as the block for the branch on line'. Author: Abhishek-kumar09 #8336
Old Release Notes 8.0 through 8.34