Skip to content

fix(deps): update dependency com.pinterest.ktlint:ktlint-cli to v1.7.0 #1398

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

Merged
merged 1 commit into from
Jul 15, 2025

Conversation

renovate[bot]
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 added the dependencies Pull requests that update a dependency file label Jul 15, 2025
@renovate renovate bot requested a review from nakamura-to July 15, 2025 02:43
Copy link

Documentation build overview

📚 doma | 🛠️ build #28855583 (31066fa) | 🔍 preview

Files changed

Comparing with latest (209a6d2)

No files changed.

Copy link

Documentation build overview

📚 doma-japanese | 🛠️ build #28855584 (31066fa) | 🔍 preview

Files changed

Comparing with latest (209a6d2)

No files changed.

@renovate renovate bot merged commit 15db8a7 into master Jul 15, 2025
15 checks passed
@renovate renovate bot deleted the renovate/com.pinterest.ktlint-ktlint-cli-1.x branch July 15, 2025 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants