Skip to content
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

ORC-1763: Upgrade checkstyle to 10.18.0 #2012

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 26, 2024

Bumps com.puppycrawl.tools:checkstyle from 10.17.0 to 10.18.0.

Release notes

Sourced from com.puppycrawl.tools:checkstyle's releases.

checkstyle-10.18.0

Checkstyle 10.18.0 - https://checkstyle.org/releasenotes.html#Release_10.18.0

Breaking backward compatibility:

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

New:

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

Bug fixes:

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

... (truncated)

Commits
  • ece521c [maven-release-plugin] prepare release checkstyle-10.18.0
  • aadb50c doc: release notes for 10.18.0
  • 3f1fc43 doc: update documentation for jdkVersion property in RedundantModifierCheck
  • 8da6f47 Issue #15340: created InputFormatted file for section 3.3.2 No Line Wrapping
  • 7a5837f Issue #15340: created InputFormatted file for section 2.3.1 whitespace charac...
  • 5b2b330 Issue #15340: created InputFormatted file for section 7.1.2 Paragraphs
  • d010bda Issue #15159: RedundantModifierCheck should violate final modifier on unnamed...
  • d32c27b dependency: bump nl.jqno.equalsverifier:equalsverifier
  • 81b0261 Issue #15059: New Check UnusedLambdaParameterShouldBeUnnamed
  • c976754 Issue #15340: created InputFormatted file for section 3 Source File
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
com.puppycrawl.tools:checkstyle [< 10.13, > 10.12.0]

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 10.17.0 to 10.18.0.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](checkstyle/checkstyle@checkstyle-10.17.0...checkstyle-10.18.0)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 26, 2024
@dongjoon-hyun dongjoon-hyun changed the title Bump com.puppycrawl.tools:checkstyle from 10.17.0 to 10.18.0 in /java ORC-1763: Upgrade checkstyle to 10.18.0 Aug 26, 2024
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Merged to main.

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 26, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/maven/java/com.puppycrawl.tools-checkstyle-10.18.0 branch August 26, 2024 16:15
@dongjoon-hyun dongjoon-hyun added this to the 2.1.0 milestone Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUILD dependencies Pull requests that update a dependency file JAVA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant