Skip to content

chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.24.0 #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main/1.0.0
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 2, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.puppycrawl.tools:checkstyle (source) 10.20.2 -> 10.24.0 age adoption passing confidence

Release Notes

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

v10.24.0

Compare Source

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

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

v10.23.0

Checkstyle 10.23.0 - https://checkstyle.org/releasenotes.html#Release\_10.23.0

New:

#​9745 - JavadocMethod: new property 'allowInlineReturn' to support for Javadoc return tag as inline

Bug fixes:

#​14697 - False negative in UnusedImportCheck

Other Changes:
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.

v10.22.0

Checkstyle 10.22.0 - https://checkstyle.org/releasenotes.html#Release\_10.22.0

Breaking backward compatibility:

#​9280 - JavadocVariable: new property 'accessModifiers' as substitution of 'scope' and 'excludeScope'
#​15499 - Change default or IllegalIdentifierName

Bug fixes:

#​16641 - FileContents.getJavadocBefore(): Comments should not be skipped if it is not alone in line
#​16385 - JavadocTagContinuationIndentation Ignore indentation check when HTML tag break line
#​16628 - use SLL prediction mode for fast javadoc parsing to improve performance
#​43 - JavadocMethod: Javadoc Not Detected Above Multiline Comments
#​12817 - Incorrect Indentation errors for expression switches with google_checks.xml
#​6637 - SuppressWarningsHolder aliasList members don't act like aliases
#​13043 - Make references optional for link and linkplain tags
#​16005 - Parse errors if ``@see spans multiple lines
#​14446 - Parse error when Javadoc contains @snippet with code example that uses Java annotation

Other Changes:
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

v10.21.4

Compare Source

Checkstyle 10.21.4 - https://checkstyle.org/releasenotes.html#Release\_10.21.4

Bug fixes:

#​15161 - AnnotationOnSameLine: FalseNegative when the annotation is on the same line of the modifer of the target class
#​16081 - PARAMETER_DEF in FinalLocalVariable doesn't seem to work in interfaces
#​16165 - Regression: CyclomaticComplexity.switchBlockAsSingleDecisionPoint does not work properly anymore (10.21.1)

Other Changes:
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

v10.21.3

Compare Source

Checkstyle 10.21.3 - https://checkstyle.org/releasenotes.html#Release\_10.21.3

Bug fixes:

#​16127 - The SarifLogger creates invalid JSON on Windows with unescaped paths
#​14787 - False Negative of ClassFanOutCheck with "new" Keyword
#​15683 - JavadocMethod: false positive on compact constructors for nested record classes
#​15967 - yield fails Indentation check in switch expressions

Other Changes:
Remove '//ok' comments from Input files
Clarification: no violation for preceding whitespaces for paragraph tag content
Cover pitest survivals with tests
Provide examples of commands and examples of output for most CLI parameters.
Link redirection is not working for VariableDeclarationUsageDistance
Define violation messages for all violations
update JavadocTokenTypes.java to new format of AST print
Resolve Pitest Suppression in Pitest-Javadoc Profile
AvoidSynchronizedStatement reported usage of synchronized
Enforce file size on Java inputs
Enable examples tests
Update doc for MissingSwitchDefault
Inprove website rendering
UI Overlap Issue in Checkstyle Documentation Sidebar
Source code syntax highlights in web pages
put validation for "(default)" in Inputs
Add support of filtered violation messages to BDD Inputs
Expand XPath IT Regression Testing
Workflow `regression-report.yml` should support of config bundles with extra configuration files (Header check)
FileTabCharacter: update doc to mention that only first violation is reported for default configuration

v10.21.2

Compare Source

Checkstyle 10.21.2 - https://checkstyle.org/releasenotes.html#Release\_10.21.2

Bug fixes:

#​15939 - lineWrappingIndentation falsely detects incorrect indentation for text blocks
#​16101 - ignoreFieldDeclaration property should have the highest priority in MagicNumberCheck

Other Changes:
dependency: bump org.apache.maven.plugins:maven-site-plugin from 3.12.1 to 3.21.0
Enable examples tests
Remove '//ok' comments from Input files
update JavadocTokenTypes.java to new format of AST print
Issue #​16077: Removed text under banner images in menu
Define violation messages for all violations
Website: Open External Links in New Tabs for Better User Experience
Enforce file size on Java inputs
use new nio jdk api instead of all api
Expand XPath IT Regression Testing
Test to ensure website checks/filters are in alphabetical order at summary pages
Expandable menu for mobile website

v10.21.1

Compare Source

Checkstyle 10.21.1 - https://checkstyle.org/releasenotes.html#Release\_10.21.1

Bug fixes:

#​11374 - UnusedLocalVariable: False Positive when inner class has same field as variable

Other Changes:
Refactor SummaryJavadoc to avoid null usage
Enable examples tests
update JavadocTokenTypes.java to new format of AST print
Remove '//ok' comments from Input files
Resolve Pitest Suppression in Pitest-Javadoc Profile
Expand XPath IT Regression Testing

v10.21.0

Compare Source

Checkstyle 10.21.0 - https://checkstyle.org/releasenotes.html#Release\_10.21.0

New:

#​15985 - Expand Default Value of constantWaiverParentToken in MagicNumberCheck with All Operators

Other Changes:
Enable examples tests
GitHub action to execute latest checkstyle release on provided conf and source
https://checkstyle.org/checks/ Gives a 404
Refactor SummaryJavadoc to avoid null usage
Test to ensure website checks/filters are in alphabetical order
Expand XPath IT Regression Testing
Define violation messages for all violations.
update JavadocTokenTypes.java to new format of AST print
Remove '//ok' comments from Input files

Configuration

📅 Schedule: Branch creation - "after 5pm on the 2nd day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/checkstyle branch from 33efc13 to c709da1 Compare January 26, 2025 16:37
@renovate renovate bot changed the title chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.21.1 chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.21.2 Jan 26, 2025
@renovate renovate bot changed the title chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.21.2 chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.21.3 Feb 23, 2025
@renovate renovate bot force-pushed the renovate/checkstyle branch from c709da1 to 3a498f9 Compare February 23, 2025 18:20
@renovate renovate bot changed the title chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.21.3 chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.21.4 Mar 4, 2025
@renovate renovate bot force-pushed the renovate/checkstyle branch from 3a498f9 to 43c4d99 Compare March 4, 2025 10:25
@renovate renovate bot changed the title chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.21.4 chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.22.0 Mar 30, 2025
@renovate renovate bot force-pushed the renovate/checkstyle branch from 43c4d99 to 4fbecf8 Compare March 30, 2025 18:59
@renovate renovate bot changed the title chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.22.0 chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.23.0 Apr 2, 2025
@renovate renovate bot force-pushed the renovate/checkstyle branch from 4fbecf8 to d467591 Compare April 2, 2025 15:57
@renovate renovate bot changed the title chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.23.0 chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.23.1 Apr 27, 2025
@renovate renovate bot force-pushed the renovate/checkstyle branch from d467591 to 1d199f0 Compare April 27, 2025 23:29
@renovate renovate bot force-pushed the renovate/checkstyle branch from 1d199f0 to 741c5b9 Compare May 22, 2025 02:10
@renovate renovate bot changed the title chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.23.1 chore(deps): Update dependency com.puppycrawl.tools:checkstyle to v10.24.0 May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants