Skip to content

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

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rb-org-bot[bot]
Copy link
Contributor

@rb-org-bot rb-org-bot bot commented May 19, 2025

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

  • Add configuration option to handle (certain) annotation with parameters identical to annotations without parameters - #​2950, by @​paul-dingemans

  • Set system properties to prevent failure when running in ktlint-intellij-plugin with custom installation - #​2970, 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 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 rb-org-bot bot added the automerge label May 19, 2025
@rb-org-bot rb-org-bot bot requested a review from RBusarow as a code owner May 19, 2025 16:08
@rb-org-bot rb-org-bot bot added dependencies Pull requests that update a dependency file automerge labels May 19, 2025
@rb-org-bot rb-org-bot bot force-pushed the github-renovate/ktlint-libs branch 10 times, most recently from dfb024f to 37ce26a Compare May 31, 2025 08:42
@rb-org-bot rb-org-bot bot force-pushed the github-renovate/ktlint-libs branch 6 times, most recently from 7b160ad to be5de36 Compare June 9, 2025 05:11
@rb-org-bot rb-org-bot bot force-pushed the github-renovate/ktlint-libs branch 10 times, most recently from 90150ef to cd258c3 Compare June 15, 2025 12:38
@rb-org-bot rb-org-bot bot force-pushed the github-renovate/ktlint-libs branch 15 times, most recently from b63000f to 705ab14 Compare July 2, 2025 17:48
@rb-org-bot rb-org-bot bot force-pushed the github-renovate/ktlint-libs branch 10 times, most recently from 7bc483e to 2748935 Compare July 10, 2025 02:42
@rb-org-bot rb-org-bot bot force-pushed the github-renovate/ktlint-libs branch 2 times, most recently from c8e6829 to 2e461ed Compare July 14, 2025 03:23
@rb-org-bot rb-org-bot bot force-pushed the github-renovate/ktlint-libs branch from 2e461ed to a138882 Compare July 23, 2025 16:18
@rb-org-bot rb-org-bot bot changed the title fix(deps): update ktlint libs to v1.6.0 fix(deps): update ktlint libs to v1.7.1 Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants