Skip to content

Releases: checkstyle/checkstyle

checkstyle-10.12.3

28 Aug 04:11
Compare
Choose a tag to compare

Checkstyle 10.12.3 - https://checkstyle.org/releasenotes.html#Release_10.12.3

Bug fixes:

#13411 - UnnecessarySemicolonAfterTypeMemberDeclaration throws Exception on on Local Class
#13279 - Record pattern causes checkstyle to fail in JDK 20 (preview)

Other Changes:
Ensure only forward slashes are in relative link to parent module
Resolve pitest survivals in modules - 3
Use violation messages macro in all templates
Use parent module macro in all templates
Create tests from xdoc examples
Resolve pitest survivals in modules - 2
setup UnnecessaryOkComment module and suppressions (related to…
CircleCI periodically failing with yml violations on site.yml
Enable examples tests
Update doc of FallThroughCheck to use same java snippet example
Create templates from xdocs
Exclude xdocs from line length validation and validate templates instead
Remove from EmptyLineSeparator documentation attention note about no xpath suppression support
Implement parent module macro
Add a test to ensure examples have a paragraph with an id before them
Restore usage of TreeSet
Implement module violation messages macro
Targeted Pitest Mutation in July 2023
Move all example tests to extend `AbstractExamplesModuleTestSupport`
Add ``@`since` in javadoc of each property setter
Add links to examples paragraphs
Fix package/resource location in example tests

checkstyle-10.12.2

30 Jul 17:31
Compare
Choose a tag to compare

Checkstyle 10.12.2 - https://checkstyle.org/releasenotes.html#Release_10.12.2

Bug fixes:

#11338 - FinalClassCheck should report private classes without constructor

Other Changes:
Resolve pitest survivals in modules - 2
Create tests from xdoc examples
Add ``@`since` in javadoc of each property setter
Implement examples macro and xdoc template parser
Update doc of FallThroughCheck to use same java snippet example
update link check to only check internal links in PRs
Run regression testing in CI over openjdk20
Specify violation messages in input files
Restore xdoc-javadoc validation
Extend `getXdocsFilePaths` to gather `.xml.vm` files and get rid of `getAllXdocFilePaths`
Move section comments to include whole examples and shorten xml configs length
Test inputs should be completely standalone.
Targeted Pitest Mutation in July 2023
doc: update VisibilityModifier examples to match tests
Resolve pitest survivals in modules
maven site plugin is failing to execute site goal with compiler plugin 3.11.0
Write a test to ensure checks are present in menu
Resolves Pitest for VariableDeclarationUsageDistanceCheck
Rendering issues with website
BDD configuration comments should be in XML
Update issue template after split of website to use individual page for module

checkstyle-10.12.1

25 Jun 19:31
Compare
Choose a tag to compare

Checkstyle 10.12.1 - https://checkstyle.org/releasenotes.html#Release_10.12.1

Bug fixes:

#13140 - SimplifyBooleanExpressionCheck throw NullPointerException while checking ternary operator

Other Changes:
Move Filters and File Filters to be a sibling of Checks in site menu
Create tests from xdoc examples
Remove redundant check name in anchor
Resolve pitest survivals in modules
Extend checkstyle-examples-checks
Split modules' xdoc into separate pages
Create separate ant-phase-verify execution for xdocs-examples
Mobile page rendering requires extra font difference for properties
Ensure category index page tables are in sync with checks.xml page table
Fail linkcheck on internal broken site link
Fix broken anchors in subdirectories/subpages
doc: update AbstractClassName examples to match tests
Resolve pitest for FinalLocalVariableCheck
Resolves Pitest for VariableDeclarationUsageDistanceCheck
doc: update ConstantName examples to match tests
Resolves Pitest for DeclarationOrderCheck
Resolves Pitest for AbstractSuperCheck
Create initial xdocs-test folder structure

checkstyle-10.12.0

27 May 14:24
Compare
Choose a tag to compare

Checkstyle 10.12.0 - https://checkstyle.org/releasenotes.html#Release_10.12.0

New:

#12507 - Support record patterns (preview-feature in Java 19) as described by JEP 405

Other Changes:
Improve code coverage for GUI classes
Broken Link: Github search links are broken in documentation
LineLength check documentation incorrectly shows how to work with tabWidth property
Update doc for UnusedImports
Specify violation messages in input files
.ci/pitest.sh --list doesn't show all pitest profiles on Mac
doc: new release cycle
Site Action generate bad link to index page

checkstyle-10.11.0

10 May 04:55
Compare
Choose a tag to compare

Checkstyle 10.11.0 - https://checkstyle.org/releasenotes.html#Release_10.11.0

New:

#11109 - False Negative: UnnecessaryParenthesesCheck

Bug fixes:

#11968 - VariableDeclarationUsageDistance not able to handle try with resources properly
#12864 - Not last return javadoc tag cause parse error

Other Changes:
Kill survivng mutation in DefaultComesLastCheck.java
make_report has warning on deprecation

checkstyle-10.10.0

26 Apr 13:08
Compare
Choose a tag to compare

Checkstyle 10.10.0 - https://checkstyle.org/releasenotes.html#Release_10.10.0

New:

#11939 - New filter: SuppressWithNearbyTextFilter to suppress checks with inline comments in any file type

Other Changes:
Enforce file size on Java inputs
Specify violation messages in input files
Improvements to diff report generation
Resolve pitest for FinalLocalVariableCheck
Resolve pitest suppression for FinalLocalVariableCheck
Add more unit test cases for VariableDeclarationUsageDistanceCheck
check_issues job have warning on deprecation
Fix windows line endings in GitHub event text
doc: remove extra space
Resolve pitest suppression for FallThroughCheck
Resolve pitest suppression for AbstractViolationReporter
Use Environment Files instead of `set-output` in GitHub Actions.
Expand XPath IT Regression Testing
Create script for appending text to $GITHUB_OUTPUT
Github CI does not run upon `Github, rebase` action
Grammar error in documentation of AbstractClassNameCheck.xml
Diff-Report action does not post link to report in GitHub comment
Re-enable action lint
Update doc for VisibilityModifier
Add 3 to earliest change variable to compensate for diff context
Fix concurrency group for site action
Generate site workflow should provide more specific links
Update doc for DesignForExtension
Update doc for DescendantToken
Update doc for Translation

checkstyle-10.9.3

25 Mar 19:46
Compare
Choose a tag to compare

Checkstyle 10.9.3 - https://checkstyle.org/releasenotes.html#Release_10.9.3

Bug fixes:

#12687 - False positive about MagicNumber

Other Changes:
Fail set-milestone if no milestone is found
Add repository owner environment variable in release process
doc: describe in cli doc that folder can be used
Keep spacing between job steps consistent
Resolve pitest suppression for BeforeExecutionFileFilterSet
Typo in Documentation of VariableDeclarationUsageDistance
Kill surviving mutation in FilterSet.java
Deprecate com.puppycrawl.tools.checkstyle.api.AutomaticBean
Expand XPath IT Regression Testing
Resolve pitest suppression for FilterSet
Update doc for SuppressionCommentFilter
Use Shellcheck to resolve violations code in Shell Script
Update doc for NonEmptyAtclauseDescription
Ensure new-milestone-and-issues-in-other-repos always pulls latest commit

checkstyle-10.9.2

18 Mar 16:40
Compare
Choose a tag to compare

Checkstyle 10.9.2 - https://checkstyle.org/releasenotes.html#Release_10.9.2

Bug fixes:

#12809 - Improve performance of lambda processing

Other Changes:
Make twitter-releasenotes job depend on update-github-page
Restore curl --fail-with-body
Specify violation messages in input files

checkstyle-10.9.1

16 Mar 15:22
Compare
Choose a tag to compare

Checkstyle 10.9.1 - https://checkstyle.org/releasenotes.html#Release_10.9.1

Bug fixes:

#11569 - A false negative about the rule ClassMemberImpliedModifier

checkstyle-10.9.0

16 Mar 11:56
Compare
Choose a tag to compare

Checkstyle 10.9.0 - https://checkstyle.org/releasenotes.html#Release_10.9.0

New:

#9994 - LITERAL_SWITCH token support in RightCurlyCheck

Other Changes:
Give better names to release actions and files
Use Shellcheck to resolve violations code in Shell Script
Expand XPath IT Regression Testing
emphasize mutability of collectors
Add conditional to run on:push workflows only in checkstyle repository
Make grep always return exit code 0 in set-milestone
Specify violation messages in input files
update doc for SuppressWarnings
Update doc for JavadocMethod