Skip to content

Conversation

renovate-self-hosted-apter[bot]
Copy link
Contributor

@renovate-self-hosted-apter renovate-self-hosted-apter bot commented Jun 1, 2024

This PR contains the following updates:

Package Change Age Confidence
com.google.devtools.ksp (source) 1.9.23-1.0.20 -> 2.2.20-2.0.3 age confidence
org.jetbrains.kotlin.multiplatform (source) 1.9.23 -> 2.2.20 age confidence
org.jetbrains.kotlin.plugin.serialization (source) 1.9.23 -> 2.2.20 age confidence
org.jetbrains.kotlin.android (source) 1.9.23 -> 2.2.20 age confidence
org.jetbrains.kotlin:kotlin-test-annotations-common (source) 1.9.23 -> 2.2.20 age confidence
org.jetbrains.kotlin:kotlin-test-common (source) 1.9.23 -> 2.2.20 age confidence
org.jetbrains.kotlin:kotlin-test-junit (source) 1.9.23 -> 2.2.20 age confidence

Release Notes

google/ksp (com.google.devtools.ksp)

v2.2.20-2.0.3

Compare Source

What's Changed

  • Removed usages of deprecated KGP ApiVersion - #​2400
  • Android integration for KSP has moved on to the new Variant API - #​2250
  • Runtime warning was added for projects that opt out of KSP2 - #​2538
  • AGP version against which KSP is compiled has been upgraded - #​2552

Contributors

Thanks to everyone who reported bugs and participated in discussions!

Full Changelog: google/ksp@2.1.21-2.0.2...2.2.20-2.0.3

v2.2.20-2.0.2

Compare Source

What's Changed

Full Changelog: google/ksp@2.2.20-RC2-2.0.2...2.2.20-2.0.2

v2.2.10-2.0.2

Compare Source

What's Changed

Full Changelog: google/ksp@2.2.10-RC2-2.0.2...2.2.10-2.0.2

v2.2.0-2.0.2

Compare Source

What's Changed

Full Changelog: google/ksp@2.2.0-RC3-2.0.2...2.2.0-2.0.2

v2.1.21-2.0.2

Compare Source

What's Changed

KSP1: use new mangling scheme for inline classes #​2446
KSP task (non-)registration happens too soon #​1789
[ksp2] Resolver.getJvmName wrong for properties starts with is #​2275
Inlined JVM name is not correct #​1493
[KSP2] Annotation values of inner annotations shouldn't be marked as default #​2437
Properly support @​ all annotation use site target #​2438

Contributors

Thanks to everyone who reported bugs and participated in discussions!

Full Changelog: google/ksp@2.1.21-2.0.1...2.1.21-2.0.2

v2.1.21-2.0.1

Compare Source

What's Changed

Full Changelog: google/ksp@2.1.21-RC2-2.0.1...2.1.21-2.0.1

v2.1.20-2.0.1

Compare Source

What's Changed

  • [KSP2] Annotation values shouldn't be marked as default (synthetic origin) broken after PR #​2424 in #​2425
  • [KSP2] Wrong internal method name with custom moduleName compiler option in #​2415
  • [KSP2] getJvmName for internal method did not sanitize java identifiers in #​2413
  • [KSP2] Annotation and argument's origin is wrong in #​2412
  • [KSP2] functionKind is MEMBER for static method in interface in Java in #​2410
  • KSP2 Generated .class files are not added to the classpath in #​2365
  • When I write specific code, KSP throws an Unexpected class for KtSymbol error. in #​2303

Contributors

Thanks to everyone who reported bugs and participated in discussions!

Full Changelog: google/ksp@2.1.20-2.0.0...2.1.20-2.0.1

v2.1.20-2.0.0

Compare Source

What's Changed

  • Bumped version to 2.0.0 and enabled KSP2 by default!
  • No-op blockOtherCompilerPlugins #​2397
  • A couple of fixes to compilation avoidance #​2401
  • KSTypeReferenceResolvedImpl.toString(): render unexpanded #​2393

