News

Announcing Scala.js 1.0.0-M6

Oct 24, 2018

We are very excited to announce the release of Scala.js 1.0.0-M6!

This development release is mostly intended for testing purposes, and as a synchronization point with library authors so that they can start upgrading in preparation for the final release.

As the change in “major” version number witnesses, this release is not binary compatible with 0.6.x, nor with the previous milestones of the 1.x series. Libraries need to be recompiled and republished using this milestone to be compatible.

Moreover, this release is not entirely source compatible with 0.6.x either. We expect, however, that further milestones for 1.0.0 will stay backward source compatible with this milestone.

These release notes contain cumulative changes with respect to 0.6.25. Compared to 1.0.0-M5, the following changes are noteworthy:

  • Scala.js has been relicensed under the Apache License 2.0, following the corresponding relicensing of Scala upstream
  • Add support for Scala 2.12.7 and 2.13.0-M5
  • Overall bring up-to-date with improvements and bug fixes available in 0.6.25
  • The scalajs-stubs artifact has been moved to its own repository, with its own versioning scheme; its latest release is 1.0.0-RC1
  • org.scalajs.testinterface.TestUtils was removed (it was deprecated in 0.6.25); use scala.scalajs.reflect.Reflect or portable-scala-reflect instead
  • The package name for the TestAdapter has been renamed from org.scalajs.testadapter to org.scalajs.testing.adapter, which affects test integrators such as build tools
  • For authors of JSEnvs: the test kit configuration option withTerminateVMJSCode was replaced by withSupportsExit #3413

We would also like to remind readers of the following important change that happened in 1.0.0-M5:

  • Drop compatibility with sbt-crossproject v0.4.x and earlier (v0.5.0 or later is required)

Read more

Announcing Scala.js 0.6.25

Sep 3, 2018

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

This release brings support for Scala 2.13.0-M5, as well as jsdom v12.x. It also fixes a number of issues.

Read on for more details.

Read more

Announcing Scala.js 1.0.0-M5

Aug 13, 2018

We are very excited to announce the release of Scala.js 1.0.0-M5! (there is no 1.0.0-M4)

This development release is mostly intended for testing purposes, and as a synchronization point with library authors so that they can start upgrading in preparation for the final release.

As the change in “major” version number witnesses, this release is not binary compatible with 0.6.x, nor with the previous milestones of the 1.x series. Libraries need to be recompiled and republished using this milestone to be compatible.

Moreover, this release is not entirely source compatible with 0.6.x either. We expect, however, that further milestones for 1.0.0 will stay backward source compatible with this milestone.

These release notes contain cumulative changes with respect to 0.6.24. Compared to 1.0.0-M3, the following changes are noteworthy:

  • Add support for Scala 2.13.0-M4 and its new collections
  • Overall bring up-to-date with improvements and bug fixes available in 0.6.24
  • Drop compatibility with sbt-crossproject v0.4.x and earlier (v0.5.0 or later is required)
  • java.lang.Throwable now properly extends JavaScript’s Error class (providing better stack traces in ECMAScript 2015 mode)
  • #3295 The sbt plugin does not automatically set up Java system properties from -D flags in javaOptions anymore
  • Overhaul of the linker API and the JS env API

Read more

Announcing Scala.js 0.6.24

Jun 29, 2018

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

This release contains a number of fixes for small bugs that have been lingering in our issue tracker for ages. The version of the Scala standard library for 2.12 has also been upgraded to 2.12.6.

Read on for more details.

Read more

Announcing Scala.js 0.6.23

May 22, 2018

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

This release is almost exclusively a bug-fix release. It also adds support for Scala 2.13.0-M4 and its new collections, thanks to the hard work of @julienrf.

Read on for more details.

Read more

Announcing Scala.js 1.0.0-M3

Feb 1, 2018

We are very excited to announce the release of Scala.js 1.0.0-M3!

This development release is mostly intended for testing purposes, and as a synchronization point with library authors so that they can start upgrading in preparation for the final release.

As the change in “major” version number witnesses, this release is not binary compatible with 0.6.x, nor with the previous milestones of the 1.x series. Libraries need to be recompiled and republished using this milestone to be compatible.

Moreover, this release is not entirely source compatible with 0.6.x either. We expect, however, that further milestones for 1.0.0 will stay backward source compatible with this milestone.

These release notes contain cumulative changes with respect to 0.6.22. Compared to 1.0.0-M2, the following changes are noteworthy:

  • Scala 2.10.x is not supported anymore, nor building on JDK 6 and 7.
  • The Tools API has been split in 3 separate artifacts.

Read more