From c936c55fb0bb21eef12487031634668ddf29e4e7 Mon Sep 17 00:00:00 2001 From: Tobias Schlatter Date: Wed, 27 Dec 2023 16:45:08 +0100 Subject: [PATCH] Announcing Scala.js 1.15.0. --- _config.yml | 2 +- .../2023-12-29-announcing-scalajs-1.15.0.md | 45 +++++++++++++++++++ doc/all-api.md | 10 +++++ doc/internals/version-history.md | 1 + 4 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 _posts/news/2023-12-29-announcing-scalajs-1.15.0.md diff --git a/_config.yml b/_config.yml index 95671f9..7da77bb 100644 --- a/_config.yml +++ b/_config.yml @@ -64,7 +64,7 @@ colors: #in hex code if not noted else ### VERSIONS ### versions: - scalaJS: 1.14.0 + scalaJS: 1.15.0 scalaJSBinary: 1 scalaJS06x: 0.6.33 scalaJS06xBinary: 0.6 diff --git a/_posts/news/2023-12-29-announcing-scalajs-1.15.0.md b/_posts/news/2023-12-29-announcing-scalajs-1.15.0.md new file mode 100644 index 0000000..22de80b --- /dev/null +++ b/_posts/news/2023-12-29-announcing-scalajs-1.15.0.md @@ -0,0 +1,45 @@ +--- +layout: post +title: Announcing Scala.js 1.15.0 +category: news +tags: [releases] +permalink: /news/2023/12/29/announcing-scalajs-1.15.0/ +--- + +We are pleased to announce the release of Scala.js 1.15.0! + +This release mainly brings a change in how the Scala 2 standard library is versioned in anticipation of [SIP 51][SIP-51]. +There is no user visible impact expected from this change at this point. +Transition of the ecosystem will be handled as part of [SIP 51][SIP-51]. + +Read on for more details. + + + +## Getting started + +If you are new to Scala.js, head over to [the tutorial]({{ BASE_PATH }}/tutorial/). + +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). + +Bug reports can be filed [on GitHub](https://github.com/scala-js/scala-js/issues). + +## Release notes + +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. + +This is a **minor** release: + +* It is backward binary compatible with all earlier versions in the 1.x series: libraries compiled with 1.0.x through 1.13.x can be used with 1.15.0 without change. +* Despite being a minor release, 1.15.0 is forward binary compatible with 1.13.x or later. It is *not* forward binary compatible with 1.12.x. Libraries compiled with 1.15.0 can be used with 1.13.x or later but not with 1.12.x or earlier. +* It is *not* entirely backward source compatible: it is not guaranteed that a codebase will compile *as is* when upgrading from 1.13.x (in particular in the presence of `-Xfatal-warnings`). + +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. + +## Improvements + +* Add `java.io.FilterReader` to the javalib (thanks to @ekrich). +* Reduce memory usage of the linker with more static string allocation. +* Split the scalalib into a separate artifact (for [SIP 51][SIP-51]). + +[SIP-51]: https://docs.scala-lang.org/sips/drop-stdlib-forwards-bin-compat.html diff --git a/doc/all-api.md b/doc/all-api.md index 2387650..02e7011 100644 --- a/doc/all-api.md +++ b/doc/all-api.md @@ -5,6 +5,16 @@ title: All previous versions of the Scala.js API ## All previous versions of the API +### Scala.js 1.15.0 +* [1.15.0 scalajs-library]({{ site.production_url }}/api/scalajs-library/1.15.0/scala/scalajs/js/index.html) +* [1.15.0 scalajs-test-interface]({{ site.production_url }}/api/scalajs-test-interface/1.15.0/) +* [1.15.0 scalajs-javalib-intf]({{ site.production_url }}/api/scalajs-javalib-intf/1.15.0/) +* [1.15.0 scalajs-ir]({{ site.production_url }}/api/scalajs-ir/1.15.0/org/scalajs/ir/index.html) +* [1.15.0 scalajs-linker-interface]({{ site.production_url }}/api/scalajs-linker-interface/1.15.0/org/scalajs/linker/interface/index.html) ([Scala.js version]({{ site.production_url }}/api/scalajs-linker-interface-js/1.15.0/org/scalajs/linker/interface/index.html)) +* [1.15.0 scalajs-linker]({{ site.production_url }}/api/scalajs-linker/1.15.0/org/scalajs/linker/index.html) ([Scala.js version]({{ site.production_url }}/api/scalajs-linker-js/1.15.0/org/scalajs/linker/index.html)) +* [1.15.0 scalajs-test-adapter]({{ site.production_url }}/api/scalajs-sbt-test-adapter/1.15.0/org/scalajs/testing/adapter/index.html) +* [1.15.0 sbt-scalajs]({{ site.production_url }}/api/sbt-scalajs/1.15.0/#org.scalajs.sbtplugin.package) + ### Scala.js 1.14.0 * [1.14.0 scalajs-library]({{ site.production_url }}/api/scalajs-library/1.14.0/scala/scalajs/js/index.html) * [1.14.0 scalajs-test-interface]({{ site.production_url }}/api/scalajs-test-interface/1.14.0/) diff --git a/doc/internals/version-history.md b/doc/internals/version-history.md index 04fe4e3..17a4674 100644 --- a/doc/internals/version-history.md +++ b/doc/internals/version-history.md @@ -5,6 +5,7 @@ title: Version history ## Version history of Scala.js +- [1.15.0](/news/2023/12/29/announcing-scalajs-1.15.0/) - [1.14.0](/news/2023/09/25/announcing-scalajs-1.14.0/) - [1.13.2](/news/2023/06/23/announcing-scalajs-1.13.2/) - [1.13.1](/news/2023/04/10/announcing-scalajs-1.13.1/)