Skip to content

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-ruleset-standard 1.6.0 -> 1.7.1 age confidence

Release Notes

pinterest/ktlint (com.pinterest.ktlint:ktlint-ruleset-standard)

v1.7.1

Compare Source

🔧 Fixes
💬 Other

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: Disabled by config. Please merge this manually once you are satisfied.

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 force-pushed the renovate/ktlint branch 3 times, most recently from e2a6623 to 0ccdf40 Compare July 20, 2025 19:37
@renovate renovate bot force-pushed the renovate/ktlint branch from 0ccdf40 to 3475dd9 Compare July 21, 2025 23:51
@renovate renovate bot changed the title Update dependency com.pinterest.ktlint:ktlint-ruleset-standard to v1.7.0 Update dependency com.pinterest.ktlint:ktlint-ruleset-standard to v1.7.1 Jul 21, 2025
@DennisBauer DennisBauer merged commit 215e39d into main Jul 30, 2025
2 checks passed
@DennisBauer DennisBauer deleted the renovate/ktlint branch July 30, 2025 15:43
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.

1 participant