Kotlin 1.0.3 Is Here!
We are delighted to present Kotlin 1.0.3. This update is not full of brand new and shiny features, it is more about bug fixes, tooling improvements and performance boosts. That’s why you’ll like it ;) Take a look at the full change log and issues stats by subsystem:
Specifically we want to express our gratitude to our contributors whose commits are included in 1.0.3 namely Yaroslav Ulanovych, Jake Wharton and Kirill Rakhman. Kirill has done more than a dozen improvements to formatter and submitted 20+ commits — great job, Kirill, we really appreciate it. Here we also want to thank each and every one of our EAP users who tested and provided their priceless feedback on 1.0.3 prerelease builds.
Although this update is not feature-rich, there are several important improvements and features which are worth highlighting here:
What’s new in the compiler:
- New option
-jdk-hometo specify the JDK against which the code is compiled
- Options to specify Kotlin language version (
-language-version) and target Java version (
-jvm-target) (will have effect in 1.1, added now for forward compatibility)
- More efficient bytecode (no more iterator in
indicesloop, avoid unnecessary operations with
- Various improvements to diagnostic messages
What’s new in the IDE:
- Autosuggestion for Java to Kotlin conversion for Java code copied from browser and other sources outside of the IDE
Language injection for strings passed to parameters annotated with @Language. Also predefined Java injections applied in Kotlin code. Read more about using language injections in the documentation
Completion now always shows non-imported classes and methods and adds imports automatically when they are selected
Smart completion works after ‘by’ and ‘in’
Move Element Left/Right actions work for Kotlin
Decompile button is now available in Kotlin bytecode toolwindow and for .class files compiled with Kotlin
Now you can navigate from stacktrace to the call site of an inline function
- Inspections and intentions to check and adjust Kotlin configuration in pom.xml files
- Various Spring support improvements
How to update
To update the plugin, use Tools | Kotlin | Configure Kotlin Plugin Updates and press the “Check for updates now” button. Also, don’t forget to update the compiler and standard library version in your Maven and Gradle build scripts.
Subscribe to Blog updates
Thanks, we've got you!
Kotlin 1.9.0 Released
Kotlin 1.9.0 has been released! Highlights include: Kotlin K2 for JVM is in Beta, other K2 compiler updates, new enum class values function, new operator for open-ended ranges, preview of Gradle configuration cache in Kotlin Multiplatform, changes for Android target support in Kotlin Multiplatform, preview of custom memory allocator in Kotlin/Native. Learn more!
Introducing Kotlin Notebook
The first experimental version of the Kotlin Notebook plugin for IntelliJ IDEA is now available! This post will offer insight into the plugin’s functionality and use cases, but before launching into that, we’d like to let the plugin speak for itself: https://youtu.be/2PLYlDJPelQ W…
Kotlin 1.8.20 Released
Kotlin 1.8.20 has been released! Highlights include: Kotlin K2 compiler updates, AutoCloseable interface and Base64 encoding in stdlib, new JVM incremental compilation enabled by default, new Kotlin/Wasm compiler backend. Learn more!