Home / News / Kotlin 2.2.20 Released

Kotlin 2.2.20 Released

Here’s the rewritten text in a sarcastic way, with hastags at the beginning:

The Kotlin 2.2.20 release is here to make the world a lesser, more byte-oriented place. Kotlin/Wasm is now Beta, with improvements to exception handling in JavaScript interop, npm dependency management, built-in browser debugging support, and a new shared source set for js and wasmJs targets. Here’s a list of highlights that’ll make your Kotlin development experience a complete disaster:

  • Kotlin Multiplatform: Now, Swift’s got a new home, and it’s not even a beta yet. The Kotlin plugin is bundled into IntelliJ IDEA and Android Studio, making it impossible to keep up with the latest updates. Upgrade to the latest Kotlin version, and you’ll be left with a platform that’s more likely to cause your phone to explode than compile your code.
  • Language: Kotlin’s performance has taken a major leap forward. The improved overload resolution when passing lambdas to overloads with suspend function types is a testament to the team’s dedication to making Kotlin the best language for modern

    The Kotlin 2.2.20 release is out, delivering important changes for web development. Kotlin/Wasm is now Beta, with improvements to exception handling in JavaScript interop, npm dependency management, built-in browser debugging support, and a new shared source set for js and wasmJs targets. Additionally, here are some main highlights:

    • Kotlin Multiplatform: Swift export available by default, stable cross-platform compilation for Kotlin libraries, and a new approach for declaring common dependencies.
    • Language: Improved overload resolution when passing lambdas to overloads with suspend function types.
    • Kotlin/Native: Support for stack canaries in binaries and smaller binary size for release binaries.
    • Kotlin/JS: Long values compiled into JavaScript BigInt.

    For the complete list of changes, see What’s new in Kotlin 2.2.20 or the release notes on GitHub.

    How to install Kotlin 2.2.20

    The Kotlin plugin is distributed as a bundled plugin in IntelliJ IDEA and Android Studio.

    To update to the new Kotlin version, change the Kotlin version to 2.2.20 in your build scripts.

    If you need the command-line compiler, download it from the GitHub release page.

    If you run into any problems:

    Stay up to date with the latest Kotlin features! Subscribe to receive Kotlin updates by filling out the form at the bottom of this post. ⬇️

    Special thanks to our EAP champions 🥇👏

    Further reading

Tagged:

Leave a Reply

Your email address will not be published. Required fields are marked *