Skip to content

Commit a3078c4

Browse files
committed
Announcing Scala.js 1.18.2.
1 parent cd7a9dd commit a3078c4

File tree

4 files changed

+63
-1
lines changed

4 files changed

+63
-1
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ colors: #in hex code if not noted else
6464

6565
### VERSIONS ###
6666
versions:
67-
scalaJS: 1.18.1
67+
scalaJS: 1.18.2
6868
scalaJSBinary: 1
6969
scalaJS06x: 0.6.33
7070
scalaJS06xBinary: 0.6
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
layout: post
3+
title: Announcing Scala.js 1.18.2
4+
category: news
5+
tags: [releases]
6+
permalink: /news/2025/01/23/announcing-scalajs-1.18.2/
7+
---
8+
9+
10+
We are pleased to announce the release of Scala.js 1.18.2!
11+
12+
This is mostly a hotfix release for a binary incompatibility present in 1.18.0 and 1.18.1 and affecting some libraries built with Scala.js < 1.11.
13+
It also upgrades the Scala standard library to versions 2.12.20 and 2.13.16.
14+
15+
Read on for more details.
16+
17+
<!--more-->
18+
19+
## Getting started
20+
21+
If you are new to Scala.js, head over to [the tutorial]({{ BASE_PATH }}/tutorial/).
22+
23+
If you need help with anything related to Scala.js, you may find our community [in `#scala-js` on Discord](https://discord.com/invite/scala) and [on Stack Overflow](https://stackoverflow.com/questions/tagged/scala.js).
24+
25+
Bug reports can be filed [on GitHub](https://github.com/scala-js/scala-js/issues).
26+
27+
## Release notes
28+
29+
If upgrading from Scala.js 0.6.x, make sure to read [the release notes of Scala.js 1.0.0]({{ BASE_PATH }}/news/2020/02/25/announcing-scalajs-1.0.0/) first, as they contain a host of important information, including breaking changes.
30+
31+
This is a **patch** release:
32+
33+
* It is backward binary compatible with all earlier versions in the 1.x series: libraries compiled with 1.0.x through 1.18.1 can be used with 1.18.2 without change.
34+
* It is forward binary compatible with 1.18.0 and 1.18.1: libraries compiled with 1.18.2 can be used with previous 1.18.x versions without change.
35+
* It is backward source compatible with 1.18.0 and 1.18.1: source code that used to compile with previous 1.18.x versions should compile as is when upgrading to 1.18.2.
36+
37+
In addition, like Scala.js 1.18.0 and 1.18.1:
38+
39+
* It is *not* forward binary compatible with 1.17.x: libraries compiled with 1.18.2 cannot be used with 1.17.x or earlier.
40+
* It is *not* entirely backward source compatible with 1.17.x: it is not guaranteed that a codebase will compile *as is* when upgrading from 1.17.x or earlier (in particular in the presence of `-Xfatal-warnings`).
41+
42+
As a reminder, libraries compiled with 0.6.x cannot be used with Scala.js 1.x; they must be republished with 1.x first.
43+
44+
## Bug fixes
45+
46+
The following bugs were fixed in 1.18.2:
47+
48+
* [#5115](https://github.com/scala-js/scala-js/issues/5115) fullLinkJS: Missing StoreModule right after the super constructor call
49+
* [#5112](https://github.com/scala-js/scala-js/issues/5112) "Found unknown label apply" crash during compilation with Scala 2.13.16
50+
51+
You can find the full list [on GitHub](https://github.com/scala-js/scala-js/issues?q=is%3Aissue+milestone%3Av1.18.2+is%3Aclosed).

doc/all-api.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ title: All previous versions of the Scala.js API
55

66
## All previous versions of the API
77

8+
### Scala.js 1.18.2
9+
* [1.18.2 scalajs-library]({{ site.production_url }}/api/scalajs-library/1.18.2/scala/scalajs/js/index.html)
10+
* [1.18.2 scalajs-test-interface]({{ site.production_url }}/api/scalajs-test-interface/1.18.2/)
11+
* [1.18.2 scalajs-javalib-intf]({{ site.production_url }}/api/scalajs-javalib-intf/1.18.2/)
12+
* [1.18.2 scalajs-ir]({{ site.production_url }}/api/scalajs-ir/1.18.2/org/scalajs/ir/index.html)
13+
* [1.18.2 scalajs-linker-interface]({{ site.production_url }}/api/scalajs-linker-interface/1.18.2/org/scalajs/linker/interface/index.html) ([Scala.js version]({{ site.production_url }}/api/scalajs-linker-interface-js/1.18.2/org/scalajs/linker/interface/index.html))
14+
* [1.18.2 scalajs-linker]({{ site.production_url }}/api/scalajs-linker/1.18.2/org/scalajs/linker/index.html) ([Scala.js version]({{ site.production_url }}/api/scalajs-linker-js/1.18.2/org/scalajs/linker/index.html))
15+
* [1.18.2 scalajs-test-adapter]({{ site.production_url }}/api/scalajs-sbt-test-adapter/1.18.2/org/scalajs/testing/adapter/index.html)
16+
* [1.18.2 sbt-scalajs]({{ site.production_url }}/api/sbt-scalajs/1.18.2/#org.scalajs.sbtplugin.package)
17+
818
### Scala.js 1.18.1
919
* [1.18.1 scalajs-library]({{ site.production_url }}/api/scalajs-library/1.18.1/scala/scalajs/js/index.html)
1020
* [1.18.1 scalajs-test-interface]({{ site.production_url }}/api/scalajs-test-interface/1.18.1/)

doc/internals/version-history.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ title: Version history
55

66
## Version history of Scala.js
77

8+
- [1.18.2](/news/2025/01/23/announcing-scalajs-1.18.2/)
89
- [1.18.1](/news/2025/01/09/announcing-scalajs-1.18.1/)
910
- ~~1.18.0~~ ([severely broken](https://github.com/scala-js/scala-js/issues/5107) and therefore never announced)
1011
- [1.17.0](/news/2024/09/28/announcing-scalajs-1.17.0/)

0 commit comments

Comments
 (0)