Full Changelog: google/ksp@2.1.20-1.0.32...2.1.20-2.0.0

v2.1.20-1.0.32

Compare Source

What's Changed

#​2379 [KSP2] resolved type of vararg parameter in functions changed vs KSP1
#​2358 [KSP2] Annotation missing from property when VALUE_PARAMETER target is used.

And various performance optimizations!

v2.1.20-1.0.31

Compare Source

What's Changed

Full Changelog: google/ksp@2.1.20-RC2-1.0.31...2.1.20-1.0.31

v2.1.10-1.0.31

Compare Source

Bug Fixes

  • [KSP2] KSPropertyDeclaration#type for typealias does not match its declaration. #​2345
  • Incorrect isMutable on KSPropertyDeclaration from a JAVA_LIB in 2.1.10-1.0.30 #​2346
  • KSP breaks compilation avoidance #​2347

v2.1.10-1.0.30

Compare Source

Bugs Fixed / PR Landed

#​2325 [KSP2] KSType.arguments return arguments on aliased type.
#​2312 Partially migrate KSP off AGP's legacy Variant API
#​2309 Resolver#getDeclarationsFromPackage() does not find generated files
#​2252 Incremental processing breaks when a project dependency is modified
#​2265 [ksp2] ksType.arguments will crash on a typealias's java wildcard type
#​2264 [ksp2] getJavaWildcard does not return wildcard for List param (different with kapt/ksp1)
#​2246 Resolver returns non-equal instances of the same declaration.
#​2254 [KSP2] Resolver#overrides() gives incorrect result when method isn't accessible.

v2.1.10-1.0.29

Compare Source

What's Changed

Full Changelog: google/ksp@2.1.10-RC2-1.0.29...2.1.10-1.0.29

v2.1.0-1.0.29

Compare Source

Updates

Contributors

Thanks to everyone who reported bugs and participated in discussions!

v2.1.0-1.0.28

Compare Source

What's Changed

Full Changelog: google/ksp@2.1.0-RC2-1.0.28...2.1.0-1.0.28

v2.0.21-1.0.28

Compare Source

Updates

  • [KSP2] Running from command line never finishes #​2176
  • Introduce KspAATask.commandLineArgumentProviders #​2201

Contributors

Thanks to @​GeorgCantor and everyone who reported bugs and participated in discussions!

v2.0.21-1.0.27

Compare Source

Bugs Fixed

  • KSP2: KtInvalidLifetimeOwnerAccessException: Access to invalid KtAlwaysAccessibleLifetimeToken: PSI has changed since creation #​1854
  • [KSP2] getSymbolsWithAnnotation() doesn't work if the annotation is an alias in KOTLIN_LIB #​2024
  • KotlinSymbolProcessingExtension leaks files due to URLClassLoader not being closed #​2159
  • Unresolvable iOS reference on Linux host #​2173
  • Fail to apply ksp before android #​2174
  • [KSP2] Mangled names for internal functions are incorrect for Android modules #​2180
  • [KSP2] JVM names for property getters/setters are incorrect if they start with "is" #​2181

Contributors

Thanks to @​jonamireh, @​kuanyingchou, @​martinbonnin, @​pablobaxter, @​scott-pollom, and everyone who reported bugs and participated in discussions!

v2.0.21-1.0.26

Compare Source

