pinterest/ktlint (com.pinterest.ktlint:ktlint-cli)
### [`v1.4.1`](https://redirect.github.com/pinterest/ktlint/blob/HEAD/CHANGELOG.md#141---2024-11-05)
[Compare Source](https://redirect.github.com/pinterest/ktlint/compare/1.4.0...1.4.1)
##### π§ Fixes
- Catch java.lang.NoSuchFieldError when looking for WHEN_ENTRY_GUARD in kotlin version 2.0.1 - [#2857](https://redirect.github.com/pinterest/ktlint/pull/2857), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
##### π¦ Dependencies
- chore(deps): update plugin shadow to v8.3.5 - [#2851](https://redirect.github.com/pinterest/ktlint/pull/2851), by [@renovate](https://redirect.github.com/renovate)\[bot]
- fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.0-rc - [#2853](https://redirect.github.com/pinterest/ktlint/pull/2853), by [@renovate](https://redirect.github.com/renovate)\[bot]
### [`v1.4.0`](https://redirect.github.com/pinterest/ktlint/blob/HEAD/CHANGELOG.md#140---2024-10-24)
[Compare Source](https://redirect.github.com/pinterest/ktlint/compare/1.3.1...1.4.0)
##### π Features
- Suppress `backing-property-naming` on `@Suppress("PropertyName")` - [#2741](https://redirect.github.com/pinterest/ktlint/pull/2741), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Check that code can still be parsed after a format - [#2742](https://redirect.github.com/pinterest/ktlint/pull/2742), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Support suppressing backing-property-naming via ObjectPropertyName - [#2751](https://redirect.github.com/pinterest/ktlint/pull/2751), by [@Goooler](https://redirect.github.com/Goooler)
- Ignore properties starting with `_` in `backing-property-naming` rule - [#2753](https://redirect.github.com/pinterest/ktlint/pull/2753), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Suppress `backing-property-naming` rule with `@Suppress("LocalVariableName")` - [#2785](https://redirect.github.com/pinterest/ktlint/pull/2785), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Do not repeat formatting if file is unchanged - [#2805](https://redirect.github.com/pinterest/ktlint/pull/2805), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Add new rule `when-entry-bracing` - [#2829](https://redirect.github.com/pinterest/ktlint/pull/2829), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Add `.editorconfig` property `ij_kotlin_indent_before_arrow_on_new_line` - [#2838](https://redirect.github.com/pinterest/ktlint/pull/2838), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Add CLI option `--stdin-path` to provide a virtual file location for stdin - [#2836](https://redirect.github.com/pinterest/ktlint/pull/2836), by [@adecker89](https://redirect.github.com/adecker89)
- Add property `.editorconfig` property `ktlint_enum_entry_name_casing` - [#2839](https://redirect.github.com/pinterest/ktlint/pull/2839), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
##### π§ Fixes
- Prevent line separators to be changed from CRLF to LF - [#2752](https://redirect.github.com/pinterest/ktlint/pull/2752), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- fix: don't remove arrow from lambdas that are when/if leaf nodes - [#2758](https://redirect.github.com/pinterest/ktlint/pull/2758), by [@tKe](https://redirect.github.com/tKe)
- Fix false positive in `no-semi` rule for enum class without enum entries - [#2774](https://redirect.github.com/pinterest/ktlint/pull/2774), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Prevent conflict between `multiline-expression-wrapping` and `function-signature` - [#2775](https://redirect.github.com/pinterest/ktlint/pull/2775), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Ignore `max_line_length` property unless `max-line-length` rule is enabled - [#2783](https://redirect.github.com/pinterest/ktlint/pull/2783), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Fix false positive in `class-signature` when EOL comment is between a class annotation and other class modifier - [#2786](https://redirect.github.com/pinterest/ktlint/pull/2786), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Fix globs ending with `**` - [#2787](https://redirect.github.com/pinterest/ktlint/pull/2787), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Return exit code 1 in case violations have been found but file is unchanged - [#2803](https://redirect.github.com/pinterest/ktlint/pull/2803), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Ignore missing whitespace after trailing comma in single line parameter value list - [#2806](https://redirect.github.com/pinterest/ktlint/pull/2806), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Remove HEADER_KEYWORD & IMPL_KEYWORD - [#2810](https://redirect.github.com/pinterest/ktlint/pull/2810), by [@3flex](https://redirect.github.com/3flex)
- Function signature rule ignores context receiver when on separate line - [#2814](https://redirect.github.com/pinterest/ktlint/pull/2814), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Do not remove imports for which the fully qualified path is identical to the package name - [#2822](https://redirect.github.com/pinterest/ktlint/pull/2822), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Fix indentation of a multiline parameter list inside a function literal for code style `ktlint_official` - [#2823](https://redirect.github.com/pinterest/ktlint/pull/2823), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Do not insert a trailing comma in a multiline when-entry containing a guard - [#2825](https://redirect.github.com/pinterest/ktlint/pull/2825), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
- Fix wrapping of expression body when `max_line_length` not set - [#2833](https://redirect.github.com/pinterest/ktlint/pull/2833), by [@paul-dingemans](https://redirect.github.com/paul-dingemans)
##### π¦ Dependencies
- Update dependency io.github.oshai:kotlin-logging-jvm to v7 - [#2701](https://redirect.github.com/pinterest/ktlint/pull/2701), by [@renovate](https://redirect.github.com/renovate)\[bot]
- Update dependency org.assertj:assertj-core to v3.26.3 - [#2738](https://redirect.github.com/pinterest/ktlint/pull/2738), by [@renovate](https://redirect.github.com/renovate)\[bot]
- Update mikepenz/release-changelog-builder-action action to v5 - [#2756](https://redirect.github.com/pinterest/ktlint/pull/2756), by [@renovate](https://redirect.github.com/renovate)\[bot]
- chore(deps): update plugin kotlinx-binary-compatibiltiy-validator to v0.16.3 - [#2759](https://redirect.github.com/pinterest/ktlint/pull/2759), by [@renovate](https://redirect.github.com/renovate)\[bot]
- fix(deps): update dependency org.slf4j:slf4j-simple to v2.0.16 - [#2764](https://redirect.github.com/pinterest/ktlint/pull/2764), by [@renovate](https://redirect.github.com/renovate)\[bot]
- Migrate to com.gradleup.shadow - [#2763](https://redirect.github.com/pinterest/ktlint/pull/2763), by [@Goooler](https://redirect.github.com/Goooler)
- chore(deps): update gradle/actions action to v4 - [#2760](https://redirect.github.com/pinterest/ktlint/pull/2760), by [@renovate](https://redirect.github.com/renovate)\[bot]
- chore(deps): update plugin com.gradle.develocity to v3.18.1 - [#2792](https://redirect.github.com/pinterest/ktlint/pull/2792), by [@renovate](https://redirect.github.com/renovate)\[bot]
- chore(deps): update dependency gradle to v8.10.2 - [#2812](https://redirect.github.com/pinterest/ktlint/pull/2812), by [@renovate](https://redirect.github.com/renovate)\[bot]
- chore(deps): update plugin shadow to v8.3.3 - [#2820](https://redirect.github.com/pinterest/ktlint/pull/2820), by [@renovate](https://redirect.github.com/renovate)\[bot]
- fix(deps): update dependency com.github.ajalt.clikt:clikt to v5.0.1 - [#2828](https://redirect.github.com/pinterest/ktlint/pull/2828), by [@renovate](https://redirect.github.com/renovate)\[bot]
- chore(deps): update kotlin monorepo to v2.0.21 - [#2831](https://redirect.github.com/pinterest/ktlint/pull/2831), by [@renovate](https://redirect.github.com/renovate)\[bot]
- fix(deps): update dependency org.ec4j.core:ec4j-core to v1.1.0 - [#2832](https://redirect.github.com/pinterest/ktlint/pull/2832), by [@renovate](https://redirect.github.com/renovate)\[bot]
- fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.0-beta2 - [#2834](https://redirect.github.com/pinterest/ktlint/pull/2834), by [@renovate](https://redirect.github.com/renovate)\[bot]
- fix(deps): update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.17.2 - [#2837](https://redirect.github.com/pinterest/ktlint/pull/2837), by [@renovate](https://redirect.github.com/renovate)\[bot]
- fix(deps): update dependency org.junit.jupiter:junit-jupiter to v5.11.3 - [#2840](https://redirect.github.com/pinterest/ktlint/pull/2840), by [@renovate](https://redirect.github.com/renovate)\[bot]
- chore(deps): update actions/checkout digest to [`11bd719`](https://redirect.github.com/pinterest/ktlint/commit/11bd719) - [#2841](https://redirect.github.com/pinterest/ktlint/pull/2841), by [@renovate](https://redirect.github.com/renovate)\[bot]
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 becomes conflicted, 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 contains the following updates:
1.3.1
->1.4.1
Release Notes
pinterest/ktlint (com.pinterest.ktlint:ktlint-cli)
### [`v1.4.1`](https://redirect.github.com/pinterest/ktlint/blob/HEAD/CHANGELOG.md#141---2024-11-05) [Compare Source](https://redirect.github.com/pinterest/ktlint/compare/1.4.0...1.4.1) ##### π§ Fixes - Catch java.lang.NoSuchFieldError when looking for WHEN_ENTRY_GUARD in kotlin version 2.0.1 - [#2857](https://redirect.github.com/pinterest/ktlint/pull/2857), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) ##### π¦ Dependencies - chore(deps): update plugin shadow to v8.3.5 - [#2851](https://redirect.github.com/pinterest/ktlint/pull/2851), by [@renovate](https://redirect.github.com/renovate)\[bot] - fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.0-rc - [#2853](https://redirect.github.com/pinterest/ktlint/pull/2853), by [@renovate](https://redirect.github.com/renovate)\[bot] ### [`v1.4.0`](https://redirect.github.com/pinterest/ktlint/blob/HEAD/CHANGELOG.md#140---2024-10-24) [Compare Source](https://redirect.github.com/pinterest/ktlint/compare/1.3.1...1.4.0) ##### π Features - Suppress `backing-property-naming` on `@Suppress("PropertyName")` - [#2741](https://redirect.github.com/pinterest/ktlint/pull/2741), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Check that code can still be parsed after a format - [#2742](https://redirect.github.com/pinterest/ktlint/pull/2742), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Support suppressing backing-property-naming via ObjectPropertyName - [#2751](https://redirect.github.com/pinterest/ktlint/pull/2751), by [@Goooler](https://redirect.github.com/Goooler) - Ignore properties starting with `_` in `backing-property-naming` rule - [#2753](https://redirect.github.com/pinterest/ktlint/pull/2753), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Suppress `backing-property-naming` rule with `@Suppress("LocalVariableName")` - [#2785](https://redirect.github.com/pinterest/ktlint/pull/2785), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Do not repeat formatting if file is unchanged - [#2805](https://redirect.github.com/pinterest/ktlint/pull/2805), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Add new rule `when-entry-bracing` - [#2829](https://redirect.github.com/pinterest/ktlint/pull/2829), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Add `.editorconfig` property `ij_kotlin_indent_before_arrow_on_new_line` - [#2838](https://redirect.github.com/pinterest/ktlint/pull/2838), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Add CLI option `--stdin-path` to provide a virtual file location for stdin - [#2836](https://redirect.github.com/pinterest/ktlint/pull/2836), by [@adecker89](https://redirect.github.com/adecker89) - Add property `.editorconfig` property `ktlint_enum_entry_name_casing` - [#2839](https://redirect.github.com/pinterest/ktlint/pull/2839), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) ##### π§ Fixes - Prevent line separators to be changed from CRLF to LF - [#2752](https://redirect.github.com/pinterest/ktlint/pull/2752), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - fix: don't remove arrow from lambdas that are when/if leaf nodes - [#2758](https://redirect.github.com/pinterest/ktlint/pull/2758), by [@tKe](https://redirect.github.com/tKe) - Fix false positive in `no-semi` rule for enum class without enum entries - [#2774](https://redirect.github.com/pinterest/ktlint/pull/2774), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Prevent conflict between `multiline-expression-wrapping` and `function-signature` - [#2775](https://redirect.github.com/pinterest/ktlint/pull/2775), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Ignore `max_line_length` property unless `max-line-length` rule is enabled - [#2783](https://redirect.github.com/pinterest/ktlint/pull/2783), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Fix false positive in `class-signature` when EOL comment is between a class annotation and other class modifier - [#2786](https://redirect.github.com/pinterest/ktlint/pull/2786), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Fix globs ending with `**` - [#2787](https://redirect.github.com/pinterest/ktlint/pull/2787), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Return exit code 1 in case violations have been found but file is unchanged - [#2803](https://redirect.github.com/pinterest/ktlint/pull/2803), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Ignore missing whitespace after trailing comma in single line parameter value list - [#2806](https://redirect.github.com/pinterest/ktlint/pull/2806), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Remove HEADER_KEYWORD & IMPL_KEYWORD - [#2810](https://redirect.github.com/pinterest/ktlint/pull/2810), by [@3flex](https://redirect.github.com/3flex) - Function signature rule ignores context receiver when on separate line - [#2814](https://redirect.github.com/pinterest/ktlint/pull/2814), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Do not remove imports for which the fully qualified path is identical to the package name - [#2822](https://redirect.github.com/pinterest/ktlint/pull/2822), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Fix indentation of a multiline parameter list inside a function literal for code style `ktlint_official` - [#2823](https://redirect.github.com/pinterest/ktlint/pull/2823), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Do not insert a trailing comma in a multiline when-entry containing a guard - [#2825](https://redirect.github.com/pinterest/ktlint/pull/2825), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) - Fix wrapping of expression body when `max_line_length` not set - [#2833](https://redirect.github.com/pinterest/ktlint/pull/2833), by [@paul-dingemans](https://redirect.github.com/paul-dingemans) ##### π¦ Dependencies - Update dependency io.github.oshai:kotlin-logging-jvm to v7 - [#2701](https://redirect.github.com/pinterest/ktlint/pull/2701), by [@renovate](https://redirect.github.com/renovate)\[bot] - Update dependency org.assertj:assertj-core to v3.26.3 - [#2738](https://redirect.github.com/pinterest/ktlint/pull/2738), by [@renovate](https://redirect.github.com/renovate)\[bot] - Update mikepenz/release-changelog-builder-action action to v5 - [#2756](https://redirect.github.com/pinterest/ktlint/pull/2756), by [@renovate](https://redirect.github.com/renovate)\[bot] - chore(deps): update plugin kotlinx-binary-compatibiltiy-validator to v0.16.3 - [#2759](https://redirect.github.com/pinterest/ktlint/pull/2759), by [@renovate](https://redirect.github.com/renovate)\[bot] - fix(deps): update dependency org.slf4j:slf4j-simple to v2.0.16 - [#2764](https://redirect.github.com/pinterest/ktlint/pull/2764), by [@renovate](https://redirect.github.com/renovate)\[bot] - Migrate to com.gradleup.shadow - [#2763](https://redirect.github.com/pinterest/ktlint/pull/2763), by [@Goooler](https://redirect.github.com/Goooler) - chore(deps): update gradle/actions action to v4 - [#2760](https://redirect.github.com/pinterest/ktlint/pull/2760), by [@renovate](https://redirect.github.com/renovate)\[bot] - chore(deps): update plugin com.gradle.develocity to v3.18.1 - [#2792](https://redirect.github.com/pinterest/ktlint/pull/2792), by [@renovate](https://redirect.github.com/renovate)\[bot] - chore(deps): update dependency gradle to v8.10.2 - [#2812](https://redirect.github.com/pinterest/ktlint/pull/2812), by [@renovate](https://redirect.github.com/renovate)\[bot] - chore(deps): update plugin shadow to v8.3.3 - [#2820](https://redirect.github.com/pinterest/ktlint/pull/2820), by [@renovate](https://redirect.github.com/renovate)\[bot] - fix(deps): update dependency com.github.ajalt.clikt:clikt to v5.0.1 - [#2828](https://redirect.github.com/pinterest/ktlint/pull/2828), by [@renovate](https://redirect.github.com/renovate)\[bot] - chore(deps): update kotlin monorepo to v2.0.21 - [#2831](https://redirect.github.com/pinterest/ktlint/pull/2831), by [@renovate](https://redirect.github.com/renovate)\[bot] - fix(deps): update dependency org.ec4j.core:ec4j-core to v1.1.0 - [#2832](https://redirect.github.com/pinterest/ktlint/pull/2832), by [@renovate](https://redirect.github.com/renovate)\[bot] - fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.0-beta2 - [#2834](https://redirect.github.com/pinterest/ktlint/pull/2834), by [@renovate](https://redirect.github.com/renovate)\[bot] - fix(deps): update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.17.2 - [#2837](https://redirect.github.com/pinterest/ktlint/pull/2837), by [@renovate](https://redirect.github.com/renovate)\[bot] - fix(deps): update dependency org.junit.jupiter:junit-jupiter to v5.11.3 - [#2840](https://redirect.github.com/pinterest/ktlint/pull/2840), by [@renovate](https://redirect.github.com/renovate)\[bot] - chore(deps): update actions/checkout digest to [`11bd719`](https://redirect.github.com/pinterest/ktlint/commit/11bd719) - [#2841](https://redirect.github.com/pinterest/ktlint/pull/2841), by [@renovate](https://redirect.github.com/renovate)\[bot]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 becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.