Skip to content

Bump kotlin from 2.1.21 to 2.2.0#1073

Merged
StaehliJ merged 5 commits intomainfrom
dependabot/gradle/kotlin-2.2.0
Jun 25, 2025
Merged

Bump kotlin from 2.1.21 to 2.2.0#1073
StaehliJ merged 5 commits intomainfrom
dependabot/gradle/kotlin-2.2.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 23, 2025

Bumps kotlin from 2.1.21 to 2.2.0.
Updates org.jetbrains.kotlin:kotlin-gradle-plugin from 2.1.21 to 2.2.0

Release notes

Sourced from org.jetbrains.kotlin:kotlin-gradle-plugin's releases.

Kotlin 2.2.0

Changelog

Analysis API

  • KT-73337 Migrate analysis sources to new IR parameter API
  • KT-75880 K2 Mode: Typealias reference resolves to the underlying class in KMP project
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site
  • KT-57733 Analysis API: Use optimized ModuleWithDependenciesScopes in combined symbol providers
  • KT-69535 Redesign 'containingSymbol'
  • KT-69950 Analysis API: Introduce isSubtypeOf(ClassId)
  • KT-68393 Analysis API: Rename KaClassLikeSymbol. classIdIfNonLocal to classId
  • KT-62924 Analysis API: rename KtCallableSymbol.callableIdIfNonLocal -> callableId

Analysis API. Code Compilation

  • KT-75502 K2: IDEA hangs when evaluating inside kotlin-stdlib modules in the Kotlin project
  • KT-73077 Evaluation of inline functions is broken inside Kotlin project and Amper module in Idea sources
  • KT-73936 K2: CyclicInlineDependencyException: Inline functions have a cyclic dependency in evaluator
  • KT-74582 InterpreterMethodNotFoundError when trying to evaluate simple expressions after recent fixes
  • KT-74524 Compilation exception with incorrect JvmName annotation arguments
  • KT-74443 Compilation peer collector ignores inline property accessors

Analysis API. FIR

New Features

Performance Improvements

  • KT-75790 Experiment with increasing DEFAULT_LOCKING_INTERVAL time
  • KT-72159 LLFirCompilerRequiredAnnotationsTargetResolver: consider rewriting it to use honest jumping locks

Fixes

  • KT-76331 Cleanup FileStructureElement for classes
  • KT-73117 K2 AA: Exception "Setter is not found" when val has a setter without body
  • KT-76540 K2: Missing library dependency on Android SDK from androidx.activity-1.8.2 causes LiveEdit failures
  • KT-73266 K2. "Declaration should have non-local container" with unclosed annotation on top-level function
  • KT-76432 JavaClassUseSiteMemberScope: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl
  • KT-76217 K2 AA: "No fir element was found for KtParameter" with multiple context parameter lists
  • KT-74740 Highlighting is broken after the built-in serialization refactoring
  • KT-76366 ContextCollector: annotations on class members don't have the class as implicit receiver
  • KT-76352 ContextCollector: wrong class annotation context in BODY mode
  • KT-76341 ContextCollector: support dangling modifiers
  • KT-76332 "Declaration should have non-local container" for declaration inside file annotation
  • KT-76115 Disable FirElementBuilder#getFirForElementInsideAnnotations optimization for files, classes and scripts
  • KT-76347 ContextCollector: avoid resolution for enum entry annotations
  • KT-76272 Cleanup AbstractFileStructureTest

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin:kotlin-gradle-plugin's changelog.

2.2.0-RC3

Compiler

  • KT-77301 False positive Context Parameter resolution when using DslMarker

JavaScript

  • KT-78073 K/JS: KProperty from local delegate changes after another delegate is invoked

Klibs

  • KT-78168 K/N: "IndexOutOfBoundsException: Index 3 out of bounds for length 3" for iOS build with Kotlin 2.2.0-RC2

2.2.0-RC2

Backend. Wasm

  • KT-77622 K/Wasm: investigate CMP crash on mobile Safari

Compiler

  • KT-77220 Annotation with EXPRESSION is not allowed on lambdas in Kotlin 2.2.0

Compose compiler

  • b/420729503 Avoid copying @Deprecated annotations on Compose compiler stubs
  • b/417412949 Emit fake line number for skipToGroupEnd branch

IR. Tree

  • KT-77508 K/JS and K/Native CompilationException Wrong number of parameters in wrapper

JVM. Reflection

  • KT-77663 Reflection: java.util.ServiceConfigurationError: "module kotlin.reflect does not declare uses" when using kotlin-reflect in modular mode

Tools. CLI

  • KT-77445 UNRESOLVED_REFERENCE when importing classes from kotlin-stdlib

Tools. Gradle. Multiplatform

  • KT-77404 The kotlin-stdlib and annotations are missing from commonTest dependencies with 2.2.0-Beta1

2.2.0-RC

Compiler

... (truncated)

Commits
  • 631e9fd Add ChangeLog for 2.2.0-RC3
  • f4ff47f [Accessors] Correctly create arguments for accessors
  • 4086c4b [Gradle] Apply Dokka versioning plugin also to leaf partial html
  • a8a8e06 [JS] Fix getting names of local delegated properties
  • 3b804bc [JS] Introduce the JsNoLifting annotation class
  • e690a3a [test] Add a reproducer for KT-78073
  • 0f85940 [FIR] Fix collection of DSL markers from function types
  • 726a9d7 [Tests] Reproduce #KT-77301
  • a6aed74 Add ChangeLog for 2.2.0-RC2
  • 2293f5f CLI: Follow symbolic links of content roots
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin:kotlin-parcelize-runtime from 2.1.21 to 2.2.0

Release notes

Sourced from org.jetbrains.kotlin:kotlin-parcelize-runtime's releases.

Kotlin 2.2.0

Changelog

Analysis API

  • KT-73337 Migrate analysis sources to new IR parameter API
  • KT-75880 K2 Mode: Typealias reference resolves to the underlying class in KMP project
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site
  • KT-57733 Analysis API: Use optimized ModuleWithDependenciesScopes in combined symbol providers
  • KT-69535 Redesign 'containingSymbol'
  • KT-69950 Analysis API: Introduce isSubtypeOf(ClassId)
  • KT-68393 Analysis API: Rename KaClassLikeSymbol. classIdIfNonLocal to classId
  • KT-62924 Analysis API: rename KtCallableSymbol.callableIdIfNonLocal -> callableId

Analysis API. Code Compilation

  • KT-75502 K2: IDEA hangs when evaluating inside kotlin-stdlib modules in the Kotlin project
  • KT-73077 Evaluation of inline functions is broken inside Kotlin project and Amper module in Idea sources
  • KT-73936 K2: CyclicInlineDependencyException: Inline functions have a cyclic dependency in evaluator
  • KT-74582 InterpreterMethodNotFoundError when trying to evaluate simple expressions after recent fixes
  • KT-74524 Compilation exception with incorrect JvmName annotation arguments
  • KT-74443 Compilation peer collector ignores inline property accessors

Analysis API. FIR

New Features

Performance Improvements

  • KT-75790 Experiment with increasing DEFAULT_LOCKING_INTERVAL time
  • KT-72159 LLFirCompilerRequiredAnnotationsTargetResolver: consider rewriting it to use honest jumping locks

Fixes

  • KT-76331 Cleanup FileStructureElement for classes
  • KT-73117 K2 AA: Exception "Setter is not found" when val has a setter without body
  • KT-76540 K2: Missing library dependency on Android SDK from androidx.activity-1.8.2 causes LiveEdit failures
  • KT-73266 K2. "Declaration should have non-local container" with unclosed annotation on top-level function
  • KT-76432 JavaClassUseSiteMemberScope: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl
  • KT-76217 K2 AA: "No fir element was found for KtParameter" with multiple context parameter lists
  • KT-74740 Highlighting is broken after the built-in serialization refactoring
  • KT-76366 ContextCollector: annotations on class members don't have the class as implicit receiver
  • KT-76352 ContextCollector: wrong class annotation context in BODY mode
  • KT-76341 ContextCollector: support dangling modifiers
  • KT-76332 "Declaration should have non-local container" for declaration inside file annotation
  • KT-76115 Disable FirElementBuilder#getFirForElementInsideAnnotations optimization for files, classes and scripts
  • KT-76347 ContextCollector: avoid resolution for enum entry annotations
  • KT-76272 Cleanup AbstractFileStructureTest

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin:kotlin-parcelize-runtime's changelog.

2.2.0-RC3

Compiler

  • KT-77301 False positive Context Parameter resolution when using DslMarker

JavaScript

  • KT-78073 K/JS: KProperty from local delegate changes after another delegate is invoked

Klibs

  • KT-78168 K/N: "IndexOutOfBoundsException: Index 3 out of bounds for length 3" for iOS build with Kotlin 2.2.0-RC2

2.2.0-RC2

Backend. Wasm

  • KT-77622 K/Wasm: investigate CMP crash on mobile Safari

Compiler

  • KT-77220 Annotation with EXPRESSION is not allowed on lambdas in Kotlin 2.2.0

Compose compiler

  • b/420729503 Avoid copying @Deprecated annotations on Compose compiler stubs
  • b/417412949 Emit fake line number for skipToGroupEnd branch

IR. Tree

  • KT-77508 K/JS and K/Native CompilationException Wrong number of parameters in wrapper

JVM. Reflection

  • KT-77663 Reflection: java.util.ServiceConfigurationError: "module kotlin.reflect does not declare uses" when using kotlin-reflect in modular mode

Tools. CLI

  • KT-77445 UNRESOLVED_REFERENCE when importing classes from kotlin-stdlib

Tools. Gradle. Multiplatform

  • KT-77404 The kotlin-stdlib and annotations are missing from commonTest dependencies with 2.2.0-Beta1

2.2.0-RC

Compiler

... (truncated)

Commits
  • 631e9fd Add ChangeLog for 2.2.0-RC3
  • f4ff47f [Accessors] Correctly create arguments for accessors
  • 4086c4b [Gradle] Apply Dokka versioning plugin also to leaf partial html
  • a8a8e06 [JS] Fix getting names of local delegated properties
  • 3b804bc [JS] Introduce the JsNoLifting annotation class
  • e690a3a [test] Add a reproducer for KT-78073
  • 0f85940 [FIR] Fix collection of DSL markers from function types
  • 726a9d7 [Tests] Reproduce #KT-77301
  • a6aed74 Add ChangeLog for 2.2.0-RC2
  • 2293f5f CLI: Follow symbolic links of content roots
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin:kotlin-stdlib from 2.1.21 to 2.2.0

Release notes

Sourced from org.jetbrains.kotlin:kotlin-stdlib's releases.

Kotlin 2.2.0

Changelog

Analysis API

  • KT-73337 Migrate analysis sources to new IR parameter API
  • KT-75880 K2 Mode: Typealias reference resolves to the underlying class in KMP project
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site
  • KT-57733 Analysis API: Use optimized ModuleWithDependenciesScopes in combined symbol providers
  • KT-69535 Redesign 'containingSymbol'
  • KT-69950 Analysis API: Introduce isSubtypeOf(ClassId)
  • KT-68393 Analysis API: Rename KaClassLikeSymbol. classIdIfNonLocal to classId
  • KT-62924 Analysis API: rename KtCallableSymbol.callableIdIfNonLocal -> callableId

Analysis API. Code Compilation

  • KT-75502 K2: IDEA hangs when evaluating inside kotlin-stdlib modules in the Kotlin project
  • KT-73077 Evaluation of inline functions is broken inside Kotlin project and Amper module in Idea sources
  • KT-73936 K2: CyclicInlineDependencyException: Inline functions have a cyclic dependency in evaluator
  • KT-74582 InterpreterMethodNotFoundError when trying to evaluate simple expressions after recent fixes
  • KT-74524 Compilation exception with incorrect JvmName annotation arguments
  • KT-74443 Compilation peer collector ignores inline property accessors

Analysis API. FIR

New Features

Performance Improvements

  • KT-75790 Experiment with increasing DEFAULT_LOCKING_INTERVAL time
  • KT-72159 LLFirCompilerRequiredAnnotationsTargetResolver: consider rewriting it to use honest jumping locks

Fixes

  • KT-76331 Cleanup FileStructureElement for classes
  • KT-73117 K2 AA: Exception "Setter is not found" when val has a setter without body
  • KT-76540 K2: Missing library dependency on Android SDK from androidx.activity-1.8.2 causes LiveEdit failures
  • KT-73266 K2. "Declaration should have non-local container" with unclosed annotation on top-level function
  • KT-76432 JavaClassUseSiteMemberScope: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl
  • KT-76217 K2 AA: "No fir element was found for KtParameter" with multiple context parameter lists
  • KT-74740 Highlighting is broken after the built-in serialization refactoring
  • KT-76366 ContextCollector: annotations on class members don't have the class as implicit receiver
  • KT-76352 ContextCollector: wrong class annotation context in BODY mode
  • KT-76341 ContextCollector: support dangling modifiers
  • KT-76332 "Declaration should have non-local container" for declaration inside file annotation
  • KT-76115 Disable FirElementBuilder#getFirForElementInsideAnnotations optimization for files, classes and scripts
  • KT-76347 ContextCollector: avoid resolution for enum entry annotations
  • KT-76272 Cleanup AbstractFileStructureTest

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin:kotlin-stdlib's changelog.

2.2.0-RC3

