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

fix(deps): update dependency com.github.shyiko:ktlint to v0.36.0 #63

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Mar 26, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.github.shyiko:ktlint 0.30.0 -> 0.36.0 age adoption passing confidence

Release Notes

shyiko/ktlint (com.github.shyiko:ktlint)

v0.36.0

Compare Source

Added
  • HTML reporter (#​641)
  • Experimental rule to lint enum entry names (#​638)
  • @Suppress("RemoveCurlyBracesFromTemplate") now respected (#​263)
Upgraded
Fixed
  • .git directory now discovered instead of hardcoded (#​623)
  • Several bugs with the experimental annotation rule (#​628) (#​642) (#​654) (#​624)
  • Allow newline after lambda return type (#​643)
  • Allow empty first line in a function that returns an anonymous object (#​655)
  • Indentation with lambda argument (#​627)
  • ktlint can now lint UTF-8 files with BOM (#​630
  • Indentation with newline before return type (#​663)
  • Build/tests on Windows (#​640)
  • Allow whitespace after ( followed by a comment (#​664)

v0.35.0

Compare Source

Added
  • Support for specifying color for output via --color-name command line flag. (#​585)
  • Support for custom rulesets and providers on Java 9+ (#​573)
Deprecated
  • --apply-to-idea flag; use applyToIDEA subcommand instead (#​554)
  • --apply-to-idea-project flag; use applyToIDEAProject subcommand instead (#​593)
  • 0.0.0-SNAPSHOT builds; snapshot builds are now versioned, e.g. 0.35.0-SNAPSHOT (#​588)
    • Note: When using the new snapshot builds, you may need to add an explicit dependency on kotlin-compiler-embeddable to your ruleset project.
Removed
  • Support for loading 3rd party rulesets via Maven (#​566)
Upgraded
Fixed
  • Bugs with spacing in experimental AnnotationRule (#​552) (#​601
  • Brackets would be removed from empty companion object (#​600)
  • Bugs with experimental IndentationRule (#​597) (#​599)
  • Erroneous space between } and ] (#​596)
  • Spacing around multiplication sign in lambdas (#​598)
  • --version output with gradle-built JAR (#​613)

v0.34.2

Compare Source

Minor bugfix release for 0.34.0. (Note: 0.34.1 deprecated/deleted due to regression in disabled_flags .editorconfig support.)

Added
  • Support for globally disabling rules via --disabled_rules command line flag. (#​534)
Fixed
  • Regression with --stdin flag for printAST command (#​528)
  • Regressions with NoUnusedImports rule (#​531, #​526)
  • Indentation for enums with multi-line initializers (#​518)

v0.34.1

Compare Source

v0.34.0

Compare Source

Added
  • Support for Kotlin 1.3.41
  • Support for globally disabling rules via custom disabled_rules property in .editorconfig (#​503)
  • experimental:no-empty-first-line-in-method-block (#​474)
  • Unit tests for ruleset providers
Upgraded
  • AssertJ from 3.9.0 to 3.12.2 (#​520)
Enabled
  • Final newline by default (#​446)
  • no-wildcard-import (Re-enabled after temporarily disabling in 0.33.0)
  • experimental:annotation (#​509)
  • experimental:multiline-if-else (no autocorrection)
  • experimental:package-name (currently only disallows underscores in package names)
Deprecated
  • MavenDependencyResolver. Scheduled to be removed in 0.35.0 (#​468)
  • --install-git-pre-commit-hook flag; use installGitPreCommitHook subcommand instead (#​487)
  • --print-ast flag; use printAST subcommand instead (#​500)
Removed
  • Support for --ruleset-repository and --ruleset-update flags
Fixed
  • import-ordering will now refuse to format import lists that contain top-level comments (#​408)
  • no-unused-imports reporting false negatives or false positives in some cases (#​405) and (#​506)
  • experimental:indent incorrectly formatting a lambda's closing brace (#​479)

v0.33.0

Compare Source

Added
  • Support for Kotlin 1.3.31
Disabled
  • No wildcard imports rule (#​48). Developers wishing to still enforce this rule should add the code into a custom ruleset.
Fixed
  • Spec file parsing is now platform-agnostic (#​365)
  • Unnecessary newline after -> in some cases (#​403)
  • SpacingAroundCommaRule will no longer move code into comments
  • Made newlines after = less aggressive (#​368) (#​380)
  • Erroneous newline when parameter comments are used (#​433)

v0.32.0

Compare Source

Added
  • experimental/import-ordering rule (#​189).
    Use ktlint --experimental to enabled.
  • Support for Kotlin 1.3.30
  • Build now compatible with jitpack
  • ktlint now part of Homebrew core (shyiko/ktlint tap deprecated)
Fixed
  • Incorrectly flagging a missing newline for functions with no parameters (#​327).
  • Semicolons now allowed in KDocs (#​362).
  • Spaces now disallowed after super (#​369).
  • Annotations in function parameters now checked for indentation (#​374]
Changed
  • Code now lives in com.pinterest package
  • groupId now com.pinterest
  • Custom ruleset META-INF.services file must be renamed to com.pinterest.ktlint.core.RuleSetProvider

v0.31.0

Compare Source

Added
  • dot-spacing rule (#​293).
  • experimental/indent rule (#​338).
    Use ktlint --experimental to enable.
Fixed
  • Spacing check around < & > operators.
Changed
  • no-multi-spaces rule (horizontal alignment of comments is no longer allowed) (#​269).
  • colon-spacing rule (: must not appear at the beginning of the line).
  • package-name rule (disabled until #​208 is resolved).
  • --print-ast to output com.pinterest.ktlint.core.ast.ElementType.* as node.elementType, e.g.
$ echo 'fun f() {}' | ./ktlint/target/ktlint --print-ast --color --stdin
1: ~.psi.KtFile (FILE)
1:   ~.psi.KtPackageDirective (PACKAGE_DIRECTIVE) ""
1:   ~.psi.KtImportList (IMPORT_LIST) ""
1:   ~.psi.KtScript (SCRIPT)
1:     ~.psi.KtBlockExpression (BLOCK)
1:       ~.psi.KtNamedFunction (FUN)
1:         ~.c.i.p.impl.source.tree.LeafPsiElement (FUN_KEYWORD) "fun"
1:         ~.c.i.p.impl.source.tree.PsiWhiteSpaceImpl (WHITE_SPACE) " "
1:         ~.c.i.p.impl.source.tree.LeafPsiElement (IDENTIFIER) "f"
1:         ~.psi.KtParameterList (VALUE_PARAMETER_LIST)
1:           ~.c.i.p.impl.source.tree.LeafPsiElement (LPAR) "("
1:           ~.c.i.p.impl.source.tree.LeafPsiElement (RPAR) ")"
1:         ~.c.i.p.impl.source.tree.PsiWhiteSpaceImpl (WHITE_SPACE) " "
1:         ~.psi.KtBlockExpression (BLOCK)
1:           ~.c.i.p.impl.source.tree.LeafPsiElement (LBRACE) "{"
1:           ~.c.i.p.impl.source.tree.LeafPsiElement (RBRACE) "}"
1:       ~.c.i.p.impl.source.tree.PsiWhiteSpaceImpl (WHITE_SPACE) "\n"

   format: <line_number:> <node.psi::class> (<node.elementType>) "<node.text>"
   legend: ~ = org.jetbrains.kotlin, c.i.p = com.intellij.psi
  • kotlin-compiler version to 1.3.21 (from 1.3.20).
Removed

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-bot renovate-bot requested a review from a team as a code owner March 26, 2022 14:19
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 26, 2022
@renovate-bot renovate-bot changed the title chore(deps): update dependency com.github.shyiko:ktlint to v0.36.0 fix(deps): update dependency com.github.shyiko:ktlint to v0.36.0 Sep 25, 2022
@renovate-bot renovate-bot force-pushed the renovate/com.github.shyiko-ktlint-0.x branch from f224737 to 6715c92 Compare September 28, 2023 12:35
@renovate-bot renovate-bot changed the title fix(deps): update dependency com.github.shyiko:ktlint to v0.36.0 fix(deps): update dependency com.github.shyiko:ktlint to v0.31.0 Sep 28, 2023
@renovate-bot renovate-bot force-pushed the renovate/com.github.shyiko-ktlint-0.x branch from 6715c92 to 1f5b6f3 Compare December 3, 2023 12:50
@renovate-bot renovate-bot changed the title fix(deps): update dependency com.github.shyiko:ktlint to v0.31.0 fix(deps): update dependency com.github.shyiko:ktlint to v0.36.0 Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kokoro:force-run Add this label to force Kokoro to re-run the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant