Skip to content
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

Upgrade libraries, Scala.js and Scala 3 #542

Merged
merged 4 commits into from
Jul 6, 2022
Merged

Upgrade libraries, Scala.js and Scala 3 #542

merged 4 commits into from
Jul 6, 2022

Conversation

keynmol
Copy link
Collaborator

@keynmol keynmol commented Jul 6, 2022

Also bring in the macrotask dependency for Scala.js

I don't think the decision to bump Scala to 3.1.x is controversial anymore - Cats did it in 2.8.0, 20 days ago.

This helps clear out the path of upgrades to the great schism (#481), giving us a sort of cleanish slate.

I couldn't do zio 2.5.1.0 -> 2.5.1.1 because I got 59 compilation errors and... yeah.

If this goes green, I'll just close all the individual steward PRs and iterate here instead.

Closes #476

keynmol added 2 commits July 6, 2022 13:02
Also bring in the macrotask dependency for Scala.js

import org.scalajs.macrotaskexecutor.MacrotaskExecutor

private[weaver] object PlatformECCompat {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fun fact - naming is important.

This used to be trait PlatformCompat - but then it crashed the Scala 2 compiler, saying superclass is invalid.
When I changed it to object PlatformCompat, it broke Scala.js linker.

So there. "fun" fact

@Baccata
Copy link
Contributor

Baccata commented Jul 6, 2022

Thanks a LOT for this, after the wave of upgrades, I figured I'd have to add it to my ever growing TODO list. Really glad I don't have to.

@keynmol keynmol merged commit 9a71fa3 into master Jul 6, 2022
@keynmol keynmol mentioned this pull request Jul 6, 2022
8 tasks
@Baccata Baccata deleted the upgrades branch July 6, 2022 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make a decision with Scala.js macrotask executor
2 participants