chore(deps): update all non-major dependencies (except core kotlin) #534
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.13.2
->3.13.3
1.22.0
->1.23.0
Release Notes
detekt/detekt
v1.23.0
We're so proud to announce the next upcoming stable release of detekt: 1.23.0 π
This release is coming with 25 new rules and much more.
We moved the detekt-compiler-plugin to the main repo, and you can now use it in your builds following the official documentation.
This release also marks the beginning of development of 2.x from the main branch! You can follow the progress here
We want to take the opportunity to thank our Sponsors and our Contributors for testing, bug reporting and helping us release this new version of Detekt. You're more than welcome to join our community on the #detekt channel on KotlinLang's Slack (you can get an invite here).
Notable Changes
detekt-compiler-plugin
. The Detekt Compiler plugin is still experimental, but we're moving it closer to Detekt to make it easier to integrate. From now on the compiler plugin will follow the same versioning schema as Detekt. We invite you to try it and provide feedback till we stabilize it. You can read more about it in the official documentation page - #β5492BracesOnIfStatements
- #β5700BracesOnWhenStatements
- #β5838CastNullableToNonNullableType
- #β5653DoubleNegativeLambda
- #β5937ForbiddenAnnotation
- #β5515PropertyUsedBeforeDeclaration
- #β6062StringShouldBeRawString
- #β5705SuspendFunSwallowedCancellation
- #β5666UnusedParameter
- #β5722UnusedPrivateProperty
- #β5722UseLet
- #β6091UnnecessaryBracesAroundTrailingLambda
- #β6029detekt-formatting
ruleset:ClassName
- #β6037EnumWrapping
- #β6028FunctionName
- #β6037IfElseBracing
- #β6028IfElseWrapping
- #β6028MultilineExpressionWrapping
- #β6028NoBlankLineInList
- #β6028NoConsecutiveComments
- #β6028NoEmptyFirstLineInClassBody
- #β6028NoSingleLineBlockCommentRule
- #β6104ParameterWrapping
- #β6028PropertyName
- #β6037PropertyWrapping
- #β6028StringTemplateIndent
- #β6028TryCatchFinallySpacing
- #β6028UnnecessaryAbstractClass
now only runs with type resolution - #β5829UnusedPrivateMember
has been refactored with some of its logic moved toUnusedParameter
andUnusedPrivateProperty
- #β5722ignoreOverridden
config fromBooleanPropertyNaming
,ConstructorParameterNaming
,FunctionNaming
,VariableNaming
andFunctionParameterNaming
as not useful for those rules - #β5718ignoredSubjectTypes
to ruleElseCaseInsteadOfExhaustiveWhen
to specify types that should be ignored by the rule (#β5623) - #β5634allowOperators
to ruleDataClassContainsFunctions
- #β5658MandatoryBracesIfStatements
has been removed in favor ofBracesOnIfStatements
- #β5700ignoreWhenContainingVariableDeclaration
toUseIfInsteadOfWhen
to ignore captured variables - #β5681detekt-formatting
ruleset now accepts anindentSize
parameter (see the full list here).detekt-formatting
ruleset are now turned on by default (see the full list here).includes
/excludes
logic on the config file as they were overriding each other - #β5782detekt-test-utils
. The recommended testing framework is JUnit - #β5785v6.8.3
- #β5616v8.1
, AGP8.0.1
, Kotlin1.8.21
and KtLint0.49.1
(see #β5893 #β5723 #β5877 #β6028 #β6043 #β5995 #β5996)Changelog
comments
with a list of regexes toForbiddenComment
- #β5981requireRootInDeclaration
check inInvalidPackageDeclaration
- #β6045detekt-versions.properties
instead ofversions.properties
- #β6006allowOmitUnit
to ruleLibraryCodeMustSpecifyReturnType
- #β58618c8d71d
- #β5966Unit
for ImplicitUnitReturnType rule - #β5857TestConfig
usages - #β5801name
that return name after backticks - #β5719CanBeNonNullable
rule - #β5714MaxLineLength
- #β5583Dependency Updates
Housekeeping & Refactorings
eaaf4be
- #β6102dependenciesAsNames
- #β6059ClassNaming
andFunctionNaming
- #β6019detekt-generator
- #β5854generateWebsite
- #β5849@Suppress("ReturnCount")
- #β5841times
method, use stdlib'srepeat
instead. - #β5774Contributors
We would like to thank the following contributors that made this release possible: @β3flex, @βBeBAKE, @βBraisGabin, @βGoooler, @βSaumyaBhushan, @βTWiStErRob, @βVitalyVPinchuk, @βadef145, @βasomov, @βatulgpt, @βchao2zhang, @βcketti, @βcortinico, @βdrawers, @βdzirbel, @βigorwojda, @βlexa-diky, @βluanpotter, @βmarschwar, @βmjovanc, @βmmorozkov, @βncteisen, @βosipxd, @βov7a, @βschalkms, @βt-kameyama, @βtresni
See all issues at: 1.23.0
Configuration
π Schedule: Branch creation - "before 4am on Monday" (UTC), 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.
π» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.