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

Update kotlin to v2 (major) #193

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update kotlin to v2 (major) #193

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 21, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.devtools.ksp (source) 1.9.25-1.0.20 -> 2.1.20-1.0.32 age adoption passing confidence
org.jetbrains.kotlin.kapt (source) 1.9.25 -> 2.1.20 age adoption passing confidence
org.jetbrains.kotlin.android (source) 1.9.25 -> 2.1.20 age adoption passing confidence
com.google.devtools.ksp:symbol-processing-api (source) 1.9.25-1.0.20 -> 2.1.20-1.0.32 age adoption passing confidence
com.google.devtools.ksp:symbol-processing-gradle-plugin (source) 1.9.25-1.0.20 -> 2.1.20-1.0.32 age adoption passing confidence
org.jetbrains.kotlin.jvm (source) 1.9.25 -> 2.1.20 age adoption passing confidence
org.jetbrains.kotlin:kotlin-gradle-plugin (source) 1.9.25 -> 2.1.20 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

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

https://github.com/google/ksp/issues/2325 [KSP2] KSType.arguments return arguments on aliased type.https://github.com/google/ksp/pull/23122 Partially migrate KSP off AGP's legacy Variant APIhttps://github.com/google/ksp/issues/23099 Resolver#getDeclarationsFromPackage() does not find generated fileshttps://github.com/google/ksp/issues/22522 Incremental processing breaks when a project dependency is modifiedhttps://github.com/google/ksp/issues/22655 [ksp2] ksType.arguments will crash on a typealias's java wildcard typhttps://github.com/google/ksp/issues/226464 [ksp2] getJavaWildcard does not return wildcard for List param (different with kapt/ksphttps://github.com/google/ksp/issues/2246246 Resolver returns non-equal instances of the same declaratiohttps://github.com/google/ksp/issues/2254254 [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: google/ksp@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
JetBrains/kotlin (org.jetbrains.kotlin.kapt)

v2.1.20: Kotlin 2.1.20

Changelog
Analysis API
Fixes
  • KT-68198 Analysis API: Support application service registration in plugin XMLs
  • KT-57733 Analysis API: Use optimized ModuleWithDependenciesScopes in combined symbol providers
  • KT-73156 AA: type retrieval for erroneous typealias crashes
  • KT-71907 K2 debugger evaluator failed when cannot resolve unrelated annotation
  • KT-69128 K2 IDE: "Unresolved reference in KDoc" reports existing Java class in reference to its own nested class
  • KT-71613 KaFirPsiJavaTypeParameterSymbol cannot be cast to KaFirTypeParameterSymbol
  • KT-71741 K2 IDE. Classifier was found in KtFile but was not found in FirFile in libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts in kotlin.git and broken analysis
  • KT-71942 Need to rethrow Intellij Platform exceptions, like ProcessCanceledException
  • KT-70949 Analysis API: "containingDeclaration" does not work on nested Java classes in K2 implementation
  • KT-69736 K2 IDE: False positive resolution from KDoc for value
  • KT-69047 Analysis API: Unresolved KDoc reference to extensions with the same name
  • KT-70815 Analysis API: Implement stop-the-world session invalidation
  • KT-69630 KAPT User project builds with KAPT4 enabled fail with Metaspace overflow
Analysis API. Code Compilation
  • KT-71263 K2 evaluator: Error in evaluating self property with extension receiver
Analysis API. FIR
Performance Improvements
  • KT-72025 FileStructureElement: reduce redundant resolve
  • KT-74012 Redundant FirAbstractBodyResolveTransformerDispatcher.<init> CPU consumption
  • KT-73900 ContextCollectorVisitor#computeContext may spend significant time on createSnapshot
  • KT-73665 FirElementFinder is inefficient in large files
  • KT-73330 Remove bodies from functions without contracts after the CONTRACTS phase
  • KT-73017 Analysis API: FirReferenceResolveHelper.getSymbolsByResolvedImport searches for classes even when the selected FqName is a known package
Fixes
  • KT-72308 getOrBuildFir returns null for this expression for plusAssign operator
  • KT-72660 ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValue
  • KT-74097 ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValue
  • KT-74098 ISE: Recursive update at org.jetbrains.kotlin.analysis.low.level.api.fir.caches.FirCaffeineCache.getValue
  • KT-72148 K2: KISEWA: Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirValueParameterImpl(DataClassMember) but FirArgumentListImpl found
  • KT-73079 K2: Internal compiler error when conflicting type aliases are present
  • KT-73456 Expected FirResolvedContractDescription but FirRawContractDescriptionImpl found for FirSimpleFunctionImpl
  • KT-73259 Expected FirResolvedContractDescription but FirLegacyRawContractDescriptionImpl found for FirSimpleFunctionImpl
  • KT-72740 FirDanglingModifierList: lazyResolveToPhase(STATUS) cannot be called from a transformer with a phase STATUS
  • KT-66132 K2: FirRegularClass expected, but FirFileImpl found | Containing declaration is not found
  • KT-72196 K2. KMP. IllegalStateException: expect-actual matching is only possible for code with sources
  • KT-72652 FirProvider#getContainingClass should support FirDanglingModifierSymbol
  • KT-73105 Lazy resolve contract violation (BODY_RESOLVE from BODY_RESOLVE)
  • KT-66261 K2: Analysis API: "FirDeclaration was not found for class org.jetbrains.kotlin.psi.KtProperty, fir is null" with MULTIPLE_LABELS_ARE_FORBIDDEN K2 error
  • KT-72315 K2. KIWA on usage of always-true OR in guard condition
  • KT-65707 K2 IDE: unresolved calls of callables imported with typealias as qualifier
  • KT-61516 K2: Provide an LL FIR implementation for getContainingClassSymbol (in FirHelpers)
  • KT-72853 Expected FirResolvedArgumentList for FirAnnotationCallImpl of FirContextReceiverImpl(Source) but FirArgumentListImpl found
  • KT-64215 K2: do not resolve type annotations of receiver if it is used as an implicit return type
  • KT-64248 K2: do not resolve type annotations of context receiver if it is used as an implicit return type
  • KT-72821 Add assertion to diagnostic tests to check that all declarations have BODY_RESOLVE phase at the end
  • KT-64056 K2: K2: FirLazyBodiesCalculator shouldn't calculate annotation arguments on type phase
  • KT-71651 K2 IDE: False positive NON_LOCAL_SUSPENSION_POINT in suspend function call
  • KT-72164 K2. IllegalArgumentException when pre and post increment are used simultaneously in assignment
  • KT-71174 Illegal scope used
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-72228 K2: Reformat doesn't work in project with Kotlin 2.0.21
  • KT-69671 TYPES phase contract violation through JavaSymbolProvider
  • KT-71348 K2: KotlinIllegalStateExceptionWithAttachments: 'By now the annotations argument mapping should have been resolved' during code inspection
  • KT-72024 FirClassVarianceChecker: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSource
  • KT-71746 K2 IDE. ISE: Zero or multiple overrides found for descriptor in FirRegularClassSymbol serializing/ExternalSerializer and red code on @Serializer(forClass) ` usage
Analysis API. Infrastructure
  • KT-72922 KotlinFakeClsStubsCache project leakage
  • KT-71988 Improve scripts test coverage by LL FIR
  • KT-64687 K2: Analysis API: migrate AbstractFirLibraryModuleDeclarationResolveTest to kotlin repo
Analysis API. Light Classes
  • KT-73492 K2. FP error in Java file when using @JvmSuppressWildcards annotation without arguments
  • KT-66763 K2: Get rid of context receivers in Analysis API and LL API
  • KT-71781 SLC: migrate SLC from KotlinModificationTrackerService to KotlinModificationTrackerFactory
  • KT-67963 K2: PsiInvalidElementAccessException on redeclaration of class with constructor
  • KT-71407 K2: Do not report @JvmField default value as PsiField initializer in K2
  • KT-72078 K2 PSI change for constructor parameter with value class type
Analysis API. Providers and Caches
  • KT-69247 Analysis API: Invalidate sessions after builtins modification events
  • KT-72704 ISE: No 'org.jetbrains.kotlin.fir.scopes.impl.FirDelegatedMembersFilter'(53) in array owner: LLFirBuiltinsAndCloneableSession for Builtins for JS/wasm-js (JS)
  • KT-67148 Analysis API: Introduce a weak reference cache for the original KtSymbol in KtSymbolPointer
  • KT-73395 Analysis API: JavaElementPsiSourceWithSmartPointer contains strong references to PSI
  • KT-72390 Kotlin project full of red code
  • KT-72388 KaFirStopWorldCacheCleaner: Control-flow exceptions
  • KT-72644 "PSI has changed since creation" reason is misleading
Analysis API. Standalone
  • KT-73776 Analysis API Standalone: Application services are missing registrations in tests and Dokka
  • KT-70346 Analysis API Standalone: Remove the custom class loader option in Standalone session creation
Analysis API. Stubs and Decompilation
  • KT-69398 K2 IDE: SOE on editing top level private variable name
  • KT-72897 Analysis API: Smart PSI element pointers for KtEnumEntry stubs cannot be restored
  • KT-71565 KtClassOrObject should use isLocal from greenStub
Analysis API. Surface
New Features
  • KT-73414 Analysis API: Support typealiased constructors in KaConstructorSymbol
  • KT-70301 Analysis API: 'KaSamConstructorSymbol' does not allow to find the constructed SAM type
  • KT-68236 Analysis API: add isExternal property for KtPropertySymbol
  • KT-68598 Analysis API: missed getClassLikeSymbolByClassId API
Performance Improvements
  • KT-74112 UI freeze: AnyThreadWriteThreadingSupport.getWritePermit
  • KT-73942 Extend resolveToSymbols cache to all references
  • KT-73622 Cache resolveToSymbols result
  • KT-72684 Drop explicit resolve from KaFirJavaInteroperabilityComponent#asPsiTypeElement
  • KT-60486 Analysis API: optimize KaExpressionTypeProvider.returnType for simple cases
Fixes
  • KT-70114 K2: Analysis API: do not lazy resolve declarations without deprecation to get it deprecation
  • KT-73406 [Analysis API] Allow extending KaModule resolution scope for all KaModules
  • KT-65850 Cover Analysis API with KDocs
  • KT-72099 Analysis API: implement an API to retrieve default imports
  • KT-73662 KotlinIllegalArgumentExceptionWithAttachments: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl
  • KT-70108 Analysis API: "KaScopeProvider.scopeContext" provides scopes from implicit companion objects with inaccessible classifiers
  • KT-68954 Remove JAR publications with old artifact names (high-level-api family)
  • KT-70134 Analysis API: Port API documentation from the guide to KDoc
  • KT-72973 Introduce KaSymbolOrigin.TYPE_ALIAS_CONSTRUCTOR
  • KT-70356 analyzeCopy with IGNORE_SELF cannot find private members
  • KT-66783 Analysis API: KtFirSymbolProvider creates symbols when given PSI from unrelated modules
  • KT-72937 Migrate KaFirReceiverParameterSymbol to KaFirSymbol/KaFirKtBasedSymbol
  • KT-70243 K2 IDE: PsiMethod.callableSymbol returns null for constructor
  • KT-66608 Support OperatorFunctionChecks#isOperator in AA
  • KT-73068 Analysis API: A KaFirJavaFieldSymbol for a static Java field is open instead of final
  • KT-73055 Get rid of the deprecated Analysis API API
  • KT-65065 Provide KtTypeReference#getShortTypeText()
  • KT-63800 AA: this reference shortener doesn't simplify label
  • KT-72793 Analysis API: 'expressionType' returns raw type for typealiased constructors calls
  • KT-72658 resolveToCall doesn't work for KtSafeQualifiedExpression
  • KT-69930 K2 IDE: Kotlin/JS project: ISE: "Unsupported type DYNAMIC_TYPE"
  • KT-71373 Make KaSessionProvider the internal API
  • KT-71869 KaClassSymbol.superTypes for kotlin.Any contains kotlin.Any itself (K1-only)
  • KT-64190 K2 IDE: Analysis API: KDoc link leads to a function instead of interface
  • KT-72075 defaultType should be available for KaClassifierSymbol instead of KaNamedClassSymbol
  • KT-72002 Analysis API: psi KaTypeParameterSymbol for default Java constructor is null
Backend. Native. Debug
  • KT-73306 Native: add a way to specify a dir for the debug compilation unit file
  • KT-68536 Native: bridges and trampolines affect stepping in the debugger
  • KT-72398 Native: use DW_AT_trampoline for objc2kotlin_* functions instead of KonanHook in konan_lldb.py
Backend. Wasm
  • KT-71868 K/Wasm: support generating debug information in DWARF format
  • KT-71645 [Wasm] Check wasm test runner for groupByPackage=true case
  • KT-72232 Wasm, IC: Compilation exception on renaming of file
  • KT-73907 Wasm: Duplication of files in browser distribution
  • KT-72223 Compiler generates an invalid glue-code for externals with backquoted identifiers
  • KT-73015 [Wasm, IC] Implement possibility for readonly IC cache
  • KT-71763 K/Wasm: compiler generates incorrect code for is check on JsAny
  • KT-72156 custom-formatters.js exists in JAR after publishToMavenLocal but not in the published artifact in Maven public
  • KT-71037 [Wasm, IC] Investigate how make kotlin.test not fully loaded in IC
Compiler
New Features
  • KT-74049 Introduce special override rule to allow overriding T! with T & Any
  • KT-73256 Implement all meta-target for annotations
  • KT-73255 Change defaulting rule for annotations
  • KT-61447 Support context receivers overloads in Kotlin multiplatform
  • KT-67034 Warning when a property hides a Java field from superclass
  • KT-71092 Native: Write out used dependencies
  • KT-71094 Kotlin/Native incremental compilation: fail compilation if cache build failed
  • KT-71569 Improve diagnostic precision for OPT_IN_ARGUMENT_IS_NOT_MARKER
Performance Improvements
  • KT-73434 Slow / infinite compile involving ConeInferenceContext
  • KT-73328 Do not spill this to a local variable in coroutines
  • KT-69995 K2: Slow compilation when star projecting mutually recursive bounds from java
  • KT-73687 Inefficient KtCommonFile#getFileAnnotationList
  • KT-45452 K/N optimization: inline simple functions that aren't marked with inline keyword
  • KT-64898 K2: toFirProperty call in PsiRawFirBuilder forces AST loading
  • KT-71673 Consider making EnhancementSymbolsCache. enhancedFunctions using simple cache
  • KT-71973 KtPsiUtil#getEnclosingElementForLocalDeclaration shouldn't iterate over directories
Fixes
  • KT-75965 The iOS app did not run successfully in Release mode
  • KT-57696 Deprecate JvmDefault annotation with level HIDDEN
  • KT-75578 K2: False negative [SUPER_CALL_WITH_DEFAULT_PARAMETERS] when calling the upper-class implementation of a method with the default value argument
  • KT-74764 Native: merge init nodes generated within the same LLVM module for the same klib
  • KT-75444 Contradictions in the constraint system are ignored in case of multiple constraints from forking points
  • KT-75649 K2: NPE on assigning platform type value to non-nullable lateinit var
  • KT-75483 Native: redundant unboxing generated with smart cast
  • KT-73028 K2. FileAnalysisException on private property in Context
  • KT-73937 Context parameters: IllegalArgumentException: source must not be null on lateinit var with a context
  • KT-74104 Native: SynchronizedLazyImpl produces NPE on 2.1.20-Beta1 on mingwX64
  • KT-71752 K2: Absent non-null check for platform types in assignments
  • KT-75526 Regression in K2 scripting: local name doesn't shadow one from the implicit receiver
  • KT-68131 K2: build Grazie monorepo main branch
  • KT-72618 Cannot define operator inc/dec in class context
  • KT-74739 Native: "IllegalArgumentException: All constructors should've been lowered: FUNCTION_REFERENCE"
  • KT-68768 K2: unsuccessful inference fork with jspecify annotations
  • KT-71943 K2: IAE "source must not be null" in FirJvmModuleAccessibilityQualifiedAccessChecker
  • KT-75111 False negative "This declaration needs opt-in" for usage of enum entry with OptIn marker in another module
  • KT-73831 Do not choose field target in annotation classes
  • KT-73494 Enable first-only-warn annotation defaulting mode
  • KT-74929 False positive TYPE_PARAMETER_OF_PROPERTY_NOT_USED_IN_RECEIVER if it is used with T&Any
  • KT-74227 K2: "Cannot infer type for this parameter. Please specify it explicitly" caused by lambda in another lambda with a parameterized function type
  • KT-70789 CLI error "mixing legacy and modern plugin arguments is prohibited" on using -Xcompiler-plugin unless default scripting plugin is disabled
  • KT-73903 Design 'replaceWith' / 'test-only' kinds for the 'LanguageFeature' class
  • KT-74474 K2: Report more precise diagnostic when last expression of non-unit lambda is a statement
  • KT-74478 K2: False negative RETURN TYPE_MISMATCH if the last statement of a lambda is indexed assignment
  • KT-67480 K/N: a separate inlining phase after the lowerings
  • KT-72154 Dokka fails with not array: KClass<out Annotation> on Kotlin 2.1.20-dev with @SubclassOptInRequired
  • KT-72040 Extra checkers: false-positive unused parameter warnings on anonymous lambda parameters
  • KT-74203 K2: False negative NO_ELSE_IN_WHEN of a generic type with star projection <*> bounded by a sealed hierarchy
  • KT-63720 Coroutine debugger: do not optimise out local variables
  • KT-74024 K2: Prohibit declaring local type aliases
  • KT-73146 Context parameters CLI & diagnostics
  • KT-73251 Warn users about removal of context classes and constructors
  • KT-72222 Context parameters parsing & resolution part 1
  • KT-61175 K2: FirReceiverParameter does not extend FirDeclaration
  • KT-73858 Compose / iOS: NullPointerException on building
  • KT-73864 [Native] Decouple IrType.computePrimitiveBinaryTypeOrNull from backend.native
  • KT-73122 Move the upgrade references lowering to be first one in Native pipeline
  • KT-73608 K2: "Initializer type mismatch" with map and typealias to object
  • KT-73691 DCE removes static initializer function, which is actually called
  • KT-74147 K2: False negative INCONSISTENT_TYPE_PARAMETER_VALUES
  • KT-73454 K2: Fix type parameters mapping for typealiases with inner RHS
  • KT-73043 K2 Compiler does not allow references to inner constructors with typealiases
  • KT-74040 Compilation of inner class usage does not check the visibility of parent class during compilation in different rounds
  • KT-74195 Fully qualified names in error messages make them complicated
  • KT-74221 Make FirSupertypesChecker a platform checker
  • KT-72962 Consider enabling ConsiderForkPointsWhenCheckingContradictions LF earlier
  • KT-74242 Freeze on runCatching call in finally block inside SAM conversion
  • KT-29222 FIR: consider folding binary expression chains
  • [`KT-7

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.

