The new version of the Kotlin 1.3.30 programming language arrives

kotlin

JetBrains announced the availability of version 1.3.30 of your programming language Kotlin. Which this new version includes many improvements, security patches and updated tools for Kotlin 1.3.

JetBrains explained that the main areas of intervention for this release are Kotlin / Native, KAPT performance, and enhancements to IntelliJ IDEA.

Version 1.3 of the language was released in November 2018, about a year after version 1.2 was released.

What's new in Kotlin 1.3.30?

This version is no longer considered a bug fix and a version 1.3 tools update by JetBrains.

The main novelties in version 1.3 they include coroutines, Kotlin / Native Beta and cross-platform projects.

As well there have been other improvements, such as experimental support for online classes for performance and write security, the experimental support for unsigned integers to facilitate the manipulation of bytes and other low-level codes.

Therefore, corrections were made to the KAPT to improve its performance, as well as to Kotlin / Native.

With this solution, KAPT now supports incremental annotation processors in experimental mode.

To test it out, add the kapt.incremental.apt = true parameter to the gradle.properties file.

Note that, in the current implementation, the use of any non-incremental annotation processor o changing the ABI of the dependency (so far, including modifying internal declarations) will result in processing without annotations incremental for a given module.

For Kotlin / Native, JetBrains announces that the list of supported Kotlin / Native targets has been expanded. This version supports the 32-bit Windows target (mingw_x86).

In addition to this, Windows and Mac OS users can compile their programs Kotlin/Native en transversal way with Linux x86-64, ARM 32, as well as Android and Raspberry PI devices.

On the compiler side, JetBrains added fixes to undefined behavior when calculating the remainder of a division by 0, which now throws an exception.

The alignment issues have also been fixed for the ARM 32 and MIPS platforms.

Other tools JetBrains they also received support

JetBrains now offers support for Kotlin / Native in two more of their EDIs, in addition to Intellij IDEA.

“In addition to IntelliJ IDEA, we will offer a Kotlin / Native plugin for CLion 2019.1, as well as AppCode 2019.1. C interop definition files (.def) will also be supported by all IDEs, although we are not currently providing code completion, "explained JetBrains in their release note for this review.

For CLion and AppCode, JetBrains too added back navigation to source code, as well as improvements to debugger support.

JetBrains improved debugging within the IDEA Intellij IDE to facilitate debugging of particular routines.

When you are debugging coroutine code, now you see an asynchronous trace of asynchronous calls "Stacktrace asynchronous" showing the variables stored at the time of suspension.

When stopped at a breakpoint within a suspend or lambda function, the call trace also indicates the state of the variables at the last suspend point.

You can navigate the entire stacktrace of suspend functions starting with the last suspend point of the current device and checking the values ​​stored by the variables.

Eclipse support

One last major improvement that can be seen in this version is lThe update of the Kotlin plugin for EDI Eclipse.

The new Eclipse EDI plug-in version 0.8.14 provides support for the Kotlin 1.3.30 compiler, many other bug fixes, and general stability improvements.

This update also introduces experimental support for Gradle projects. You can now import your projects with Eclipse Buildship, then find them in your Eclipse workspace with the correct Kotlin plugin settings.

JetBrains explained that the work was still in progress and will be improved in future versions, but you can try it now and share your feedback.

In order to obtain this new version you can go to the following link. 


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.