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:
v3.3.0
->v3.5.2
v3.10.0
->v3.11.0
8.0.2
->8.1.1
1.3.0
->1.3.3
1.3.0
->1.3.3
1.22
->1.23
2.14.2
->2.15.2
1.22.0
->1.23.0
0.13.0
->0.13.2
5.5.5
->5.6.2
5.5.5
->5.6.2
5.5.5
->5.6.2
5.5.5
->5.6.2
1.8.10
->1.8.21
1.8.10
->1.8.21
Release Notes
actions/checkout
v3.5.2
Compare Source
v3.5.1
Compare Source
v3.5.0
Compare Source
v3.4.0
Compare Source
actions/setup-java
v3.11.0
Compare Source
In scope of this release we added support for IBM Semeru (OpenJ9) JDK (https://github.com/actions/setup-java/pull/289).
Supported distributions
Currently, the following distributions are supported:
temurin
zulu
adopt
oradopt-hotspot
adopt-openj9
liberica
microsoft
corretto
semeru
oracle
gradle/gradle
v8.1.1
: 8.1.1This is a patch release for Gradle 8.1. We recommend using 8.1.1 instead of 8.1.
It fixes the following issues:
Read the Release Notes
Upgrade Instructions
Switch your build to use Gradle 8.1.1 by updating your wrapper:
See the Gradle 8.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 8.1.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
mojohaus/animal-sniffer
v1.23
🚀 New features and improvements
📦 Dependency updates
👻 Maintenance
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
Kotlin/binary-compatibility-validator
v0.13.2
Compare Source
kotlinx-metadata
is updated to 0.6.2 with the support of LV 2.0v0.13.1
Compare Source
kotest/kotest
v5.6.2
5.6.2 May 2023
Assertions
Property testing
Arb.string()
to only generate Strings of printable ascii charactersDocumentation
Other
Arb.string()
With Kotest 5.6.0,
Codepoint.ascii()
was changed to include a wider range of ascii chararacters, andCodepoint.printableAscii()
was introduced with the historic range used byCodepoint.ascii()
.Arb.string()
has been usingCodepoint.ascii()
as it's default for generating chars for the string. This caused issues for some users, and we decided to revertArb.string()
to the historic behavior by changing the default to the newCodepoint.printableAscii()
.Hopefully this doesn't cause any issues for you. If it does, you can revert to the 5.6.0 ~ 5.6.1 behavior by using
Codepoint.ascii()
explicitly.If you added explicit usage of
Codepoint.printableAscii()
to circumvent the issue, you can safely remove the explicit parameter starting with Kotest 5.6.2.New Contributors
Full Changelog: kotest/kotest@v5.6.1...v5.6.2
v5.6.1
Maintenance release, published since 5.6.0 failed to upload for some targets.
Breaking changes (from 5.5.5 -> 5.6.x)
ConstantNow
-related functions to a new module namedio.kotest:kotest-extensions-now
(remember to add -jvm suffix for Maven)withConstantNow
See full changelog at https://kotest.io/docs/changelog.html
v5.6.0
Breaking changes
ConstantNow
-related functions to a new module namedio.kotest:kotest-extensions-now
(remember to add -jvm suffix for Maven)withConstantNow
See full changelog at https://kotest.io/docs/changelog.html
JetBrains/kotlin
v1.8.21
Compiler
KT-57848
Native: compilation of dynamic/static library fails with Xcode 14.3KT-57875
Native compilation failure: Suspend functions should be lowered out at this point, but FUN LOCAL_FUNCTION_FOR_LAMBDAKT-57946
KAPT: "RuntimeException: No type for expression" with delegateJavaScript
KT-57356
KJS: StackOverflowException on @JsExport with type parameters referring to one anotherTools. Compiler plugins. Serialization
KT-58067
Serialization: NullPointerException caused by @Contextual property with type with genericKT-57730
Serialization: "IllegalStateException: Serializer for element of type .Foo has not been found" caused by serialization of Java typeTools. Gradle. JS
KT-57766
KJS / Gradle "Module not found: Error: Can't resolve 'kotlin-kotlin-stdlib-js-ir'" when using "useEsModules"Tools. Kapt
KT-58027
Kotlin 1.8.20 kapt issue "null: KtCallExpression: build()"Tools. Maven
KT-58048
Maven: "Too many source module declarations found" after upgrading to 1.8.20KT-58101
'Unable to access class' in kotlin-maven-plugin after updating to Kotlin 1.8.20v1.8.20
Analysis API
KT-55510
K2: Lost designation for local classesKT-55191
AA: add an API to compare symbol pointersKT-55487
K2: symbol pointer restoring doesn't work for static membersKT-55336
K2 IDE: "java.lang.IllegalStateException: Required value was null." exception while importing a compiled JPS projectKT-55098
AA: KtDeclarationRenderer should render a context receiversKT-51181
LL API: errors for SAM with suspend function from another moduleKT-50250
Analysis API: Implement Analysis API of KtExpression.isUsedAsExpressionKT-54360
KtPropertySymbol: support JvmField in javaSetterName and javaGetterNameAnalysis API. FE1.0
KT-55825
AA FE1.0: stackoverflow when resolution to a function with a recursive type parameterAnalysis API. FIR
KT-54311
K2: proper implementation of KtSymbolPointerKT-50238
Analysis API: Implement KSymbolPointer for KtSymbolAnalysis API. FIR Low Level API
KT-52160
FIR: Substitution overrides on FirValueParameter-s are incorrectly unwrappedKT-55566
LL FIR: Tests incompiler/testData/diagnostics/tests/testsWithJava17
fail under LL FIRKT-55339
LL FIR: Missing RECURSIVE_TYPEALIAS_EXPANSION error in function type aliasKT-55327
LL FIR: Diverging UNRESOLVED_REFERENCE errors in recursive local function testKT-54826
KtSymbolPointer: migrate from IdSignature to our own solutionAndroid
KT-54464
MPP, Android SSL2: Add a flag for suppressing warning in case of using Android Style foldersBackend. Wasm
KT-38924
Wasm support in nodejsKT-56160
Getting WebAssembly.CompileError in browsers not supported GC and other required proposalsKT-46773
Implement an experimental version of the Kotlin/Wasm compiler backendKT-56584
K/Wasm: Can't link symbol classKT-56166
Fix compatibility with Firefox NightlyKT-55589
Basic support of WASIKT-53790
Reading from "node:module" is not handled by plugins error with Kotlin/Wasm 1.7.20-BetaCompiler
New Featur
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.
👻 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.