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

What to do about Scala 3.4? #132

Closed
valencik opened this issue Mar 2, 2024 · 5 comments
Closed

What to do about Scala 3.4? #132

valencik opened this issue Mar 2, 2024 · 5 comments

Comments

@valencik
Copy link
Member

valencik commented Mar 2, 2024

I think the recommended path forward is that libraries continue publishing for 3.3, and 3.4+ would be yet another cross version.
So we don't want to merge this as is. But perhaps we want to add an option to additionally compile against 3.4?

Originally posted by @valencik in #131 (comment)

@valencik
Copy link
Member Author

valencik commented Mar 2, 2024

We could add a new conditional that lets folks choose to add the latest Scala 3.4 to the cross versions.
But I think the defaults should remain 2.13 and 3.3

@valencik
Copy link
Member Author

valencik commented Mar 2, 2024

Also, if you cross-compile, it means you care about your users being able to use older versions of the compiler. Presumably that includes Scala 3.3.x LTS users. So in fact you should keep compiling with 3.3.x and not upgrade to 3.4+.

scala/scala3#18819 (comment)

@armanbilge
Copy link
Member

We could add a new conditional that lets folks choose to add the latest Scala 3.4 to the cross versions.

Perhaps I'm misunderstanding, but this is not a valid approach. You can't cross-publish for multiple versions of Scala 3 because they all have a common _3 binary suffix.

I think the template should stay pinned to the LTS series. This template represents our recommendation for how to build and publish a library and supporting LTS is a key part of that. If a user wants to live on the edge they can trivially change the Scala version themselves.

@valencik
Copy link
Member Author

valencik commented Mar 2, 2024

You can't cross-publish for multiple versions of Scala 3 because they all have a common _3 binary suffix.

oh no.... i didn't realize that.

Then yes, I 100% agree, LTS for life.

@valencik
Copy link
Member Author

I think we can close this. We only support LTS versions of Scala.

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

No branches or pull requests

2 participants