Addressing regressions causing incorrect code generation

Kotlin 1.1.1: The first bugfix update is here

Gabriela Motroc

The first bugfix update for Kotlin 1.1 is here — its aim is to address regressions causing incorrect code generation.

JetBrains has just released the first bugfix update for Kotlin 1.1 — it mainly focuses on addressing regressions that cause incorrect code generation.

Let’s have a look at the changes worth emphasizing:

  • Gradle incremental compilation is now enabled by default. You can still turn it off as described in the documentation if you need to.
  • Kotlin plugins are now available in the Gradle plugin portal. See the documentation for usage instructions.
  • Using function types with receivers as parameter types of JavaScript external declarations is no longer allowed. Previously, lambdas passed to such parameters weren’t invoked with correct arguments, and there’s no easy workaround for this issue, so for now the functionality has been disabled.

Furthermore, the Kotlin Eclipse and NetBeans plugins have been updated to include Kotlin 1.1.1, so users can enjoy the benefits of the new Kotlin version regardless of their IDE choice.

For more details, check out the changelog.

SEE ALSO: Kotlin 1.1 brings JavaScript support and coroutines

Enabling the use of Kotlin in many new scenarios

JetBrains’ Roman Belov said in the blog post announcing the release that Kotlin 1.1 is  “a big step forward enabling the use of Kotlin in many new scenarios.” The most important changes are the JavaScript target — which is no longer experimental— and the support for coroutines.

Kotlin 1.1 includes type aliases, bound callable references, destructuring in lambdas and more. One of the most important highlights is the fact that the JavaScript target is no longer considered experimental. This means that 1.1 supports all language features, a large part of the standard library and JavaScript interoperability. This change allows users to migrate the browser frontend of their applications to Kotlin while continuing to use modern JavaScript development frameworks such as React.

However, the star of this release is the support for coroutines — coroutines bring the support of async/await, yield and similar programming patterns. The best part is that the implementation of coroutine execution is part of the libraries, not the language, which means users aren’t bound to any specific programming paradigm or concurrency library.

Find out more about Kotlin 1.1 here.

Gabriela Motroc
Gabriela Motroc was editor of and JAX Magazine. Before working at Software & Support Media Group, she studied International Communication Management at the Hague University of Applied Sciences.

Inline Feedbacks
View all comments