-
Notifications
You must be signed in to change notification settings - Fork 16
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
Support scala 3 #480
Comments
Thank you, @mushtaq! |
Hey @sirthias, would you accept any help with the scala 3 migration? I'd love to get involved. |
Hey Martin, I've already played around with Scala 3 support sometime last year and managed to get cross-building across 2.12, 2.13 and 3 set up and working fine for all modules except As the derivation logic is somewhat involved and produces quite optimized code the macros aren't the easiest to migrate. If you want to jump in, I'd be happy to look at PRs and help where I can. One thing that might help a great deal is https://github.com/sirthias/macrolizer. |
Hey Mathias, Here is a great example of derivation macros migration from Scala 2 to Scala 3. All credits to @rssh - he made it source compatible between Scala 2 and 3 versions to be tested by the same test sources except special cases for new enums. |
Thank you, @plokhotnyuk! |
@sirthias Came across this note in Scala 3.1.1 release:
But as a user of this lib, I am ok if you want to release say |
I am interested in Scala 3 version, as Borer is one of the last few major dependencies blocking my project from upgrading. Is there anything I could do to help this happen (work on some issues, sponsoring...)? |
@OndrejSpanel We are in the same position as you, with borer being the last dependency holding us back from the Scala 3 upgrade. |
Exactly, core and derivation. That is really great news. If there is some way I could help, please let me know. Otherwise I stay looking forward to the version. |
Ok, quick status update: But, there is not much missing, maybe two or three hours more before a first release for Scala 3. I've pushed my current state to the I'll finish this all up when I get back in two weeks and will definitely publish a release then. |
Great news. Thanks for letting us know on the progress, so that we can tune our migration plans accordingly. Enjoy your holiday. |
Another update. The Scala 3 macros are finally done. Now the only thing missing is packaging and releasing, which I hope I'll be able to complete on Monday. |
Got held back by real world priorities but did not forget this ticket... :) Now aiming for Tuesday as release day for the the scala 3 artifacts. |
Hey @sirthias I so much appreciate you regularly updating the progress on this ticket! Even though my current work does not involve migrating to Scala3, I am keenly reading these and feel really excited 🎉 Thank you so much for all your work. |
And it's finally done! Please report any issues you find! |
I think this mainly applies to the derivation module because macros will need to be rewritten.
The text was updated successfully, but these errors were encountered: