Skip to content
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

Update dependency com.pinterest.ktlint:ktlint-rule-engine to v1 #1076

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 5, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.pinterest.ktlint:ktlint-rule-engine 0.50.0 -> 1.2.1 age adoption passing confidence

Release Notes

pinterest/ktlint (com.pinterest.ktlint:ktlint-rule-engine)

v1.2.1

Compare Source

🆕 Features

None

🔧 Fixes

v1.2.0

Compare Source

🆕 Features
  • Break dependency between string-template-indent and multiline-expression-wrapping - #​2505, by @​paul-dingemans

  • Allow string template to exceed max line length when it is the only element on a line - #​2480, by @​paul-dingemans

  • Add configuration setting for ignoring argument-list-wrapping above treshold of argument - #​2481, by @​paul-dingemans
    NOTE: In code style ktlint_official this threshold is unset so that arguments are always wrapped. If this impacts your code too much, you can make it backward compatible by setting .editorconfig property ktlint_argument_list_wrapping_ignore_when_parameter_count_greater_or_equal_than to value 8. For other code styles this property is initialized with value 8 and as of that backward compatible by default.

  • Ignore EOL comment that causes max_line_length to be exceeded, except in max-line-length rule - #​2516, by @​paul-dingemans

  • Add new rule for disallowing KDoc at non-whitelisted locations - #​2548, by @​paul-dingemans

  • Improve insert of suppression - #​2546, by @​paul-dingemans

  • Ignore modifier of backing property in android_studio code style - #​2552, by @​paul-dingemans

  • Add rule to check spacing around square brackets 'square-brackets-spacing' - #​2555, by @​paul-dingemans

  • Add rule blank-line-between-when-conditions - #​2564, by @​paul-dingemans

🔧 Fixes
📦 Dependencies
💬 Other

v1.1.1

Compare Source

🆕 Features

None

🔧 Fixes
📦 Dependencies

v1.1.0

Compare Source

🆕 Features
🔧 Fixes
📦 Dependencies

v1.0.1

Compare Source

🆕 Features
  • Add .editorconfig property ktlint_function_naming_ignore_when_annotated_with so that rule function-naming can be ignored based on annotations on that rule. See function-naming.
🔧 Fixes
📦 Dependencies
💬 Other

v1.0.0

Compare Source

💔 Breaking changes
  • Update and align Maven coordinates - #​2195, by @​paul-dingemans
    Be sure to update Maven coordinates below, to get latest changes!

    Old Maven coordinates New Maven coordinates
    com.pinterest.ktlint com.pinterest.ktlint:ktlint-cli
    com.pinterest.ktlint:ktlint-reporter-baseline com.pinterest.ktlint:ktlint-cli-reporter-baseline
    com.pinterest.ktlint:ktlint-reporter-checkstyle com.pinterest.ktlint:ktlint-cli-reporter-checkstyle
    com.pinterest.ktlint:ktlint-cli-reporter com.pinterest.ktlint:ktlint-cli-reporter-core
    com.pinterest.ktlint:ktlint-reporter-format com.pinterest.ktlint:ktlint-cli-reporter-format
    com.pinterest.ktlint:ktlint-reporter-html com.pinterest.ktlint:ktlint-cli-reporter-html
    com.pinterest.ktlint:ktlint-reporter-json com.pinterest.ktlint:ktlint-cli-reporter-json
    com.pinterest.ktlint:ktlint-reporter-plain com.pinterest.ktlint:ktlint-cli-reporter-plain
    com.pinterest.ktlint:ktlint-reporter-plain-summary com.pinterest.ktlint:ktlint-cli-reporter-plain-summary
    com.pinterest.ktlint:ktlint-reporter-sarif com.pinterest.ktlint:ktlint-cli-reporter-sarif
  • Add binary compatibility validator - #​2131, by @​mateuszkwiecinski

  • Replace kotlin public data classes with Poko compiler plugin generated ones - #​2136, by @​mateuszkwiecinski
    As a part of public API stabilization, data classes are no longer used in the public API. As of that, functions like copy() or componentN() (used for destructuring declarations) are not available anymore.

  • Promote experimental rules - #​2218, by @​paul-dingemans
    The rules below have been promoted to non-experimental rules:

  • Fix statement-wrapping and align rule classes - #​2178, by @​paul-dingemans
    Rule class MultilineExpressionWrapping has been renamed to MultilineExpressionWrappingRule. Rule class StatementWrapping has been renamed to StatementWrappingRule. RULE_ID constants below are moved to a different Java class at compile time. Each rule provided by Ktlint is to be accompanied by a RULE_ID constant that can be used in the VisitorModifier.RunAfter. Filenames did not comply with standard that it should end with Rule suffix.

    RULE ID Old Java class name New Java class name
    FUNCTION_EXPRESSION_BODY_RULE_ID FunctionExpressionBodyKt FunctionExpressionBodyRuleKt
    FUNCTION_LITERAL_RULE_ID FunctionLiteralKt FunctionLiteralRuleKt
    MULTILINE_EXPRESSION_WRAPPING_RULE_ID MultilineExpressionWrappingKt MultilineExpressionWrappingRuleKt
    NO_BLANK_LINE_IN_LIST_RULE_ID NoBlankLineInListKt NoBlankLineInListRuleKt
    NO_EMPTY_FILE_RULE_ID (not applicable) NoEmptyFileRuleKt
  • Update to Kotlin 1.9 & remove TreeCopyHandler extension - #​2113, by @​paul-dingemans
    Class org.jetbrains.kotlin.com.intellij.treeCopyHandler is no longer registered as extension point for the compiler as this is not supported in Kotlin 1.9. Please test your custom rules. In case of unexpected exceptions during formatting of code, see #​2044 for possible remediation.

