We are happy to announce the 1.3.60 Early Access Preview opening.
In this EAP we have some improvements in Kotlin/JS test infrastructure:
- Browser test task is failed if there were some fails in launching of Karma KT-31663
- Standard output (log, warn, error) of tests (browser and nodejs both) now captured to Gradle test output KT-32073
- Filter tests for browser and nodejs via
--tests
CLI argument KT-32216 - Support source maps for Gradle stack traces KT-31478
Also experimental stdlib function typeOf
presented in 1.3.40 for Kotlin/JVM is supported for Kotlin/JS now.
In Kotlin/Native we’ve added support for XCode 11 and some new compilation targets (see changelog for additional information). Also there are some performance improvements.
In IDEA plugin there is new feature available: in-project scratch files, aka Worksheets.
Note that since 1.3.60 minimal supported gradle version is 4.9.
Other improvements and fixes beyond these highlights for the upcoming 1.3.60 release can be found in the full changelog and separately for Kotlin Native.
Please note that compatible Native libraries have not been shipped yet. We are aiming to release it soon.
How to get the EAP build
For IntelliJ IDEA
You can configure Early Access Preview channel in Tools → Kotlin → Configure 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.60-eap-143
.
Here is how to do this in Gradle:
buildscript {
ext.kotlin_version = '1.3.60-eap-143'
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.