Skip to content

chore(deps): bump kotlin from 2.2.0-Beta2 to 2.2.0-RC #507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 19, 2025

Bumps kotlin from 2.2.0-Beta2 to 2.2.0-RC.
Updates org.jetbrains.kotlin:kotlin-bom from 2.2.0-Beta2 to 2.2.0-RC

Release notes

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

Kotlin 2.2.0-RC

Changelog

Compiler

Fixes

  • KT-77259 Confusing message for ANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
  • KT-77219 "@Composable annotation is not applicable" on vararg @Composable () -> Unit in Kotlin 2.2.0
  • KT-77397 Report UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL when calling declaration with contextual function type in signature
  • KT-74470 NSME on calling in runtime internal constructor of value class with default arg from tests
  • KT-77137 K2: Controversial behavior allows resolving annotation arguments on a companion inside it
  • KT-77150 Native: compilation fails with an assertion error
  • KT-76357 K2: a nested class annotation observes member declarations of the outer class
  • KT-77283 Binary compatibility of FirDeclarationChecker
  • KT-75457 Native: cache machinery uses stdlib cache with default runtime options even if custom runtime options are supplied when partial linkage is disabled
  • KT-76898 K2: ClassCastException when data class shadows supertype's componentX method with wrong type
  • KT-77078 K2: anonymous object is wrongly allowed to implement interfaces by unsafe Delegation
  • KT-77001 Leave ForbidParenthesizedLhsInAssignments as a warning

Compose compiler

  • CMP-7873 Native build fails with "e: Compilation failed: Exception during generating code for following declaration"
  • b/412584977 Fix false positive for overriding open functions from older dependencies

JavaScript

  • KT-77418 KJS: cannot debug with whole-program granularity
  • KT-77271 KJS / Serialization: "Cannot set property message of Error which has only a getter"
  • KT-69591 KJS / d.ts: Wrong type of SerializerFactory for abstract classes
  • KT-42305 KJS / IR: "Class constructor is marked as private" @JsExport produces wrong TS code for sealed classes
  • KT-52563 KJS / IR: Invalid TypeScript generated for class extending base class with private constructor

Native

  • KT-76992 Native: update llvm for windows targets

Native. Build Infrastructure

  • KT-77349 Kotlin/Native: default cache for stdlib is unused

Tools. Gradle

  • KT-76138 Compile against Gradle API 8.14
  • KT-76139 Run integration tests against Gradle 8.14
  • KT-76137 Compatibility with Gradle 8.14 release
  • KT-76797 KGP: StdlibDependencyManagementKt.configureStdlibVersionAlignment() triggering eager configuration realization
  • KT-77288 Using 'KotlinJvmOptions' is an error - Gradle sync issue when using 2.2.0-Beta2 with Android Gradle Plugin
  • KT-77035 A compiler diagnostic isn't reported when its severity is set to warning with Gradle
  • KT-73142 Kotlin Gradle plugin: Remove usage of Gradle's internal ExecHandleBuilder

... (truncated)

Changelog

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

2.2.0-RC

Compiler

Fixes

  • KT-77259 Confusing message for ANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
  • KT-77219 "@Composable annotation is not applicable" on vararg @Composable () -> Unit in Kotlin 2.2.0
  • KT-77397 Report UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL when calling declaration with contextual function type in signature
  • KT-74470 NSME on calling in runtime internal constructor of value class with default arg from tests
  • KT-77137 K2: Controversial behavior allows resolving annotation arguments on a companion inside it
  • KT-77150 Native: compilation fails with an assertion error
  • KT-76357 K2: a nested class annotation observes member declarations of the outer class
  • KT-77283 Binary compatibility of FirDeclarationChecker
  • KT-75457 Native: cache machinery uses stdlib cache with default runtime options even if custom runtime options are supplied when partial linkage is disabled
  • KT-76898 K2: ClassCastException when data class shadows supertype's componentX method with wrong type
  • KT-77078 K2: anonymous object is wrongly allowed to implement interfaces by unsafe Delegation
  • KT-77001 Leave ForbidParenthesizedLhsInAssignments as a warning

Compose compiler

  • CMP-7873 Native build fails with "e: Compilation failed: Exception during generating code for following declaration"
  • b/412584977 Fix false positive for overriding open functions from older dependencies

JavaScript

  • KT-77418 KJS: cannot debug with whole-program granularity
  • KT-77271 KJS / Serialization: "Cannot set property message of Error which has only a getter"
  • KT-69591 KJS / d.ts: Wrong type of SerializerFactory for abstract classes
  • KT-42305 KJS / IR: "Class constructor is marked as private" @JsExport produces wrong TS code for sealed classes
  • KT-52563 KJS / IR: Invalid TypeScript generated for class extending base class with private constructor

Native

  • KT-76992 Native: update llvm for windows targets

Native. Build Infrastructure

  • KT-77349 Kotlin/Native: default cache for stdlib is unused

Tools. Gradle

  • KT-76138 Compile against Gradle API 8.14
  • KT-76139 Run integration tests against Gradle 8.14
  • KT-76137 Compatibility with Gradle 8.14 release
  • KT-76797 KGP: StdlibDependencyManagementKt.configureStdlibVersionAlignment() triggering eager configuration realization
  • KT-77288 Using 'KotlinJvmOptions' is an error - Gradle sync issue when using 2.2.0-Beta2 with Android Gradle Plugin
  • KT-77035 A compiler diagnostic isn't reported when its severity is set to warning with Gradle
  • KT-73142 Kotlin Gradle plugin: Remove usage of Gradle's internal ExecHandleBuilder
  • KT-75823 Resources bundle with XCFrameworks for iOS

... (truncated)

Commits
  • eef58f2 Add changelog for 2.2.0-RC
  • 9a1aa26 [Gradle, K/JS, K/Wasm] Downgrade Node.js to 22.0.0
  • 1fc4ce7 Check for FirErrorRef to avoid duplicating composable diagnostics
  • fc7dd53 Account for vararg copying annotations from arguments in ComposableAnnotation...
  • 6756891 Rewrite ComposableAnnotationChecker as a type checker
  • c4f0d1c [Gradle] Fix CI failure for xcframework resources test
  • 19213dd [JVM] Fix mangling rule for internal $default stubs
  • aa37d1a [Wasm] Fix names of wasm setup tasks
  • 313b1c2 [K/N] Fixed the default system cache directory
  • 0a866df Postpone native dependencies calculation to avoid an empty dir caching
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin:kotlin-stdlib from 2.2.0-Beta2 to 2.2.0-RC

Release notes

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

Kotlin 2.2.0-RC

Changelog

Compiler

Fixes

  • KT-77259 Confusing message for ANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
  • KT-77219 "@Composable annotation is not applicable" on vararg @Composable () -> Unit in Kotlin 2.2.0
  • KT-77397 Report UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL when calling declaration with contextual function type in signature
  • KT-74470 NSME on calling in runtime internal constructor of value class with default arg from tests
  • KT-77137 K2: Controversial behavior allows resolving annotation arguments on a companion inside it
  • KT-77150 Native: compilation fails with an assertion error
  • KT-76357 K2: a nested class annotation observes member declarations of the outer class
  • KT-77283 Binary compatibility of FirDeclarationChecker
  • KT-75457 Native: cache machinery uses stdlib cache with default runtime options even if custom runtime options are supplied when partial linkage is disabled
  • KT-76898 K2: ClassCastException when data class shadows supertype's componentX method with wrong type
  • KT-77078 K2: anonymous object is wrongly allowed to implement interfaces by unsafe Delegation
  • KT-77001 Leave ForbidParenthesizedLhsInAssignments as a warning

Compose compiler

  • CMP-7873 Native build fails with "e: Compilation failed: Exception during generating code for following declaration"
  • b/412584977 Fix false positive for overriding open functions from older dependencies

JavaScript

  • KT-77418 KJS: cannot debug with whole-program granularity
  • KT-77271 KJS / Serialization: "Cannot set property message of Error which has only a getter"
  • KT-69591 KJS / d.ts: Wrong type of SerializerFactory for abstract classes
  • KT-42305 KJS / IR: "Class constructor is marked as private" @JsExport produces wrong TS code for sealed classes
  • KT-52563 KJS / IR: Invalid TypeScript generated for class extending base class with private constructor

Native

  • KT-76992 Native: update llvm for windows targets

Native. Build Infrastructure

  • KT-77349 Kotlin/Native: default cache for stdlib is unused

Tools. Gradle

  • KT-76138 Compile against Gradle API 8.14
  • KT-76139 Run integration tests against Gradle 8.14
  • KT-76137 Compatibility with Gradle 8.14 release
  • KT-76797 KGP: StdlibDependencyManagementKt.configureStdlibVersionAlignment() triggering eager configuration realization
  • KT-77288 Using 'KotlinJvmOptions' is an error - Gradle sync issue when using 2.2.0-Beta2 with Android Gradle Plugin
  • KT-77035 A compiler diagnostic isn't reported when its severity is set to warning with Gradle
  • KT-73142 Kotlin Gradle plugin: Remove usage of Gradle's internal ExecHandleBuilder

... (truncated)

Changelog

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

2.2.0-RC

Compiler

Fixes

  • KT-77259 Confusing message for ANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
  • KT-77219 "@Composable annotation is not applicable" on vararg @Composable () -> Unit in Kotlin 2.2.0
  • KT-77397 Report UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL when calling declaration with contextual function type in signature
  • KT-74470 NSME on calling in runtime internal constructor of value class with default arg from tests
  • KT-77137 K2: Controversial behavior allows resolving annotation arguments on a companion inside it
  • KT-77150 Native: compilation fails with an assertion error
  • KT-76357 K2: a nested class annotation observes member declarations of the outer class
  • KT-77283 Binary compatibility of FirDeclarationChecker
  • KT-75457 Native: cache machinery uses stdlib cache with default runtime options even if custom runtime options are supplied when partial linkage is disabled
  • KT-76898 K2: ClassCastException when data class shadows supertype's componentX method with wrong type
  • KT-77078 K2: anonymous object is wrongly allowed to implement interfaces by unsafe Delegation
  • KT-77001 Leave ForbidParenthesizedLhsInAssignments as a warning

Compose compiler

  • CMP-7873 Native build fails with "e: Compilation failed: Exception during generating code for following declaration"
  • b/412584977 Fix false positive for overriding open functions from older dependencies

JavaScript

  • KT-77418 KJS: cannot debug with whole-program granularity
  • KT-77271 KJS / Serialization: "Cannot set property message of Error which has only a getter"
  • KT-69591 KJS / d.ts: Wrong type of SerializerFactory for abstract classes
  • KT-42305 KJS / IR: "Class constructor is marked as private" @JsExport produces wrong TS code for sealed classes
  • KT-52563 KJS / IR: Invalid TypeScript generated for class extending base class with private constructor

Native

  • KT-76992 Native: update llvm for windows targets

Native. Build Infrastructure

  • KT-77349 Kotlin/Native: default cache for stdlib is unused

Tools. Gradle

  • KT-76138 Compile against Gradle API 8.14
  • KT-76139 Run integration tests against Gradle 8.14
  • KT-76137 Compatibility with Gradle 8.14 release
  • KT-76797 KGP: StdlibDependencyManagementKt.configureStdlibVersionAlignment() triggering eager configuration realization
  • KT-77288 Using 'KotlinJvmOptions' is an error - Gradle sync issue when using 2.2.0-Beta2 with Android Gradle Plugin
  • KT-77035 A compiler diagnostic isn't reported when its severity is set to warning with Gradle
  • KT-73142 Kotlin Gradle plugin: Remove usage of Gradle's internal ExecHandleBuilder
  • KT-75823 Resources bundle with XCFrameworks for iOS

... (truncated)

Commits
  • eef58f2 Add changelog for 2.2.0-RC
  • 9a1aa26 [Gradle, K/JS, K/Wasm] Downgrade Node.js to 22.0.0
  • 1fc4ce7 Check for FirErrorRef to avoid duplicating composable diagnostics
  • fc7dd53 Account for vararg copying annotations from arguments in ComposableAnnotation...
  • 6756891 Rewrite ComposableAnnotationChecker as a type checker
  • c4f0d1c [Gradle] Fix CI failure for xcframework resources test
  • 19213dd [JVM] Fix mangling rule for internal $default stubs
  • aa37d1a [Wasm] Fix names of wasm setup tasks
  • 313b1c2 [K/N] Fixed the default system cache directory
  • 0a866df Postpone native dependencies calculation to avoid an empty dir caching
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin:kotlin-reflect from 2.2.0-Beta2 to 2.2.0-RC

Release notes

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

Kotlin 2.2.0-RC

Changelog

Compiler

Fixes

  • KT-77259 Confusing message for ANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
  • KT-77219 "@Composable annotation is not applicable" on vararg @Composable () -> Unit in Kotlin 2.2.0
  • KT-77397 Report UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL when calling declaration with contextual function type in signature
  • KT-74470 NSME on calling in runtime internal constructor of value class with default arg from tests
  • KT-77137 K2: Controversial behavior allows resolving annotation arguments on a companion inside it
  • KT-77150 Native: compilation fails with an assertion error
  • KT-76357 K2: a nested class annotation observes member declarations of the outer class
  • KT-77283 Binary compatibility of FirDeclarationChecker
  • KT-75457 Native: cache machinery uses stdlib cache with default runtime options even if custom runtime options are supplied when partial linkage is disabled
  • KT-76898 K2: ClassCastException when data class shadows supertype's componentX method with wrong type
  • KT-77078 K2: anonymous object is wrongly allowed to implement interfaces by unsafe Delegation
  • KT-77001 Leave ForbidParenthesizedLhsInAssignments as a warning

Compose compiler

  • CMP-7873 Native build fails with "e: Compilation failed: Exception during generating code for following declaration"
  • b/412584977 Fix false positive for overriding open functions from older dependencies

JavaScript

  • KT-77418 KJS: cannot debug with whole-program granularity
  • KT-77271 KJS / Serialization: "Cannot set property message of Error which has only a getter"
  • KT-69591 KJS / d.ts: Wrong type of SerializerFactory for abstract classes
  • KT-42305 KJS / IR: "Class constructor is marked as private" @JsExport produces wrong TS code for sealed classes
  • KT-52563 KJS / IR: Invalid TypeScript generated for class extending base class with private constructor

Native

  • KT-76992 Native: update llvm for windows targets

Native. Build Infrastructure

  • KT-77349 Kotlin/Native: default cache for stdlib is unused

Tools. Gradle

  • KT-76138 Compile against Gradle API 8.14
  • KT-76139 Run integration tests against Gradle 8.14
  • KT-76137 Compatibility with Gradle 8.14 release
  • KT-76797 KGP: StdlibDependencyManagementKt.configureStdlibVersionAlignment() triggering eager configuration realization
  • KT-77288 Using 'KotlinJvmOptions' is an error - Gradle sync issue when using 2.2.0-Beta2 with Android Gradle Plugin
  • KT-77035 A compiler diagnostic isn't reported when its severity is set to warning with Gradle
  • KT-73142 Kotlin Gradle plugin: Remove usage of Gradle's internal ExecHandleBuilder

... (truncated)

Changelog

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

2.2.0-RC

Compiler

Fixes

  • KT-77259 Confusing message for ANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
  • KT-77219 "@Composable annotation is not applicable" on vararg @Composable () -> Unit in Kotlin 2.2.0
  • KT-77397 Report UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL when calling declaration with contextual function type in signature
  • KT-74470 NSME on calling in runtime internal constructor of value class with default arg from tests
  • KT-77137 K2: Controversial behavior allows resolving annotation arguments on a companion inside it
  • KT-77150 Native: compilation fails with an assertion error
  • KT-76357 K2: a nested class annotation observes member declarations of the outer class
  • KT-77283 Binary compatibility of FirDeclarationChecker
  • KT-75457 Native: cache machinery uses stdlib cache with default runtime options even if custom runtime options are supplied when partial linkage is disabled
  • KT-76898 K2: ClassCastException when data class shadows supertype's componentX method with wrong type
  • KT-77078 K2: anonymous object is wrongly allowed to implement interfaces by unsafe Delegation
  • KT-77001 Leave ForbidParenthesizedLhsInAssignments as a warning

Compose compiler

  • CMP-7873 Native build fails with "e: Compilation failed: Exception during generating code for following declaration"
  • b/412584977 Fix false positive for overriding open functions from older dependencies

JavaScript

  • KT-77418 KJS: cannot debug with whole-program granularity
  • KT-77271 KJS / Serialization: "Cannot set property message of Error which has only a getter"
  • KT-69591 KJS / d.ts: Wrong type of SerializerFactory for abstract classes
  • KT-42305 KJS / IR: "Class constructor is marked as private" @JsExport produces wrong TS code for sealed classes
  • KT-52563 KJS / IR: Invalid TypeScript generated for class extending base class with private constructor

Native

  • KT-76992 Native: update llvm for windows targets

Native. Build Infrastructure

  • KT-77349 Kotlin/Native: default cache for stdlib is unused

Tools. Gradle

  • KT-76138 Compile against Gradle API 8.14
  • KT-76139 Run integration tests against Gradle 8.14
  • KT-76137 Compatibility with Gradle 8.14 release
  • KT-76797 KGP: StdlibDependencyManagementKt.configureStdlibVersionAlignment() triggering eager configuration realization
  • KT-77288 Using 'KotlinJvmOptions' is an error - Gradle sync issue when using 2.2.0-Beta2 with Android Gradle Plugin
  • KT-77035 A compiler diagnostic isn't reported when its severity is set to warning with Gradle
  • KT-73142 Kotlin Gradle plugin: Remove usage of Gradle's internal ExecHandleBuilder
  • KT-75823 Resources bundle with XCFrameworks for iOS

... (truncated)

Commits
  • eef58f2 Add changelog for 2.2.0-RC
  • 9a1aa26 [Gradle, K/JS, K/Wasm] Downgrade Node.js to 22.0.0
  • 1fc4ce7 Check for FirErrorRef to avoid duplicating composable diagnostics
  • fc7dd53 Account for vararg copying annotations from arguments in ComposableAnnotation...
  • 6756891 Rewrite ComposableAnnotationChecker as a type checker
  • c4f0d1c [Gradle] Fix CI failure for xcframework resources test
  • 19213dd [JVM] Fix mangling rule for internal $default stubs
  • aa37d1a [Wasm] Fix names of wasm setup tasks
  • 313b1c2 [K/N] Fixed the default system cache directory
  • 0a866df Postpone native dependencies calculation to avoid an empty dir caching
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin:kotlin-test from 2.2.0-Beta2 to 2.2.0-RC

Release notes

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

Kotlin 2.2.0-RC

Changelog

Compiler

Fixes

  • KT-77259 Confusing message for ANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
  • KT-77219 "@Composable annotation is not applicable" on vararg @Composable () -> Unit in Kotlin 2.2.0
  • KT-77397 Report UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL when calling declaration with contextual function type in signature
  • KT-74470 NSME on calling in runtime internal constructor of value class with default arg from tests
  • KT-77137 K2: Controversial behavior allows resolving annotation arguments on a companion inside it
  • KT-77150 Native: compilation fails with an assertion error
  • KT-76357 K2: a nested class annotation observes member declarations of the outer class
  • KT-77283 Binary compatibility of FirDeclarationChecker
  • KT-75457 Native: cache machinery uses stdlib cache with default runtime options even if custom runtime options are supplied when partial linkage is disabled
  • KT-76898 K2: ClassCastException when data class shadows supertype's componentX method with wrong type
  • KT-77078 K2: anonymous object is wrongly allowed to implement interfaces by unsafe Delegation
  • KT-77001 Leave ForbidParenthesizedLhsInAssignments as a warning

Compose compiler

  • CMP-7873 Native build fails with "e: Compilation failed: Exception during generating code for following declaration"
  • b/412584977 Fix false positive for overriding open functions from older dependencies

JavaScript

  • KT-77418 KJS: cannot debug with whole-program granularity
  • KT-77271 KJS / Serialization: "Cannot set property message of Error which has only a getter"
  • KT-69591 KJS / d.ts: Wrong type of SerializerFactory for abstract classes
  • KT-42305 KJS / IR: "Class constructor is marked as private" @JsExport produces wrong TS code for sealed classes
  • KT-52563 KJS / IR: Invalid TypeScript generated for class extending base class with private constructor

Native

  • KT-76992 Native: update llvm for windows targets

Native. Build Infrastructure

  • KT-77349 Kotlin/Native: default cache for stdlib is unused

Tools. Gradle

  • KT-76138 Compile against Gradle API 8.14
  • KT-76139 Run integration tests against Gradle 8.14
  • KT-76137 Compatibility with Gradle 8.14 release
  • KT-76797 KGP: StdlibDependencyManagementKt.configureStdlibVersionAlignment() triggering eager configuration realization
  • KT-77288 Using 'KotlinJvmOptions' is an error - Gradle sync issue when using 2.2.0-Beta2 with Android Gradle Plugin
  • KT-77035 A compiler diagnostic isn't reported when its severity is set to warning with Gradle
  • KT-73142 Kotlin Gradle plugin: Remove usage of Gradle's internal ExecHandleBuilder

... (truncated)

Changelog

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

2.2.0-RC

Compiler

Fixes

  • KT-77259 Confusing message for ANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
  • KT-77219 "@Composable annotation is not applicable" on vararg @Composable () -> Unit in Kotlin 2.2.0
  • KT-77397 Report UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL when calling declaration with contextual function type in signature
  • KT-74470 NSME on calling in runtime internal constructor of value class with default arg from tests
  • KT-77137 K2: Controversial behavior allows resolving annotation arguments on a companion inside it
  • KT-77150 Native: compilation fails with an assertion error
  • KT-76357 K2: a nested class annotation observes member declarations of the outer class
  • KT-77283 Binary compatibility of FirDeclarationChecker
  • KT-75457 Native: cache machinery uses stdlib cache with default runtime options even if custom runtime options are supplied when partial linkage is disabled
  • KT-76898 K2: ClassCastException when data class shadows supertype's componentX method with wrong type
  • KT-77078 K2: anonymous object is wrongly allowed to implement interfaces by unsafe Delegation
  • KT-77001 Leave ForbidParenthesizedLhsInAssignments as a warning

Compose compiler

  • CMP-7873 Native build fails with "e: Compilation failed: Exception during generating code for following declaration"
  • b/412584977 Fix false positive for overriding open functions from older dependencies

JavaScript

  • KT-77418 KJS: cannot debug with whole-program granularity
  • KT-77271 KJS / Serialization: "Cannot set property message of Error which has only a getter"
  • KT-69591 KJS / d.ts: Wrong type of SerializerFactory for abstract classes
  • KT-42305 KJS / IR: "Class constructor is marked as private" @JsExport produces wrong TS code for sealed classes
  • KT-52563 KJS / IR: Invalid TypeScript generated for class extending base class with private constructor

Native

  • KT-76992 Native: update llvm for windows targets

Native. Build Infrastructure

  • KT-77349 Kotlin/Native: default cache for stdlib is unused

Tools. Gradle

  • KT-76138 Compile against Gradle API 8.14
  • KT-76139 Run integration tests against Gradle 8.14
  • KT-76137 Compatibility with Gradle 8.14 release
  • KT-76797 KGP: StdlibDependencyManagementKt.configureStdlibVersionAlignment() triggering eager configuration realization
  • KT-77288 Using 'KotlinJvmOptions' is an error - Gradle sync issue when using 2.2.0-Beta2 with Android Gradle Plugin
  • KT-77035 A compiler diagnostic isn't reported when its severity is set to warning with Gradle
  • KT-73142 Kotlin Gradle plugin: Remove usage of Gradle's internal ExecHandleBuilder
  • KT-75823 Resources bundle with XCFrameworks for iOS

... (truncated)

Commits
  • eef58f2 Add changelog for 2.2.0-RC
  • 9a1aa26 [Gradle, K/JS, K/Wasm] Downgrade Node.js to 22.0.0
  • 1fc4ce7 Check for FirErrorRef to avoid duplicating composable diagnostics
  • fc7dd53 Account for vararg copying annotations from arguments in ComposableAnnotation...
  • 6756891 Rewrite ComposableAnnotationChecker as a type checker
  • c4f0d1c [Gradle] Fix CI failure for xcframework resources test
  • 19213dd [JVM] Fix mangling rule for internal $default stubs
  • aa37d1a [Wasm] Fix names of wasm setup tasks
  • 313b1c2 [K/N] Fixed the default system cache directory
  • 0a866df Postpone native dependencies calculation to avoid an empty dir caching
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin:kotlin-test-junit from 2.2.0-Beta2 to 2.2.0-RC

Release notes

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

Kotlin 2.2.0-RC

Changelog

Compiler

Fixes

  • KT-77259 Confusing message for ANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
  • KT-77219 "@Composable annotation is not applicable" on vararg @Composable () -> Unit in Kotlin 2.2.0
  • KT-77397 Report UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL when calling declaration with contextual function type in signature
  • KT-74470 NSME on calling in runtime internal constructor of value class with default arg from tests
  • KT-77137 K2: Controversial behavior allows resolving annotation arguments on a companion inside it
  • KT-77150 Native: compilation fails with an assertion error
  • KT-76357 K2: a nested class annotation observes member declarations of the outer class
  • KT-77283 Binary compatibility of FirDeclarationChecker
  • KT-75457 Native: cache machinery uses stdlib cache with default runtime options even if custom runtime options are supplied when partial linkage is disabled
  • KT-76898 K2: ClassCastException when data class shadows supertype's componentX method with wrong type
  • KT-77078 K2: anonymous object is wrongly allowed to implement interfaces by unsafe Delegation
  • KT-77001 Leave ForbidParenthesizedLhsInAssignments as a warning

Compose compiler

  • CMP-7873 Native build fails with "e: Compilation failed: Exception during generating code for following declaration"
  • b/412584977 Fix false positive for overriding open functions from older dependencies

JavaScript

  • KT-77418 KJS: cannot debug with whole-program granularity
  • KT-77271 KJS / Serialization: "Cannot set property message of Error which has only a getter"
  • KT-69591 KJS / d.ts: Wrong type of SerializerFactory for abstract classes
  • KT-42305 KJS / IR: "Class constructor is marked as private" @JsExport produces wrong TS code for sealed classes
  • KT-52563 KJS / IR: Invalid TypeScript generated for class extending base class with private constructor

Native

  • KT-76992 Native: update llvm for windows targets

Native. Build Infrastructure

  • KT-77349 Kotlin/Native: default cache for stdlib is unused

Tools. Gradle

  • KT-76138 Compile against Gradle API 8.14
  • KT-76139 Run integration tests against Gradle 8.14
  • KT-76137 Compatibility with Gradle 8.14 release
  • KT-76797 KGP: StdlibDependencyManagementKt.configureStdlibVersionAlignment() triggering eager configuration realization
  • KT-77288 Using 'KotlinJvmOptions' is an error - Gradle sync issue when using 2.2.0-Beta2 with Android Gradle Plugin
  • KT-77035 A compiler diagnostic isn't reported when its severity is set to warning with Gradle
  • KT-73142 Kotlin Gradle plugin: Remove usage of Gradle's internal ExecHandleBuilder

... (truncated)

Changelog

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

2.2.0-RC

Compiler

Fixes

  • KT-77259 Confusing message for ANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
  • KT-77219 "@Composable annotation is not applicable" on vararg @Composable () -> Unit in Kotlin 2.2.0
  • KT-77397 Report UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL when calling declaration with contextual function type in signature
  • KT-74470 NSME on calling in runtime internal constructor of value class with default arg from tests
  • KT-77137 K2: Controversial behavior allows resolving annotation arguments on a companion inside it
  • KT-77150 Native: compilation fails with an assertion error
  • KT-76357 K2: a nested class annotation observes member declarations of the outer class
  • KT-77283 Binary compatibility of FirDeclarationChecker
  • KT-75457 Native: cache machinery uses stdlib cache with default runtime options even if custom runtime options are supplied when partial linkage is disabled
  • KT-76898 K2: ClassCastException when data class shadows supertype's componentX method with wrong type
  • KT-77078 K2: anonymous object is wrongly allowed to implement interfaces by unsafe Delegation
  • KT-77001 Leave ForbidParenthesizedLhsInAssignments as a warning

Compose compiler

  • CMP-7873 Native build fails with "e: Compilation failed: Exception during generating code for following declaration"
  • b/412584977 Fix false positive for overriding open functions from older dependencies

JavaScript

  • KT-77418 KJS: cannot debug with whole-program granularity
  • KT-77271 KJS / Serialization: "Cannot set property message of Error which has only a getter"
  • KT-69591 KJS / d.ts: Wrong type of SerializerFactory for abstract classes
  • KT-42305 KJS / IR: "Class constructor is marked as private" @JsExport produces wrong TS code for sealed classes
  • KT-52563 KJS / IR: Invalid TypeScript generated for class extending base class with private constructor

Native

  • KT-76992 Native: update llvm for windows targets

Native. Build Infrastructure

  • KT-77349 Kotlin/Native: default cache for stdlib is unused

Tools. Gradle

  • KT-76138 Compile against Gradle API 8.14
  • KT-76139 Run integration tests against Gradle 8.14
  • KT-76137 Compatibility with Gradle 8.14 release
  • KT-76797 KGP: StdlibDependencyManagementKt.configureStdlibVersionAlignment() triggering eager configuration realization
  • KT-77288 Using 'KotlinJvmOptions' is an error - Gradle sync issue when using 2.2.0-Beta2 with Android Gradle Plugin
  • KT-77035 A compiler diagnostic isn't reported when its severity is set to warning with Gradle
  • KT-73142 Kotlin Gradle plugin: Remove usage of Gradle's internal ExecHandleBuilder
  • KT-75823 Resources bundle with XCFrameworks for iOS

... (truncated)

Commits
  • eef58f2 Add changelog for 2.2.0-RC
  • 9a1aa26 [Gradle, K/JS, K/Wasm] Downgrade Node.js to 22.0.0
  • 1fc4ce7 Check for FirErrorRef to avoid duplicating composable diagnostics
  • fc7dd53 Account for vararg copying annotations from arguments in ComposableAnnotation...
  • 6756891 Rewrite ComposableAnnotationChecker as a type checker
  • c4f0d1c [Gradle] Fix CI failure for xcframework resources test
  • 19213dd [JVM] Fix mangling rule for internal $default stubs
  • aa37d1a [Wasm] Fix names of wasm setup tasks
  • 313b1c2 [K/N] Fixed the default system cache directory
  • 0a866df Postpone native dependencies calculation to avoid an empty dir caching
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin:kotlin-test-junit5 from 2.2.0-Beta2 to 2.2.0-RC

Release notes

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

Kotlin 2.2.0-RC

Changelog

Compiler

Fixes

  • KT-77259 Confusing message for ANNOTATION_WILL_BE_APPLIED_ALSO_TO_PROPERTY_OR_FIELD
  • KT-77219 "@Composable annotation...

    Description has been truncated

Bumps `kotlin` from 2.2.0-Beta2 to 2.2.0-RC.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-bom
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-test
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-test-junit
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-test-junit5
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-metadata-jvm
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.multiplatform
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.plugin.serialization
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.plugin.power-assert
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.plugin.allopen
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.plugin.noarg
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.plugin.atomicfu
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.plugin.js-plain-objects
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.plugin.compose
  dependency-version: 2.2.0-RC
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from sureshg May 19, 2025 22:58
@dependabot dependabot bot added dependencies Changes that affect dependencies gradle Gradle changes labels May 19, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 19, 2025

The reviewers field in the dependabot.yml file will be removed soon. Please use the code owners file to specify reviewers for Dependabot PRs. For more information, see this blog post.

@dependabot dependabot bot added the dependencies Changes that affect dependencies label May 19, 2025
Copy link

@sureshg sureshg closed this May 20, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github May 20, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/gradle/kotlin-2.2.0-RC branch May 20, 2025 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Changes that affect dependencies gradle Gradle changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant