Skip to content

Scala.js: Upgrade to Scala.js 1.18.1. #22397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 22, 2025
Merged

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented Jan 17, 2025

sjrd added 3 commits January 17, 2025 13:48
`getClass()` hasn't been a primitive per se for a long time. It is
a regular method of `jl.Object` whose *body* uses a primitive
operation.
And port the changes that were made to the compiler backend.
Most notably, the changes from the following upstream PRs:

* Introduce non-nullable reference types in the IR.
  scala-js/scala-js#5018
* Opt: Remove useless *Ident indirections in the IR model.
  scala-js/scala-js#5092
* Merge the IR node This into VarRef, with a magic LocalName.
  scala-js/scala-js#5090
* Merge several IR nodes into UnaryOp.
  scala-js/scala-js#5088
* Restrict usages of StoreModule even further.
  scala-js/scala-js#5059
* Allow Return arg to be a void if the target Labeled is a void.
  scala-js/scala-js#5074
* Rename NoType to VoidType and print it as "void".
  scala-js/scala-js#5061
@sjrd sjrd requested a review from SethTisue January 17, 2025 13:34
@sjrd sjrd added the needs-minor-release This PR cannot be merged until the next minor release label Jan 17, 2025
@SethTisue SethTisue removed their assignment Jan 21, 2025
@Gedochao
Copy link
Contributor

This will be included in 3.7.0

@sjrd sjrd merged commit 270832c into scala:main Jan 22, 2025
29 checks passed
@sjrd sjrd deleted the scalajs-1.18.1 branch January 22, 2025 16:11
@WojciechMazur WojciechMazur added this to the 3.7.0 milestone Mar 11, 2025
@tgodzik
Copy link
Contributor

tgodzik commented Apr 3, 2025

Also, a question about this PR. Should we try to back port it to LTS without bumping JS version?

@sjrd
Copy link
Member Author

sjrd commented Apr 3, 2025

No, that's not possible. All the changes in the third commit must be done in lockstep (otherwise I would have made several commits in the first place).

You could backport the first two commits of this PR, if you want, but they don't really matter to users.

@tgodzik
Copy link
Contributor

tgodzik commented Apr 3, 2025

That's what I suspected, thanks for confirming! I will skip for now since the two commits have only minor changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-minor-release This PR cannot be merged until the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants