JetBrains has announced the release of Kotlin version 1.3. The developers stabilized the coroutine’s work and introduced the Kotlin / Native beta. The language is now supported by the Google Cloud Platform, the Spring framework and the Gradle system.
Let's find out what's new:
- The release of the library
kotlinx.coroutinesversion 1.0 for working with coroutines.
- The Kotlin / Native beta release - an LLVM backend for compiling the Kotlin's source code into separate binaries. The new version provides fully automated memory management and can interact with C, Objective-C and Swift. In addition, the Kotlin / Native runtime promotes the use of immutable data and prevents any attempts to share unprotected changeable code in threads.
- New libraries to support multiplatform projects. In addition to
kotlinx.coroutinesfor coroutines, the JetBrains team presented libraries for handling HTTP requests and serialization. You can create such a tool yourself by adding dependencies specific to the platform to the public API.
- Support for innovations introduced in Kotlin 1.3 in three IDEs: IntelliJ IDEA Community Edition, IntelliJ IDEA Ultimate and Android Studio.
- The implementation of the “contracts” presented in the release candidate version on KotlinConf 2018.
- Experimental support for
inlineclasses and four subspecies of the
- The possibility of nested ads in
- Inclusion in the standard support library Kotlin / Native and Kotlin / JS.