sbt 2.1.1
The headline features of sbt 2.1.1 are:
- The return of musl sbtn
- Coursier 2.1.27
- and contributed 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.1. 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.1.
How to upgrade
The sbt version used for your build is upgraded by putting the following in project/build.properties:
sbt.version=2.1.1
This mechanism allows that sbt 2.1.1 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.1 to upgrade the sbt shell script, sbtn, and the launcher.
updates
- sbtn on x86-64 Linux is statically linked to musl, take 2 by @francisdb in #10070
- deps: Update Coursier to 2.1.27 by @eed3si9n in #10090
🐛 bug fixes
- fix: Honor
csrMavenDependencyOverrideby @anatoliykmetyuk in #10074 - fix: Send Content-Length on HTTP/2 uploads @eugkhp in gigahorse#132
- fix: Eliminate final-field mutation warnings in forked tests by @anatoliykmetyuk in #10080
- fix: Fix packageInternal failing during concurrent copyResources by @seveneves in #10091
- fix: Invalidate cached tests on external classpath changes by @anatoliykmetyuk in #10093
- fix: Fix build load failing on a symlink loop under the base directory by @ghostbuster91 in #10082
- fix: Fix publish to sftp and ssh resolvers by @eed3si9n in #10095 + #10099
- fix: Fix history permission warning after upgrade by @anatoliykmetyuk in #10101
Participation
sbt 2.1.1 is brought to you by 9 contributors. Eugene Yokota (eed3si9n), Kenji Yoshida (xuwei-k), Anatolii Kmetiuk, Eugene (eugkhp), Francis De Brabandere, Ivan Stanislavciuc, Kasper Kondzielski, ghostbuster91, and 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.