You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 :(
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: