Compose-Multiplatform-KmpViewModel-Unsplash-Sample
Compose-Multiplatform-KmpViewModel-Unsplash-Sample copied to clipboard
Update Kotlin, KSP and Compose Compiler to v2 (major)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| com.google.devtools.ksp (source) | 1.9.22-1.0.18 -> 2.3.3 |
||
| org.jetbrains.kotlin.plugin.serialization (source) | 1.9.22 -> 2.2.21 |
||
| org.jetbrains.kotlin.plugin.parcelize (source) | 1.9.22 -> 2.2.21 |
||
| org.jetbrains.kotlin.jvm (source) | 1.9.22 -> 2.2.21 |
||
| org.jetbrains.kotlin.android (source) | 1.9.22 -> 2.2.21 |
||
| org.jetbrains.kotlin.multiplatform (source) | 1.9.22 -> 2.2.21 |
||
| org.jetbrains.kotlin:kotlin-test-junit (source) | 1.9.22 -> 2.2.21 |
||
| org.jetbrains.kotlin:kotlin-test-annotations-common (source) | 1.9.22 -> 2.2.21 |
||
| org.jetbrains.kotlin:kotlin-test (source) | 1.9.22 -> 2.2.21 |
||
| org.jetbrains.kotlin:kotlin-compiler-embeddable (source) | 1.9.22 -> 2.2.21 |
||
| org.jetbrains.kotlin:kotlin-parcelize-runtime (source) | 1.9.22 -> 2.2.21 |
||
| org.jetbrains.kotlin:kotlin-stdlib (source) | 1.9.22 -> 2.2.21 |
Release Notes
google/ksp (com.google.devtools.ksp)
v2.3.3
What's Changed
- Migrate away from a deprecated compilerOptions KGP API #2703
Contributors
- Thanks to everyone who reported bugs and participated in discussions!
Full Changelog: https://github.com/google/ksp/compare/2.3.2...2.3.3
v2.3.2
What's Changed
Note: This release is a hotfix for a regression introduced in 2.3.1
- Fixed an issue where KSP incorrectly processed specific nullable annotations from Java interfaces, leading to incorrect nullability in the generated Kotlin code #2696
- Fixed a regression introduced in #2656 that caused runtime failures for projects using AGP 8.8.0 and older due to an incompatible, version-specific type check. #2694
Contributors
Thanks to everyone who reported bugs and participated in discussions!
Full Changelog: https://github.com/google/ksp/compare/2.3.1...2.3.2
v2.3.1
What's Changed
- Added support for AGP 9.0 and built-in Kotlin #2674
- Fixed a bug in getJvmCheckedException that incorrectly handled nested classes. #2584
- Removed incorrect caching for KSValueArgumentLiteImpl that wrongly merged arguments with different parents, origins, or locations #2677
Contributors
Thanks to everyone who reported bugs and participated in discussions! Full Changelog: https://github.com/google/ksp/compare/2.3.0...2.3.1
v2.3.0
What's Changed
- KSP1 has been deprecated #2657
- KSP version is no longer tied to the Kotlin compiler version (moving away from the old
- format). #2658 - KSP is no longer a compiler plugin (like KSP1). It now operates as a more standalone tool built on stable compiler APIs (shared with tools like IntelliJ).
- KSP now has fewer limitations on the Kotlin version in use and allows the KSP team to provide better compatibility to KGP/AGP/Gradle
- Read more about KSP2: https://github.com/google/ksp/blob/main/docs/ksp2.md
Reason for 2.3.0 version name:
- It is independent of Kotlin now
- We wanted to match the Kotlin language version
- It is newer than the latest KSP 2.2.20-2.0.4 release.
Full Changelog: https://github.com/google/ksp/compare/2.2.20-2.0.4...2.3.0
v2.2.21-2.0.4
What's Changed
Full Changelog: https://github.com/google/ksp/compare/2.2.21-RC2-2.0.4...2.2.21-2.0.4
v2.2.20-2.0.4
What's Changed
-
Unable to build on AGP 8.11.1 using KSP 2.2.20-2.0.3 due to class cast exception #2614
-
Resolver#getJvmCheckedException(KSPropertyAccessor) throws IllegalArgumentException #2548
-
ClassCastException when building with 2.2.20-2.0.3 #2598
-
Replace KaFirStopWorldCacheCleaner with no-op implementation #2626
-
BuildConfig values are not available during annotation process after upgrading ksp from 2.2.10-2.0.2 -> 2.2.20-2.0.3 #2597
-
Missing Gradle task wiring with 2.2.20-2.0.3 #2595
-
2.2.20-2.0.3 + protobufJavalite build errors #2596
Contributors
Thanks to everyone who reported bugs and participated in discussions!
Full Changelog: https://github.com/google/ksp/compare/2.2.20-2.0.3...2.2.20-2.0.4
v2.2.20-2.0.3
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: https://github.com/google/ksp/compare/2.1.21-2.0.2...2.2.20-2.0.3
v2.2.20-2.0.2
What's Changed
Full Changelog: https://github.com/google/ksp/compare/2.2.20-RC2-2.0.2...2.2.20-2.0.2
v2.2.10-2.0.2
What's Changed
Full Changelog: https://github.com/google/ksp/compare/2.2.10-RC2-2.0.2...2.2.10-2.0.2
v2.2.0-2.0.2
What's Changed
Full Changelog: https://github.com/google/ksp/compare/2.2.0-RC3-2.0.2...2.2.0-2.0.2
v2.1.21-2.0.2
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: https://github.com/google/ksp/compare/2.1.21-2.0.1...2.1.21-2.0.2
v2.1.21-2.0.1
What's Changed
Full Changelog: https://github.com/google/ksp/compare/2.1.21-RC2-2.0.1...2.1.21-2.0.1
v2.1.20-2.0.1
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: https://github.com/google/ksp/compare/2.1.20-2.0.0...2.1.20-2.0.1
v2.1.20-2.0.0
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: https://github.com/google/ksp/compare/2.1.20-1.0.32...2.1.20-2.0.0
v2.1.20-1.0.32
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
What's Changed
- Update github actions permissions for release on 1.0.31-release by @ting-yuan in #2383
- Bump Kotlin version to 2.1.20 by @mkmuir0 in #2384
Full Changelog: https://github.com/google/ksp/compare/2.1.20-RC2-1.0.31...2.1.20-1.0.31
v2.1.10-1.0.31
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
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
What's Changed
Full Changelog: https://github.com/google/ksp/compare/2.1.10-RC2-1.0.29...2.1.10-1.0.29
v2.1.0-1.0.29
Updates
- KSP2: Sanitize dots to underscores in suffixes of internals by @ting-yuan in #2229
- KSP2: clean up legacy incremental code by @ting-yuan in #2231
Contributors
Thanks to everyone who reported bugs and participated in discussions!
v2.1.0-1.0.28
What's Changed
- Bump Kotlin to 2.1.0 by @mkmuir0 in #2235
- Update intellij to 233.13135.128 by @ting-yuan in #2238
Full Changelog: https://github.com/google/ksp/compare/2.1.0-RC2-1.0.28...2.1.0-1.0.28
v2.0.21-1.0.28
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
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
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: https://github.com/google/ksp/compare/911690b86b60a0299af0e86b6abcf18d8abb003b...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
What's Changed
- UPDATE_KOTLIN_VERSION: 2.0.21 by @ting-yuan in #2145
Full Changelog: https://github.com/google/ksp/compare/2.0.21-RC-1.0.25...2.0.21-1.0.25
v2.0.20-1.0.25
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: https://github.com/google/ksp/compare/2.0.20-1.0.24...2.0.20-1.0.25
v2.0.20-1.0.24
What's Changed
- UPDATE_KOTLIN_VERSION: 2.0.20 by @ting-yuan in #2040
v2.0.10-1.0.24
What's Changed
- UPDATE_KOTLIN_VERSION: 2.0.10 by @ting-yuan in #2022
v2.0.0-1.0.24
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
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
Important Changes
KSErrorType.toString()now contains the reference name it was tried to be resolved, and thereforeKSErrorTypeis no longer a singleton. Processors relying on equality checks of that (in contrast of usingKSType.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
- Include type hint into KSErrorType. by @Jeffset in #1848
- Implement Resolver.getModuleName API by @ZacSweers in #1847
- Patch AA service files in renamed uber jar by @ting-yuan in #1867
- fix annotation default value parsing for arrays and class literals. by @neetopia in #1871
- fix package name for library based symbols by @neetopia in #1873
- Do not index classpath in declaration provider by @ting-yuan in #1870
- check functional interface for modifiers by @neetopia in #1872
- Annotation default java by @neetopia in #1879
- fix type parameter bounds by @neetopia in #1880
- Add command line parser and entry points by @ting-yuan in #1885
- KSP2: Fix support of wasm by @ting-yuan in #1888
- Return KSClassDeclarationEnumEntryImpl for enum entry annotation values. by @neetopia in #1881
- Reuse Kotlin indexes in incremental providers by @ting-yuan in #1891
- special handling for java property accessors override checking by @neetopia in #1894
- KSP2: Reuse Java indexes by @ting-yuan in #1895
- Incremental: fix roots from getSealedSubclasses by @ting-yuan in #1893
- use safe cast for annotation type to declaration resolution by @neetopia in #1902
Full Changelog: https://github.com/google/ksp/compare/2.0.0-1.0.21...2.0.0-1.0.22
v2.0.0-1.0.21
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
KSP 1.0.20 for Kotlin 1.9.25
v1.9.24-1.0.20
KSP 1.0.20 for kotlin compiler version 1.9.24
v1.9.23-1.0.20
KSP1 issues fixed
- performance optimization for certain workload consists of heavy Java files, including
- Add excludedSources to the KSP extension object #1793 thanks to @bitspittle
KSP2 issues fixed
- NoClassDefFoundError for LZ4Factory when trying KSP2 #1713
- Calling KSType.replace() with original arguments results in <ERROR TYPE> #1807
- Static fields in base class appear in derived classes #1744
- fix backing field checking for top level callables
- support sealed inheritors lookup.
- support type alias for getSymbolsWithAnnotation
- support more types for reference elements
v1.9.23-1.0.19
New APIs
- #1708
SymbolProcessorEnvironment.kspVersion - #1707
CodeGenerator.associateWithFunctionsandCodeGenerator.associateWithProperties
Issues fixed in KSP2
- #1691 IllegalStateException: Value type not found for value
- #1719 The order of symbols returned from Resolver.getSymbolsWithAnnotation() is different
- #1718 Getting packageName of Kotlin types returns empty String
- #1721 KSAnnotation packageName is an empty String for a type from a different module
- #1722 Resolver.getDeclarationsFromPackage() returns declarations from the default package when passing in an unknown package
- #1717 Resolver.getJvmName() returns different results for annotation args
- #1725 asMemberOf() throws exception with a generic type without arguments
- #1728 ClassCastException when calling KSType.replace() with empty list
- #1713 NoClassDefFoundError for LZ4Factory when trying KSP2
- #1665 NoClassDefFound in ksp.useKSP2=true mode
- #1733 ABI incompatibility with kotlin-compiler-embeddable in 2.0.0-Beta4
- #1714 Generated resources are not added to KotlinCompilation inputs
- #1747 isCompanionObject is false for companion objects from KOTLIN_LIB
- #1743 Incorrect type parameter variances
- #1759 IllegalStateException when getting the modifiers from properties in a Java annotation declaration
Issues fixed in KSP Gradle Plugin
- #1712 Analysis API artifacts have the wrong common-deps dependency
- #1775 1.0.18 creates circular dependencies with kapt tasks
- #1772 Update plugin com.google.devtools.ksp to v1.9.22-1.0.18 BUILD FAILED
Known issues
- #1776 KSP2 has higher memory usage when the compile classpath is very large.
JetBrains/kotlin (org.jetbrains.kotlin.plugin.serialization)
v2.2.21
Backend. Wasm
KT-81372K/Wasm: JsException: Exception was thrown while running JavaScript code on Safari 18.2/18.3KT-80018K/Wasm: exceptions don't work properly in JavaScriptCore (vm inside Safari, WebKit)
Compiler
KT-81191K2: "null cannot be cast to non-null type ConeTypeParameterLookupTag" with invalid codeKT-80936NON_PUBLIC_CALL_FROM_PUBLIC_INLINE :@PublishedApidoesn't work for fun interfaces
JavaScript
KT-79926Wrong export of interfaces with companions with ES ModulesKT-81424Kotlin/JS: Cannot Get / in a simple running applicationKT-80873KJS: Stdlib requires ES2020-compatible JS engine due to BigInt type literal
Native
KT-79384K/N: Application Not Responding: Thread Deadlock
Tools. Gradle
KT-79047Gradle compileKotlin fails with configuration cacheKT-81148Publishing helpers in KGP are incompatible with Isolated ProjectsKT-80950KGP breaks configuration cache when signing plugin with GnuPG is applied
Tools. Gradle. Multiplatform
KT-61127Remove scoped resolvable and intransitive DependenciesMetadata configurations used in the pre-IdeMultiplatformImport IDE importKT-81249Kotlin 2.2.20 broke KMP implementation of Parcelize
Tools. Gradle. Native
KT-81510commonizeCInteropexception with 'kotlinNativeBundleConfiguration' not foundKT-81134Native: Gradle configuration failure likely related to Klibs cross-compilationKT-77732commonizeCInteropfailed with "Unresolved classifier: platform/posix/size_t"KT-80675Commonized cinterops between "test" compilations produce an import failure
Tools. Maven
KT-81218Kotlin Maven Plugin 2.2.20: Java classes not resolved with enabled incremental compilation without daemon
Tools. Wasm
KT-80582Multiple reloads when using webpack dev server after 2.2.20-Beta2
v2.2.20
Analysis API
KT-78187Synthetic properties not to be shown as callablesKT-72525K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)KT-74246KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site
Analysis API. Code Compilation
KT-78382K2 IR lowering error when interface extends interfaceKT-73201K2 IDE: Error while evaluating expressions with local classesKT-78164Evaluator: '@JvmName' annotations are not recognized in other modulesKT-76457K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvmKT-73084K2 evaluator cannot resolve local variables standing at the closing brace
Analysis API. FIR
Performance Improvements
KT-76490Do not load ast during the contracts phase if no contracts presentKT-78132Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations
Fixes
KT-72227SOE from recursive value classKT-68977K2 IDE: Reference to companion object through typealias in a function call does not workKT-72357Implement partial body resolutionKT-76932Support context parameters on dangling modifier listKT-72407FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessingKT-77602K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-callKT-77629K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"KT-76855Analysis API:KaType.asPsiTypereturnsnullfor a local inner class in dependent analysis testsKT-72718ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-castedKT-76811Analysis API:resolveToFirSymbolfinds aFirPropertySymbolfor aKtScriptin dependent analysisKT-73586[Analysis API] AddlazyResolveToPhase(STATUS)before accessing modifiers of membersKT-71135AA: exception from sealed inheritors checker whenanalyzeCopyKT-75534K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous functionKT-75687K2: local variable doesn't get to the do-while scopeKT-56543LL FIR: rework lazy transformers so transformers modify only declarations they suppose to
Analysis API. Infrastructure
KT-76809Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element
Analysis API. Light Classes
KT-78835Find usages of a light constructor from a class with an empty body finds usages of class as wellKT-78878K2. Method shown as unavailable in Java when@JvmExposeBoxedis applied (redundantly) at both class and method level in KotlinKT-78065Support "Expose boxed inline value classes" in Light ClassesKT-78076DLC: KotlinDeclarationInCompiledFileSearcher missed accessors if types are boxedKT-77569SLC: annotation missing from generated no-args constructorKT-75182K2 AA. False positive red code "Unresolved reference" to a Kotlin method in Java when Kotlin uses a value class with@JvmOverloadsKT-77564Constructor with JvmOverloads and value class shouldn't mark regular constructors privateKT-77505K2: find usages on java accessor methods do not detect kotlin property accessor usagesKT-76789Annotation resolve shouldn't search through non-class membersKT-76907Wrong equality between repeatable annotation and container
Analysis API. Providers and Caches
KT-77578Analysis API: Performance degradation ofKaBaseResolutionScope.containsafter introduction of library restriction scopesKT-78640Analysis API: Remove "friend builtins provider" fromFirDeclarationForCompiledElementSearcherKT-74907Analysis API: Apply platform-based library module content restrictions consistentlyKT-77605AA: Leaking KaDanglingFileModule through IdeKotlinPackageProviderKT-62474Analysis API: Improve mergeability and performance of custom search scopesKT-77022Get rid of ExpectBuiltinPostProcessor workaroundKT-77248Delegation ofJavaModuleResolveris restricted toCliJavaModuleResolverKT-76850LLFirLibrarySession cannot be cast to LLFirResolvableModuleSessionKT-76952Analysis API:whenexhaustiveness analysis fails for sealed classes in dangling filesKT-72390Kotlin project full of red code
Analysis API. Standalone
KT-78638Analysis API Standalone: Stdlib builtins are not indexed inSTUBSdeserialized declaration origin mode
Analysis API. Stubs and Decompilat
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.