typelevel / steward

Runs Scala Steward for Typelevel projects
5 stars 10 forks source link

RFC: Unleash Scala 3.2.x #10

Closed armanbilge closed 1 year ago

armanbilge commented 1 year ago

https://www.scala-lang.org/blog/2022/09/05/scala-3.2.0-released.html#should-i-update-to-scala-320

The more important question than “Should I update to Scala 3.2.0?” is “When should I update to Scala 3.2.0?”. ...

If you are a library author, you also need to consider that bumping the compiler version in your library will also force all downstream users to use the new compiler the next time they bump the version of your library. For this reason, we encourage you that if you are following the semantic versioning, you bump the compiler version in the next minor release of your library.


IMO the most compelling thing about this update for Typelevel libraries is that it fixes issues with creating GraalVM Native Images. Note there is no workaround for these issues in user-land; we literally need to publish new artifacts with fixed bytecode.

FWIW I have not heard any reports of users having issues with Cats, but we have seen it with Cats Effect with particular newtype patterns also used in Cats to implement non-empty collections.

See:

ahjohannessen commented 1 year ago

👍