Skip to content

Bump com.pinterest.ktlint:ktlint-ruleset-standard from 1.0.0 to 1.7.1 #922

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

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 28, 2025

Bumps com.pinterest.ktlint:ktlint-ruleset-standard from 1.0.0 to 1.7.1.

Release notes

Sourced from com.pinterest.ktlint:ktlint-ruleset-standard's releases.

1.7.1

🔧 Fixes

💬 Other

1.7.0

🆕 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

  • Do not remove an empty value parameter list from a call expression when it is nested - #3017, by @​paul-dingemans

... (truncated)

Changelog

Sourced from com.pinterest.ktlint:ktlint-ruleset-standard's changelog.

[1.7.1] - 2025-07-21

🔧 Fixes

💬 Other

[1.7.0] - 2025-07-14

🆕 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

... (truncated)

Commits
  • 21c3b05 Prepare 1.7.1 release (#3082)
  • 3900084 Mark operand-expression-wrapping rule as experimental (#3081)
  • b4cc564 Refactor ShadowJarExecutableTask to KtlintCLiTask (#3078)
  • 85b2524 Fix conflict between modifier-list-spacing and `context-receiver-list-wrapp...
  • 2d7a94a Update signing config, fix configuration-cache compatibility (#3058)
  • de69c5b Make Ktlint code backwards compatible with lower kotlin versions (#3063)
  • b6fa6ea Set version to 1.7.1-SNAPSHOT, and remove temporary workflow and script neede...
  • 4ffd71e Updated refs to latest (1.7.0) release (#3072)
  • 243f566 1.7.0 finish release (#3071)
  • f5b0c13 Rename workflow / replace trigger on push with dispatch (#3070)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.pinterest.ktlint:ktlint-ruleset-standard](https://github.com/pinterest/ktlint) from 1.0.0 to 1.7.1.
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](pinterest/ktlint@1.0.0...1.7.1)

---
updated-dependencies:
- dependency-name: com.pinterest.ktlint:ktlint-ruleset-standard
  dependency-version: 1.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the skip news This PR does not require new changelog entry label Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news This PR does not require new changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants