Skip to content

Releases: SonarSource/sonar-kotlin

3.2.0.7239

23 May 13:10
f9d8f13
Compare
Choose a tag to compare
SONARKT-645 Update rules metadata

3.1.0.7071

07 Apr 14:21
Compare
Choose a tag to compare

3.0.1.6889

17 Mar 13:16
527b6dc
Compare
Choose a tag to compare

3.0.0.6860

14 Mar 00:54
5ced1d6
Compare
Choose a tag to compare

2.22.1.6674

25 Feb 16:18
Compare
Choose a tag to compare

Fix discrepancies between MQR and severity for Kotlin rules

2.23.0.6359

04 Feb 13:47
693c2aa
Compare
Choose a tag to compare

2.22.0

05 Dec 14:37
28718ef
Compare
Choose a tag to compare

Release notes - SonarKotlin - 2.22

Task

SONARKT-411 Update rules metadata

Improvement

SONARKT-400 Use Kotlin Analysis API

2.21.0.5736

25 Nov 22:12
Compare
Choose a tag to compare

Release notes - SonarKotlin - 2.21

Bug

SONARKT-363 S6207: ClassCastException on certain types of Arrays.hashCode calls

SONARKT-364 ZipException in Kotlin analyzer when project depends on adwords-axis

SONARKT-387 Remove generic CatchAll rule for external linters

SONARKT-388 Bug in rule S6524: IllegalArgumentException when retrieving Fully Qualified Name

SONARKT-402 Kotlin Gradle scripts shouldn't be analyzed by KotlinSensor

SONARKT-404 IllegalArgumentException in UnusedDeferredResultCheck

SONARKT-406 java.util.zip.ZipException not handled by KotlinCoreEnvironmentToolsKt

New Feature

SONARKT-394 Add STIG metadata support

False Positive

SONARKT-374 FP in rule S100 when a function is annotated with @Composable from Jetpack

Improvement

SONARKT-354 Improve error reporting when code highlighting in messages isn't available

SONARKT-357 Enable "NOSONAR" in SonarLint

SONARKT-365 Reduce logging level to debug for not supported highlighting

SONARKT-398 Upgrade Kotlin compiler to 2.0.21

SONARKT-399 Replace kotlin-compiler-embeddable by kotlin-compiler

SONARKT-403 Execute TopDownAnalyzerFacadeForJVM even if classpath is empty

SONARKT-412 Upgrade analyzer-commons to 2.16.0

SONARKT-413 Update rules metadata

SONARKT-414 Change license to SONAR Source-Available License v1.0 (SSALv1)

SONARKT-415 Improve S6524 to comply with its description

2.20.0.4382

14 Dec 15:01
eb22cc4
Compare
Choose a tag to compare

Release notes - SonarKotlin - 2.20

Task

SONARKT-333 Update rule description of S6518 to explicitly mention Java interop

Improvement

SONARKT-372 Improve the integration with Gradle Tooling API in the Gradle rules

SONARKT-376 S6624: Fix broken compliant example in RSPEC

SONARKT-382 Update rules metadata

2.19.0.4327

30 Nov 15:45
4ef3a83
Compare
Choose a tag to compare

Release notes - SonarKotlin - 2.19

False-Positive

SONARKT-367 FP on S6517 for sealed interfaces

SONARKT-369 FP S2097 check don't consider when as a test type

New Feature

SONARKT-286 Implement rule S6619: Null checks should make sense

SONARKT-299 Implement rule S3353: Var should be val

SONARKT-301 Implement rule S6524: Collection should be immutable if contents is not changed

SONARKT-302 Implement rule S6526: Abstract class should be interface

SONARKT-303 Implement rule S6527: Function chain using "filter" should be simplified

SONARKT-304 Implement rule S6528: "find" should be replaced with "any", "none" or "contains"

Improvement

SONARKT-368 Stop raising issues when toString not implemented in rule S6218