Compiler

  • KT-77301 False positive Context Parameter resolution when using DslMarker

JavaScript

  • KT-78073 K/JS: KProperty from local delegate changes after another delegate is invoked

Klibs

  • KT-78168 K/N: "IndexOutOfBoundsException: Index 3 out of bounds for length 3" for iOS build with Kotlin 2.2.0-RC2

2.2.0-RC2

Backend. Wasm

  • KT-77622 K/Wasm: investigate CMP crash on mobile Safari

Compiler

  • KT-77220 Annotation with EXPRESSION is not allowed on lambdas in Kotlin 2.2.0

Compose compiler

  • b/420729503 Avoid copying @Deprecated annotations on Compose compiler stubs
  • b/417412949 Emit fake line number for skipToGroupEnd branch

IR. Tree

  • KT-77508 K/JS and K/Native CompilationException Wrong number of parameters in wrapper

JVM. Reflection

  • KT-77663 Reflection: java.util.ServiceConfigurationError: "module kotlin.reflect does not declare uses" when using kotlin-reflect in modular mode

Tools. CLI

  • KT-77445 UNRESOLVED_REFERENCE when importing classes from kotlin-stdlib

Tools. Gradle. Multiplatform

  • KT-77404 The kotlin-stdlib and annotations are missing from commonTest dependencies with 2.2.0-Beta1

2.2.0-RC

Compiler

... (truncated)

Commits
  • 631e9fd Add ChangeLog for 2.2.0-RC3
  • f4ff47f [Accessors] Correctly create arguments for accessors
  • 4086c4b [Gradle] Apply Dokka versioning plugin also to leaf partial html
  • a8a8e06 [JS] Fix getting names of local delegated properties
  • 3b804bc [JS] Introduce the JsNoLifting annotation class
  • e690a3a [test] Add a reproducer for KT-78073
  • 0f85940 [FIR] Fix collection of DSL markers from function types
  • 726a9d7 [Tests] Reproduce #KT-77301
  • a6aed74 Add ChangeLog for 2.2.0-RC2
  • 2293f5f CLI: Follow symbolic links of content roots
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin:kotlin-test from 2.1.21 to 2.2.0

Release notes

Sourced from org.jetbrains.kotlin:kotlin-test's releases.

Kotlin 2.2.0

Changelog

Analysis API

  • KT-73337 Migrate analysis sources to new IR parameter API
  • KT-75880 K2 Mode: Typealias reference resolves to the underlying class in KMP project
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site
  • KT-57733 Analysis API: Use optimized ModuleWithDependenciesScopes in combined symbol providers
  • KT-69535 Redesign 'containingSymbol'
  • KT-69950 Analysis API: Introduce isSubtypeOf(ClassId)
  • KT-68393 Analysis API: Rename KaClassLikeSymbol. classIdIfNonLocal to classId
  • KT-62924 Analysis API: rename KtCallableSymbol.callableIdIfNonLocal -> callableId

Analysis API. Code Compilation

  • KT-75502 K2: IDEA hangs when evaluating inside kotlin-stdlib modules in the Kotlin project
  • KT-73077 Evaluation of inline functions is broken inside Kotlin project and Amper module in Idea sources
  • KT-73936 K2: CyclicInlineDependencyException: Inline functions have a cyclic dependency in evaluator
  • KT-74582 InterpreterMethodNotFoundError when trying to evaluate simple expressions after recent fixes
  • KT-74524 Compilation exception with incorrect JvmName annotation arguments
  • KT-74443 Compilation peer collector ignores inline property accessors

Analysis API. FIR

New Features

Performance Improvements

  • KT-75790 Experiment with increasing DEFAULT_LOCKING_INTERVAL time
  • KT-72159 LLFirCompilerRequiredAnnotationsTargetResolver: consider rewriting it to use honest jumping locks

Fixes

  • KT-76331 Cleanup FileStructureElement for classes
  • KT-73117 K2 AA: Exception "Setter is not found" when val has a setter without body
  • KT-76540 K2: Missing library dependency on Android SDK from androidx.activity-1.8.2 causes LiveEdit failures
  • KT-73266 K2. "Declaration should have non-local container" with unclosed annotation on top-level function
  • KT-76432 JavaClassUseSiteMemberScope: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl
  • KT-76217 K2 AA: "No fir element was found for KtParameter" with multiple context parameter lists
  • KT-74740 Highlighting is broken after the built-in serialization refactoring
  • KT-76366 ContextCollector: annotations on class members don't have the class as implicit receiver
  • KT-76352 ContextCollector: wrong class annotation context in BODY mode
  • KT-76341 ContextCollector: support dangling modifiers
  • KT-76332 "Declaration should have non-local container" for declaration inside file annotation
  • KT-76115 Disable FirElementBuilder#getFirForElementInsideAnnotations optimization for files, classes and scripts
  • KT-76347 ContextCollector: avoid resolution for enum entry annotations
  • KT-76272 Cleanup AbstractFileStructureTest

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin:kotlin-test's changelog.

