File checkstyle.changes of Package checkstyle
-------------------------------------------------------------------
Wed Jul 2 23:57:14 UTC 2025 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v10.26.1
* Bug fixes:
NewlineAtEndOfFileCheck and empty files (size 0)
* Other Changes:
+ Preparation for Migration of Checkstyle Codebase to Java 17
+ Add data to javadoc of Check to indicate true version of
module properties inherited from the abstract parent class
-------------------------------------------------------------------
Wed Jun 25 02:07:20 UTC 2025 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v10.26.0
* New:
+ Add Check Support for Java 21 Record Pattern : New Check
PatternVariableAssignment
* Bug fixes:
+ Indentation check doesn't give violation when google
formatter does
+ False positive on indentation for Annotation Arrays
* Other Changes:
+ Add data to javadoc of Check to indicate true version of
module properties inherited from the abstract parent class
+ Preparation for Migration of Checkstyle Codebase to Java 17
+ PropertyCacheFileTest.testPathToCacheContainsOnlyFileName is
failing
+ update JavadocTokenTypes.java to new format of AST print
- Update to v10.25.1
* Bug fixes:
+ checkstyle expects different indentation for switch cases.
* Other Changes:
+ Fix the problem when property of module has older version
than the module's
+ Preparation for Migration of Checkstyle Codebase to Java 17
+ Updating properties in Input files to mention all default
properties, use new nio jdk api instead of all api
+ Validattion of xdoc files to have separtor between examples
+ Review latest changes at Google style guide
+ CI is failing on 'validation.sh no-violation-test-josm'
+ Typo in check name in 10.25.0 release notes
-------------------------------------------------------------------
Sat Jun 7 12:35:20 UTC 2025 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v10.25.0
* New:
+ Add Check Support for Java 21 Record Pattern : New Check
UnnecessaryNullCheckWithInstanceof.
* Bug fixes:
+ False positives for google_checks when using switch
expression in lambda.
* Notes:
+ infra: allow cirrus to run on PR from its own repository.
+ CI Failure in Check no broken links.
+ cirrus CI is faililng with java.exe is not recognized.
+ Add hazelcast project to no-error CI job.
+ Add JUnit Validation to Ensure New Checks Are Listed in
`index.xml` Categories.
+ Missing MultiFileRegexpHeader into Header index.html.
+ Fix code blocks formatting in cmdline.html#Download_and_Run.
+ update JavadocTokenTypes.java to new format of AST print.
+ Fix existing cases of `getFileContents()` usage.
- Update to v10.24.0
* New:
+ CLI: generate suppresion xml content (SuppressionFilter) for
certain Checks but whole file with violation.
+ New Check: MultiFileRegexpHeader to allow specify few header
file to validate.
* Bug fixes:
+ `private` enums being treated as public in
`JavadocVariableCheck`.
+ EmptyLineSeparator check does not validate newlines before
comments in Interfaces.
+ SuppressWithPlainTextCommentFilter is slow on files with
multiple errors.
+ incompatibility with google-java-format: CatchFormalParameter
is indented by 4 spaces instead of 2.
+ Indentation of the Block child of switch rule is not
validated when no braces.
* Notes:
+ fix log typo.
+ Resolve Pitest Suppression in Pitest-Javadoc Profile.
+ update JavadocTokenTypes.java to new format of AST print.
+ doc: Add GSoC guide tip on learning beyond code, link article
on code review sentiment.
+ Validate that all Inputs mentioned all default properties in
config.
+ Fix indentation of generated content cli for mode '-g'.
+ Adopt Maven Wrapper and Update CI to Fully Use It.
+ doc: update AuditListener image format and dimensions.
+ include PMD `UnusedPrivateMethod`.
+ include PMD `GuardLogStatement`.
+ Add example to MatchXpatch on how to validate Constructor
Count in classes.
+ Resolve CheckerFramework violations.
+ Infra: Replace REPOSITORY_OWNER CI ENV var with built-in
GITHUB_REPOSITORY_OWNER.
+ Update Filters Exampes to use
verifyFilterWithInlineConfigParser.
+ Update vim plugin details.
+ doc: Add UML diagram for Filter and update image reference in
documentation.
+ Rename all 'ex' varaibles to 'exc' and forrbit by cheksttyle
check 'ex'.
+ migrate pgjdbc no-error execution to jdk21.
+ SarifLoggerTest.java to use
verifyWithInlineConfigParserAndLogger.
+ Enforce formatting of `// violation` and `// ok` comments.
+ inconsistent linkcheck errors.
+ Incorrect language class assigned to code blocks in
documentation (e.g., logs getting language-xml, Java code
getting language-xml).
+ update documentation: VariableDeclarationUsageDistance on
block of initialization methods.
+ Update IndentationCheckTest to use verifyWarns.
+ Remove config_ conditions from xdocs tests.
+ XMLLoggerTest.java to use
verifyWithInlineConfigParserAndXmlLogger.
+ use new nio jdk api instead of all api.
+ Cover pitest survivals with tests.
-------------------------------------------------------------------
Mon May 5 14:04:07 UTC 2025 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v10.23.1
* Bug fixes:
+ JavadocParagraph false violation when <p> is inside of
<div></div>.
+ google_checks.xml: remove xpath suppression and
false-positive indentation violations for block codes.
+ Fix false-negatives regarding LITERAL_CATCH to detect K&R
Blocks in google_checks.xml.
+ SuppressWarningsHolder should allow usage of simple name of
Checks in aliasList.
* Notes:
+ doc: remove outdated note about ANTLR versions in Javadoc vs
Java grammar explanation.
+ Define violation messages for all violations.
+ Missing test for InputIndentationInvalidArrayInitIndent.java
with forceStrictCondition=false.
+ Update Filters Exampes to use
verifyFilterWithInlineConfigParser.
+ Cover pitest survivals with tests.
+ disallow import of
`java.util.concurrent.atomic.AtomicInteger` yet, it is still
used in `api\SeverityLevelCounter.java` and
`checks\UniquePropertiesCheck.java`.
+ Update CLI help to mention that folder also can be used.
+ Extend documentation on no lombok support.
+ separate examples by horizontal line.
+ Configuration website does not allow linking to Examples.
+ Remove usage of AtomicInteger from NPathComplexityCheck.
+ update JavadocTokenTypes.java to new format of AST print.
+ chore: use span classes for layout.
+ Website layout breaks at viewport width >= 1999px.
+ fix `OSX build` when `.DS_Store` is present.
+ doc: remove SonarCloud badge from README.md.
+ use new nio jdk api instead of all api.
+ Enforce file size on Java inputs.
+ infra: verify-no-exception-configs is in semaphore ci.
+ align ubuntu image version `ubuntu-22.04` -> `ubuntu-24.04`.
+ doc: improve variableDeclarationUsage...Check's docs to avoid
confusion on calculation of distance.
+ Resolve CheckerFramework violations.
+ fix whitespace typo in `Note : ` -> `Note: `.
+ Bad links on Sponsoring page.
+ add Content section to config.xml and
writinglisteners.xml.vm.
+ Broken Backport Links on Website.
+ Fix existing cases of `getFileContents()` usage.
+ Broken Flattr Link and Image on Sponsoring Page.
+ Resolve Pitest Suppression in Pitest-Javadoc Profile.
+ SarifLoggerTest.java to use
verifyWithInlineConfigParserAndLogger.
- Update to v10.23.0
* New:
+ JavadocMethod: new property 'allowInlineReturn' to support
for Javadoc return tag as inline.
* Bug fixes:
+ False negative in UnusedImportCheck.
* Notes:
+ SuppressionSingleFilterExamplesTest methods should use:
`verifyFilterWithInlineConfigParser`.
+ XMLLoggerTest.java to use
verifyWithInlineConfigParserAndXmlLogger.
+ update JavadocTokenTypes.java to new format of AST print.
+ use new nio jdk api instead of all api.
+ CircleCI is failing on xwiki validation.
- Update to v10.22.0
* Breaking backward compatibility:
+ JavadocVariable: new property 'accessModifiers' as
substitution of 'scope' and 'excludeScope'.
+ Change default or IllegalIdentifierName.
* Bug fixes:
+ `FileContents.getJavadocBefore()`: Comments should not be
skipped if it is not alone in line.
+ JavadocTagContinuationIndentation Ignore indentation check
when HTML tag break line.
+ use SLL prediction mode for fast javadoc parsing to improve
performance.
+ JavadocMethod: Javadoc Not Detected Above Multiline Comments.
+ Incorrect Indentation errors for expression switches with
google_checks.xml.
+ SuppressWarningsHolder aliasList members don't act like
aliases.
+ Make references optional for link and linkplain tags.
+ Parse errors if `@see` spans multiple lines.
+ Parse error when Javadoc contains @snippet with code example
that uses Java annotation.
* Notes:
+ update JavadocTokenTypes.java to new format of AST print.
+ Broken Link - Javadoc OpenJDK 8 Report in website, 404 Error.
+ Github generate site fails to generate links with anchors.
+ Enforce file size on Java inputs.
+ Badges in the README are missing.
+ Fix existing cases of `getFileContents()` usage.
+ Cover pitest survivals with tests.
+ doc: Clarified the description of SummaryJavadoc check.
+ align xmx args.
+ There is nothing in few column in Active tool.
+ Resolve Pitest Suppression in Pitest-Javadoc Profile.
+ Define violation messages for all violations.
+ SarifLoggerTest.java to use
verifyWithInlineConfigParserAndLogger.
+ Create integration tests in CI to alarm on breaking
compatibility.
+ improve logging.
+ Reminder bot for issues.
+ check-performance-regression workflow does not check Javadoc
grammar performance.
+ Update RegexpHeaderCheckTest to use
verifyWithInlineConfigParser method.
+ Links for examples of CLI page.
+ Copy to clipboard image button for all sources.
+ Static html for syntax highlight in web site.
+ Update all non java Inputs of SuppressWithNearbyTextFilter to
have txt extension.
+ test execution is failing on non EN locales.
+ Update HeaderCheckTest to use verifyWithInlineConfigParser
method.
+ Nothing in remark table in additional checks.
+ Use bom artifact for junit version management.
- Update to v10.21.4
* Bug fixes:
+ AnnotationOnSameLine: FalseNegative when the annotation is on
the same line of the modifer of the target class.
+ PARAMETER_DEF in FinalLocalVariable doesn't seem to work in
interfaces.
+ Regression:
CyclomaticComplexity.switchBlockAsSingleDecisionPoint does not
work properly anymore (10.21.1).
* Notes:
+ update JavadocTokenTypes.java to new format of AST print.
+ Resolve Pitest Suppression in Pitest-Javadoc Profile.
+ Define violation messages for all violations.
+ Improve documentation - how to add usage of `var` to check
`IllegalType`?.
+ Enforce file size on Java inputs.
+ Strange echo failure for static message in github action
execution.
+ Remove '//ok' comments from Input files.
+ Cover pitest survivals with tests.
-------------------------------------------------------------------
Mon Feb 24 14:56:19 UTC 2025 - Anton Shvetz <shvetz.anton@gmail.com>
- Initial packaging with v10.21.3