🆕 Features
  • Change default code style to ktlint_official - #​2144, by @​paul-dingemans

  • Add new experimental rule class-signature - #​2119, by @​paul-dingemans

  • Add new experimental rule function-expression-body - #​2151, by @​paul-dingemans

  • Add new experimental rule chain-method-continuation - #​2088, by @​atulgpt

  • Add new experimental rule function-literal - #​2137, by @​paul-dingemans

  • Add new experimental rule function-type-modifier-spacing rule - #​2216, by @​t-kameyama

  • Define EditorConfigOverride for dynamically loaded ruleset - #​2194, by @​paul-dingemans
    The EditorConfigOverride parameter of the KtlintRuleEngine can be defined using the factory method EditorConfigOverride.from(vararg properties: Pair<EditorConfigProperty<*>, *>). This requires the EditorConfigProperty's to be available at compile time. Some common EditorConfigProperty's are defined in ktlint-rule-engine-core which is loaded as transitive dependency of ktlint-rule-engine and as of that are available at compile.
    If an EditorConfigProperty is defined in a Rule that is only provided via a runtime dependency, it gets a bit more complicated. The ktlint-api-consumer example has now been updated to show how the EditorConfigProperty can be retrieved from the Rule.

  • Move wrapping on semicolon from wrapping rule to statement-wrapping rule - #​2222, 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 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/major-ktlint branch 6 times, most recently from 1ac42e5 to 4772c44 Compare September 8, 2023 16:38
@renovate renovate bot force-pushed the renovate/major-ktlint branch 6 times, most recently from 8f08b47 to c8b0b15 Compare September 19, 2023 20:23
@renovate renovate bot force-pushed the renovate/major-ktlint branch 5 times, most recently from 2420c62 to 29e6084 Compare September 28, 2023 18:03
@renovate renovate bot force-pushed the renovate/major-ktlint branch 4 times, most recently from ea442aa to f59ff81 Compare October 8, 2023 02:45
@renovate renovate bot force-pushed the renovate/major-ktlint branch 6 times, most recently from 03b0959 to 3fd457b Compare October 18, 2023 18:57
@renovate renovate bot force-pushed the renovate/major-ktlint branch 2 times, most recently from 030dfaa to 0e3cb40 Compare December 9, 2023 16:46
@renovate renovate bot force-pushed the renovate/major-ktlint branch 5 times, most recently from dd408e4 to bdbc094 Compare April 17, 2024 16:13
@renovate renovate bot force-pushed the renovate/major-ktlint branch 5 times, most recently from 7d7f785 to 9896c02 Compare April 25, 2024 11:00
@renovate renovate bot force-pushed the renovate/major-ktlint branch 12 times, most recently from 0da003a to 61aa318 Compare May 2, 2024 22:51
@renovate renovate bot force-pushed the renovate/major-ktlint branch from 61aa318 to b4a2cf2 Compare May 3, 2024 22:16
@renovate renovate bot force-pushed the renovate/major-ktlint branch 2 times, most recently from 47c074e to abcf7df Compare May 4, 2024 21:40
@renovate renovate bot force-pushed the renovate/major-ktlint branch from abcf7df to ca15841 Compare May 5, 2024 00:34
@jrodbx jrodbx closed this in #1409 May 5, 2024
@renovate renovate bot deleted the renovate/major-ktlint branch May 5, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants