Skip to content

Drop support for Scala 2.13.{0-2}. #5102

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 1 commit into from
Jan 5, 2025

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented Jan 5, 2025

These were the 2.13.x versions for which we still had some custom code paths, workarounds or exceptions lying around.

This commit is a followup to edc13a8.

@sjrd sjrd requested a review from gzm0 January 5, 2025 10:38
@sjrd
Copy link
Member Author

sjrd commented Jan 5, 2025

@gzm0 Since there is apparently still a lot of work to do before we can get #5003, I suggest we release v1.18.0 after this PR is merged. WDYT?

@gzm0
Copy link
Contributor

gzm0 commented Jan 5, 2025

Yes, that sounds reasonable. It would be nice to get #5077 in, but I don't even have an ETA on that one. (it's still in the "I'm fiddling with it to figure out what needs to be done" stage).

Copy link
Contributor

@gzm0 gzm0 left a comment

Choose a reason for hiding this comment

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

Just a nit, optional.

!scalaVersion.startsWith("2.12.") &&
scalaVersion != "2.13.0" &&
scalaVersion != "2.13.1"
!scalaVersion.startsWith("2.12.")
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe at this point it makes more sense to:

private val isScala212 = scalaVersion.startsWith("2.12.")

val scalaSupportsNoWarn = !isScala212

(and maybe even remove usesColonInMethodSig and just use isScala212).

These were the 2.13.x versions for which we still had some custom
code paths, workarounds or exceptions lying around.

This commit is a followup to edc13a8.
@sjrd sjrd force-pushed the drop-scala-2.13.2-and-below branch from 4f90ff5 to 68b1c71 Compare January 5, 2025 13:34
@sjrd sjrd merged commit b59047d into scala-js:main Jan 5, 2025
3 checks passed
@sjrd sjrd deleted the drop-scala-2.13.2-and-below branch January 5, 2025 21:24
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.

2 participants