Skip to content

Commit

Permalink
Merge pull request #622 from gzm0/release-1.15.0
Browse files Browse the repository at this point in the history
Announcing Scala.js 1.15.0
  • Loading branch information
gzm0 authored Dec 29, 2023
2 parents 4a43e35 + c936c55 commit be8a331
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
45 changes: 45 additions & 0 deletions _posts/news/2023-12-29-announcing-scalajs-1.15.0.md
Original file line number Diff line number Diff line change
@@ -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.

<!--more-->

## 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
10 changes: 10 additions & 0 deletions doc/all-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
1 change: 1 addition & 0 deletions doc/internals/version-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down

0 comments on commit be8a331

Please sign in to comment.