sbt 2.1.2
The headline features of sbt 2.1.2 are:
- Publishing bug fixes
- Testing bug fixes
See also sbt 2.x change summary for the sbt 2.x changes in general.
Hi everyone. On behalf of the sbt project, I am happy to announce sbt 2.1.2. sbt 2.x is released under Semantic Versioning, and the plugins are expected to work throughout the 2.x series. Full release note is https://github.com/sbt/sbt/releases/tag/v2.1.2.
How to upgrade
The sbt version used for your build is upgraded by putting the following in project/build.properties:
sbt.version=2.1.2
This mechanism allows that sbt 2.1.2 is used only for the builds that you want.
Download the official sbt runner from SDKMAN, or download from https://github.com/sbt/sbt/releases/tag/v2.1.2 to upgrade the sbt shell script, sbtn, and the launcher.
🐛 Bug fixes
- fix: Fix makePom dropping organization-only exclusions by @seveneves in #10117
- fix: Fix makePom dropping extra classifiers by @eed3si9n in #10113
- fix: Fix BOM no longer managing transitive dependencies by @Dichotomia in #10119
- fix: Fix makePom listing sources and docs artifacts by @eed3si9n in #10121
- fix: Fix
publishLocalfailing on Windows when the published JAR is open by @eed3si9n in #10122 - fix: Fix test reusing cached results with cacheStores set to Nil by @eed3si9n in #10138
- fix: Prevent Scala.JS linking on compilation by @anatoliykmetyuk in #10110
- fix: Fix JVM client used instead of sbtn on x86_64 musl-based Linux by @francisdb in #10102
- fix: Fix slow
sbtscript startup by @francisdb in #10103 - fix: Fix
testOnlyfiltering suites by framework arguments by @mkurz in #10123 - fix: Fix cached test suites missing from the JUnit XML report by @eed3si9n in #10126
- fix: Keep BSP clients from overwriting the early JAR by @anatoliykmetyuk in #10127
- fix: Fix thin client ignoring
--no-colorsin piped output by @eed3si9n in #10137 - fix: Fix unit test runs ending silently with exit code 0 by @jozanek in #10109
- fix: Ignore JVM option banners in forked javac output by @jozanek in zinc#1896 / zinc#1899
Update
Participation
sbt 2.1.2 is brought to you by 10 contributors. Eugene Yokota (eed3si9n), Jozef Koval, Kenji Yoshida (xuwei-k), Anatolii Kmetiuk, Francis De Brabandere, Ivan Stanislavciuc, Jason Zaugg (retronym), Matthias Kurz, Quentin Caillard, seveneves. Thanks! 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.
FYI - Scala Days 2026 talk
I gave a talk in Scala Days 2026 in Berlin about sbt 2.0 (recording, slide deck).
Donate to Scala Center
Scala Center is a non-profit center at EPFL to support education and open source.