2.2.0-RC3

Compiler

  • KT-77301 False positive Context Parameter resolution when using DslMarker

JavaScript

  • KT-78073 K/JS: KProperty from local delegate changes after another delegate is invoked

Klibs

  • KT-78168 K/N: "IndexOutOfBoundsException: Index 3 out of bounds for length 3" for iOS build with Kotlin 2.2.0-RC2

2.2.0-RC2

Backend. Wasm

  • KT-77622 K/Wasm: investigate CMP crash on mobile Safari

Compiler

  • KT-77220 Annotation with EXPRESSION is not allowed on lambdas in Kotlin 2.2.0

Compose compiler

  • b/420729503 Avoid copying @Deprecated annotations on Compose compiler stubs
  • b/417412949 Emit fake line number for skipToGroupEnd branch

IR. Tree

  • KT-77508 K/JS and K/Native CompilationException Wrong number of parameters in wrapper

JVM. Reflection

  • KT-77663 Reflection: java.util.ServiceConfigurationError: "module kotlin.reflect does not declare uses" when using kotlin-reflect in modular mode

Tools. CLI

  • KT-77445 UNRESOLVED_REFERENCE when importing classes from kotlin-stdlib

Tools. Gradle. Multiplatform

  • KT-77404 The kotlin-stdlib and annotations are missing from commonTest dependencies with 2.2.0-Beta1

2.2.0-RC

Compiler

... (truncated)

Commits
  • 631e9fd Add ChangeLog for 2.2.0-RC3
  • f4ff47f [Accessors] Correctly create arguments for accessors
  • 4086c4b [Gradle] Apply Dokka versioning plugin also to leaf partial html
  • a8a8e06 [JS] Fix getting names of local delegated properties
  • 3b804bc [JS] Introduce the JsNoLifting annotation class
  • e690a3a [test] Add a reproducer for KT-78073
  • 0f85940 [FIR] Fix collection of DSL markers from function types
  • 726a9d7 [Tests] Reproduce #KT-77301
  • a6aed74 Add ChangeLog for 2.2.0-RC2
  • 2293f5f CLI: Follow symbolic links of content roots
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin.android from 2.1.21 to 2.2.0

Release notes

Sourced from org.jetbrains.kotlin.android's releases.

Kotlin 2.2.0

Changelog

Analysis API

  • KT-73337 Migrate analysis sources to new IR parameter API
  • KT-75880 K2 Mode: Typealias reference resolves to the underlying class in KMP project
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site
  • KT-57733 Analysis API: Use optimized ModuleWithDependenciesScopes in combined symbol providers
  • KT-69535 Redesign 'containingSymbol'
  • KT-69950 Analysis API: Introduce isSubtypeOf(ClassId)
  • KT-68393 Analysis API: Rename KaClassLikeSymbol. classIdIfNonLocal to classId
  • KT-62924 Analysis API: rename KtCallableSymbol.callableIdIfNonLocal -> callableId

Analysis API. Code Compilation

  • KT-75502 K2: IDEA hangs when evaluating inside kotlin-stdlib modules in the Kotlin project
  • KT-73077 Evaluation of inline functions is broken inside Kotlin project and Amper module in Idea sources
  • KT-73936 K2: CyclicInlineDependencyException: Inline functions have a cyclic dependency in evaluator
  • KT-74582 InterpreterMethodNotFoundError when trying to evaluate simple expressions after recent fixes
  • KT-74524 Compilation exception with incorrect JvmName annotation arguments
  • KT-74443 Compilation peer collector ignores inline property accessors

Analysis API. FIR

New Features

Performance Improvements

  • KT-75790 Experiment with increasing DEFAULT_LOCKING_INTERVAL time
  • KT-72159 LLFirCompilerRequiredAnnotationsTargetResolver: consider rewriting it to use honest jumping locks

Fixes

  • KT-76331 Cleanup FileStructureElement for classes
  • KT-73117 K2 AA: Exception "Setter is not found" when val has a setter without body
  • KT-76540 K2: Missing library dependency on Android SDK from androidx.activity-1.8.2 causes LiveEdit failures
  • KT-73266 K2. "Declaration should have non-local container" with unclosed annotation on top-level function
  • KT-76432 JavaClassUseSiteMemberScope: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl
  • KT-76217 K2 AA: "No fir element was found for KtParameter" with multiple context parameter lists
  • KT-74740 Highlighting is broken after the built-in serialization refactoring
  • KT-76366 ContextCollector: annotations on class members don't have the class as implicit receiver
  • KT-76352 ContextCollector: wrong class annotation context in BODY mode
  • KT-76341 ContextCollector: support dangling modifiers
  • KT-76332 "Declaration should have non-local container" for declaration inside file annotation
  • KT-76115 Disable FirElementBuilder#getFirForElementInsideAnnotations optimization for files, classes and scripts
  • KT-76347 ContextCollector: avoid resolution for enum entry annotations
  • KT-76272 Cleanup AbstractFileStructureTest

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin.android's changelog.

2.2.0-RC3

Compiler

  • KT-77301 False positive Context Parameter resolution when using DslMarker

JavaScript

  • KT-78073 K/JS: KProperty from local delegate changes after another delegate is invoked

Klibs

  • KT-78168 K/N: "IndexOutOfBoundsException: Index 3 out of bounds for length 3" for iOS build with Kotlin 2.2.0-RC2

2.2.0-RC2

Backend. Wasm

  • KT-77622 K/Wasm: investigate CMP crash on mobile Safari

Compiler

  • KT-77220 Annotation with EXPRESSION is not allowed on lambdas in Kotlin 2.2.0

Compose compiler

  • b/420729503 Avoid copying @Deprecated annotations on Compose compiler stubs
  • b/417412949 Emit fake line number for skipToGroupEnd branch

IR. Tree

  • KT-77508 K/JS and K/Native CompilationException Wrong number of parameters in wrapper

JVM. Reflection

  • KT-77663 Reflection: java.util.ServiceConfigurationError: "module kotlin.reflect does not declare uses" when using kotlin-reflect in modular mode

Tools. CLI

  • KT-77445 UNRESOLVED_REFERENCE when importing classes from kotlin-stdlib

Tools. Gradle. Multiplatform

  • KT-77404 The kotlin-stdlib and annotations are missing from commonTest dependencies with 2.2.0-Beta1

2.2.0-RC

Compiler

... (truncated)

Commits
  • 631e9fd Add ChangeLog for 2.2.0-RC3
  • f4ff47f [Accessors] Correctly create arguments for accessors
  • 4086c4b [Gradle] Apply Dokka versioning plugin also to leaf partial html
  • a8a8e06 [JS] Fix getting names of local delegated properties
  • 3b804bc [JS] Introduce the JsNoLifting annotation class
  • e690a3a [test] Add a reproducer for KT-78073
  • 0f85940 [FIR] Fix collection of DSL markers from function types
  • 726a9d7 [Tests] Reproduce #KT-77301
  • a6aed74 Add ChangeLog for 2.2.0-RC2
  • 2293f5f CLI: Follow symbolic links of content roots
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin.plugin.compose from 2.1.21 to 2.2.0

Release notes

Sourced from org.jetbrains.kotlin.plugin.compose's releases.

Kotlin 2.2.0

Changelog

Analysis API

  • KT-73337 Migrate analysis sources to new IR parameter API
  • KT-75880 K2 Mode: Typealias reference resolves to the underlying class in KMP project
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site
  • KT-57733 Analysis API: Use optimized ModuleWithDependenciesScopes in combined symbol providers
  • KT-69535 Redesign 'containingSymbol'
  • KT-69950 Analysis API: Introduce isSubtypeOf(ClassId)
  • KT-68393 Analysis API: Rename KaClassLikeSymbol. classIdIfNonLocal to classId
  • KT-62924 Analysis API: rename KtCallableSymbol.callableIdIfNonLocal -> callableId

Analysis API. Code Compilation

  • KT-75502 K2: IDEA hangs when evaluating inside kotlin-stdlib modules in the Kotlin project
  • KT-73077 Evaluation of inline functions is broken inside Kotlin project and Amper module in Idea sources
  • KT-73936 K2: CyclicInlineDependencyException: Inline functions have a cyclic dependency in evaluator
  • KT-74582 InterpreterMethodNotFoundError when trying to evaluate simple expressions after recent fixes
  • KT-74524 Compilation exception with incorrect JvmName annotation arguments
  • KT-74443 Compilation peer collector ignores inline property accessors

Analysis API. FIR

New Features

