Kotlin 1.4 Improves Node.JS Support
Written by Mike James   
Thursday, 06 August 2020

The latest version of Kotlin has reached release candidate status. Version 1.4 has a preview of extra support for Node.JS and improved IDE support.

Kotlin is the open source language originated by JetBrains and promoted by Google as a first class language for Android to replace or supplement Java. It makes Android programming easier by reducing the need for long chunks of boilerplate code that the average programmer just doesn't get, or perhaps more accurately doesn't bother understanding at a deep level.


This release builds on the significant improvements made to the IDE support for Gradle Kotlin DSL scripts in Kotlin 1.3.7 with better error reporting and the ability to load script configuration explicitly for better performance.

In the previous release, when you added a new plugin to the buildscript or plugins block, the new script configuration was loaded automatically in the background, even if this had a negative impact on performance. You now need to explicitly apply changes to the configurations by clicking Load Gradle Changes or by reimporting the Gradle project.

The improved error reporting means you now see errors from the Gradle Daemon in the Build tool window rather than in a separate log file.


Dukat support is improved with more fine-grained control in Dukat integration with te Kotlin/JS Gradle plugin. Dukat is a tool for automatically converting TypeScript declaration files (.d.ts) into Kotlin external declarations. You now have two different ways to select if and when Dukat should generate declarations.

The other main improvement to Kotlin 1.4 is a preview of bindings for Node.js APIs. You could already target Node.js with Kotlin, but the developers say the full potential of the target is unlocked when you have typesafe access to its API. 




More Information

Kotlin Home Page

Related Articles

Why Do Android Devs Convert To Kotlin?

Kotlin Versus Java - A Developer's Rosetta Stone

Kotlin 1.3 Adds Duration And Time API

Kotlin Enters RedMonk's Top 20

Kotlin Gains A Foundation and A Portal

Kotlin 1.2 Released With Cross Platform Support

The Programmers Guide To Kotlin - Type

Kotlin Begins Its Takeover Of Android

Kotlin - New Language For Android


To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.


Ruby 3.1 Adds In-Process JIT Compiler

Ruby 3.1 has been released with improvements including an experimental in-process just in time compiler and a new debugger.

Animating Flow In Still Photos

Too Good To Miss: Back in June 2021 we looked at a way to make a photo more than a photo and not just inside your head. Looking at the photo of a waterfall you are often convinced the water is moving. [ ... ]

More News





or email your comment to: comments@i-programmer.info



Last Updated ( Thursday, 06 August 2020 )