Kotlin 1.3.50 Early Access Preview

We are glad to announce the 1.3.50 Early Access Preview opening.

This release is going to be shipped with completely rewritten Java to Kotlin converter with many fixes on board! Your feedback is especially valuable here.

The JVM debugger got several improvements aimed for better representation of the current program state in the variables view. Please try it and share your feedback.

There’s great news for the Kotlin/JS Gradle plugin as it now works on Windows too.

The standard library now includes a new experimental Duration and Time Measurement API and a set of extensions for working with bits for Int, Long, Short, Byte and their unsigned counterparts.

Kotlin Native now has an exhaustive set of platform libraries on macOS and embeds actual bitcode in produced frameworks.

Incremental compilation for Kotlin/JS is now up to 20-30% faster compared to 1.3.41.

A lot of other improvements and fixes beyond these highlights for the upcoming 1.3.50 release can be found in the full changelog and separately for Kotlin Native.

How to get the EAP build

For IntelliJ IDEA

You can configure Early Access Preview channel in ToolsKotlinConfigure Kotlin Plugin Updates . Change the update channel to ‘Early Access Preview 1.3.X’ and press Check for updates now .

For Maven or Gradle

Add the https://dl.bintray.com/kotlin/kotlin-eap repository URL to the list of project repositories, and set kotlin_version to 1.3.50-eap-86 .
Here is how to do this in Gradle:

buildscript { 
  ext.kotlin_version = '1.3.50-eap-86' 
  repositories { 
    maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' } 
    mavenCentral() 
  } 
  dependencies { 
    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 
   }
 } 
 apply plugin: "kotlin" 
 repositories { 
   maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' } 
   mavenCentral() 
 } 
 dependencies { 
   compile "org.jetbrains.kotlin:kotlin-stdlib" 
 } 

Please provide feedback and report issues to our issue tracker. Please don’t forget to specify your IDE/build system Kotlin versions.

5 Likes

See also the Kotlin Gradle DSL version: Kotlin 1.3.20 Early Access Preview - #7 by SackCastellon

1 Like