News

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

A new website for Scala.js

Nov 23, 2015

After a couple months of design, content writing, and a lot of discussions, we are pleased to finally release our new website for Scala.js! Most if not all of the credit for this huge task goes to Otto Chrons. Big round of thanks to him!

Go and see the front page!

This new website is structured and designed specifically for front-end developers, highlighting the benefits of Scala.js over JavaScript itself, but also ECMAScript 6 or other languages targeting JavaScript, such as TypeScript.

We hope you will like it. Come and tell us in the Scala.js Gitter chat room! We would love to hear your feedback.

Read more

Announcing Scala.js 0.6.5

Aug 31, 2015

We are thrilled to announce the release of Scala.js 0.6.5!

This is probably the most important release since Scala.js 0.5.0! It brings significant advances to interoperability with JavaScript:

  • You can now implement subclasses of JavaScript classes and traits in Scala.js!
  • Using the same semantics, you can now define object literals with new js.Object { val x = 5 }
  • There is a new unboxed pseudo-union type A | B to more accurately type your JavaScript facades
  • You can statically typecheck that the @JSExports of a Scala class comply with a JavaScript facade trait with js.use(x).as[T]

Read more

Announcing Scala.js 0.6.4

Jul 3, 2015

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

This release brings support for Scala 2.11.7 and 2.12.0-M1, as well as a significant part of the Java collections library in java.util, thanks to @andreaTP and @nicolasstucki. It also fixes numerous bugs.

Read more

Announcing Scala.js 0.6.3

May 12, 2015

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

A lot has happened in this release, probably because we dragged it for a longer amount of time than usual (2 months since the last release!). Besides the usual bag of bug fixes, there are three highlights:

  • Support for BigInteger and BigDecimal, thanks to an incredible amount of work by @InTheNow.
  • Extension of jsDependencies to specify minified versions of the JS libraries.
  • Experimental output modes to target ECMAScript 6, as well as Strong Mode.

We also welcome Nicolas Stucki aka @nicolasstucki to the core team at EPFL.

Read more