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

Investigate and possibly add support for Scala 3 #14

Open
9 of 10 tasks
ColOfAbRiX opened this issue Nov 19, 2020 · 0 comments
Open
9 of 10 tasks

Investigate and possibly add support for Scala 3 #14

ColOfAbRiX opened this issue Nov 19, 2020 · 0 comments
Labels
feature New feature or request

Comments

@ColOfAbRiX
Copy link
Owner

ColOfAbRiX commented Nov 19, 2020

Description

Scala is clearly moving towards the next version and Figlet4s wants to be an up to date library.

Do a spike for to investigate the effort required to support Scala 3 and produce a PoC. Consider using 2.13 libraries for Scala 3 too.

If the PoC is succesfully and the effort required it not too big (i.e. a week for production ready), extend the PoC to full feature.

Figlet4s needs to also support Scala 2.12 and 2.13 at the moment of writing

Status of the libraries as of 22/10/2021

Core libraries

  • cats-core: supports Scala 3
  • cats-effects: supports Scala 3
  • enumeratum: does not support Scala 3 but not needed in Scala 3

Testing

  • scalatest: supports Scala 3
  • scalacheck: found a mention of Scala 3
  • scalamock / mockito: do not support Scala 3, consider dropping it
  • scalameter: does not support Scala 3, consider dropping it

SBT plugins

  • scalafmt: supports Scala 3
  • scalafix: limited support for Scala 3
  • wartremover: supports Scala 3

Compiler

  • compiler options: sbt-tpolecat provides some useful compiler flags
  • linting: there seems to be very limited compiler linting
@ColOfAbRiX ColOfAbRiX added feature New feature or request good first issue Good for newcomers task A thing that needs to be done like a refactoring and removed feature New feature or request good first issue Good for newcomers task A thing that needs to be done like a refactoring labels Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant