Replies: 5 comments 2 replies
-
2.x isn't 100% binary compatible with 1.x (as the major version bump implies), because a bunch of old stuff was removed, as detailed in the various post-1.3.0 release notes at https://github.com/scala/scala-xml/releases/ If your particular application isn't using any of that removed stuff, you should be okay. But note that it's hard to be sure if anything in your entire dependency tree was using any of the removed stuff, even if you weren't using that stuff directly yourself. In general, the removed stuff was pretty obscure, so it's entirely plausible that you can force the 2.0 upgrade and everything will be fine. Whether you're willing to risk doing that may depend on how high the stakes are for you and how much confidence your own test coverage gives you. Y'all are hereby encouraged to use this discussion thread as a place to share experiences, concerns, workarounds, etc etc. |
Beta Was this translation helpful? Give feedback.
-
@rossabaker Maven Central coordinates? |
Beta Was this translation helpful? Give feedback.
-
All twirl tests pass on scala-xml 2.1.0 -- playframework/twirl#525. YMMV and of course I understand it's a different story for library maintainers, but this was enough to convince me that forcing the upgrade in my application was okay. |
Beta Was this translation helpful? Give feedback.
-
@ckipp01 has made a discussion thread about this specifically in the context of sbt plugins: sbt/sbt#7075 |
Beta Was this translation helpful? Give feedback.
-
If you're affected by the removal of |
Beta Was this translation helpful? Give feedback.
-
This has become something of an FAQ:
Beta Was this translation helpful? Give feedback.
All reactions