🔕 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 17553bf to e4bfc1d Compare May 28, 2024 02:02
@renovate renovate bot force-pushed the renovate/major-kotlin branch from e4bfc1d to af0224b Compare June 6, 2024 00:44
@renovate renovate bot force-pushed the renovate/major-kotlin branch from af0224b to f5edb7a Compare June 17, 2024 13:36
@renovate renovate bot force-pushed the renovate/major-kotlin branch 2 times, most recently from aaaf200 to e043f37 Compare June 28, 2024 10:29
@renovate renovate bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 7495ec6 to 31d2f72 Compare July 11, 2024 20:37
@renovate renovate bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 66cf1ef to f9bcd99 Compare July 30, 2024 00:16
@renovate renovate bot force-pushed the renovate/major-kotlin branch 3 times, most recently from d45c48c to bb0efaf Compare August 7, 2024 18:24
@renovate renovate bot force-pushed the renovate/major-kotlin branch 3 times, most recently from bd5e381 to 0819493 Compare August 23, 2024 09:25
@renovate renovate bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 82fc366 to 72c9545 Compare September 5, 2024 23:00
@renovate renovate bot force-pushed the renovate/major-kotlin branch 2 times, most recently from 3579e06 to 8fbee0f Compare October 11, 2024 08:00
@renovate renovate bot force-pushed the renovate/major-kotlin branch from 8fbee0f to 31ec3dd Compare October 23, 2024 21:02
@renovate renovate bot force-pushed the renovate/major-kotlin branch 3 times, most recently from 54c8d09 to 209cdd0 Compare November 13, 2024 07:49
@renovate renovate bot force-pushed the renovate/major-kotlin branch from 209cdd0 to 472c392 Compare November 16, 2024 07:33
@renovate renovate bot force-pushed the renovate/major-kotlin branch from 472c392 to 8bba09d Compare November 17, 2024 01:25
@renovate renovate bot force-pushed the renovate/major-kotlin branch 5 times, most recently from ca9ddad to 7d58ca5 Compare November 28, 2024 10:56
@renovate renovate bot force-pushed the renovate/major-kotlin branch 2 times, most recently from faf2332 to 5eb6eaa Compare January 13, 2025 13:57
@renovate renovate bot force-pushed the renovate/major-kotlin branch 5 times, most recently from 142a328 to 61e7c62 Compare January 28, 2025 21:36
@renovate renovate bot force-pushed the renovate/major-kotlin branch from 61e7c62 to b19f27c Compare February 14, 2025 07:41
@renovate renovate bot force-pushed the renovate/major-kotlin branch from b19f27c to 3939389 Compare February 27, 2025 19:40
@renovate renovate bot force-pushed the renovate/major-kotlin branch 2 times, most recently from eca888b to 67bc7ad Compare March 21, 2025 02:56
@renovate renovate bot force-pushed the renovate/major-kotlin branch from 67bc7ad to 5d8b5a0 Compare March 26, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants