Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ded614b

Browse files
authored
Merge pull request #615 from sjrd/scalajs-1.13.2
Announcing Scala.js 1.13.2.
2 parents 5f927d6 + d0ba0a1 commit ded614b

File tree

4 files changed

+82
-1
lines changed

4 files changed

+82
-1
lines changed

_config.yml

+1-1
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.13.1
67+
scalaJS: 1.13.2
6868
scalaJSBinary: 1
6969
scalaJS06x: 0.6.33
7070
scalaJS06xBinary: 0.6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
layout: post
3+
title: Announcing Scala.js 1.13.2
4+
category: news
5+
tags: [releases]
6+
permalink: /news/2023/06/23/announcing-scalajs-1.13.2/
7+
---
8+
9+
10+
We are pleased to announce the release of Scala.js 1.13.2!
11+
12+
This release mostly contains bug fixes.
13+
It also upgrades the Scala standard library to versions 2.12.18 and 2.13.11.
14+
15+
Due to a deep incompatibility between sbt 1.6+ and Scala 2.12.4, we have dropped support for that particular version of Scala.
16+
Other Scala 2.12.2+ versions are still supported.
17+
18+
This release is the first to be built with sbt 1.9.x, which means that our sbt plugin `sbt-scalajs` is now dual-published on Maven Central using the legacy Ivy style and the new Maven-compliant style.
19+
The transitive dependency `sbt-platform-deps` is also dual-published.
20+
See [the release notes of sbt 1.9.0](https://eed3si9n.com/sbt-1.9.0#pom-consistency-of-sbt-plugin-publishing) for more information.
21+
22+
Read on for more details.
23+
24+
<!--more-->
25+
26+
## Getting started
27+
28+
If you are new to Scala.js, head over to [the tutorial]({{ BASE_PATH }}/tutorial/).
29+
30+
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).
31+
32+
Bug reports can be filed [on GitHub](https://github.com/scala-js/scala-js/issues).
33+
34+
## Release notes
35+
36+
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.
37+
38+
This is a **patch** release:
39+
40+
* It is backward binary compatible with all earlier versions in the 1.x series: libraries compiled with 1.0.x through 1.13.1 can be used with 1.13.2 without change.
41+
* It is forward binary compatible with 1.13.0 and 1.13.1: libraries compiled with 1.13.2 can be used with previous 1.13.x versions without change.
42+
* It is backward source compatible with 1.13.0 and 1.13.1: source code that used to compile with previous 1.13.x versions should compile as is when upgrading to 1.13.2.
43+
44+
In addition, like Scala.js 1.13.0:
45+
46+
* It is *not* forward binary compatible with 1.12.x: libraries compiled with 1.13.2 cannot be used with 1.12.x or earlier.
47+
* It is *not* entirely backward source compatible with 1.12.x: it is not guaranteed that a codebase will compile *as is* when upgrading from 1.12.x or earlier (in particular in the presence of `-Xfatal-warnings`).
48+
49+
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.
50+
51+
## Miscellaneous
52+
53+
### New JDK APIs
54+
55+
This release adds support for the following JDK classes:
56+
57+
* `java.util.StringJoiner`
58+
59+
## Bug fixes
60+
61+
Among others, the following bugs have been fixed in 1.13.2:
62+
63+
* [#4850](https://github.com/scala-js/scala-js/issues/4850) ClassDef checker error after linking when only using the class data of a non-native JS class
64+
* [#4855](https://github.com/scala-js/scala-js/issues/4855) Linker emits modules with colliding names on case-insensitive filesystems
65+
* [#4865](https://github.com/scala-js/scala-js/issues/4865) `IllegalArgumentException`: A constructor or static initializer must have a void result type
66+
* [#4870](https://github.com/scala-js/scala-js/issues/4870) `UndefinedBehaviorError`: `java.lang.NegativeArraySizeException` in `BigInteger`
67+
* [#4878](https://github.com/scala-js/scala-js/issues/4878) `StringIndexOutOfBoundsException` in `String.regionMatches`
68+
* [dotty#17542](https://github.com/lampepfl/dotty/issues/17542) Scala.js IR error `java.io.Serializable` expected but `java.lang.Class` found
69+
70+
You can find the full list [on GitHub](https://github.com/scala-js/scala-js/issues?q=is%3Aissue+milestone%3Av1.13.2+is%3Aclosed).

doc/all-api.md

+10
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.13.2
9+
* [1.13.2 scalajs-library]({{ site.production_url }}/api/scalajs-library/1.13.2/scala/scalajs/js/index.html)
10+
* [1.13.2 scalajs-test-interface]({{ site.production_url }}/api/scalajs-test-interface/1.13.2/)
11+
* [1.13.2 scalajs-javalib-intf]({{ site.production_url }}/api/scalajs-javalib-intf/1.13.2/)
12+
* [1.13.2 scalajs-ir]({{ site.production_url }}/api/scalajs-ir/1.13.2/org/scalajs/ir/index.html)
13+
* [1.13.2 scalajs-linker-interface]({{ site.production_url }}/api/scalajs-linker-interface/1.13.2/org/scalajs/linker/interface/index.html) ([Scala.js version]({{ site.production_url }}/api/scalajs-linker-interface-js/1.13.2/org/scalajs/linker/interface/index.html))
14+
* [1.13.2 scalajs-linker]({{ site.production_url }}/api/scalajs-linker/1.13.2/org/scalajs/linker/index.html) ([Scala.js version]({{ site.production_url }}/api/scalajs-linker-js/1.13.2/org/scalajs/linker/index.html))
15+
* [1.13.2 scalajs-test-adapter]({{ site.production_url }}/api/scalajs-sbt-test-adapter/1.13.2/org/scalajs/testing/adapter/index.html)
16+
* [1.13.2 sbt-scalajs]({{ site.production_url }}/api/sbt-scalajs/1.13.2/#org.scalajs.sbtplugin.package)
17+
818
### Scala.js 1.13.1
919
* [1.13.1 scalajs-library]({{ site.production_url }}/api/scalajs-library/1.13.1/scala/scalajs/js/index.html)
1020
* [1.13.1 scalajs-test-interface]({{ site.production_url }}/api/scalajs-test-interface/1.13.1/)

doc/internals/version-history.md

+1
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.13.2](/news/2023/06/23/announcing-scalajs-1.13.2/)
89
- [1.13.1](/news/2023/04/10/announcing-scalajs-1.13.1/)
910
- [1.13.0](/news/2023/01/26/announcing-scalajs-1.13.0/)
1011
- [1.12.0](/news/2022/11/23/announcing-scalajs-1.12.0/)

0 commit comments

Comments
 (0)