Performance Improvements

  • KT-75790 Experiment with increasing DEFAULT_LOCKING_INTERVAL time
  • KT-72159 LLFirCompilerRequiredAnnotationsTargetResolver: consider rewriting it to use honest jumping locks

Fixes

  • KT-76331 Cleanup FileStructureElement for classes
  • KT-73117 K2 AA: Exception "Setter is not found" when val has a setter without body
  • KT-76540 K2: Missing library dependency on Android SDK from androidx.activity-1.8.2 causes LiveEdit failures
  • KT-73266 K2. "Declaration should have non-local container" with unclosed annotation on top-level function
  • KT-76432 JavaClassUseSiteMemberScope: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl
  • KT-76217 K2 AA: "No fir element was found for KtParameter" with multiple context parameter lists
  • KT-74740 Highlighting is broken after the built-in serialization refactoring
  • KT-76366 ContextCollector: annotations on class members don't have the class as implicit receiver
  • KT-76352 ContextCollector: wrong class annotation context in BODY mode
  • KT-76341 ContextCollector: support dangling modifiers
  • KT-76332 "Declaration should have non-local container" for declaration inside file annotation
  • KT-76115 Disable FirElementBuilder#getFirForElementInsideAnnotations optimization for files, classes and scripts
  • KT-76347 ContextCollector: avoid resolution for enum entry annotations
  • KT-76272 Cleanup AbstractFileStructureTest

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin.plugin.compose's changelog.

2.2.0-RC3

Compiler

  • KT-77301 False positive Context Parameter resolution when using DslMarker

JavaScript

  • KT-78073 K/JS: KProperty from local delegate changes after another delegate is invoked

Klibs

  • KT-78168 K/N: "IndexOutOfBoundsException: Index 3 out of bounds for length 3" for iOS build with Kotlin 2.2.0-RC2

2.2.0-RC2

Backend. Wasm

  • KT-77622 K/Wasm: investigate CMP crash on mobile Safari

Compiler

  • KT-77220 Annotation with EXPRESSION is not allowed on lambdas in Kotlin 2.2.0

Compose compiler

  • b/420729503 Avoid copying @Deprecated annotations on Compose compiler stubs
  • b/417412949 Emit fake line number for skipToGroupEnd branch

IR. Tree

  • KT-77508 K/JS and K/Native CompilationException Wrong number of parameters in wrapper

JVM. Reflection

  • KT-77663 Reflection: java.util.ServiceConfigurationError: "module kotlin.reflect does not declare uses" when using kotlin-reflect in modular mode

Tools. CLI

  • KT-77445 UNRESOLVED_REFERENCE when importing classes from kotlin-stdlib

Tools. Gradle. Multiplatform

  • KT-77404 The kotlin-stdlib and annotations are missing from commonTest dependencies with 2.2.0-Beta1

2.2.0-RC

Compiler

... (truncated)

Commits
  • 631e9fd Add ChangeLog for 2.2.0-RC3
  • f4ff47f [Accessors] Correctly create arguments for accessors
  • 4086c4b [Gradle] Apply Dokka versioning plugin also to leaf partial html
  • a8a8e06 [JS] Fix getting names of local delegated properties
  • 3b804bc [JS] Introduce the JsNoLifting annotation class
  • e690a3a [test] Add a reproducer for KT-78073
  • 0f85940 [FIR] Fix collection of DSL markers from function types
  • 726a9d7 [Tests] Reproduce #KT-77301
  • a6aed74 Add ChangeLog for 2.2.0-RC2
  • 2293f5f CLI: Follow symbolic links of content roots
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin.plugin.parcelize from 2.1.21 to 2.2.0

Release notes

Sourced from org.jetbrains.kotlin.plugin.parcelize's releases.

Kotlin 2.2.0

Changelog

Analysis API

  • KT-73337 Migrate analysis sources to new IR parameter API
  • KT-75880 K2 Mode: Typealias reference resolves to the underlying class in KMP project
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site
  • KT-57733 Analysis API: Use optimized ModuleWithDependenciesScopes in combined symbol providers
  • KT-69535 Redesign 'containingSymbol'
  • KT-69950 Analysis API: Introduce isSubtypeOf(ClassId)
  • KT-68393 Analysis API: Rename KaClassLikeSymbol. classIdIfNonLocal to classId
  • KT-62924 Analysis API: rename KtCallableSymbol.callableIdIfNonLocal -> callableId

