Hello everyone,
We are pleased to announce the release of Scala.js 1.19.0!
This release comes with significant performance improvements to the WebAssembly backend. For codebase where performance is dominated by computations (rather than JS interop), you can now expect the Wasm output to be faster than the JS output.
Moreover, as of this writing, the latest versions of Firefox (since v131) and Safari (since v18.4) support all the WebAssembly features required to run Scala.js-on-Wasm. Chrome still requires a flag to enable exception handling.
If you haven’t tried the WebAssembly target yet, now is a good time to do so!
Other highlights:
- Native support for JavaScript async/await, through
js.async { ... }
andjs.await(...)
. - Small code size improvements for the JavaScript target when using SAM lambdas.
- For Wasm only: support for the JavaScript Promise Integration feature (JSPI).
Read the announcement on the Web for more details:
Enjoy!
the Scala.js team