News

Announcing Scala.js 1.1.1

Jul 2, 2020

We are pleased to announce the release of Scala.js 1.1.1!

This is mostly a bugfix release. In addition, it adds support for the new -Xasync flag of Scala 2.13.3 and 2.12.12 (see the release notes of Scala 2.13.3).

Read on for more details.

Read more

Announcing Scala.js 1.1.0

May 18, 2020

We are pleased to announce the release of Scala.js 1.1.0!

The highlight of this release is the new support for @js.native vals and defs, which we detail below. The version of the Scala standard library has been upgraded to Scala 2.12.11 and 2.13.2. In addition, it contains a number of bug fixes, including all the ones fixed in v0.6.33.

Important note: if you use scalajs-bundler, you will need to upgrade it to v0.18.0 or later.

Read on for more details.

Read more

Announcing Scala.js 0.6.33

May 13, 2020

We are pleased to announce the release of Scala.js 0.6.33!

This is mostly a bugfix release, including a fix for a bad interaction with React.js’ development mode and the jsdom JS env. In addition, we have upgraded to the standard libraries of Scala 2.12.11 and 2.13.2.

Read on for more details.

Read more

Announcing Scala.js 1.0.1

Mar 10, 2020

We are pleased to announce the release of Scala.js 1.0.1!

This is mostly a bugfix release, including a fix for a regression affecting extensions of the JDK (#3950).

Read on for more details.

Read more

Announcing Scala.js 1.0.0

Feb 25, 2020

We are thrilled to announce the General Availability release of Scala.js 1.0.0!

Scala.js is a close dialect of Scala compiling to JavaScript, featuring great portability wrt. Scala/JVM, interoperability with JavaScript, and performance.

After 7 years of development, including 5 years of stability within the 0.6.x series, we are finally ready to present Scala.js 1.0.0. Quoting Antoine de Saint-Exupéry,

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.

Scala.js 1.0.0 is the culmination of our efforts to simplify, specify, and future-proof all aspects of Scala.js, from the language semantics to the internal APIs, so that there is nothing left to take away.

As the change in major version number witnesses, this release is not binary compatible with 0.6.x, nor with the previous milestones and RCs of the 1.x series. Libraries need to be recompiled and republished using Scala.js 1.0.0 to be compatible. Several libraries at the core of the Scala/Scala.js ecosystem have already been published and are available for Scala.js 1.0.0. Here is a list of libraries known to support Scala.js 1.x.

Moreover, this release is not entirely source compatible with 0.6.x either (see Breaking Changes below).

Here are some highlights of Scala.js 1.0.0:

  • Better interoperability with JavaScript libraries (see the Enhancements section below)
  • Improved portability with respect to Scala/JVM
  • Better run-time performance

Read more

Announcing Scala.js 0.6.32

Jan 24, 2020

We are pleased to announce the release of Scala.js 0.6.32!

This is mostly a bugfix release, including a fix for a regression in regular expressions that appeared in 0.6.31 (#3901). This release also adds the definitions for some recent methods of js.Object, thanks to @exoego, and the JDK interface java.util.function.Consumer, thanks to mliarakos.

Read on for more details.

Read more