Analysis API. Code Compilation

  • KT-75502 K2: IDEA hangs when evaluating inside kotlin-stdlib modules in the Kotlin project
  • KT-73077 Evaluation of inline functions is broken inside Kotlin project and Amper module in Idea sources
  • KT-73936 K2: CyclicInlineDependencyException: Inline functions have a cyclic dependency in evaluator
  • KT-74582 InterpreterMethodNotFoundError when trying to evaluate simple expressions after recent fixes
  • KT-74524 Compilation exception with incorrect JvmName annotation arguments
  • KT-74443 Compilation peer collector ignores inline property accessors

Analysis API. FIR

New Features

Performance Improvements

  • KT-75790 Experiment with increasing DEFAULT_LOCKING_INTERVAL time
  • KT-72159 LLFirCompilerRequiredAnnotationsTargetResolver: consider rewriting it to use honest jumping locks

Fixes

  • KT-76331 Cleanup FileStructureElement for classes
  • KT-73117 K2 AA: Exception "Setter is not found" when val has a setter without body
  • KT-76540 K2: Missing library dependency on And...

    Description has been truncated

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jun 23, 2025
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jun 23, 2025
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Pillarbox Jun 23, 2025
@MGaetan89 MGaetan89 moved this from 📋 Backlog to 🍿 Code Review in Pillarbox Jun 23, 2025
@dependabot dependabot bot force-pushed the dependabot/gradle/kotlin-2.2.0 branch 2 times, most recently from 5cea926 to 81565da Compare June 24, 2025 05:13
@MGaetan89
Copy link
Contributor

This requires a new version of https://github.com/autonomousapps/dependency-analysis-gradle-plugin first

@dependabot dependabot bot force-pushed the dependabot/gradle/kotlin-2.2.0 branch from 81565da to f74bfc9 Compare June 24, 2025 05:23
Bumps `kotlin` from 2.1.21 to 2.2.0.

Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 2.1.21 to 2.2.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.2.0/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.1.21...v2.2.0)

Updates `org.jetbrains.kotlin:kotlin-parcelize-runtime` from 2.1.21 to 2.2.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.2.0/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.1.21...v2.2.0)

Updates `org.jetbrains.kotlin:kotlin-stdlib` from 2.1.21 to 2.2.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.2.0/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.1.21...v2.2.0)

Updates `org.jetbrains.kotlin:kotlin-test` from 2.1.21 to 2.2.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.2.0/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.1.21...v2.2.0)

Updates `org.jetbrains.kotlin.android` from 2.1.21 to 2.2.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.2.0/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.1.21...v2.2.0)

Updates `org.jetbrains.kotlin.plugin.compose` from 2.1.21 to 2.2.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.2.0/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.1.21...v2.2.0)

Updates `org.jetbrains.kotlin.plugin.parcelize` from 2.1.21 to 2.2.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.2.0/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.1.21...v2.2.0)

Updates `org.jetbrains.kotlin.plugin.serialization` from 2.1.21 to 2.2.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.2.0/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.1.21...v2.2.0)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin:kotlin-parcelize-runtime
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin:kotlin-test
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin.android
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin.plugin.compose
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin.plugin.parcelize
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin.plugin.serialization
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/gradle/kotlin-2.2.0 branch from f74bfc9 to ff36d0d Compare June 25, 2025 08:23
@MGaetan89
Copy link
Contributor

Release notes: https://kotlinlang.org/docs/whatsnew22.html

@MGaetan89
Copy link
Contributor

@github-actions
Copy link

Code Coverage

Overall Project 49.77% -0.01% 🟢
Files changed 0% 🟢

Module Coverage
Kover Gradle Plugin XML report for :plugins 6.85% -0.26% 🟢
Files
Module File Coverage
Kover Gradle Plugin XML report for :plugins ProjectExtensions.kt 0% -2.78% 🟢

@MGaetan89 MGaetan89 requested a review from StaehliJ June 25, 2025 13:55
@MGaetan89
Copy link
Contributor

@StaehliJ I've updated the PR so we can update to Kotlin 2.2.0:

  • f4f3eb1 fixes the newest Kotlin warning
  • e0b710d updates Dependency Analysis Gradle Plugin to support Kotlin 2.2.0
  • 635f8e8 explicitly makes the build-logic module a Kotlin module, to avoid differences in the version of Kotlin used
  • 1bf3a38 updates the URL to a VOD sample to the latest one

@StaehliJ StaehliJ added this pull request to the merge queue Jun 25, 2025
Merged via the queue into main with commit 04b3edb Jun 25, 2025
10 checks passed
@StaehliJ StaehliJ deleted the dependabot/gradle/kotlin-2.2.0 branch June 25, 2025 14:32
@github-project-automation github-project-automation bot moved this from 🍿 Code Review to ✅ Done in Pillarbox Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants