News

Announcing Scala.js 1.3.1

Nov 16, 2020

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

This release fixes the performance issues of the ECMAScript 2015 mode (the default) on Firefox. This fix has a cost in terms of emitted code size. Read more below about the trade-offs.

In addition, this release fixes several other issues, including three regressions in 1.3.0 (#4252, #4268 and #4271). It also contains some improvements to the JDK support.

Read on for more details.

Read more

Announcing Scala.js 1.3.0

Oct 16, 2020

We are excited to announce the release of Scala.js 1.3.0!

This release brings one of the most awaited features for Scala.js: module splitting support! It is now possible to split the generated .js file into multiple modules, to optimize download size in multi-page applications or speed up incremental bundling.

In addition, this release contains a number of new methods and classes in the JDK implementation, among which the higher-order methods of the java.util collections, and the locale-sensitive overloads of String.toLowerCase, toUpperCase and format.

Read on for more details.

Read more

Announcing Scala.js 1.2.0

Sep 9, 2020

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

The highlight of this release is the addition of the JavaScript types js.Map[K, V] and js.Set[T] in the standard library. Thanks to @exoego for this contribution!

In addition, this release contains a number of bug fixes and small improvements. The version of the Scala standard library has been upgraded to Scala 2.12.12 and 2.13.3.

Read on for more details.

Read more

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