-
Notifications
You must be signed in to change notification settings - Fork 4
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
Update sbt-twirl to 1.5.2 in series/0.23 #57
Conversation
This was a major bump of scala-xml, which breaks things. This should not be in a patch version of http4s-twirl, but could be the basis of an 0.24, as we've done for other breaking integrations. |
On vacation now, will take a look when I am back |
in the hope that sbt 1.8.2 is on 2.12.17 which upgraded scala-xml to 2.x
Do we want this on series/0.23, or use it to start an 0.24 to reflect the breaking change? This won't be a drop-in replacement for people with other scala-xml-1 dependencies. |
We already have a 0.24 branch (with 1 0.24 milestone release), we can drop it there. Let me know. |
I will revert this one if we place it in 0.24 |
Sorry, @rossabaker I am still jet-lagging. We can't place it in 0.24 since it's on |
Oh, I forgot there was an 0.24. Yeah, we got out in an awkward position because Twirl didn't consider it breaking. The prevailing wisdom in the Scala community is that this has been "compatible enough" and people are quietly killing scala-xml-1 in patch releases. But it's not binary compatible, and even when it doesn't cause linker errors, it causes loud SBT eviction errors. Any of these are fine with me:
|
We introduced 0.24 with milestone release to add support for Scala 3. Thus for option 1, we also need to make an equally loud release since users might be surprised that we strip away the Scala 3 support from this branch. and there will be slightly more work on our end. I like Option 2 the least since that leaves no options for incoming security patches on twirl-1.5.x. I know you dislike the 3rd option, but Give a final thumbs-up on this comment and I will implement option 3 - leave it as is and scream real loud in the release note. |
That works for me. I don't love it, but I don't think we're left with a better option based on what all has happened upstream. |
Updates com.typesafe.sbt:sbt-twirl from 1.5.1 to 1.5.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a
.scala-steward.conf
file.Have a fantastic day writing Scala!
Adjust future updates
Add this to your
.scala-steward.conf
file to ignore future updates of this dependency:Or, add this to slow down future updates of this dependency:
labels: sbt-plugin-update, early-semver-patch, semver-spec-patch, commit-count:1