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

Bump VER_KTLINT from 0.43.2 to 0.45.2 #1177

Merged
merged 5 commits into from Apr 22, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 22, 2022

Bumps VER_KTLINT from 0.43.2 to 0.45.2.
Updates ktlint from 0.43.2 to 0.45.2

Release notes

Sourced from ktlint's releases.

0.45.2

[0.45.2] - 2022-04-06

Fixed

Changed

  • Set Kotlin development version to 1.6.20 and Kotlin version to 1.6.20.

0.45.1

[0.45.1] - 2022-03-21

Minor release to fix a breaking issue with ktlint API consumers

Fixed

  • Remove logback dependency from ktlint-core module (#1421)

0.45.0

[0.45.0] - 2022-03-18

API Changes & RuleSet providers

If you are not an API user nor a RuleSet provider, then you can safely skip this section. Otherwise, please read below carefully and upgrade your usage of ktlint. In this and coming releases, we are changing and adapting important parts of our API in order to increase maintainability and flexibility for future changes. Please avoid skipping a releases as that will make it harder to migrate.

Retrieving ".editorconfig" property value

This section is applicable when providing rules that depend on one or more values of ".editorconfig" properties. Property values should no longer be retrieved via EditConfig or directly via userData[EDITOR_CONFIG_USER_DATA_KEY]. Property values should now only be retrieved using method ASTNode.getEditorConfigValue(editorConfigProperty) of interface UsesEditorConfigProperties which is provided in this release. Starting from next release after the current release, the EditConfig and/or userData[EDITOR_CONFIG_USER_DATA_KEY] may be removed without further notice which will break your API or rule. To prevent disruption of your end user, you should migrate a.s.a.p.

Added

  • Add experimental rule for unexpected spaces in a type reference before a function identifier (function-type-reference-spacing) (#1341)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Add experimental rule to detect discouraged comment locations (discouraged-comment-location) (#1365)
  • Add rule to check spacing after fun keyword (fun-keyword-spacing) (#1362)
  • Add experimental rules for unnecessary spacing between modifiers in and after the last modifier in a modifier list (#1361)
  • New experimental rule for aligning the initial stars in a block comment when present (experimental:block-comment-initial-star-alignment (#297)
  • Respect .editorconfig property ij_kotlin_packages_to_use_import_on_demand (no-wildcard-imports) (#1272)
  • Add new experimental rules for wrapping of block comment (comment-wrapping) (#1403)
  • Add new experimental rules for wrapping of KDoc comment (kdoc-wrapping) (#1403)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Expand check task to run tests on JDK 17 - "testOnJdk17"

Fixed

  • Fix lint message to "Unnecessary long whitespace" (no-multi-spaces) (#1394)
  • Do not remove trailing comma after a parameter of type array in an annotation (experimental:trailing-comma) (#1379)
  • Do not delete blank lines in KDoc (no-trailing-spaces) (#1376)
  • Do not indent raw string literals that are not followed by either trimIndent() or trimMargin() (indent) (#1375)
  • Revert remove unnecessary wildcard imports as introduced in Ktlint 0.43.0 (no-unused-imports) (#1277), (#1393), (#1256)
  • (Possibly) resolve memory leak (#1216)
  • Initialize loglevel in Main class after parsing the CLI parameters (#1412)

... (truncated)

Changelog

Sourced from ktlint's changelog.

[0.45.2] - 2022-04-06

Fixed

Changed

  • Set Kotlin development version to 1.6.20 and Kotlin version to 1.6.20.

[0.45.1] - 2022-03-21

Minor release to fix a breaking issue with ktlint API consumers

Fixed

  • Remove logback dependency from ktlint-core module (#1421)

[0.45.0] - 2022-03-18

API Changes & RuleSet providers

If you are not an API user nor a RuleSet provider, then you can safely skip this section. Otherwise, please read below carefully and upgrade your usage of ktlint. In this and coming releases, we are changing and adapting important parts of our API in order to increase maintainability and flexibility for future changes. Please avoid skipping a releases as that will make it harder to migrate.

Retrieving ".editorconfig" property value

This section is applicable when providing rules that depend on one or more values of ".editorconfig" properties. Property values should no longer be retrieved via EditConfig or directly via userData[EDITOR_CONFIG_USER_DATA_KEY]. Property values should now only be retrieved using method ASTNode.getEditorConfigValue(editorConfigProperty) of interface UsesEditorConfigProperties which is provided in this release. Starting from next release after the current release, the EditConfig and/or userData[EDITOR_CONFIG_USER_DATA_KEY] may be removed without further notice which will break your API or rule. To prevent disruption of your end user, you should migrate a.s.a.p.

Added

  • Add experimental rule for unexpected spaces in a type reference before a function identifier (function-type-reference-spacing) (#1341)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Add experimental rule to detect discouraged comment locations (discouraged-comment-location) (#1365)
  • Add rule to check spacing after fun keyword (fun-keyword-spacing) (#1362)
  • Add experimental rules for unnecessary spacing between modifiers in and after the last modifier in a modifier list (#1361)
  • New experimental rule for aligning the initial stars in a block comment when present (experimental:block-comment-initial-star-alignment (#297)
  • Respect .editorconfig property ij_kotlin_packages_to_use_import_on_demand (no-wildcard-imports) (#1272)
  • Add new experimental rules for wrapping of block comment (comment-wrapping) (#1403)
  • Add new experimental rules for wrapping of KDoc comment (kdoc-wrapping) (#1403)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Expand check task to run tests on JDK 17 - "testOnJdk17"

Fixed

  • Fix lint message to "Unnecessary long whitespace" (no-multi-spaces) (#1394)
  • Do not remove trailing comma after a parameter of type array in an annotation (experimental:trailing-comma) (#1379)
  • Do not delete blank lines in KDoc (no-trailing-spaces) (#1376)
  • Do not indent raw string literals that are not followed by either trimIndent() or trimMargin() (indent) (#1375)
  • Revert remove unnecessary wildcard imports as introduced in Ktlint 0.43.0 (no-unused-imports) (#1277), (#1393), (#1256)
  • (Possibly) resolve memory leak (#1216)
  • Initialize loglevel in Main class after parsing the CLI parameters (#1412)

Changed

  • Print the rule id always in the PlainReporter (#1121)
  • All wrapping logic is moved from the indent rule to the new rule wrapping (as part of the standard ruleset). In case you currently have disabled the indent rule, you may want to reconsider whether this is still necessary or that you also want to disable the new wrapping rule to keep the status quo. Both rules can be run independent of each other. (#835)

... (truncated)

Commits

Updates ktlint-core from 0.43.2 to 0.45.2

Release notes

Sourced from ktlint-core's releases.

0.45.2

[0.45.2] - 2022-04-06

Fixed

Changed

  • Set Kotlin development version to 1.6.20 and Kotlin version to 1.6.20.

0.45.1

[0.45.1] - 2022-03-21

Minor release to fix a breaking issue with ktlint API consumers

Fixed

  • Remove logback dependency from ktlint-core module (#1421)

0.45.0

[0.45.0] - 2022-03-18

API Changes & RuleSet providers

If you are not an API user nor a RuleSet provider, then you can safely skip this section. Otherwise, please read below carefully and upgrade your usage of ktlint. In this and coming releases, we are changing and adapting important parts of our API in order to increase maintainability and flexibility for future changes. Please avoid skipping a releases as that will make it harder to migrate.

Retrieving ".editorconfig" property value

This section is applicable when providing rules that depend on one or more values of ".editorconfig" properties. Property values should no longer be retrieved via EditConfig or directly via userData[EDITOR_CONFIG_USER_DATA_KEY]. Property values should now only be retrieved using method ASTNode.getEditorConfigValue(editorConfigProperty) of interface UsesEditorConfigProperties which is provided in this release. Starting from next release after the current release, the EditConfig and/or userData[EDITOR_CONFIG_USER_DATA_KEY] may be removed without further notice which will break your API or rule. To prevent disruption of your end user, you should migrate a.s.a.p.

Added

  • Add experimental rule for unexpected spaces in a type reference before a function identifier (function-type-reference-spacing) (#1341)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Add experimental rule to detect discouraged comment locations (discouraged-comment-location) (#1365)
  • Add rule to check spacing after fun keyword (fun-keyword-spacing) (#1362)
  • Add experimental rules for unnecessary spacing between modifiers in and after the last modifier in a modifier list (#1361)
  • New experimental rule for aligning the initial stars in a block comment when present (experimental:block-comment-initial-star-alignment (#297)
  • Respect .editorconfig property ij_kotlin_packages_to_use_import_on_demand (no-wildcard-imports) (#1272)
  • Add new experimental rules for wrapping of block comment (comment-wrapping) (#1403)
  • Add new experimental rules for wrapping of KDoc comment (kdoc-wrapping) (#1403)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Expand check task to run tests on JDK 17 - "testOnJdk17"

Fixed

  • Fix lint message to "Unnecessary long whitespace" (no-multi-spaces) (#1394)
  • Do not remove trailing comma after a parameter of type array in an annotation (experimental:trailing-comma) (#1379)
  • Do not delete blank lines in KDoc (no-trailing-spaces) (#1376)
  • Do not indent raw string literals that are not followed by either trimIndent() or trimMargin() (indent) (#1375)
  • Revert remove unnecessary wildcard imports as introduced in Ktlint 0.43.0 (no-unused-imports) (#1277), (#1393), (#1256)
  • (Possibly) resolve memory leak (#1216)
  • Initialize loglevel in Main class after parsing the CLI parameters (#1412)

... (truncated)

Changelog

Sourced from ktlint-core's changelog.

[0.45.2] - 2022-04-06

Fixed

Changed

  • Set Kotlin development version to 1.6.20 and Kotlin version to 1.6.20.

[0.45.1] - 2022-03-21

Minor release to fix a breaking issue with ktlint API consumers

Fixed

  • Remove logback dependency from ktlint-core module (#1421)

[0.45.0] - 2022-03-18

API Changes & RuleSet providers

If you are not an API user nor a RuleSet provider, then you can safely skip this section. Otherwise, please read below carefully and upgrade your usage of ktlint. In this and coming releases, we are changing and adapting important parts of our API in order to increase maintainability and flexibility for future changes. Please avoid skipping a releases as that will make it harder to migrate.

Retrieving ".editorconfig" property value

This section is applicable when providing rules that depend on one or more values of ".editorconfig" properties. Property values should no longer be retrieved via EditConfig or directly via userData[EDITOR_CONFIG_USER_DATA_KEY]. Property values should now only be retrieved using method ASTNode.getEditorConfigValue(editorConfigProperty) of interface UsesEditorConfigProperties which is provided in this release. Starting from next release after the current release, the EditConfig and/or userData[EDITOR_CONFIG_USER_DATA_KEY] may be removed without further notice which will break your API or rule. To prevent disruption of your end user, you should migrate a.s.a.p.

Added

  • Add experimental rule for unexpected spaces in a type reference before a function identifier (function-type-reference-spacing) (#1341)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Add experimental rule to detect discouraged comment locations (discouraged-comment-location) (#1365)
  • Add rule to check spacing after fun keyword (fun-keyword-spacing) (#1362)
  • Add experimental rules for unnecessary spacing between modifiers in and after the last modifier in a modifier list (#1361)
  • New experimental rule for aligning the initial stars in a block comment when present (experimental:block-comment-initial-star-alignment (#297)
  • Respect .editorconfig property ij_kotlin_packages_to_use_import_on_demand (no-wildcard-imports) (#1272)
  • Add new experimental rules for wrapping of block comment (comment-wrapping) (#1403)
  • Add new experimental rules for wrapping of KDoc comment (kdoc-wrapping) (#1403)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Expand check task to run tests on JDK 17 - "testOnJdk17"

Fixed

  • Fix lint message to "Unnecessary long whitespace" (no-multi-spaces) (#1394)
  • Do not remove trailing comma after a parameter of type array in an annotation (experimental:trailing-comma) (#1379)
  • Do not delete blank lines in KDoc (no-trailing-spaces) (#1376)
  • Do not indent raw string literals that are not followed by either trimIndent() or trimMargin() (indent) (#1375)
  • Revert remove unnecessary wildcard imports as introduced in Ktlint 0.43.0 (no-unused-imports) (#1277), (#1393), (#1256)
  • (Possibly) resolve memory leak (#1216)
  • Initialize loglevel in Main class after parsing the CLI parameters (#1412)

Changed

  • Print the rule id always in the PlainReporter (#1121)
  • All wrapping logic is moved from the indent rule to the new rule wrapping (as part of the standard ruleset). In case you currently have disabled the indent rule, you may want to reconsider whether this is still necessary or that you also want to disable the new wrapping rule to keep the status quo. Both rules can be run independent of each other. (#835)

... (truncated)

Commits

Updates ktlint-ruleset-experimental from 0.43.2 to 0.45.2

Release notes

Sourced from ktlint-ruleset-experimental's releases.

0.45.2

[0.45.2] - 2022-04-06

Fixed

Changed

  • Set Kotlin development version to 1.6.20 and Kotlin version to 1.6.20.

0.45.1

[0.45.1] - 2022-03-21

Minor release to fix a breaking issue with ktlint API consumers

Fixed

  • Remove logback dependency from ktlint-core module (#1421)

0.45.0

[0.45.0] - 2022-03-18

API Changes & RuleSet providers

If you are not an API user nor a RuleSet provider, then you can safely skip this section. Otherwise, please read below carefully and upgrade your usage of ktlint. In this and coming releases, we are changing and adapting important parts of our API in order to increase maintainability and flexibility for future changes. Please avoid skipping a releases as that will make it harder to migrate.

Retrieving ".editorconfig" property value

This section is applicable when providing rules that depend on one or more values of ".editorconfig" properties. Property values should no longer be retrieved via EditConfig or directly via userData[EDITOR_CONFIG_USER_DATA_KEY]. Property values should now only be retrieved using method ASTNode.getEditorConfigValue(editorConfigProperty) of interface UsesEditorConfigProperties which is provided in this release. Starting from next release after the current release, the EditConfig and/or userData[EDITOR_CONFIG_USER_DATA_KEY] may be removed without further notice which will break your API or rule. To prevent disruption of your end user, you should migrate a.s.a.p.

Added

  • Add experimental rule for unexpected spaces in a type reference before a function identifier (function-type-reference-spacing) (#1341)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Add experimental rule to detect discouraged comment locations (discouraged-comment-location) (#1365)
  • Add rule to check spacing after fun keyword (fun-keyword-spacing) (#1362)
  • Add experimental rules for unnecessary spacing between modifiers in and after the last modifier in a modifier list (#1361)
  • New experimental rule for aligning the initial stars in a block comment when present (experimental:block-comment-initial-star-alignment (#297)
  • Respect .editorconfig property ij_kotlin_packages_to_use_import_on_demand (no-wildcard-imports) (#1272)
  • Add new experimental rules for wrapping of block comment (comment-wrapping) (#1403)
  • Add new experimental rules for wrapping of KDoc comment (kdoc-wrapping) (#1403)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Expand check task to run tests on JDK 17 - "testOnJdk17"

Fixed

  • Fix lint message to "Unnecessary long whitespace" (no-multi-spaces) (#1394)
  • Do not remove trailing comma after a parameter of type array in an annotation (experimental:trailing-comma) (#1379)
  • Do not delete blank lines in KDoc (no-trailing-spaces) (#1376)
  • Do not indent raw string literals that are not followed by either trimIndent() or trimMargin() (indent) (#1375)
  • Revert remove unnecessary wildcard imports as introduced in Ktlint 0.43.0 (no-unused-imports) (#1277), (#1393), (#1256)
  • (Possibly) resolve memory leak (#1216)
  • Initialize loglevel in Main class after parsing the CLI parameters (#1412)

... (truncated)

Changelog

Sourced from ktlint-ruleset-experimental's changelog.

[0.45.2] - 2022-04-06

Fixed

Changed

  • Set Kotlin development version to 1.6.20 and Kotlin version to 1.6.20.

[0.45.1] - 2022-03-21

Minor release to fix a breaking issue with ktlint API consumers

Fixed

  • Remove logback dependency from ktlint-core module (#1421)

[0.45.0] - 2022-03-18

API Changes & RuleSet providers

If you are not an API user nor a RuleSet provider, then you can safely skip this section. Otherwise, please read below carefully and upgrade your usage of ktlint. In this and coming releases, we are changing and adapting important parts of our API in order to increase maintainability and flexibility for future changes. Please avoid skipping a releases as that will make it harder to migrate.

Retrieving ".editorconfig" property value

This section is applicable when providing rules that depend on one or more values of ".editorconfig" properties. Property values should no longer be retrieved via EditConfig or directly via userData[EDITOR_CONFIG_USER_DATA_KEY]. Property values should now only be retrieved using method ASTNode.getEditorConfigValue(editorConfigProperty) of interface UsesEditorConfigProperties which is provided in this release. Starting from next release after the current release, the EditConfig and/or userData[EDITOR_CONFIG_USER_DATA_KEY] may be removed without further notice which will break your API or rule. To prevent disruption of your end user, you should migrate a.s.a.p.

Added

  • Add experimental rule for unexpected spaces in a type reference before a function identifier (function-type-reference-spacing) (#1341)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Add experimental rule to detect discouraged comment locations (discouraged-comment-location) (#1365)
  • Add rule to check spacing after fun keyword (fun-keyword-spacing) (#1362)
  • Add experimental rules for unnecessary spacing between modifiers in and after the last modifier in a modifier list (#1361)
  • New experimental rule for aligning the initial stars in a block comment when present (experimental:block-comment-initial-star-alignment (#297)
  • Respect .editorconfig property ij_kotlin_packages_to_use_import_on_demand (no-wildcard-imports) (#1272)
  • Add new experimental rules for wrapping of block comment (comment-wrapping) (#1403)
  • Add new experimental rules for wrapping of KDoc comment (kdoc-wrapping) (#1403)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Expand check task to run tests on JDK 17 - "testOnJdk17"

Fixed

  • Fix lint message to "Unnecessary long whitespace" (no-multi-spaces) (#1394)
  • Do not remove trailing comma after a parameter of type array in an annotation (experimental:trailing-comma) (#1379)
  • Do not delete blank lines in KDoc (no-trailing-spaces) (#1376)
  • Do not indent raw string literals that are not followed by either trimIndent() or trimMargin() (indent) (#1375)
  • Revert remove unnecessary wildcard imports as introduced in Ktlint 0.43.0 (no-unused-imports) (#1277), (#1393), (#1256)
  • (Possibly) resolve memory leak (#1216)
  • Initialize loglevel in Main class after parsing the CLI parameters (#1412)

Changed

  • Print the rule id always in the PlainReporter (#1121)
  • All wrapping logic is moved from the indent rule to the new rule wrapping (as part of the standard ruleset). In case you currently have disabled the indent rule, you may want to reconsider whether this is still necessary or that you also want to disable the new wrapping rule to keep the status quo. Both rules can be run independent of each other. (#835)

... (truncated)

Commits

Updates ktlint-ruleset-standard from 0.43.2 to 0.45.2

Release notes

Sourced from ktlint-ruleset-standard's releases.

0.45.2

[0.45.2] - 2022-04-06

Fixed

Changed

  • Set Kotlin development version to 1.6.20 and Kotlin version to 1.6.20.

0.45.1

[0.45.1] - 2022-03-21

Minor release to fix a breaking issue with ktlint API consumers

Fixed

  • Remove logback dependency from ktlint-core module (#1421)

0.45.0

[0.45.0] - 2022-03-18

API Changes & RuleSet providers

If you are not an API user nor a RuleSet provider, then you can safely skip this section. Otherwise, please read below carefully and upgrade your usage of ktlint. In this and coming releases, we are changing and adapting important parts of our API in order to increase maintainability and flexibility for future changes. Please avoid skipping a releases as that will make it harder to migrate.

Retrieving ".editorconfig" property value

This section is applicable when providing rules that depend on one or more values of ".editorconfig" properties. Property values should no longer be retrieved via EditConfig or directly via userData[EDITOR_CONFIG_USER_DATA_KEY]. Property values should now only be retrieved using method ASTNode.getEditorConfigValue(editorConfigProperty) of interface UsesEditorConfigProperties which is provided in this release. Starting from next release after the current release, the EditConfig and/or userData[EDITOR_CONFIG_USER_DATA_KEY] may be removed without further notice which will break your API or rule. To prevent disruption of your end user, you should migrate a.s.a.p.

Added

  • Add experimental rule for unexpected spaces in a type reference before a function identifier (function-type-reference-spacing) (#1341)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Add experimental rule to detect discouraged comment locations (discouraged-comment-location) (#1365)
  • Add rule to check spacing after fun keyword (fun-keyword-spacing) (#1362)
  • Add experimental rules for unnecessary spacing between modifiers in and after the last modifier in a modifier list (#1361)
  • New experimental rule for aligning the initial stars in a block comment when present (experimental:block-comment-initial-star-alignment (#297)
  • Respect .editorconfig property ij_kotlin_packages_to_use_import_on_demand (no-wildcard-imports) (#1272)
  • Add new experimental rules for wrapping of block comment (comment-wrapping) (#1403)
  • Add new experimental rules for wrapping of KDoc comment (kdoc-wrapping) (#1403)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Expand check task to run tests on JDK 17 - "testOnJdk17"

Fixed

  • Fix lint message to "Unnecessary long whitespace" (no-multi-spaces) (#1394)
  • Do not remove trailing comma after a parameter of type array in an annotation (experimental:trailing-comma) (#1379)
  • Do not delete blank lines in KDoc (no-trailing-spaces) (#1376)
  • Do not indent raw string literals that are not followed by either trimIndent() or trimMargin() (indent) (#1375)
  • Revert remove unnecessary wildcard imports as introduced in Ktlint 0.43.0 (no-unused-imports) (#1277), (#1393), (#1256)
  • (Possibly) resolve memory leak (#1216)
  • Initialize loglevel in Main class after parsing the CLI parameters (#1412)

... (truncated)

Changelog

Sourced from ktlint-ruleset-standard's changelog.

[0.45.2] - 2022-04-06

Fixed

Changed

  • Set Kotlin development version to 1.6.20 and Kotlin version to 1.6.20.

[0.45.1] - 2022-03-21

Minor release to fix a breaking issue with ktlint API consumers

Fixed

  • Remove logback dependency from ktlint-core module (#1421)

[0.45.0] - 2022-03-18

API Changes & RuleSet providers

If you are not an API user nor a RuleSet provider, then you can safely skip this section. Otherwise, please read below carefully and upgrade your usage of ktlint. In this and coming releases, we are changing and adapting important parts of our API in order to increase maintainability and flexibility for future changes. Please avoid skipping a releases as that will make it harder to migrate.

Retrieving ".editorconfig" property value

This section is applicable when providing rules that depend on one or more values of ".editorconfig" properties. Property values should no longer be retrieved via EditConfig or directly via userData[EDITOR_CONFIG_USER_DATA_KEY]. Property values should now only be retrieved using method ASTNode.getEditorConfigValue(editorConfigProperty) of interface UsesEditorConfigProperties which is provided in this release. Starting from next release after the current release, the EditConfig and/or userData[EDITOR_CONFIG_USER_DATA_KEY] may be removed without further notice which will break your API or rule. To prevent disruption of your end user, you should migrate a.s.a.p.

Added

  • Add experimental rule for unexpected spaces in a type reference before a function identifier (function-type-reference-spacing) (#1341)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Add experimental rule to detect discouraged comment locations (discouraged-comment-location) (#1365)
  • Add rule to check spacing after fun keyword (fun-keyword-spacing) (#1362)
  • Add experimental rules for unnecessary spacing between modifiers in and after the last modifier in a modifier list (#1361)
  • New experimental rule for aligning the initial stars in a block comment when present (experimental:block-comment-initial-star-alignment (#297)
  • Respect .editorconfig property ij_kotlin_packages_to_use_import_on_demand (no-wildcard-imports) (#1272)
  • Add new experimental rules for wrapping of block comment (comment-wrapping) (#1403)
  • Add new experimental rules for wrapping of KDoc comment (kdoc-wrapping) (#1403)
  • Add experimental rule for incorrect spacing after a type parameter list (type-parameter-list-spacing) (#1366)
  • Expand check task to run tests on JDK 17 - "testOnJdk17"

Fixed

  • Fix lint message to "Unnecessary long whitespace" (no-multi-spaces) (#1394)
  • Do not remove trailing comma after a parameter of type array in an annotation (experimental:trailing-comma) (#1379)
  • Do not delete blank lines in KDoc (no-trailing-spaces) (#1376)
  • Do not indent raw string literals that are not followed by either trimIndent() or trimMargin() (indent) (#1375)
  • Revert remove unnecessary wildcard imports as introduced in Ktlint 0.43.0 (no-unused-imports) (#1277), (#1393), (#1256)
  • (Possibly) resolve memory leak (#1216)
  • Initialize loglevel in Main class after parsing the CLI parameters (#1412)

Changed

  • Print the rule id always in the PlainReporter (#1121)
  • All wrapping logic is moved from the indent rule to the new rule wrapping (as part of the standard ruleset). In case you currently have disabled the indent rule, you may want to reconsider whether this is still necessary or that you also want to disable the new wrapping rule to keep the status quo. Both rules can be run independent of each other. (#835)

... (truncated)

Commits

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 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 `VER_KTLINT` from 0.43.2 to 0.45.2.

Updates `ktlint` from 0.43.2 to 0.45.2
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](pinterest/ktlint@0.43.2...0.45.2)

Updates `ktlint-core` from 0.43.2 to 0.45.2
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](pinterest/ktlint@0.43.2...0.45.2)

Updates `ktlint-ruleset-experimental` from 0.43.2 to 0.45.2
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](pinterest/ktlint@0.43.2...0.45.2)

Updates `ktlint-ruleset-standard` from 0.43.2 to 0.45.2
- [Release notes](https://github.com/pinterest/ktlint/releases)
- [Changelog](https://github.com/pinterest/ktlint/blob/master/CHANGELOG.md)
- [Commits](pinterest/ktlint@0.43.2...0.45.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Apr 22, 2022
@nedtwigg nedtwigg changed the base branch from main to dependabot/gradle/com.facebook-ktfmt-0.35 April 22, 2022 07:21
Base automatically changed from dependabot/gradle/com.facebook-ktfmt-0.35 to main April 22, 2022 07:39
@nedtwigg nedtwigg enabled auto-merge April 22, 2022 14:18
@nedtwigg nedtwigg disabled auto-merge April 22, 2022 14:32
@nedtwigg nedtwigg merged commit 017ec24 into main Apr 22, 2022
@nedtwigg nedtwigg deleted the dependabot/gradle/VER_KTLINT-0.45.2 branch April 22, 2022 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant