ModuleCheck icon indicating copy to clipboard operation
ModuleCheck copied to clipboard

fix(deps): update ktlint libs to v1.7.1

Open rb-org-bot[bot] opened this issue 7 months ago • 0 comments

This PR contains the following updates:

Package Change Age Confidence
com.pinterest.ktlint:ktlint-test 1.5.0 -> 1.7.1 age confidence
com.pinterest.ktlint:ktlint-ruleset-standard 1.5.0 -> 1.7.1 age confidence

Release Notes

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

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

v1.6.0

Compare Source

🆕 Features

🔧 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 these updates again.


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

This PR has been generated by Renovate Bot.

rb-org-bot[bot] avatar May 19 '25 16:05 rb-org-bot[bot]