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

No clear migration path for lift-json library (Scala 2.10 -> 2.12) #1995

Open
mchwedczuk-box-com opened this issue Jan 11, 2022 · 0 comments

Comments

@mchwedczuk-box-com
Copy link

mchwedczuk-box-com commented Jan 11, 2022

Upgrading lift-json library from Scala 2.10 to Scala 2.12 seems more difficult than necessary. The problem is that there is no common lift-json version that is released for both Scala 2.10 and 2.12.

The highest lift-json library version for Scala 2.10 is 3.0-M1 (https://search.maven.org/artifact/net.liftweb/lift-json_2.10),
the lowest version of the library for Scala 2.12 is 3.0.1 (https://search.maven.org/artifact/net.liftweb/lift-json_2.12).

Not only there is no common version but the above versions seem to be incompatible (e.g. value findField is not a member of net.liftweb.json.JsonAST.JValue), so the semantic version convention is also broken :(

Inspiring article: https://mungingdata.com/scala/maintenance-nightmare-upgrade/

In short you can make life much easier for developers that are "in the tail" and only now perform upgrade to Scala 2.12. If only you release one common version targeting both Scala 2.10 and 2.12. That would allow for smooth migration where you first change only Scala version and make sure that everything works, and then move on to upgrading libraries one by one.

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

1 participant