Bugs Fixed

  • A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction #​1968
  • [KSP2] default value is null for nested annotation #​2077
  • [KSP2] "internal" members are out of order in Resolver.getDeclarationsInSourceOrder() #​1827
  • [KSP2] Resolver.getDeclarationsFromPackage() couldn't find Java declarations #​1952
  • [KSP2] Property setter parameter name becomes value #​1865
  • [KSP2] A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction #​1941
  • [KSP2] NullPointerException when calling hasBackingField on properties of Enum declarations #​1753
  • JVM Module name is changed for libraries #​2105
  • [KSP2] asMemberOf() is not working with Java sources #​2051
  • KSP2: implement KSPropertyDeclaration.findOverridee and Resolver.asMemberOf for java fields #​1642
  • [KSP2] command line doesn't support absolute Windows paths #​2046
  • [KSP2] NPE when getting annotation arguments on non-Jvm targets #​1823
  • [KSP2] Resolver.mapToJvmSignature() is not consistent #​2109
  • [KSP2] Default annotation argument values are sometimes missing #​2107
  • [KSP2] KSFunctionDeclaration.asMemberOf doesn't work sometimes #​2116
  • [KSP2] Qualified names of nested annotations from JAVA_LIB is null #​2033
  • [KSP2] Class literal annotation default values resolve to error types #​1910
  • KaFirPsiJavaTypeParameterSymbol cannot be cast to KaFirTypeParameterSymbol #​2119
  • KSP memory leak in Android build #​2073
  • [KSP2] KSClassDeclaration.asType(emptyList()) fails after Resolver.getSymbolsWithAnnotation() call #​2094
  • KSValueArgumentImpl doesn't implement .equals() in KSP2 #​2091
  • [KSP2] JvmName is ignored in annotation property getters #​2148
  • [KSP2] Unable to get visibility of KSTypeAlias #​2140
  • Gradle kspKotlin task failed when upgrading to 2.0.20-1.0.25 #​2123
  • [KSP2] Generic type arguments on typealiases are improperly forwarded to the KSType #​2088
  • java.lang.IllegalStateException: Storage for [...] is already registered with 2.0.20-1.0.24 #​2072

Full Changelog: google/ksp@911690b...2.0.21-1.0.26

Contributors

Thanks to @​ansman, @​asapha, @​kaeawc, @​kuanyingchou, @​scott-pollom, and everyone who reported bugs and participated in discussions!

v2.0.21-1.0.25

Compare Source

What's Changed

Full Changelog: google/ksp@2.0.21-RC-1.0.25...2.0.21-1.0.25

v2.0.20-1.0.25

Compare Source

Bugs Fixed

Inlined JVM name is not correct #​1493
[KSP2] NullPointerException when getting name of nested annotation #​1963
[KSP2] The status was unresolved for FirSimpleFunctionImpl #​1938
[KSP2] Class values in type annotations get resolved to error type #​1933
[KSP2] Comparing KSType leads to exception #​1918
[KSP2] Can't find values in repeatable annotations #​1883
incremental: aggregating outputs should always be invalidated #​2027
[KSP2] Not yet implemented: KSValueArgumentLiteImpl.getLocation #​2048
[KSP2] Not yet implemented: KSValueArgumentImpl.getParent #​2049
getSymbolsWithAnnotation returns copy function from data class #​1996
[KSP2] Annotations got use-site target when there are none specified #​1882
getting null pointer exception #​1929
[KSP2] Calling getDeclarationsInSourceOrder throws KotlinIllegalStateExceptionWithAttachments #​1930
[KSP2] A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction #​1941
KSP2: Resolver.getJvmNames doesn't work for inline and internal classes #​1640
kspCaches don't work together with Gradle build cache #​2042

Contributors

Thank you so much! @​ansman, @​kuanyingchou

Full Changelog: google/ksp@2.0.20-1.0.24...2.0.20-1.0.25

v2.0.20-1.0.24

Compare Source

What's Changed

v2.0.10-1.0.24

Compare Source

What's Changed

v2.0.0-1.0.24

Compare Source

What's Changed

#​2013 Handle edge cases of KtAnnotated.annotations
#​2009 Fix :kotlin-analysis-api:shadowJar failing on Windows
#​2006 Use symbol-processing-aa-embeddable in Gradle

Bugs Fixed

#​1956 IllegalAccessError in Dagger with KSP2.0.0-1.0.22 and KSP2
#​1998 KSP2 version 2.0.0-1.0.23 crashes on Moshi codegen with NoSuchElementException: Collection contains no element matching the predicate.

Full Changelog: e880744...c63864c

v2.0.0-1.0.23

Compare Source

