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

Announcing Scala.js 0.6.2

Mar 16, 2015

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

This release mostly contains bug fixes, among which the lack of support of for Unicode characters. It also brings code size reduction and performance improvements to fastOpt code (although nothing changes in fullOpt).

We are also happy to share that Scala.js is now part of Scala’s community build.

Read more