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 detekt.version from 1.19.0 to 1.20.0 #145

Merged
merged 1 commit into from
Apr 15, 2022

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps detekt.version from 1.19.0 to 1.20.0.
Updates detekt-tooling from 1.19.0 to 1.20.0

Release notes

Sourced from detekt-tooling's releases.

v1.20.0-RC2 - 2022-03-31

Notable Changes

  • Thanks to our sponsors ❤️, we were able to buy a domain and move our website to https://detekt.dev/.
  • With this Detekt versions, rule authors can define the default configuration for their custom rules. This default configuration will be merged together with the user configuration and can be overridden by the user if they wish. More on this here #4315. The formatting ruleset provided by Detekt is updated to use this new mechanism - #4352
  • We've added 16 new rules:
    • UnnecessaryInnerClass - #4394
    • CanBeNonNullableProperty - #4379
    • NullCheckOnMutableProperty - #4353
    • SuspendFunWithCoroutineScopeReceiver - #4616
    • ElseCaseInsteadOfExhaustiveWhen - #4632
    • TrailingComma - From KtLint - #4227
    • UnnecessaryParenthesesBeforeTrailingLambda - From KtLint - #4630
    • BlockCommentInitialStarAlignment - From KtLint - #4645
    • CommentWrapping - From KtLint - #4645
    • DiscouragedCommentLocation - From KtLint - #4645
    • FunKeywordSpacing - From KtLint - #4645
    • FunctionTypeReferenceSpacing - From KtLint - #4645
    • KdocWrapping - From KtLint - #4645
    • ModifierListSpacing - From KtLint - #4645
    • TypeArgumentListSpacing - From KtLint - #4645
    • Wrapping - From KtLint - #4645
  • We've made several improvements to the console reporting:
    • The HTML report has now a better CSS styling - #4447
    • The default reporting format is now LiteFindingsReport (which is more compact reporting and similar to other tools in the ecosystem. You can see an example here) - #4449.
    • We've added issue details to findings on FindingsReport and FileBasedFindingsReporter - #4464
    • We suppressed several warnings reported when running with type resolution - #4423
  • We fixed a regression introduced in 1.19.0 for users using ignoreAnnotated running without type resolution - #4570
  • For rules like ForbiddenMethod where you can specify a method name in the config file, now we added support for:
    • Matching functions with generics - #4460
    • Matching extension functions - #4459
  • We've fixed a security vulnerability related to XML parsing - #4499
  • We've changed the behavior of the baseline task. Now the baseline is always update, even if you fixed all the issues in your codebase - #4445
  • We now enable the naming ruleset by default also on tests. Previously they were excluded - #4438
  • This version of Detekt is built with Gradle v7.4.1, AGP 7.1.1 and Kotlin 1.6.10 (see #4530 #4573 #4133 #4277)
  • This version of Detekt is wrapping KtLint version 0.45.1 (see #4227 - #4630 - #4645)
  • For contributors: we migrated most of our tests from Spek to JUnit due to better support and tooling.

Changelog

  • Add ignoreOverridden support for BooleanPropertyNaming rule - #4654
  • Fix regression generating configuration - #4646
  • Fix concurrency issue when creating PomModel (#4609) - #4631
  • UnnecessaryAbstractClass: fix false positive when the abstract class has properties in the primary constructor - #4628
  • Properly set toolVersion on DetektExtension - #4623
  • NamedArguments: Ignore when argument values are the same as the parameter name - #4613
  • Parallel invocation of AnalysisFacade fails spuriously in 1.20.0-RC1 - #4609
  • NoSuchElementException after updating to 1.20.0-RC1 - #4604
  • Better error classification in Gradle Enterprise. - #4586

... (truncated)

Commits

Updates detekt-cli from 1.19.0 to 1.20.0

Release notes

Sourced from detekt-cli's releases.

v1.20.0-RC2 - 2022-03-31

Notable Changes

  • Thanks to our sponsors ❤️, we were able to buy a domain and move our website to https://detekt.dev/.
  • With this Detekt versions, rule authors can define the default configuration for their custom rules. This default configuration will be merged together with the user configuration and can be overridden by the user if they wish. More on this here #4315. The formatting ruleset provided by Detekt is updated to use this new mechanism - #4352
  • We've added 16 new rules:
    • UnnecessaryInnerClass - #4394
    • CanBeNonNullableProperty - #4379
    • NullCheckOnMutableProperty - #4353
    • SuspendFunWithCoroutineScopeReceiver - #4616
    • ElseCaseInsteadOfExhaustiveWhen - #4632
    • TrailingComma - From KtLint - #4227
    • UnnecessaryParenthesesBeforeTrailingLambda - From KtLint - #4630
    • BlockCommentInitialStarAlignment - From KtLint - #4645
    • CommentWrapping - From KtLint - #4645
    • DiscouragedCommentLocation - From KtLint - #4645
    • FunKeywordSpacing - From KtLint - #4645
    • FunctionTypeReferenceSpacing - From KtLint - #4645
    • KdocWrapping - From KtLint - #4645
    • ModifierListSpacing - From KtLint - #4645
    • TypeArgumentListSpacing - From KtLint - #4645
    • Wrapping - From KtLint - #4645
  • We've made several improvements to the console reporting:
    • The HTML report has now a better CSS styling - #4447
    • The default reporting format is now LiteFindingsReport (which is more compact reporting and similar to other tools in the ecosystem. You can see an example here) - #4449.
    • We've added issue details to findings on FindingsReport and FileBasedFindingsReporter - #4464
    • We suppressed several warnings reported when running with type resolution - #4423
  • We fixed a regression introduced in 1.19.0 for users using ignoreAnnotated running without type resolution - #4570
  • For rules like ForbiddenMethod where you can specify a method name in the config file, now we added support for:
    • Matching functions with generics - #4460
    • Matching extension functions - #4459
  • We've fixed a security vulnerability related to XML parsing - #4499
  • We've changed the behavior of the baseline task. Now the baseline is always update, even if you fixed all the issues in your codebase - #4445
  • We now enable the naming ruleset by default also on tests. Previously they were excluded - #4438
  • This version of Detekt is built with Gradle v7.4.1, AGP 7.1.1 and Kotlin 1.6.10 (see #4530 #4573 #4133 #4277)
  • This version of Detekt is wrapping KtLint version 0.45.1 (see #4227 - #4630 - #4645)
  • For contributors: we migrated most of our tests from Spek to JUnit due to better support and tooling.

Changelog

  • Add ignoreOverridden support for BooleanPropertyNaming rule - #4654
  • Fix regression generating configuration - #4646
  • Fix concurrency issue when creating PomModel (#4609) - #4631
  • UnnecessaryAbstractClass: fix false positive when the abstract class has properties in the primary constructor - #4628
  • Properly set toolVersion on DetektExtension - #4623
  • NamedArguments: Ignore when argument values are the same as the parameter name - #4613
  • Parallel invocation of AnalysisFacade fails spuriously in 1.20.0-RC1 - #4609
  • NoSuchElementException after updating to 1.20.0-RC1 - #4604
  • Better error classification in Gradle Enterprise. - #4586

... (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 `detekt.version` from 1.19.0 to 1.20.0.

Updates `detekt-tooling` from 1.19.0 to 1.20.0
- [Release notes](https://github.com/detekt/detekt/releases)
- [Commits](https://github.com/detekt/detekt/commits)

Updates `detekt-cli` from 1.19.0 to 1.20.0
- [Release notes](https://github.com/detekt/detekt/releases)
- [Commits](https://github.com/detekt/detekt/commits)

---
updated-dependencies:
- dependency-name: io.gitlab.arturbosch.detekt:detekt-tooling
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.gitlab.arturbosch.detekt:detekt-cli
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 15, 2022
@dependabot dependabot bot requested a review from Ozsie April 15, 2022 04:13
@codecov-commenter
Copy link

codecov-commenter commented Apr 15, 2022

Codecov Report

Merging #145 (6faab46) into master (54c752f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #145   +/-   ##
=========================================
  Coverage     75.17%   75.17%           
  Complexity       22       22           
=========================================
  Files             8        8           
  Lines           145      145           
  Branches         37       37           
=========================================
  Hits            109      109           
  Misses           12       12           
  Partials         24       24           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 54c752f...6faab46. Read the comment docs.

@Ozsie Ozsie merged commit 0f501fe into master Apr 15, 2022
@dependabot dependabot bot deleted the dependabot/maven/detekt.version-1.20.0 branch April 15, 2022 05:52
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants