Apr 4, 2022
We are pleased to announce the release of Scala.js 1.10.0!
This release addresses a security vulnerability in java.util.UUID.randomUUID()
.
All versions of Scala.js prior to 1.10.0 are affected, including all 0.6.x versions.
We strongly recommend that all users upgrade to Scala.js 1.10.0 as soon as possible.
Read the security advisory for more details.
The issue was registered as CVE-2022-28355.
This release also brings a new mode of module splitting, which creates the smallest possible modules for a given list of packages, and the fewest possible modules for the rest.
Finally, it contains some minor optimizations, notably contributed by @japgolly.
Read on for more details.
Read more
Feb 14, 2022
We are excited to announce the release of Scala.js 1.9.0!
Starting with this release, Scala.js will use its strict-floats mode by default (what previously required withStrictFloats(true)
).
Float
values are now always guaranteed to fit in 32-bit floating point data, and all Float
operations strictly follow IEEE-754 float32 semantics.
This release also brings support for java.util.BitSet
, and fixes some bugs.
It also updates the version of the Scala standard library to 2.13.8 for 2.13.x versions.
Read on for more details.
Read more
Dec 10, 2021
We are excited to announce the release of Scala.js 1.8.0!
This release supports Node.js 17 out of the box.
If you were previously using one of the workarounds described in this issue, you may remove it when upgrading to Scala.js 1.8.0.
It also introduces compiler warnings when using the default ExecutionContext.global
.
Read below for details about the reasons, replacements and ways to silence the warnings.
Finally, it introduces a few new language features, including support for the JavaScript metaproperty new.target
.
Read on for more details.
Read more
Oct 7, 2021
We are pleased to announce the release of Scala.js 1.7.1!
This is mostly a bugfix release.
It also updates the version of the Scala standard library to 2.12.15 for 2.12.x versions.
Read on for more details.
Read more
Aug 4, 2021
We are excited to announce the release of Scala.js 1.7.0!
This release fixes a number of bugs.
In particular, regular expressions, available through java.util.regex.Pattern
or Scala’s Regex
and .r
method, now behave in the same way as on the JVM.
This change has compatibility implications, which we discuss below.
Moreover, this release fixes all the known bugs that were left.
As of this writing, Scala.js 1.7.0 has zero known bugs!
The Scala standard library was upgraded to versions 2.12.14 and 2.13.6.
Read on for more details.
Read more
Jun 9, 2021
We are excited to announce the release of Scala.js 1.6.0!
This release fixes a number of bugs and brings new interoperability features, notably js.import.meta
.
It also brings new facades for js.WeakRef
and js.FinalizationRegistry
, while proper implementations of java.lang.ref.*
are moved to separate libraries.
The Scala standard library was upgraded to versions 2.12.13 and 2.13.5.
Read on for more details.
Read more