search term:

sbt 1.8.0

Hi everyone. On behalf of the sbt project, I am happy to announce sbt 1.8.0. This is the eighth feature release of sbt 1.x, a binary compatible release focusing on new features. sbt 1.x is released under Semantic Versioning, and the plugins are expected to work throughout the 1.x series. Please try it out, and report any issues you might come across.

Highlights

How to upgrade

The sbt version used for your build must be upgraded by putting the following in project/build.properties:

sbt.version=1.8.0

This mechanism allows that sbt 1.8.0 is used only for the builds that you want.

Download the official sbt runner from, cs setup, SDKMAN, or download from https://github.com/sbt/sbt/releases/tag/v1.8.0 to upgrade the sbt shell script and the launcher.

CVE-2022-37866

CVE-2022-37866 is a security vulnerability discovered in Apache Ivy, but found also in Coursier.

With coordination with Apache Foundation, Adrien Piquerez from Scala Center backported the fix to both our Ivy 2.3 fork and Coursier.

scala-xml

sbt 1.8.0 upgrades scala-xml to 2.x. In theory this breaks the binary compatibility in the plugin ecosystem, but in practice there’s already a mixture of both 1.x and 2.x.

If you encounter a conflict in plugins, try putting the following in project/plugins.sbt:

ThisBuild / libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always

Changes with compatibility implications

Bug fixes

Other updates

Participation

sbt 1.8.0-RC1 was brought to you by 12 contributors.

16  Eugene Yokota (eed3si9n)
10  gontard
5  dependabot[bot]
5  Chris Kipp
4  Devin Fisher
3  Adrien Piquerez
3  Alex
2  Vedant
2  frosforever
1  Nabil Abdel-Hafeez
1  Krzysztof Pado
1  Erik LaBianca

Thanks to everyone who’s helped improve sbt and Zinc by using them, reporting bugs, improving our documentation, porting builds, porting plugins, and submitting and reviewing pull requests.

For anyone interested in helping sbt, there are many avenues for you to help, depending on your interest. If you’re interested, Contributing, “help wanted”, “good first issue”, and Discussions are good starting points.

🏳️‍🌈 Support Ukraine 🇺🇦

Forbidden Colours has started a fundraising campaign to support organisations in Poland, Hungary and Romania that are welcoming LGBTIQ+ refugees.

https://www.forbidden-colours.com/2022/02/26/support-ukrainian-lgbtiq-refugees/