Releases: JetBrains/kotlin
Releases · JetBrains/kotlin
Dot Operator
Release date: April 1, 2014
What's new
Limitations:
The following things are NOT implemented:
- The higher-order dots. I find this feature quite specific and less useful in practice so I guess it can be put off for a while
- Dot flavours. For me this feature looks rather confusing, so I suggest reconsidering whether it's worth implementing at all
Kotlin M7
What's new:
- Language
- Inline functions
- [breaking change]
jet
package renamed tokotlin
- [breaking change] toString(), equals() and hashCode() are now members of Any
- References to local functions
- Interop
- [throws] annotation for JVM target
- Overloading supported for JS target
- Standard Library
- [breaking change] Streams introduced
- IDE enhancements
- Rename/move refactorings improved
- Safe delete
- New intention actions
- Performance improvements
Kotlin M6.2
What's new:
- Language features
- Tail-call optimization with
[tailRecursive]
- Constant expression evaluation
- Suffixes for Longs and Floats:
1L
and1.0F
- Tail-call optimization with
- Compilation to JavaScript
- Default arguments
- Super-constructor calls
- Class-objects in traits
- Java Inteoperability
@ReadOnly
and@Mutable
for collections
- Android
- Better annotations for Android SDK
- IDE
- Support for IntelliJ IDEA 13
- Find Usages
- Compiler preferences
- Smart completion (
Ctrl+Shift+Space
) - Rename from Java
- IDE warns on misusing Kotlin APIs from Java
- Ant
- Integration with
<javac>
- Support for compilation to JavaScript
- Integration with
Kotlin M6.1
What's new:
- Language features
else
is not required inwhen
-statements- Type argument inference uses smart casts
- Ability to suppress warnings with
[suppress("...")]
annotation - Local returns in lambda expressions
- Compilation to JavaScript
- Enums
- Class Objects
- Delegated properties
- Multi-Declarations
- SourceMaps
- IntelliJ Plugin Improvements
- Automatic configuration of Maven and Gradle projects
- Convert member function to extension function
- Navigation to getters and setters of a delegated property
- Navigation to iterator/next/hasNext in a for loop
- Navigation to invoke() from a call site
- Improvements on Find Usages including support for constructors and overrides
Read more in this blog post
Kotlin M6
What's new:
- Language features
- SAM Conversions
- Annotation improvements
- Static fields visible from Java
- Android
- Integration with Gradle for Android
- Integration with Android Studio
- IDE features
- Inline variable, Safe delete and other refactorings
- TestNG support
- Faster code completion
See a detailed description in this blog post.