Closed kryptt closed 2 years ago
IIRC there was already an attempt made, but rolled back due to other incompatibilities.
I suggest you bite this bullet. It's nearly unheard of for the upgrade to actually cause a problem. The major version number bump frightens people, but the removed things were already deprecated and rarely used anyway.
I don't see any previous upgrade attempt other than https://github.com/sbt/sbt-native-packager/pull/1454
Well I did the obvious thing and CI seems fine. https://github.com/sbt/sbt-native-packager/pull/1514
Thanks for all the input 😄 I'll merged the PR and will release next week.
IMHO next time such an major version bump like from scala-xml 1 to 2 should not be done in a patch release... People start a lot to open issues and ask in chats about the whole scala-xml upgrade mess. Such changes should be coordinated better next time... Like someone should open pull requests at once in all major plugins and libraries and they all should release new versions within a couple of days.... Also, like I am asking myself, why did get scala-xml bumped to 2 but not scala-parser-combinators? It's just random. We will have the same mess soon with that library...
More and more sbt plugins are moving to scala-xml 2, for example now I've been blocked from upgrading sbt-scoverage
See: https://github.com/scoverage/scalac-scoverage-plugin/pull/488 https://github.com/scoverage/sbt-scoverage/issues/439 https://github.com/fthomas/refined/pull/1098