Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 15, 2025

This PR contains the following updates:

Package Change Age Confidence
com.pinterest.ktlint:ktlint-cli 1.6.0 -> 1.7.0 age confidence

Release Notes

pinterest/ktlint (com.pinterest.ktlint:ktlint-cli)

v1.7.0

Compare Source

🆕 Features
Context receiver / parameters

With upgrade to Kotlin 2.2.0, Ktlint 1.7.0 supports context parameters.

Other rule changes
  • Do not run no-unused-imports rule by default - #​3039, by @​paul-dingemans
    The no-unused-import rule is no longer run by default as it keeps causing problems. It will be removed in Ktlint 2.0. Until then, the rule can still be run, when enabled explicitly in .editorconfig.

  • Add experimental rule expression-operand-wrapping - #​3056, by @​paul-dingemans
    This rule aligns wrapping of arithmetic and logical multiline expressions. The condition-wrapping rule which did something similar for logical multiline expressions only no longer reports and fixes violations. It will be removed in Ktlint 2.0.

Other features
  • Deprecate functions in ASTNodeExtensions, and where applicable provide property accessors - #​3026, by @​paul-dingemans
    When using ASTNodeExtensions please replace function calls with the new (temporary) property accessors. The temporary property accessors are needed to maintain backwards compatability with Java integration. In Ktlint 2.0 the functions will be removed, and the temporary property accessors will be replaced with final names.

  • Suppress warning "sun.misc.Unsafe::objectFieldOffset" in Ktlint CLI (Java24+) - #​3040, by @​paul-dingemans

  • Suppress error "A restricted method in java.lang.System has been called" on Java 24 in KtLint CLI only - #​3043, by @​paul-dingemans

  • Remove unneeded "--add-opens=java.base/java.lang=ALL-UNNAMED" - #​3044, by @​paul-dingemans

🔧 Fixes
📦 Dependencies
💬 Other

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 requested a review from nakamura-to July 15, 2025 04:38
@renovate renovate bot merged commit 5c9f734 into master Jul 15, 2025
1 check passed
@renovate renovate bot deleted the renovate/com.pinterest.ktlint-ktlint-cli-1.x branch July 15, 2025 10:41
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.

1 participant