Scala.js is a dialect of Scala which compiles Scala source code to JavaScript code. The 1.0.0 version arrived on February 25, 2020, after seven years of development.
From the announcement blog:
Scala.js 1.0.0 is the culmination of our efforts to simplify, specify, and future-proof all aspects of Scala.js, from the language semantics to the internal APIs, so that there is nothing left to take away.
Users should take note that the 1.0.0 release includes a number of breaking changes that are incompatible with 0.6x. In the 1.0.0 announcement post, users are recommended that they upgrade to version 0.6.32 or later and address all breaking changes before moving forward with the update.
SEE ALSO: Python web framework JustPy – interactive websites without JavaScript
1.0.0 enhancements
This release mainly focused on “simplifying Scala.js” and future-proofing it, instead of adding new features, so there is a short list of new enhancements and improvements.
The new enhancements include:
- Access
require
and other “global” variables of special JavaScript environments - Easily declare inner classes in native JS classes
- Declare non-native JS classes inside outer
class
es or insidedef
s, and use theirjs.constructorOf
- Run-time performance improvements
Version 1.0.0 fixes various bugs and resolves open issues as well.
Source : JAXenter