News

Announcing Scala.js 0.6.11

Jul 27, 2016

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

This release was mainly focused on optimizations. In particular, Longs have been dramatically improved, with up to 15x speedups (#1488). Some operations on BigIntegers benefit a lot from this, with up to 8x speedups.

We have also finally upgraded the version of the Google Closure Compiler that is used for fullOptJS, which brings speed improvements to the production applications of up to 2x, although mostly in the 10-15% range (#2490).

Read more

Announcing Scala.js 0.6.10

Jun 17, 2016

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

This release is mostly a bug-fix release. It also contains further adaptations to support the upcoming Scala 2.12.0-M5.

The most important improvement is that the sbt plugin can now generate HTML pages to run your test suites in browsers (with any testing framework), so that you can use your browser’s debugger to step through your tests.

Read more

Announcing Scala.js 0.6.9

Apr 30, 2016

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

This release was mostly focused on ironing out the support of Scala 2.12.0-M4 and the upcoming M5. All users of 2.12.0-M4 are highly encouraged to upgrade to Scala.js 0.6.9. The release also contains a few bug fixes, as well as the following improvements:

  • #2009 No own class for anonymous Scala.js-defined JS classes (see below)
  • #2350 A read-only sbt setting isScalaJSProject which is true iff the current project is a Scala.js project

Read more

Announcing Scala.js 0.6.8

Mar 18, 2016

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

This release is mostly a bugfix release. The most important changes are:

  • Fixed #2243: -jsdeps.min.js not produced anymore after upgrading from 0.6.5 to 0.6.6 and 0.6.7
  • Upgrade the implementation of the standard library to Scala 2.11.8
  • #2238 Drop support for ES6 Strong Mode

This release also contains important although invisible changes to prepare for Scala 2.12.0-M4, which will start using default methods to encode traits. This required substantial changes in Scala.js. Although most of the work was done in earlier releases of Scala.js, 0.6.8 is the first version that should be able to support Scala 2.12.0-M4.

Read more

Announcing Scala.js 0.6.7

Feb 12, 2016

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

This release is almost exclusively a bugfix release, after some critical regressions regarding the sbt plugin in Scala.js 0.6.6. In particular, it fixes:

  • #2195 Source maps to the Scala standard library are broken
  • #2198 “Illegal classpath entry: " after upgrading from 0.6.5 to 0.6.6
  • #2202 and #2219 NullPointerException or AssertionError while linking in client/server projects
  • #2222 Huge performance regression of the optimizer

Besides bug fixes, this release brings a few improvements:

  • js.Promise and its conversions to/from Future
  • Proper stack traces for Throwables in Node.js
  • Support for Scala cross-version source directories in shared/

Read more

Announcing Scala.js 0.6.6

Jan 25, 2016

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

It has been a long while since the last release, almost 5 months already. That was too long, and we apologize. In the future, we hope never to let more than 2 months elapse between consecutive releases.

Besides bug fixes, this release brings several major improvements:

  • js.TupleN, a JS equivalent of Scala tuples
  • Support for JUnit
  • Better support of constructors of @ScalaJSDefined classes: they can now have overloads, default parameters and varargs
  • A completely redesigned internal API for the linker, whose main visible impact should be reduced memory usage and improved speed
  • js.ConstructorTag[C], a ClassTag equivalent to js.constructorOf[C]

Read more