Issues fixed

  • [KSP2] Nullable type arg type becomes non-null after replace() call #​1856
  • Annotations on enum entires on K2 are missing #​1962
  • Got IllegalStateException when calling replace() on error types #​1960
  • [KSP2] Resolver.getJvmCheckedException doesn't work on property accessors #​1900
  • [KSP2] Property getter JVM names in data classes become componentN instead of getXXX #​1958
  • [KSP2] Resolver.mapToJvmSignature doesn't unwrap inline classes #​1859
  • [KSP2] KSFunctionDeclaration.asMemberOf does not return correct types #​1919
  • implement getOwnerJvmClassName #​1979
  • [KSP2] KSPropertyDeclaration.hasBackingField returns inconsistent results #​1939
  • [KSP2] Annotations on extension receivers are missing #​1899

v2.0.0-1.0.22

Compare Source

Important Changes

  • KSErrorType.toString() now contains the reference name it was tried to be resolved, and therefore KSErrorType is no longer a singleton. Processors relying on equality checks of that (in contrast of using KSType.isError) will need to be updated accordingly.

Issues Fixed

#​1908 KSP2: Calling KSP2 in programs does not appear to work on macOS or Windows
#​1917 KSP2's symbol-processing-aa-embeddable artifact exposes an unresolvable pre-release kotlin 2.0.20 dependency
#​1911 NoSuchMethodError when running KSP2 with Dagger (KSP 2.0.0-1.0.21)
#​1909 KSP2: default annotation arguments no longer work in 1.0.21
#​1232 Expose simple names on a missing types's synthetic declaration
#​1857 [KSP2] Modifiers are missing for property accessors
#​1924 [KSP2] Type arg becomes '*' after calling KSType.replace() with an error type
#​1948 KSP2 default annotation KClass values for built-in types use java.lang.* versions

What's Changed

Full Changelog: google/ksp@2.0.0-1.0.21...2.0.0-1.0.22

v2.0.0-1.0.21

Compare Source

This release brings mostly bug fixes into KSP2 beta
Users are encouraged to try out KSP2 beta.

new feature

expose an API in Resolver to retrieve the module name for handling mangling of internal members #​1621

issues fixed
  • Class values are missing class type in annotation values #​1646
  • Kotlin Function* types reports inconsistent package and qualified names #​1845
  • KSP2 cannot load Android lint checks jar due to FileTooBigException #​1839
  • [KSP2] KSAnnotations with annotation properties with a default value always resolve to null #​1843
  • [KSP2] Modifier.FUN is missing in functional interfaces #​1853
  • [KSP2] ClassCastException when calling KSType.starProjection() on a Java field type #​1735
  • [KSP2] Annotation arguments with default values are missing #​1837
  • [KSP2] Intersection types are not modeled #​1846
  • KSP2: Model enum entries in annotation values #​1861
  • KSP2: Unknown JS backend: Wasm #​1889
  • [KSP2] NullPointerException when getting arguments of annotation value #​1798

v1.9.25-1.0.20

Compare Source

KSP 1.0.20 for Kotlin 1.9.25

v1.9.24-1.0.20

Compare Source

KSP 1.0.20 for kotlin compiler version 1.9.24

JetBrains/kotlin (org.jetbrains.kotlin.multiplatform)

v2.2.20

Analysis API
  • KT-78187 Synthetic properties not to be shown as callables
  • KT-72525 K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site
Analysis API. Code Compilation
  • KT-78382 K2 IR lowering error when interface extends interface
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes
  • KT-78164 Evaluator: '@JvmName' annotations are not recognized in other modules
  • KT-76457 K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvm
  • KT-73084 K2 evaluator cannot resolve local variables standing at the closing brace
Analysis API. FIR
Performance Improvements
  • KT-76490 Do not load ast during the contracts phase if no contracts present
  • KT-78132 Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations
Fixes
  • KT-72227 SOE from recursive value class
  • KT-68977 K2 IDE: Reference to companion object through typealias in a function call does not work
  • KT-72357 Implement partial body resolution
  • KT-76932 Support context parameters on dangling modifier list
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-77602 K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-call
  • KT-77629 K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"
  • KT-76855 Analysis API: KaType.asPsiType returns null for a local inner class in dependent analysis tests
  • KT-72718 ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-casted
  • KT-76811 Analysis API: resolveToFirSymbol finds a FirPropertySymbol for a KtScript in dependent analysis
  • KT-73586 [Analysis API] Add lazyResolveToPhase(STATUS) before accessing modifiers of members
  • KT-71135 AA: exception from sealed inheritors checker when analyzeCopy
  • KT-75534 K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous function
  • KT-75687 K2: local variable doesn't get to the do-while scope
  • KT-56543 LL FIR: rework lazy transformers so transformers modify only declarations they suppose to
Analysis API. Infrastructure
  • KT-76809 Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element
Analysis API. Light Classes
  • KT-78835 Find usages of a light constructor from a class with an empty body finds usages of class as well
  • KT-78878 K2. Method shown as unavailable in Java when @JvmExposeBoxed is applied (redundantly) at both class and method level in Kotlin
  • KT-78065 Support "Expose boxed inline value classes" in Light Classes
  • KT-78076 DLC: KotlinDeclarationInCompiledFileSearcher missed accessors if types are boxed
  • KT-77569 SLC: annotation missing from generated no-args constructor
  • KT-75182 K2 AA. False positive red code "Unresolved reference" to a Kotlin method in Java when Kotlin uses a value class with @JvmOverloads
  • KT-77564 Constructor with JvmOverloads and value class shouldn't mark regular constructors private
  • KT-77505 K2: find usages on java accessor methods do not detect kotlin property accessor usages
  • KT-76789 Annotation resolve shouldn't search through non-class members
  • KT-76907 Wrong equality between repeatable annotation and container
Analysis API. Providers and Caches
  • KT-77578 Analysis API: Performance degradation of KaBaseResolutionScope.contains after introduction of library restriction scopes
  • KT-78640 Analysis API: Remove "friend builtins provider" from FirDeclarationForCompiledElementSearcher
  • KT-74907 Analysis API: Apply platform-based library module content restrictions consistently
  • KT-77605 AA: Leaking KaDanglingFileModule through IdeKotlinPackageProvider
  • KT-62474 Analysis API: Improve mergeability and performance of custom search scopes
  • KT-77022 Get rid of ExpectBuiltinPostProcessor workaround
  • KT-77248 Delegation of JavaModuleResolver is restricted to CliJavaModuleResolver
  • KT-76850 LLFirLibrarySession cannot be cast to LLFirResolvableModuleSession
  • KT-76952 Analysis API: when exhaustiveness analysis fails for sealed classes in dangling files
  • KT-72390 Kotlin project full of red code
Analysis API. Standalone
  • KT-78638 Analysis API Standalone: Stdlib builtins are not indexed in STUBS deserialized declaration origin mode
Analysis API. Stubs and Decompilation
  • KT-77496 Support HAS_MUST_USE_RETURN_VALUE metadata flags in FirStubBasedMemberDeserializer
  • KT-77778 Function receivers doesn't have annotations
  • KT-77777 Receiver annotations shouldn't be present on types
  • KT-77538 Support default property accessors with annotations
  • KT-77763 Decompiled stubs miss inline modifier for property accessors
  • KT-77309 Decompiled property from annotation constructor with default value should have a constant initializer
  • KT-77168 Prefer DataInputOutputUtil for serialization/deserialization
  • KT-77117 Flaky WRONG_ANNOTATION_TARGET diagnostic
  • KT-76791 Function signature types are deserialized inconsistently
  • KT-76947 Support functional types with context parameters
Analysis API. Surface
New Features
  • KT-73473 Provide KaExpressionInformationProvider.isUsedAsResultOfLambda
  • KT-77278 Implement psi-based KaFirKotlinPropertyKtPropertyBasedSymbol#hasBackingField
  • KT-70770 KaLocalVariableSymbol: support isLateInit
Performance Improvements
  • KT-78526 Get rid of redundant checkValidity from withPsiValidityAssertion
