Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump kotlin from 2.0.21 to 2.1.0 (#209)
Bumps `kotlin` from 2.0.21 to 2.1.0. Updates `org.jetbrains.kotlin.plugin.compose` from 2.0.21 to 2.1.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/JetBrains/kotlin/releases">org.jetbrains.kotlin.plugin.compose's releases</a>.</em></p> <blockquote> <h2>Kotlin 2.1.0</h2> <h2>Changelog</h2> <h3>Analysis API</h3> <h4>New Features</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-68603"><code>KT-68603</code></a> KotlinDirectInheritorsProvider: add an option to ignore non-kotlin results</li> </ul> <h4>Performance Improvements</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-70757"><code>KT-70757</code></a> Performance problem in KaFirVisibilityChecker for KaFirPsiJavaClassSymbol</li> </ul> <h4>Fixes</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-70437"><code>KT-70437</code></a> Class reference is not resolvable</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-57733"><code>KT-57733</code></a> Analysis API: Use optimized <code>ModuleWithDependenciesScope</code>s in combined symbol providers</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-72389"><code>KT-72389</code></a> K2: False positive "Redundant 'protected' modifier" for protected property inside protected constructor from private or internal class</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69190"><code>KT-69190</code></a> K2: False-positive "redundant private modifier"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-64984"><code>KT-64984</code></a> Analysis API: Support Wasm target</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70375"><code>KT-70375</code></a> K2: NPE at org.jetbrains.kotlin.analysis.api.fir.symbols.KaFirNamedClassSymbolBase.createPointer</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71259"><code>KT-71259</code></a> K2 evaluator: Invalid smart cast info collecting for Code Fragments</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69360"><code>KT-69360</code></a> Lack of implicit receiver for the last statement under lambda in scripts</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70890"><code>KT-70890</code></a> Analysis API: Experiment with weak references to LL FIR/analysis sessions in session caches</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70657"><code>KT-70657</code></a> Analysis API: Inner types from classes with generics are incorrectly represented by the compiled jars</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71055"><code>KT-71055</code></a> Suspend calls inside 'analyze()' break the block guarantees</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70815"><code>KT-70815</code></a> Analysis API: Implement stop-the-world session invalidation</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69819"><code>KT-69819</code></a> K2 IDE: LHS type in callable references is unresolved when it has type arguments and is qualified</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68761"><code>KT-68761</code></a> Analysis API: Experiment with limited-size cache in <code>KaFirSessionProvider</code></li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70384"><code>KT-70384</code></a> Analysis API Standalone: The same class in the same two renamed jars is unresolved</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71067"><code>KT-71067</code></a> Exceptions from references cancel Find Usages</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69535"><code>KT-69535</code></a> Redesign 'containingSymbol'</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71025"><code>KT-71025</code></a> K2 IDE: Scopes in "importingScopeContext" have reversed ordering and "indexInTower" values</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67483"><code>KT-67483</code></a> K2 IDE: Serializable plugin causes infinite resolve recursion when there is a star import from a class with annotation call</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69416"><code>KT-69416</code></a> K2 IDE / Completion: “No classifier found” on simple value creating</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70257"><code>KT-70257</code></a> CCE: class kotlin.UInt cannot be cast to class java.lang.Number</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70376"><code>KT-70376</code></a> K2 IDE / Kotlin Debugger: IAE “Only componentN functions should be cached this way, but got: toString” on evaluating toString() method for value class</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70264"><code>KT-70264</code></a> AA: service registration via XML fails with AbstractMethodError in Lint CLI</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69950"><code>KT-69950</code></a> Analysis API: Introduce <code>isSubtypeOf(ClassId)</code></li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68625"><code>KT-68625</code></a> K2: “<code>lazyResolveToPhase(STATUS)</code> cannot be called from a transformer with a phase STATUS.”</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67665"><code>KT-67665</code></a> K2: contract violation for value class with a constructor parameter with an implicit type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67009"><code>KT-67009</code></a> Analysis API: Add abbreviated type tests for type aliases from source modules</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69977"><code>KT-69977</code></a> KaFirFunctionalType#getAbbreviation is always null</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68341"><code>KT-68341</code></a> Analysis API: Expanded function types from libraries don't have an abbreviated type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68857"><code>KT-68857</code></a> Analysis API: Refactor annotations</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70386"><code>KT-70386</code></a> Do not filter out overloads from different libraries in dangling files</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-65552"><code>KT-65552</code></a> K2: CANNOT_CHECK_FOR_ERASED in KtTypeCodeFragment</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-65803"><code>KT-65803</code></a> K2: Analysis API: KtFirTypeProvider#getSubstitutedSuperTypes throws an exception in the case of "Wrong number of type arguments"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68896"><code>KT-68896</code></a> Support VirtualFile binary dependency inputs to Analysis API modules</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69395"><code>KT-69395</code></a> K2 IDE: incorrect overload selection from binary dependencies in a shared native source set</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/JetBrains/kotlin/blob/v2.1.0/ChangeLog.md">org.jetbrains.kotlin.plugin.compose's changelog</a>.</em></p> <blockquote> <h2>2.1.0</h2> <h3>Analysis API</h3> <h4>New Features</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-68603"><code>KT-68603</code></a> KotlinDirectInheritorsProvider: add an option to ignore non-kotlin results</li> </ul> <h4>Performance Improvements</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-70757"><code>KT-70757</code></a> Performance problem in KaFirVisibilityChecker for KaFirPsiJavaClassSymbol</li> </ul> <h4>Fixes</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-70437"><code>KT-70437</code></a> Class reference is not resolvable</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-57733"><code>KT-57733</code></a> Analysis API: Use optimized <code>ModuleWithDependenciesScope</code>s in combined symbol providers</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-72389"><code>KT-72389</code></a> K2: False positive "Redundant 'protected' modifier" for protected property inside protected constructor from private or internal class</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69190"><code>KT-69190</code></a> K2: False-positive "redundant private modifier"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-64984"><code>KT-64984</code></a> Analysis API: Support Wasm target</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70375"><code>KT-70375</code></a> K2: NPE at org.jetbrains.kotlin.analysis.api.fir.symbols.KaFirNamedClassSymbolBase.createPointer</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71259"><code>KT-71259</code></a> K2 evaluator: Invalid smart cast info collecting for Code Fragments</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69360"><code>KT-69360</code></a> Lack of implicit receiver for the last statement under lambda in scripts</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70890"><code>KT-70890</code></a> Analysis API: Experiment with weak references to LL FIR/analysis sessions in session caches</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70657"><code>KT-70657</code></a> Analysis API: Inner types from classes with generics are incorrectly represented by the compiled jars</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71055"><code>KT-71055</code></a> Suspend calls inside 'analyze()' break the block guarantees</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70815"><code>KT-70815</code></a> Analysis API: Implement stop-the-world session invalidation</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69819"><code>KT-69819</code></a> K2 IDE: LHS type in callable references is unresolved when it has type arguments and is qualified</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68761"><code>KT-68761</code></a> Analysis API: Experiment with limited-size cache in <code>KaFirSessionProvider</code></li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70384"><code>KT-70384</code></a> Analysis API Standalone: The same class in the same two renamed jars is unresolved</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71067"><code>KT-71067</code></a> Exceptions from references cancel Find Usages</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69535"><code>KT-69535</code></a> Redesign 'containingSymbol'</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71025"><code>KT-71025</code></a> K2 IDE: Scopes in "importingScopeContext" have reversed ordering and "indexInTower" values</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67483"><code>KT-67483</code></a> K2 IDE: Serializable plugin causes infinite resolve recursion when there is a star import from a class with annotation call</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69416"><code>KT-69416</code></a> K2 IDE / Completion: “No classifier found” on simple value creating</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70257"><code>KT-70257</code></a> CCE: class kotlin.UInt cannot be cast to class java.lang.Number</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70376"><code>KT-70376</code></a> K2 IDE / Kotlin Debugger: IAE “Only componentN functions should be cached this way, but got: toString” on evaluating toString() method for value class</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70264"><code>KT-70264</code></a> AA: service registration via XML fails with AbstractMethodError in Lint CLI</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69950"><code>KT-69950</code></a> Analysis API: Introduce <code>isSubtypeOf(ClassId)</code></li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68625"><code>KT-68625</code></a> K2: “<code>lazyResolveToPhase(STATUS)</code> cannot be called from a transformer with a phase STATUS.”</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67665"><code>KT-67665</code></a> K2: contract violation for value class with a constructor parameter with an implicit type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67009"><code>KT-67009</code></a> Analysis API: Add abbreviated type tests for type aliases from source modules</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69977"><code>KT-69977</code></a> KaFirFunctionalType#getAbbreviation is always null</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68341"><code>KT-68341</code></a> Analysis API: Expanded function types from libraries don't have an abbreviated type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68857"><code>KT-68857</code></a> Analysis API: Refactor annotations</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70386"><code>KT-70386</code></a> Do not filter out overloads from different libraries in dangling files</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-65552"><code>KT-65552</code></a> K2: CANNOT_CHECK_FOR_ERASED in KtTypeCodeFragment</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-65803"><code>KT-65803</code></a> K2: Analysis API: KtFirTypeProvider#getSubstitutedSuperTypes throws an exception in the case of "Wrong number of type arguments"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68896"><code>KT-68896</code></a> Support VirtualFile binary dependency inputs to Analysis API modules</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69395"><code>KT-69395</code></a> K2 IDE: incorrect overload selection from binary dependencies in a shared native source set</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68573"><code>KT-68573</code></a> ISE: "Unexpected constant value (kotlin/annotation/AnnotationTarget, CLASS)" at Kt1DescUtilsKt.toKtConstantValue()</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/JetBrains/kotlin/commit/5dd9cea66ee526f0251c9b1d2543229202622f6b"><code>5dd9cea</code></a> Add ChangeLog for 2.1.0</li> <li><a href="https://github.com/JetBrains/kotlin/commit/be31f19145a096198df5f371118961f202126eb0"><code>be31f19</code></a> [Gradle] Fix documentation publishing to Kotlinlang</li> <li><a href="https://github.com/JetBrains/kotlin/commit/f959bf2dd9a5f02b66fb339e8e659bc2590a9aa7"><code>f959bf2</code></a> Add ChangeLog for 2.1.0-RC2</li> <li><a href="https://github.com/JetBrains/kotlin/commit/b21df7b4e9852022aae95cdd4f922c3df809adf5"><code>b21df7b</code></a> [Gradle] Update info about versioning</li> <li><a href="https://github.com/JetBrains/kotlin/commit/a7dabb638d59fc4ac7ba5aaa6bfed99022d02fa6"><code>a7dabb6</code></a> [Gradle] Fix templates extraction</li> <li><a href="https://github.com/JetBrains/kotlin/commit/858b9147b4c89ce9dc9521df57f4b3395729b867"><code>858b914</code></a> [Gradle] Add KDoc for KotlinTargetsDsl</li> <li><a href="https://github.com/JetBrains/kotlin/commit/1026b47e1c6fa8e7728c61ae9533cebb5300250a"><code>1026b47</code></a> [Gradle] Add KDoc for KotlinTargetWithTests</li> <li><a href="https://github.com/JetBrains/kotlin/commit/54452c021e4eb52fc06c30ce6ad95e8598b186c0"><code>54452c0</code></a> [Gradle] Add KDoc for KotlinTestRun</li> <li><a href="https://github.com/JetBrains/kotlin/commit/d10e47ad6f4deffb66571a427051d870336f5b45"><code>d10e47a</code></a> [Gradle] Add KDoc for KotlinExecution</li> <li><a href="https://github.com/JetBrains/kotlin/commit/1208eec9269efc6ccf1924664c9f3e383a35fb7e"><code>1208eec</code></a> fix: clarifications and language polishing</li> <li>Additional commits viewable in <a href="https://github.com/JetBrains/kotlin/compare/v2.0.21...v2.1.0">compare view</a></li> </ul> </details> <br /> Updates `org.jetbrains.kotlin.android` from 2.0.21 to 2.1.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/JetBrains/kotlin/releases">org.jetbrains.kotlin.android's releases</a>.</em></p> <blockquote> <h2>Kotlin 2.1.0</h2> <h2>Changelog</h2> <h3>Analysis API</h3> <h4>New Features</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-68603"><code>KT-68603</code></a> KotlinDirectInheritorsProvider: add an option to ignore non-kotlin results</li> </ul> <h4>Performance Improvements</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-70757"><code>KT-70757</code></a> Performance problem in KaFirVisibilityChecker for KaFirPsiJavaClassSymbol</li> </ul> <h4>Fixes</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-70437"><code>KT-70437</code></a> Class reference is not resolvable</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-57733"><code>KT-57733</code></a> Analysis API: Use optimized <code>ModuleWithDependenciesScope</code>s in combined symbol providers</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-72389"><code>KT-72389</code></a> K2: False positive "Redundant 'protected' modifier" for protected property inside protected constructor from private or internal class</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69190"><code>KT-69190</code></a> K2: False-positive "redundant private modifier"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-64984"><code>KT-64984</code></a> Analysis API: Support Wasm target</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70375"><code>KT-70375</code></a> K2: NPE at org.jetbrains.kotlin.analysis.api.fir.symbols.KaFirNamedClassSymbolBase.createPointer</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71259"><code>KT-71259</code></a> K2 evaluator: Invalid smart cast info collecting for Code Fragments</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69360"><code>KT-69360</code></a> Lack of implicit receiver for the last statement under lambda in scripts</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70890"><code>KT-70890</code></a> Analysis API: Experiment with weak references to LL FIR/analysis sessions in session caches</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70657"><code>KT-70657</code></a> Analysis API: Inner types from classes with generics are incorrectly represented by the compiled jars</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71055"><code>KT-71055</code></a> Suspend calls inside 'analyze()' break the block guarantees</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70815"><code>KT-70815</code></a> Analysis API: Implement stop-the-world session invalidation</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69819"><code>KT-69819</code></a> K2 IDE: LHS type in callable references is unresolved when it has type arguments and is qualified</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68761"><code>KT-68761</code></a> Analysis API: Experiment with limited-size cache in <code>KaFirSessionProvider</code></li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70384"><code>KT-70384</code></a> Analysis API Standalone: The same class in the same two renamed jars is unresolved</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71067"><code>KT-71067</code></a> Exceptions from references cancel Find Usages</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69535"><code>KT-69535</code></a> Redesign 'containingSymbol'</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71025"><code>KT-71025</code></a> K2 IDE: Scopes in "importingScopeContext" have reversed ordering and "indexInTower" values</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67483"><code>KT-67483</code></a> K2 IDE: Serializable plugin causes infinite resolve recursion when there is a star import from a class with annotation call</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69416"><code>KT-69416</code></a> K2 IDE / Completion: “No classifier found” on simple value creating</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70257"><code>KT-70257</code></a> CCE: class kotlin.UInt cannot be cast to class java.lang.Number</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70376"><code>KT-70376</code></a> K2 IDE / Kotlin Debugger: IAE “Only componentN functions should be cached this way, but got: toString” on evaluating toString() method for value class</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70264"><code>KT-70264</code></a> AA: service registration via XML fails with AbstractMethodError in Lint CLI</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69950"><code>KT-69950</code></a> Analysis API: Introduce <code>isSubtypeOf(ClassId)</code></li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68625"><code>KT-68625</code></a> K2: “<code>lazyResolveToPhase(STATUS)</code> cannot be called from a transformer with a phase STATUS.”</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67665"><code>KT-67665</code></a> K2: contract violation for value class with a constructor parameter with an implicit type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67009"><code>KT-67009</code></a> Analysis API: Add abbreviated type tests for type aliases from source modules</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69977"><code>KT-69977</code></a> KaFirFunctionalType#getAbbreviation is always null</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68341"><code>KT-68341</code></a> Analysis API: Expanded function types from libraries don't have an abbreviated type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68857"><code>KT-68857</code></a> Analysis API: Refactor annotations</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70386"><code>KT-70386</code></a> Do not filter out overloads from different libraries in dangling files</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-65552"><code>KT-65552</code></a> K2: CANNOT_CHECK_FOR_ERASED in KtTypeCodeFragment</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-65803"><code>KT-65803</code></a> K2: Analysis API: KtFirTypeProvider#getSubstitutedSuperTypes throws an exception in the case of "Wrong number of type arguments"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68896"><code>KT-68896</code></a> Support VirtualFile binary dependency inputs to Analysis API modules</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69395"><code>KT-69395</code></a> K2 IDE: incorrect overload selection from binary dependencies in a shared native source set</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/JetBrains/kotlin/blob/v2.1.0/ChangeLog.md">org.jetbrains.kotlin.android's changelog</a>.</em></p> <blockquote> <h2>2.1.0</h2> <h3>Analysis API</h3> <h4>New Features</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-68603"><code>KT-68603</code></a> KotlinDirectInheritorsProvider: add an option to ignore non-kotlin results</li> </ul> <h4>Performance Improvements</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-70757"><code>KT-70757</code></a> Performance problem in KaFirVisibilityChecker for KaFirPsiJavaClassSymbol</li> </ul> <h4>Fixes</h4> <ul> <li><a href="https://youtrack.jetbrains.com/issue/KT-70437"><code>KT-70437</code></a> Class reference is not resolvable</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-57733"><code>KT-57733</code></a> Analysis API: Use optimized <code>ModuleWithDependenciesScope</code>s in combined symbol providers</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-72389"><code>KT-72389</code></a> K2: False positive "Redundant 'protected' modifier" for protected property inside protected constructor from private or internal class</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69190"><code>KT-69190</code></a> K2: False-positive "redundant private modifier"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-64984"><code>KT-64984</code></a> Analysis API: Support Wasm target</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70375"><code>KT-70375</code></a> K2: NPE at org.jetbrains.kotlin.analysis.api.fir.symbols.KaFirNamedClassSymbolBase.createPointer</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71259"><code>KT-71259</code></a> K2 evaluator: Invalid smart cast info collecting for Code Fragments</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69360"><code>KT-69360</code></a> Lack of implicit receiver for the last statement under lambda in scripts</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70890"><code>KT-70890</code></a> Analysis API: Experiment with weak references to LL FIR/analysis sessions in session caches</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70657"><code>KT-70657</code></a> Analysis API: Inner types from classes with generics are incorrectly represented by the compiled jars</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71055"><code>KT-71055</code></a> Suspend calls inside 'analyze()' break the block guarantees</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70815"><code>KT-70815</code></a> Analysis API: Implement stop-the-world session invalidation</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69819"><code>KT-69819</code></a> K2 IDE: LHS type in callable references is unresolved when it has type arguments and is qualified</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68761"><code>KT-68761</code></a> Analysis API: Experiment with limited-size cache in <code>KaFirSessionProvider</code></li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70384"><code>KT-70384</code></a> Analysis API Standalone: The same class in the same two renamed jars is unresolved</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71067"><code>KT-71067</code></a> Exceptions from references cancel Find Usages</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69535"><code>KT-69535</code></a> Redesign 'containingSymbol'</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-71025"><code>KT-71025</code></a> K2 IDE: Scopes in "importingScopeContext" have reversed ordering and "indexInTower" values</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67483"><code>KT-67483</code></a> K2 IDE: Serializable plugin causes infinite resolve recursion when there is a star import from a class with annotation call</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69416"><code>KT-69416</code></a> K2 IDE / Completion: “No classifier found” on simple value creating</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70257"><code>KT-70257</code></a> CCE: class kotlin.UInt cannot be cast to class java.lang.Number</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70376"><code>KT-70376</code></a> K2 IDE / Kotlin Debugger: IAE “Only componentN functions should be cached this way, but got: toString” on evaluating toString() method for value class</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70264"><code>KT-70264</code></a> AA: service registration via XML fails with AbstractMethodError in Lint CLI</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69950"><code>KT-69950</code></a> Analysis API: Introduce <code>isSubtypeOf(ClassId)</code></li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68625"><code>KT-68625</code></a> K2: “<code>lazyResolveToPhase(STATUS)</code> cannot be called from a transformer with a phase STATUS.”</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67665"><code>KT-67665</code></a> K2: contract violation for value class with a constructor parameter with an implicit type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-67009"><code>KT-67009</code></a> Analysis API: Add abbreviated type tests for type aliases from source modules</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69977"><code>KT-69977</code></a> KaFirFunctionalType#getAbbreviation is always null</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68341"><code>KT-68341</code></a> Analysis API: Expanded function types from libraries don't have an abbreviated type</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68857"><code>KT-68857</code></a> Analysis API: Refactor annotations</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-70386"><code>KT-70386</code></a> Do not filter out overloads from different libraries in dangling files</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-65552"><code>KT-65552</code></a> K2: CANNOT_CHECK_FOR_ERASED in KtTypeCodeFragment</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-65803"><code>KT-65803</code></a> K2: Analysis API: KtFirTypeProvider#getSubstitutedSuperTypes throws an exception in the case of "Wrong number of type arguments"</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68896"><code>KT-68896</code></a> Support VirtualFile binary dependency inputs to Analysis API modules</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-69395"><code>KT-69395</code></a> K2 IDE: incorrect overload selection from binary dependencies in a shared native source set</li> <li><a href="https://youtrack.jetbrains.com/issue/KT-68573"><code>KT-68573</code></a> ISE: "Unexpected constant value (kotlin/annotation/AnnotationTarget, CLASS)" at Kt1DescUtilsKt.toKtConstantValue()</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/JetBrains/kotlin/commit/5dd9cea66ee526f0251c9b1d2543229202622f6b"><code>5dd9cea</code></a> Add ChangeLog for 2.1.0</li> <li><a href="https://github.com/JetBrains/kotlin/commit/be31f19145a096198df5f371118961f202126eb0"><code>be31f19</code></a> [Gradle] Fix documentation publishing to Kotlinlang</li> <li><a href="https://github.com/JetBrains/kotlin/commit/f959bf2dd9a5f02b66fb339e8e659bc2590a9aa7"><code>f959bf2</code></a> Add ChangeLog for 2.1.0-RC2</li> <li><a href="https://github.com/JetBrains/kotlin/commit/b21df7b4e9852022aae95cdd4f922c3df809adf5"><code>b21df7b</code></a> [Gradle] Update info about versioning</li> <li><a href="https://github.com/JetBrains/kotlin/commit/a7dabb638d59fc4ac7ba5aaa6bfed99022d02fa6"><code>a7dabb6</code></a> [Gradle] Fix templates extraction</li> <li><a href="https://github.com/JetBrains/kotlin/commit/858b9147b4c89ce9dc9521df57f4b3395729b867"><code>858b914</code></a> [Gradle] Add KDoc for KotlinTargetsDsl</li> <li><a href="https://github.com/JetBrains/kotlin/commit/1026b47e1c6fa8e7728c61ae9533cebb5300250a"><code>1026b47</code></a> [Gradle] Add KDoc for KotlinTargetWithTests</li> <li><a href="https://github.com/JetBrains/kotlin/commit/54452c021e4eb52fc06c30ce6ad95e8598b186c0"><code>54452c0</code></a> [Gradle] Add KDoc for KotlinTestRun</li> <li><a href="https://github.com/JetBrains/kotlin/commit/d10e47ad6f4deffb66571a427051d870336f5b45"><code>d10e47a</code></a> [Gradle] Add KDoc for KotlinExecution</li> <li><a href="https://github.com/JetBrains/kotlin/commit/1208eec9269efc6ccf1924664c9f3e383a35fb7e"><code>1208eec</code></a> fix: clarifications and language polishing</li> <li>Additional commits viewable in <a href="https://github.com/JetBrains/kotlin/compare/v2.0.21...v2.1.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information