We are excited to announce the release of Scala.js 1.13.0!
This release drops support for Scala 2.11.
Finally, 5 years after Scala 2.11 was declared end-of-life, we decided to drop support for it in Scala.js.
We also dropped support for Scala 2.12.1 (Scala 2.12.2+ is still supported, of course).
Other than that, this release brings a number of bug fixes and enhancements.
Notably:
- Ability to export inner
object
s and class
es in Scala classes
- Checked exceptions for
NullPointerExceptions
s
- Better optimizations for exported methods and methods in JavaScript classes
Read on for more details.
Read more
We are excited to announce the release of Scala.js 1.12.0!
This release brings a number of bug fixes and enhancements.
The highlights are:
- Support for the JavaScript operator
**
, introduced in ECMAScript 2016.
- Checked exceptions for
ArrayStoreExceptions
s and NegativeArraySizeException
s
The Scala standard library was upgraded to version 2.12.17 and 2.13.10.
Read on for more details.
Read more
We are excited to announce the release of Scala.js 1.11.0!
This release brings a number of bug fixes and enhancements.
The highlights are:
- Dead code elimination of unused fields, bringing code size improvements, and perhaps small performance improvements.
- Checked exceptions for
StringIndexOutOfBoundsException
s: String.charAt()
, substring()
, and all their derivatives now report better errors in development mode.
Read on for more details.
Read more
We are pleased to announce the release of Scala.js 1.10.1!
This release mostly contains bug fixes and optimizations.
It also updates the version of the Scala standard library to 2.12.16 for 2.12.x versions.
Read on for more details.
Read more
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
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