Fixes
  • KT-77674 Analysis API: Redundant smart cast to the original type
  • KT-76577 Guard KaFirStopWorldCacheCleaner from deadlocks via threads waiting
  • KT-78820 K2: ISE "FIR element class FirErrorExpressionImpl is not supported in constant evaluation" through RedundantValueArgumentInspection
  • KT-75057 Analysis API: Reference to object through typealias in invoke operator call leads to original type
  • KT-79042 Do not restore KaTypePointer if target kind has changed
  • KT-72421 AA: "KtReference.resolveToSymbols" returns empty list when ASSIGN_OPERATOR_AMBGUITY error is present
  • KT-63464 AA: KtPsiTypeProvider#asPsiType doesn't substitute kotlin.Unit
  • KT-75913 K2: SymbolLightLazyAnnotation evaluates arguments and replaces them with constants
  • KT-78628 K2. Setting Receiver=true in Change Signature produces parameter of regular function type receiver instead of extension function type
  • KT-78278 ISE: FIR element "class org.jetbrains.kotlin.fir.expressions.impl.FirErrorResolvedQualifierImpl" is not supported in constant evaluation at org.jetbrains.uast.kotlin.internal.FirKotlinUastConstantEvaluator.evaluate
  • KT-73184 Analysis API: KaFunctionCall.argumentMapping is unexpectedly deparenthesised
  • KT-73327 Cover all psi inputs with scope validity assertions
  • KT-78613 PSI: add binary compatibility checks
  • KT-74013 Analysis API: Cover the API surface with @SubclassOptInRequired annotations
  • KT-76614 Move the parser and lexer to a separate module
  • KT-78552 KaFunctionValueParameter is not marked as KaLifetimeOwner
  • KT-71152 Add back SubclassOptInRequired to classes in KaModule.kt
  • KT-71876 Support storing parameter names in KaFunctionType
  • KT-77738 AA: inconsistent KaType.allSupertypes regarding multiple iterations
  • KT-75358 K2 AA, KaFirVisibilityChecker: private member of anonymous object is not visible inside it
  • KT-73723 K2 AA, KaFirVisibilityChecker: protected member of superclass is not visible from anonymous object
  • KT-78057 [Analysis API, K2] Context parameters are not resolved in KDoc
  • KT-73758 K2 Mode: "KaEvaluator.evaluate" does not work for simple arithmetic expressions
  • KT-72301 K2 AA. PSI should present for declaration built by Kotlin code on property access syntax of generic Java getter through Kotlin subclass
  • KT-77730 K2: Unable to get a light PSI for a nested annotation used with fully-qualified name
  • KT-73216 K2: unresolvable references in type parameters
  • KT-71794 Analysis API: Types with errors have unresolved qualifiers in lambda parameters position
  • KT-65846 Support parameter names in functional type rendering
  • KT-76738 K2 AA: rendering constructor of sealed class inserts protected modifier
  • KT-77515 KaTypeProvider#receiverType should be more tolerant to an error code
  • KT-77333 K2 AA: KaFirTypeProvider.getType: InvalidFirElementTypeException: For TYPE_REFERENCE with text I, unexpected element of type: FirSuperReceiverExpressionImpl found
  • KT-76044 K2 AA: isFun is true for restored symbol of Java interface with several methods
  • KT-77264 KaTypeProvider#type should be more tolerant to an error code
  • KT-77282 KaPropertySymbol: support isDelegatedProperty for libraries
  • KT-77254 K2 AA: expectedType doesn't provide anything for parameter default value
  • KT-74777 KaVariableSymbol.hasBackingField returns incorrect result for libraries
  • KT-77280 Rename KaPropertyAccessorSymbol#isCustom to isNotDefault
  • KT-77210 Analysis API: scopeContext shows implicit receiver with a class instance in the class constructor
  • KT-77196 Clarify differences between KaPropertyAccessorSymbol#{isDefault, hasBody}
  • KT-76580 K2: No expected type for the second+ vararg argument
  • KT-76750 K2. internal exception 'Unable to provide inlay hint' on typo in nested lambdas
  • KT-73290 Analysis API: Improve the architecture of content scopes and resolution scopes
  • KT-73055 Get rid of the deprecated Analysis API API
  • KT-70199 K2: ConcurrentModificationException at FirCallCompleter$LambdaAnalyzerImpl.analyzeAndGetLambdaReturnArguments
Backend. Wasm
New Features
  • KT-65721 K/Wasm: stop unconditionally exporting any main function from the root package
Performance Improvements
  • KT-70097 Optimize shared primitive variables in Native and Wasm
Fixes
  • KT-80106 devServer in Kotlin/Wasm overwrites defaults, causing missing static paths
  • KT-80018 K/Wasm: exceptions don't work properly in JavaScriptCore (vm inside Safari, WebKit)
  • KT-66072 K/Wasm: improve how exceptions work in JS interop
  • KT-77897 WasmJs: ClassCastException when using star-projection with nullable transformation in generic extension function
  • KT-71533 K/Wasm + K2: no error on KClass::qualifiedName usages
  • KT-73931 WASM: "RuntimeError: illegal cast" with nullable generic
  • KT-65403 [WASM] RuntimeError is thrown instead of ClassCastException
  • KT-79317 [Wasm] Do not throw CCE for ExcludedFromCodegen declarations
  • KT-66085 K/WASM: Runtime error is uncaught with catch (e: Throwable)
  • KT-78036 K/Wasm: generate a message with "expected" and "actual" types in case of CCE
  • KT-78384 K/Wasm: Incorrect debug info of local declarations in inline function from another file
  • KT-72220 Wasm: Unclear exception in case of missed dependency
  • KT-71691 No trace on Wasm/JS if an error occurred in initializing global variables in a file with the main function
  • KT-67554 [Wasm] Consider to have reference equals or/and equals for function references
  • KT-71521 K/Wasm: incorrect results on equality checks for capturing property references
  • KT-71522 K/Wasm: incorrect results on equality checks for function references
  • KT-69570 K/Wasm: JsExport with default parameter value compiles to invalid Wasm
  • KT-71517 K/Wasm: KClass::qualifiedName for local classes and objects returns non-null value
  • KT-68309 WASM: Anonymous class simpleName returns "" instead of null
  • KT-77272 K/Wasm: Remove kotlin.wasm.internal.ClosureBox* classes from the standard library
  • KT-66106 Wasm: lambda was not invoked in test lambda2.kt
  • KT-77855 [Wasm] Improve virtual function calls speed for lambdas
  • KT-77501 Wasm: unsigned vararg compiles to invalid Wasm
  • KT-76775 [Wasm] Inconsistent FP mod operation
  • KT-77464 Wasm: KType.toString() has simple names even with -Xwasm-kclass-fqn
  • KT-77465 Wasm: KTypeParamter printed without variance information
Compiler
New Features
  • KT-71768 Enable -Xjvm-default=all-compatibility by default to generate JVM default interface methods
  • KT-78374 Make indy lambda function name generation more consistent
  • KT-45683 Allow generics in contract type assertions
  • KT-27090 Support contracts in getter and setter for top-level extension properties
  • KT-76766 Warning is missing for wrong subclass checking
  • KT-71244 Incorporate existing @CheckReturnValue annotation(s) into Kotlin's unused return value checker
  • KT-73256 Implement all meta-target for annotations
  • KT-78792 Report warning for redundant return in expression body
  • KT-32313 Support contracts for operator functions
  • KT-70722 Implement better Kotlin warnings for value classes and JEP 390 (Warnings for Value-Based Classes)
  • KT-65688 Generate when-expressions over final classes via invokedynamic typeSwitch + tableswitch on JDK 21+
  • KT-54344 Trigger the unused expression warning for interpolated strings, even when the expression may have side effects
  • KT-74807 Implement 'full' unused return value checker mode
  • KT-77653 K/N: an optimization pass to remove redundant type checks
  • KT-64477 Enhance KotlinLightParser to make it able to parse scripts
  • KT-74809 Support unnamed local variables
  • KT-72941 ANNOTATIONS_ON_BLOCK_LEVEL_EXPRESSION_ON_THE_SAME_LINE missing in K2
  • KT-75061 Support context-sensitive resolution in type position
Performance Improvements
  • KT-77993 Optimize old PSI/LightTree Kotlin parser
  • KT-78672 Consider having FirCallableSymbol.callableId null for local properties / parameters
  • KT-77839 K2: consider not creating CallableId for value parameters / variables / fields
  • KT-74981 Kotlin/Native: large binary size for iOS target in 2.1.0(LLVM16)
  • KT-77838 K2: consider replacing LinkedHashMap with HashMap inside scopes and scope session
  • KT-76698 Android Studio compose preview holds read lock 700ms for KaC

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Copy link

coderabbitai bot commented Jun 1, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The primary change involves upgrading the Kotlin version from 1.9.23 to 2.1.20 and the Kotlin Symbol Processing (KSP) version from 1.9.23-1.0.20 to 2.1.20-2.0.0 in the project's dependency configuration. This upgrade signifies a notable shift in capabilities and may introduce new features, while other dependencies remain unchanged, maintaining compatibility in the codebase.

Changes

Files Change Summary
gradle/libs.versions.toml Updated Kotlin to 2.1.20 and KSP to 2.1.20-2.0.0; other dependencies unchanged.

Poem

🐇 In the garden of code, we hop with glee,
New Kotlin blooms, as bright as can be!
With KSP's magic, we dance and we play,
Enhancements abound, let’s code through the day!
Hopping along, our bugs fade away! ✨


Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from b7cbe03 to 42a825e Compare June 5, 2024 22:35
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 01b7b69 and 694282f.

Files selected for processing (1)
  • gradle/libs.versions.toml (1 hunks)
Additional comments not posted (2)
gradle/libs.versions.toml (2)

8-8: Verify the impact of the Kotlin version update.

The Kotlin version has been updated from 1.9.23 to 2.0.10. Ensure that the codebase is compatible with this major version update and that all necessary changes have been made to accommodate any breaking changes or new features.


11-11: Verify the impact of the KSP version update.

The KSP version has been updated from 1.9.23-1.0.20 to 2.0.0-1.0.24. Ensure that the codebase is compatible with this major version update and that all necessary changes have been made to accommodate any breaking changes or new features.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 694282f and 75d3369.

Files selected for processing (1)
  • gradle/libs.versions.toml (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • gradle/libs.versions.toml

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 75d3369 and c5d0b5a.

Files selected for processing (1)
  • gradle/libs.versions.toml (1 hunks)
Additional comments not posted (2)
gradle/libs.versions.toml (2)

11-11: Verify the impact of KSP 2.0.10-1.0.24 update.

This update may affect annotation processing and symbol handling. Ensure that all KSP-related functionalities are tested and working as expected.

Run the following script to identify any KSP-specific code that may require testing:


8-8: Verify compatibility with Kotlin 2.0.20.

This major version update may introduce breaking changes. Ensure that the codebase and all dependencies are compatible with Kotlin 2.0.20.

Run the following script to check for any known compatibility issues or breaking changes:

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between c5d0b5a and c58ac3c.

Files selected for processing (1)
  • gradle/libs.versions.toml (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • gradle/libs.versions.toml

@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 3895b26 to 3d7fa14 Compare October 11, 2024 06:07
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 3 times, most recently from 140817f to a1e2fb4 Compare November 27, 2024 23:51
@renovate-self-hosted-apter renovate-self-hosted-apter bot changed the title chore(deps): update kotlin to v2 (major) fix(deps): update kotlin to v2 (major) Dec 6, 2024
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 9dc624f to a257489 Compare January 28, 2025 21:26
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from b3f2d6d to a8f3b3c Compare March 26, 2025 17:52
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from c590b5c to b18ca8e Compare May 13, 2025 22:08
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 14202e6 to 3619576 Compare June 24, 2025 20:29
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 28d99bd to df4790c Compare August 15, 2025 00:48
@renovate-self-hosted-apter renovate-self-hosted-apter bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 401952a to ee8d0ae Compare September 10, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants