Skip to content

Bump KOTLIN_VERSION from 1.9.10 to 2.1.20#49

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/gradle/KOTLIN_VERSION-2.1.20
Closed

Bump KOTLIN_VERSION from 1.9.10 to 2.1.20#49
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/gradle/KOTLIN_VERSION-2.1.20

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 20, 2025

Bumps KOTLIN_VERSION from 1.9.10 to 2.1.20.
Updates org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.10 to 2.1.20

Release notes

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

Kotlin 2.1.20-RC3

Changelog

Compiler

  • KT-75578 K2: False negative [SUPER_CALL_WITH_DEFAULT_PARAMETERS] when calling the upper-class implementation of a method with the default value argument
  • KT-75965 The iOS app did not run successfully in Release mode

Native

  • KT-75807 CMP caching fails for iOS with Kotlin 2.1.20-RC2

Kotlin 2.1.20-RC2

Changelog

Compiler

  • KT-75649 K2: NPE on assigning platform type value to non-nullable lateinit var
  • KT-75483 Native: redundant unboxing generated with smart cast
  • KT-75526 Regression in K2 scripting: local name doesn't shadow one from the implicit receiver
  • KT-75444 Contradictions in the constraint system are ignored in case of multiple constraints from forking points
  • KT-75111 False negative "This declaration needs opt-in" for usage of enum entry with OptIn marker in another module
  • KT-74764 Native: merge init nodes generated within the same LLVM module for the same klib

Compose compiler

  • CMP-7571 1.8.0-alpha03 incompatible with Compose based on k1
  • b/397855145 Fix "Unknown file" error in target annotation inference

JavaScript

  • KT-75606 KJS: java.lang.AssertionError: Different declarations with the same signatures were detected
  • KT-72437 KJS. Invalid copy method for inherited JSO with type parameters

Klibs

  • KT-75393 Non-JVM artifacts from Kotlin 2.1.20-RC fail on 2.1.x releases due to IMPLICIT_ARGUMENT

Native

  • KT-70202 Xcode 16 Linker fails with SIGBUS

Tools. Compiler Plugins

  • KT-73897 PowerAssert: Implicit argument detection is brittle in a number of cases

Tools. Gradle

  • KT-73842 Gradle: AGP failing tests with "Failed to calculate the value of property 'generalConfigurationMetrics'" using KGP

... (truncated)

Changelog

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

2.1.10

Compiler

  • KT-73858 Compose / iOS: NullPointerException on building
  • KT-73454 K2: Fix type parameters mapping for typealiases with inner RHS
  • KT-73043 K2 Compiler does not allow references to inner constructors with typealiases
  • KT-74040 Compilation of inner class usage does not check the visibility of parent class during compilation in different rounds
  • KT-73339 K2: "VerifyError: Bad type on operand stack" because of missing implicit cast on generic field receiver with star projection
  • KT-72585 K2: Compilation failure when upgrading to Kotlin 2.0.20+: Cannot replace top-level type with star projection: S
  • KT-73399 compile-time JVM codegen failure on a KProperty argument of a KSuspendFunction parameter
  • KT-72725 KMP: Unsupported actualization of inherited java field in expect class
  • KT-73153 K2: Standalone diagnostics on type arguments are not reported

Compose compiler

  • CMP-5680 Compose compiler: unexpected stability warnings for classes compiled with 2.0.10
  • b/381407900 Avoid adding Compose annotations on synthetic classes

IR. Inlining

  • KT-73981 Cherry-pick the fix for KT-73482 to 2.1.10

JavaScript

  • KT-70778 Kotlin Js companion is undefined in production build
  • KT-73130 KJS: Missed break for do/while in generated JS code
  • KT-58797 Optimize the code generated for objects on JS and Wasm backends

Klibs

  • KT-70146 [KLIB Resolve] Don't fail on nonexistent transitive dependency
  • KT-73951 Workaround for "Partial linkage engine may not patch some discrepancies in IR when compiling Kotlin/Native static caches" in 2.1.10

Native

  • KT-73559 K/Native: AndroidNativeArm64 linking fails starting from Kotlin 2.1.0

Tools. CLI

  • KT-73967 JDK 25: "IllegalArgumentException: 25-ea" with EA builds

Tools. Daemon

  • KT-73311 "Unable to release compile session, maybe daemon is already down" flakiness

Tools. Gradle

  • KT-73728 'generatePomFileForMavenPublication' creates pom with dependencies with 'unspecified' version

... (truncated)

Commits

Updates org.jetbrains.kotlin:kotlin-stdlib from 1.9.10 to 2.1.20

Release notes

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

Kotlin 2.1.20-RC3

Changelog

Compiler

  • KT-75578 K2: False negative [SUPER_CALL_WITH_DEFAULT_PARAMETERS] when calling the upper-class implementation of a method with the default value argument
  • KT-75965 The iOS app did not run successfully in Release mode

Native

  • KT-75807 CMP caching fails for iOS with Kotlin 2.1.20-RC2

Kotlin 2.1.20-RC2

Changelog

Compiler

  • KT-75649 K2: NPE on assigning platform type value to non-nullable lateinit var
  • KT-75483 Native: redundant unboxing generated with smart cast
  • KT-75526 Regression in K2 scripting: local name doesn't shadow one from the implicit receiver
  • KT-75444 Contradictions in the constraint system are ignored in case of multiple constraints from forking points
  • KT-75111 False negative "This declaration needs opt-in" for usage of enum entry with OptIn marker in another module
  • KT-74764 Native: merge init nodes generated within the same LLVM module for the same klib

Compose compiler

  • CMP-7571 1.8.0-alpha03 incompatible with Compose based on k1
  • b/397855145 Fix "Unknown file" error in target annotation inference

JavaScript

  • KT-75606 KJS: java.lang.AssertionError: Different declarations with the same signatures were detected
  • KT-72437 KJS. Invalid copy method for inherited JSO with type parameters

Klibs

  • KT-75393 Non-JVM artifacts from Kotlin 2.1.20-RC fail on 2.1.x releases due to IMPLICIT_ARGUMENT

Native

  • KT-70202 Xcode 16 Linker fails with SIGBUS

Tools. Compiler Plugins

  • KT-73897 PowerAssert: Implicit argument detection is brittle in a number of cases

Tools. Gradle

  • KT-73842 Gradle: AGP failing tests with "Failed to calculate the value of property 'generalConfigurationMetrics'" using KGP

... (truncated)

Changelog

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

2.1.10

Compiler

  • KT-73858 Compose / iOS: NullPointerException on building
  • KT-73454 K2: Fix type parameters mapping for typealiases with inner RHS
  • KT-73043 K2 Compiler does not allow references to inner constructors with typealiases
  • KT-74040 Compilation of inner class usage does not check the visibility of parent class during compilation in different rounds
  • KT-73339 K2: "VerifyError: Bad type on operand stack" because of missing implicit cast on generic field receiver with star projection
  • KT-72585 K2: Compilation failure when upgrading to Kotlin 2.0.20+: Cannot replace top-level type with star projection: S
  • KT-73399 compile-time JVM codegen failure on a KProperty argument of a KSuspendFunction parameter
  • KT-72725 KMP: Unsupported actualization of inherited java field in expect class
  • KT-73153 K2: Standalone diagnostics on type arguments are not reported

Compose compiler

  • CMP-5680 Compose compiler: unexpected stability warnings for classes compiled with 2.0.10
  • b/381407900 Avoid adding Compose annotations on synthetic classes

IR. Inlining

  • KT-73981 Cherry-pick the fix for KT-73482 to 2.1.10

JavaScript

  • KT-70778 Kotlin Js companion is undefined in production build
  • KT-73130 KJS: Missed break for do/while in generated JS code
  • KT-58797 Optimize the code generated for objects on JS and Wasm backends

Klibs

  • KT-70146 [KLIB Resolve] Don't fail on nonexistent transitive dependency
  • KT-73951 Workaround for "Partial linkage engine may not patch some discrepancies in IR when compiling Kotlin/Native static caches" in 2.1.10

Native

  • KT-73559 K/Native: AndroidNativeArm64 linking fails starting from Kotlin 2.1.0

Tools. CLI

  • KT-73967 JDK 25: "IllegalArgumentException: 25-ea" with EA builds

Tools. Daemon

  • KT-73311 "Unable to release compile session, maybe daemon is already down" flakiness

Tools. Gradle

  • KT-73728 'generatePomFileForMavenPublication' creates pom with dependencies with 'unspecified' version

... (truncated)

Commits

Updates org.jetbrains.kotlin:kotlin-test from 1.9.10 to 2.1.20

Release notes

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

Kotlin 2.1.20-RC3

Changelog

Compiler

  • KT-75578 K2: False negative [SUPER_CALL_WITH_DEFAULT_PARAMETERS] when calling the upper-class implementation of a method with the default value argument
  • KT-75965 The iOS app did not run successfully in Release mode

Native

  • KT-75807 CMP caching fails for iOS with Kotlin 2.1.20-RC2

Kotlin 2.1.20-RC2

Changelog

Compiler

  • KT-75649 K2: NPE on assigning platform type value to non-nullable lateinit var
  • KT-75483 Native: redundant unboxing generated with smart cast
  • KT-75526 Regression in K2 scripting: local name doesn't shadow one from the implicit receiver
  • KT-75444 Contradictions in the constraint system are ignored in case of multiple constraints from forking points
  • KT-75111 False negative "This declaration needs opt-in" for usage of enum entry with OptIn marker in another module
  • KT-74764 Native: merge init nodes generated within the same LLVM module for the same klib

Compose compiler

  • CMP-7571 1.8.0-alpha03 incompatible with Compose based on k1
  • b/397855145 Fix "Unknown file" error in target annotation inference

JavaScript

  • KT-75606 KJS: java.lang.AssertionError: Different declarations with the same signatures were detected
  • KT-72437 KJS. Invalid copy method for inherited JSO with type parameters

Klibs

  • KT-75393 Non-JVM artifacts from Kotlin 2.1.20-RC fail on 2.1.x releases due to IMPLICIT_ARGUMENT

Native

  • KT-70202 Xcode 16 Linker fails with SIGBUS

Tools. Compiler Plugins

  • KT-73897 PowerAssert: Implicit argument detection is brittle in a number of cases

Tools. Gradle

  • KT-73842 Gradle: AGP failing tests with "Failed to calculate the value of property 'generalConfigurationMetrics'" using KGP

... (truncated)

Changelog

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

2.1.10

Compiler

  • KT-73858 Compose / iOS: NullPointerException on building
  • KT-73454 K2: Fix type parameters mapping for typealiases with inner RHS
  • KT-73043 K2 Compiler does not allow references to inner constructors with typealiases
  • KT-74040 Compilation of inner class usage does not check the visibility of parent class during compilation in different rounds
  • KT-73339 K2: "VerifyError: Bad type on operand stack" because of missing implicit cast on generic field receiver with star projection
  • KT-72585 K2: Compilation failure when upgrading to Kotlin 2.0.20+: Cannot replace top-level type with star projection: S
  • KT-73399 compile-time JVM codegen failure on a KProperty argument of a KSuspendFunction parameter
  • KT-72725 KMP: Unsupported actualization of inherited java field in expect class
  • KT-73153 K2: Standalone diagnostics on type arguments are not reported

Compose compiler

  • CMP-5680 Compose compiler: unexpected stability warnings for classes compiled with 2.0.10
  • b/381407900 Avoid adding Compose annotations on synthetic classes

IR. Inlining

  • KT-73981 Cherry-pick the fix for KT-73482 to 2.1.10

JavaScript

  • KT-70778 Kotlin Js companion is undefined in production build
  • KT-73130 KJS: Missed break for do/while in generated JS code
  • KT-58797 Optimize the code generated for objects on JS and Wasm backends

Klibs

  • KT-70146 [KLIB Resolve] Don't fail on nonexistent transitive dependency
  • KT-73951 Workaround for "Partial linkage engine may not patch some discrepancies in IR when compiling Kotlin/Native static caches" in 2.1.10

Native

  • KT-73559 K/Native: AndroidNativeArm64 linking fails starting from Kotlin 2.1.0

Tools. CLI

  • KT-73967 JDK 25: "IllegalArgumentException: 25-ea" with EA builds

Tools. Daemon

  • KT-73311 "Unable to release compile session, maybe daemon is already down" flakiness

Tools. Gradle

  • KT-73728 'generatePomFileForMavenPublication' creates pom with dependencies with 'unspecified' version

... (truncated)

Commits

Updates org.jetbrains.kotlin:kotlin-test-junit from 1.9.10 to 2.1.20

Release notes

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

Kotlin 2.1.20-RC3

Changelog

Compiler

  • KT-75578 K2: False negative [SUPER_CALL_WITH_DEFAULT_PARAMETERS] when calling the upper-class implementation of a method with the default value argument
  • KT-75965 The iOS app did not run successfully in Release mode

Native

  • KT-75807 CMP caching fails for iOS with Kotlin 2.1.20-RC2

Kotlin 2.1.20-RC2

Changelog

Compiler

  • KT-75649 K2: NPE on assigning platform type value to non-nullable lateinit var
  • KT-75483 Native: redundant unboxing generated with smart cast
  • KT-75526 Regression in K2 scripting: local name doesn't shadow one from the implicit receiver
  • KT-75444 Contradictions in the constraint system are ignored in case of multiple constraints from forking points
  • KT-75111 False negative "This declaration needs opt-in" for usage of enum entry with OptIn marker in another module
  • KT-74764 Native: merge init nodes generated within the same LLVM module for the same klib

Compose compiler

  • CMP-7571 1.8.0-alpha03 incompatible with Compose based on k1
  • b/397855145 Fix "Unknown file" error in target annotation inference

JavaScript

  • KT-75606 KJS: java.lang.AssertionError: Different declarations with the same signatures were detected
  • KT-72437 KJS. Invalid copy method for inherited JSO with type parameters

Klibs

  • KT-75393 Non-JVM artifacts from Kotlin 2.1.20-RC fail on 2.1.x releases due to IMPLICIT_ARGUMENT

Native

  • KT-70202 Xcode 16 Linker fails with SIGBUS

Tools. Compiler Plugins

  • KT-73897 PowerAssert: Implicit argument detection is brittle in a number of cases

Tools. Gradle

  • KT-73842 Gradle: AGP failing tests with "Failed to calculate the value of property 'generalConfigurationMetrics'" using KGP

... (truncated)

Changelog

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

2.1.10

Compiler

  • KT-73858 Compose / iOS: NullPointerException on building
  • KT-73454 K2: Fix type parameters mapping for typealiases with inner RHS
  • KT-73043 K2 Compiler does not allow references to inner constructors with typealiases
  • KT-74040 Compilation of inner class usage does not check the visibility of parent class during compilation in different rounds
  • KT-73339 K2: "VerifyError: Bad type on operand stack" because of missing implicit cast on generic field receiver with star projection
  • KT-72585 K2: Compilation failure when upgrading to Kotlin 2.0.20+: Cannot replace top-level type with star projection: S
  • KT-73399 compile-time JVM codegen failure on a KProperty argument of a KSuspendFunction parameter
  • KT-72725 KMP: Unsupported actualization of inherited java field in expect class
  • KT-73153 K2: Standalone diagnostics on type arguments are not reported

Compose compiler

  • CMP-5680 Compose compiler: unexpected stability warnings for classes compiled with 2.0.10
  • b/381407900 Avoid adding Compose annotations on synthetic classes

IR. Inlining

  • KT-73981 Cherry-pick the fix for KT-73482 to 2.1.10

JavaScript

  • KT-70778 Kotlin Js companion is undefined in production build
  • KT-73130 KJS: Missed break for do/while in generated JS code
  • KT-58797 Optimize the code generated for objects on JS and Wasm backends

Klibs

  • KT-70146 [KLIB Resolve] Don't fail on nonexistent transitive dependency
  • KT-73951 Workaround for "Partial linkage engine may not patch some discrepancies in IR when compiling Kotlin/Native static caches" in 2.1.10

Native

  • KT-73559 K/Native: AndroidNativeArm64 linking fails starting from Kotlin 2.1.0

Tools. CLI

  • KT-73967 JDK 25: "IllegalArgumentException: 25-ea" with EA builds

Tools. Daemon

  • KT-73311 "Unable to release compile session, maybe daemon is already down" flakiness

Tools. Gradle

  • KT-73728 'generatePomFileForMavenPublication' creates pom with dependencies with 'unspecified' version

... (truncated)

Commits

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 commands and options

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)

Bumps `KOTLIN_VERSION` from 1.9.10 to 2.1.20.

Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.9.10 to 2.1.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.9.10 to 2.1.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `org.jetbrains.kotlin:kotlin-test` from 1.9.10 to 2.1.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.9.10 to 2.1.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: org.jetbrains.kotlin:kotlin-test
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: org.jetbrains.kotlin:kotlin-test-junit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Mar 20, 2025
@github-actions
Copy link

github-actions bot commented May 2, 2025

This PR has no activity in a while - it will be closed soon.

@github-actions github-actions bot added the Stale label May 2, 2025
@github-actions github-actions bot closed this May 9, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 9, 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_VERSION-2.1.20 branch May 9, 2025 02:09
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 Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants