Releases: checkstyle/checkstyle
checkstyle-12.0.0
Checkstyle 12.0.0 - https://checkstyle.org/releasenotes.html#Release_12.0.0
Breaking backward compatibility:
#17514 - New ANTLR Grammar for Javadoc Comments
Other Changes:
doc: update writing javadoc checks page in the documentation
Update `JavadocCommentsTokenTypes.java` to new format of AST print
Fix PackageObjectFactoryTest before/after annotations
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
Define violation messages for all violations
test to check indentation trailing comments are vertically aligned
Resolve error-prone violations
Add missing property examples to XDocs for Checkstyle Checks
checkstyle-11.1.0
Checkstyle 11.1.0 - https://checkstyle.org/releasenotes.html#Release_11.1.0
New:
#17451 - false-negative: whitespace between type annotation and array declarator or ellipsis
Bug fixes:
#17540 - Annotation location rule is not enforced in package-info.java file
#17507 - Google style: Missing support for multipart versioning format using underscores in method names
#17778 - Add support to properly follow Rule 7.1.1 General Form
in Google Style Guide Implementation
#17825 - --generate-checks-and-files-suppression option generates invalid XML
#13048 - JavadocTagContinuationIndentation: missing support to arbitrary indentation in <
pre>
tags
#11867 - LineLength gets triggered on multi-line strings for Google Checks
Other Changes:
update JavadocTokenTypes.java to new format of AST print
Fix wrong dtd scheme reference in CLI example
move examples of IllegalImport to compilable folder
LineLength coverage page: missing note about command line exemptions
Add `rewrite` support for `errorprone.refasterrules`
Reuse in metadata module scrapper all methods to get data from javadoc and reflection only
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
Add chechstyle-operewrite recipes to the project.
test to check indentation trailing comments are vertically aligned
Fix Javadoc Warnings: "use of default constructor, which does not provide a comment"
Upgrade all scripts to groovy 3.0.17 or 4.x
doc: make nrmancuso "former"
Convert eligible classes to records
checkstyle-11.0.1
Checkstyle 11.0.1 - https://checkstyle.org/releasenotes.html#Release_11.0.1
Bug fixes:
#3110 - some messages are still hardcoded in english
#17563 - Google style: No proper way to check if the reason for swallowing the exception is actually appropriate
#17551 - Missing violations on Unicode and Octal values of \s
#17501 - Google style: Word TODO of Todo comment must be in all caps
Other Changes:
fix cirrus-ci failure to install jdk21
Preparation for Migration of Checkstyle Codebase to Java 21
Enable assorted Error Prone Support checks
Conversion to Enhance Switch for SuppressionWarningCheck Causing Deeply Nesting Issues
Convert eligible classes to records
dependecies: update caciocavallo to latest
Convert switch statements to enhanced switch expressions
Add anchored links for each property
site log has a lot of warnings 'Anchor name "Description" used more than once'
Resolve CheckerFramework violations
Add filters table validation in xdoc folder
Wiki page on how to make test methods from issue description
improve position of tag `yamllint`
Use TypeName check to validate Examples classes
AnnotationLocation does not enforce annotation placement after Javadoc as documented
IT regression area Folder structure for suppressionxpathfilter
checkstyle-11.0.0
Checkstyle 11.0.0 - https://checkstyle.org/releasenotes.html#Release_11.0.0
Breaking backward compatibility:
#13209 - Migrate project to JDK 17
#17321 - Use jdk17 as minimial required
New:
#17366 - FinalParameters - missing several tokens to check
Bug fixes:
#17332 - False positive from JavadocType: Unused @
param tag
#8205 - fix all false-negatives about there is no single space between a type annotation and [] or .... for Google Style
#17158 - InvalidJavadocPosition false-positive for record compact constructor with package-private accessibility
#14291 - Escape sequences in TextBlock, IllegalTokenText module should violate them for Google style
#17193 - Google-style: Improper enforcement of horizontal whitespace for double slash //
Other Changes:
Upgrade all scripts to groovy 3.0.17 or 4.x
IT regression area Folder structure for suppressionxpathfilter
release is failing with "deploy failed: 403 - Forbidden"
config.html page does not allow linking to Examples
doc: add jetbrains logo by their request
Fix compareTo method for testInputViolations
xsd for the checkstyle configuration xml file
create XSD definition for XML report
Resolve invisiable problems after bump of maven site plugin 3.21.0
website: in CLI help ouput, mark config parameter as optional
test to check indentation trailing comments are vertically aligned
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
SiteUtil.getPropertiesJavadocs does not reflect all the constituents of what it does
refactor methods in SiteUtil.java
Links to modules should be without anchor
Javadoc website mistakenly showing HTML entities meant for other characters.
regression-report.yml does not post error message if failing at handle_xxx phase
Convert concatenated strings to text blocks
website: fix links in google_style.html
suppressionxpathfilter.xml.template should use example macros
Inconsistent or Missing Whitespaces in 'Beginning Development' Page Code Blocks
Google-style: add '4.8.4.4 Switch expressions' to coverage table
Updating properties in Input files to mention all default properties,
Replace collect(toUnmodifiableList()) with toList()
Refactor instanceof checks to pattern variables
doc: Finished implementation of example separators in SuppressionXpathFilter website page
doc: Implemented example separators on SuppressionXpathFilter website page
Validate that all properties are used in examples
update google-java-format.sh to validate that all Input that are excluded have file InputFormatted
Resolve Pitest Suppression in Pitest-Javadoc Profile
add trino to no-error testing in CI
importcontrol.xml.template should use example macroses
Cover pitest survivals with tests
suppressionfilter.xml.template should use example macroses
Add `@`Serial annotation to serialVersionUID fields
Move the same class members from macroses to new common utility class
semaphore CI is failing with FAILED DOWNLOADS for junit-platform-commons-1.10.1.jar
update JavadocTokenTypes.java to new format of AST print
Make all notes sections be displayed under the Description section
Update Filters Exampes to use verifyFilterWithInlineConfigParser
Set up RegexpSingleline to check for presence of newly added Description macro in every module xdoc
Add new Description Macro
Add new Notes Macro
`<`table`>` tags miss `<`div class"wrapper"`>` wrapping in module javadocs
XdocsJavaDocsTest expected vs actual inconsistency when dealing with new javadoc module data marking
Preparation for Migration of Checkstyle Codebase to Java 17
wesite: not wrappable property now it is causing horizontal scrolling
Remove from Travis CI snapshot deploy and stop using of Travis CI
Google-style: Add resources-noncompilable inputs to the google-java-format.sh
Google-style: Add resources-noncompilable inputs to the compilation by latest jdk
Replace `<`source`>``<`/source`>` tag in Checkstyle javadoc content
JavadocMetadataScraper doesn't scrap text from javadoc inline tag for description section in meta data
checkstyle-10.26.1
Checkstyle 10.26.1 - https://checkstyle.org/releasenotes.html#Release_10.26.1
Bug fixes:
#17250 - NewlineAtEndOfFileCheck and empty files (size 0)
Other Changes:
Preparation for Migration of Checkstyle Codebase to Java 17
Add data to javadoc of Check to indicate true version of module properties inherited from the abstract parent class
checkstyle-10.26.0
Checkstyle 10.26.0 - https://checkstyle.org/releasenotes.html#Release_10.26.0
New:
#14949 - Add Check Support for Java 21 Record Pattern : New Check PatternVariableAssignment
Bug fixes:
#8965 - Indentation check doesn't give violation when google formatter does
#17122 - False positive on indentation for Annotation Arrays
Other Changes:
Add data to javadoc of Check to indicate true version of module properties inherited from the abstract parent class
Preparation for Migration of Checkstyle Codebase to Java 17
PropertyCacheFileTest.testPathToCacheContainsOnlyFileName is failing
update JavadocTokenTypes.java to new format of AST print
checkstyle-10.25.1
Checkstyle 10.25.1 - https://checkstyle.org/releasenotes.html#Release_10.25.1
Bug fixes:
#17167 - checkstyle expects different indentation for switch cases.
Other Changes:
Fix the problem when property of module has older version than the module's
Preparation for Migration of Checkstyle Codebase to Java 17
Updating properties in Input files to mention all default properties,
use new nio jdk api instead of all api
Validattion of xdoc files to have separtor between examples
Review latest changes at Google style guide
CI is failing on 'validation.sh no-violation-test-josm'
Typo in check name in 10.25.0 release notes
checkstyle-10.25.0
Checkstyle 10.25.0 - https://checkstyle.org/releasenotes.html#Release_10.25.0
New:
#14945 - Add Check Support for Java 21 Record Pattern : New Check UnnecessaryNullCheckWithInstanceOf
Bug fixes:
#17120 - False positives for google_checks when using switch expression in lambda
Other Changes:
infra: allow cirrus to run on PR from its own repository
CI Failure in Check no broken links
cirrus CI is faililng with java.exe is not recognized
Add hazelcast project to no-error CI job
Add JUnit Validation to Ensure New Checks Are Listed in `index.xml` Categories
Missing MultiFileRegexpHeader into Header index.html
Fix code blocks formatting in cmdline.html#Download_and_Run
update JavadocTokenTypes.java to new format of AST print
Fix existing cases of `getFileContents()` usage
checkstyle-10.24.0
Checkstyle 10.24.0 - https://checkstyle.org/releasenotes.html#Release_10.24.0
New:
#5983 - CLI: generate suppresion xml content (SuppressionFilter) for certain Checks but whole file with violation
#16174 - New Check: MultiFileRegexpHeader to allow specify few header file to validate
Bug fixes:
#16786 - private
enums being treated as public in JavadocVariableCheck
#16564 - EmptyLineSeparator check does not validate newlines before comments in Interfaces
#8807 - SuppressWithPlainTextCommentFilter is slow on files with multiple errors
#14654 - incompatibility with google-java-format: CatchFormalParameter is indented by 4 spaces instead of 2
#15098 - Indentation of the Block child of switch rule is not validated when no braces
Other Changes:
fix log typo
Resolve Pitest Suppression in Pitest-Javadoc Profile
update JavadocTokenTypes.java to new format of AST print
doc: Add GSoC guide tip on learning beyond code, link article on code review sentiment
Validate that all Inputs mentioned all default properties in config
Fix indentation of generated content cli for mode '-g'
Adopt Maven Wrapper and Update CI to Fully Use It
doc: update AuditListener image format and dimensions
include PMD `UnusedPrivateMethod`
include PMD `GuardLogStatement`
Add example to MatchXpatch on how to validate Constructor Count in classes
Resolve CheckerFramework violations
Infra: Replace REPOSITORY_OWNER CI ENV var with built-in GITHUB_REPOSITORY_OWNER
Update Filters Exampes to use verifyFilterWithInlineConfigParser
Update vim plugin details
doc: Add UML diagram for Filter and update image reference in documentation
Rename all 'ex' varaibles to 'exc' and forrbit by cheksttyle check 'ex'
migrate pgjdbc no-error execution to jdk21
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
Enforce formatting of `// violation` and `// ok` comments
inconsistent linkcheck errors
Incorrect language class assigned to code blocks in documentation (e.g., logs getting language-xml, Java code getting language-xml)
update documentation: VariableDeclarationUsageDistance on block of initialization methods
Update IndentationCheckTest to use verifyWarns
Remove config_ conditions from xdocs tests
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
use new nio jdk api instead of all api
Cover pitest survivals with tests
checkstyle-10.23.1
Checkstyle 10.23.1 - https://checkstyle.org/releasenotes.html#Release_10.23.1
Bug fixes:
#16630 - JavadocParagraph false violation when <
p>
is inside of <
div>``<
/div>
#15769 - google_checks.xml: remove xpath suppression and false-positive indentation violations for block codes
#15792 - Fix false-negatives regarding LITERAL_CATCH to detect K&
R Blocks in google_checks.xml
#11641 - SuppressWarningsHolder should allow usage of simple name of Checks in aliasList
Other Changes:
doc: remove outdated note about ANTLR versions in Javadoc vs Java grammar explanation
Define violation messages for all violations
Missing test for InputIndentationInvalidArrayInitIndent.java with forceStrictCondition=false
Update Filters Exampes to use verifyFilterWithInlineConfigParser
Cover pitest survivals with tests
disallow import of `java.util.concurrent.atomic.AtomicInteger` yet, it is still used in `api\SeverityLevelCounter.java` and `checks\UniquePropertiesCheck.java`
Update CLI help to mention that folder also can be used
Extend documentation on no lombok support
separate examples by horizontal line
Configuration website does not allow linking to Examples
Remove usage of AtomicInteger from NPathComplexityCheck
update JavadocTokenTypes.java to new format of AST print
chore: use span classes for layout
Website layout breaks at viewport width `>`= 1999px
fix `OSX build` when `.DS_Store` is present
doc: remove SonarCloud badge from README.md
use new nio jdk api instead of all api
Enforce file size on Java inputs
infra: verify-no-exception-configs is in semaphore ci
align ubuntu image version `ubuntu-22.04` -`>` `ubuntu-24.04`
doc: improve variableDeclarationUsage...Check's docs to avoid confusion on calculation of distance
Resolve CheckerFramework violations
fix whitespace typo in `Note : ` -`>` `Note: `
Bad links on Sponsoring page
add Content section to config.xml and writinglisteners.xml.vm
Broken Backport Links on Website
Fix existing cases of `getFileContents()` usage
Broken Flattr Link and Image on Sponsoring Page
Resolve Pitest Suppression in Pitest-Javadoc Profile
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger