Skip to content

Bump com.pinterest.ktlint:ktlint-ruleset-standard from 1.0.0 to 1.7.0 #918

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

Conversation

dependabot[bot]
Copy link
Contributor

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

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

Release notes

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

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

📦 Dependencies

  • chore(deps): update plugin org.gradle.toolchains.foojay-resolver-convention to v1 - #2989, by @​renovate[bot]

  • chore(deps): update plugin com.gradle.develocity to v4.0.2 - #2996, by @​renovate[bot]

  • fix(deps): update junit5 monorepo - #3005, by @​renovate[bot]

  • fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.2.0-rc3 - #3015, by @​renovate[bot]

... (truncated)

Changelog

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

[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

📦 Dependencies

  • chore(deps): update plugin org.gradle.toolchains.foojay-resolver-convention to v1 - #2989, by @​renovate[bot]

  • chore(deps): update plugin com.gradle.develocity to v4.0.2 - #2996, by @​renovate[bot]

  • fix(deps): update junit5 monorepo - #3005, by @​renovate[bot]

... (truncated)

Commits
  • c8d5834 Fix source/doc jar publication (#3060)
  • f931f10 Add tasks to create placeholder docs and sources jars to pass Central Portal ...
  • c519798 1.7.0 prep (#3057)
  • 857ffbc Add experimental rule expression-operand-wrapping (#3056)
  • e4db565 chore(deps): update dependency gradle to v9.0.0-rc-2 (#3055)
  • faa5b89 fix(deps): update dependency com.google.jimfs:jimfs to v1.3.1 (#3054)
  • 8792002 fix(deps): update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.1...
  • 690d5fc Cleanup Java 24 bump (#3051)
  • 62ab9bf Bump Gradle to 9.0.0-rc-1 (#3045)
  • 12047f7 chore(deps): update plugin kotlinx-binary-compatibiltiy-validator to v0.18.1 ...
  • 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.0.
- [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.0)

---
updated-dependencies:
- dependency-name: com.pinterest.ktlint:ktlint-ruleset-standard
  dependency-version: 1.7.0
  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 21, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 28, 2025

Superseded by #922.

@dependabot dependabot bot closed this Jul 28, 2025
@dependabot dependabot bot deleted the dependabot/gradle/com.pinterest.ktlint-ktlint-ruleset-standard-1.7.0 branch July 28, 2025 08:20
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